Hello,
From: Matej Cepl <[EMAIL PROTECTED]>
# Hi,
# I am a Czech and as such there are some funny characters in my
# name. My first name is in reality Mat\v{e}j. In order to write it
# correctly in documents with latin1 input coding, I use ERT.
# However, now when moved one of my documents through LyX-LaTeX-LyX
# cycle (editing some paper on my very small notebook in vim for
# DOS), I have found to my biggest surprise that after running
# through reLyX, there is \v{e} correctly presented as one
# character without using ERT. Therefore, I am curious whether I
# can insert such character in LyX without resorting to czech.kmap,
# just by some M-x command.
# Still after more than two years of using, LyX surprises me, how
# good it is. Thanks, folks!
# Mat\v{e}j
Possible solution :
1) Put a line '\kmod % caron aeiouAEIOU' in the file
'~/.lyx/kbd/mine.kmap' (or whatever keyboard map LyX uses)
2) If this is not done already, go to the 'kmap' section in your
~/.lyx/lyxrc and make sure it looks like :
# Keyboard Mapping. Use this to set the correct mapping file for your
# keyboard, that is if you need one. You'll need one if you for instance
# want to type German documents on an American keyboard. In that case,
# uncomment these three lines:
\kbmap true
#\kbmap_primary german
#\kbmap_secondary american
\kbmap_primary /YOUR/HOME/DIR/.lyx/kbd/mine.kmap
# ^
# Put your home dir here!
#
Hth,
Etienne
PS : The accents that you may use are listed in src/tex-accent.h.
PS : Maybe xmodmap or some other X keymap modifier can also do that
for you.
--
Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne