Hi!

In preparing another book in LyX, I've come to the point to enter
Sanskrit diacritics in the text.

In the past I setup LyX to enter Sanskrit diacritics via dead-keys
mechanism.

I know there ware some issues in between (LyX didn't work with latin-2
characters).

Now I use LyX 1.1.6fix3 under KDE 2.2.2, XFree86 4.1.0 under SuSE Linux
7.1 Pro.

When I work in LyX I load my xmodmap with re-defined keyboard: left &
right Win keys are defined as Mode_switch.

Besides that, I have defined several keys to serve following accents:
dead_macron, dead_belowdot, dead_abovedot, dead_tilde and dead_acute.


If I run xev under KDE konsole, predefined keys are OK, as well as ALL
dead keys.

However, in LyX, I use Croatian language (latin-2), all Croatian
characters are working properly, and I do not use any keyboard map
within LyX.

Here is the LyX -dbg 4 output when entering characters with
dead_belowdot key:
<begin>
Workarea event: KEYBOARD
WorkArea: Key is `dead_belowdot' [65120]
WorkArea: Keysym is `dead_belowdot' [65120]
Using keysym [B]
Workarea Diff: 2606
KeySym is dead_belowdot[65120] State is [8192]
action first set to [80]
meta_fake_bit is [0]
action now set to [80]
Key [80][dead_belowdot]
Workarea event: KEYBOARD
WorkArea: Key is `r' [114]
WorkArea: Keysym is `r' [114]
Using keysym [B]
Workarea Diff: 953
KeySym is r[114] State is [0]
action first set to [-1]
meta_fake_bit is [0]
action now set to [-1]
Key [-1][r]
Decode: \d{r}
Contents: [\d{r}], ic: r, top: 0, bot: 1, dot: 0, mod: 6
</end>

Those characters works OK.

However, when trying characters with dead_macron, they don't work. Here
is the output:

Workarea event: KEYBOARD
WorkArea: Key is `' [0]
WorkArea: Keysym is `dead_macron' [65108]
Workarea event: KEYBOARD
WorkArea: Key is `' [0]
WorkArea: Keysym is `a' [97]

What is the problem?
Any hint?

Sincerely,
Sasa

ps. I forgot to say that in order to be able to enter these Sanskrit
characters, I have to modify tex-accent.C source file by adding desired
letters in appropriate places within tex_accent_struct (line 54).

In the past everything worked OK.


Reply via email to