Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?
----------------------------------------
T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ &S▒┴␊
&D␋⎽␌▒⎼␍
&C▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
> John Pye wrote:
>>
>> Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
>> key (I chose 'right ALT'). Once that is done, I can open a text editor
>> (gedit) and get all the accented characters é and ô and ñ etc very
>> nicely. I can even get the degree symbol using the sequence of keys
>> (pressed and released in sequence): right-alt ^ 0. Like so: °
>>
>> But when I move over to LyX, the accented character come out correctly,
>> but the degree symbol does not appear. Nothing appears when I use the
>> same key sequence as above.
>>
>> I can copy the degree symbol and paste into LyX using Paste External
>> Selection As Paragraphs, but I cannot generate the character directly in
>> LyX.
>
> Try running LyX with "lyx -dbg key" and see what debug output you get
> when you try to insert the degree symbol using your compose key.
>
> When you paste the degree symbol into a document, does it appear
> correctly in DVI and PDF output?
>

Reply via email to