So this will appear on Google for the benefit of those who need it.

The problem:

1) Dead keys ("accents") don't work in LyX. Typing, e.g., "Â" "e" in
succession does not produce à (e-sharp) as it should.

2) The ^ key, which should produce in the math editor a superscript,
does not. It enters a ^ symbol directly.

Occurs in:

the qt-3.3.3 packages minor versions 8-16 (at least) packaged for Fedora
Core 3. The responsibility seems to lie with immodule, the Input Method
Extension, which was added to support East Asian languages.

Occurs when:

When you use a keyboard map containing deadkeys. English keyboard maps
do not, unless especially activated. European-non-English keyboard maps
generally do -- this is a locale dependent bug.

Workarounds (mainly, to get ^ == superscript to work again):

1) Switch off dead keys: Add to your xorg.conf

        Option  "XkbVariant"    "nodeadkeys"

This will also remove the possibility to type accented letters by
deadkeys; you will want to enable a compose key, which can be done in
the Gnome Preferences -> Keyboard utility (or alternatively in
xorg.conf). However, Compose will not work in LyX anyway :-(

2) Edit your keyboard map file in xkb/symbols/ under the X11 hierarchy.
E.g., for Finnish, edit xkb/symbols/fi. Replace (in basic map) reference
to dead_circumflex with one to asciicircum. (This does not affect the
other deadkeys)

3) Install one of the alternative qt packages from KDE that have
immodule disabled. (If you're not writing East Asian languages, this
counts as a solution.)

Big thanks to Angus Leeming for helping to clear this up.

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to