Abdelrazak Younes
2007-05-21 15:46:45 UTC
Hello,
There's some problems with \textdegree reported on the users list that I
can easily reproduce. With the attached LyX file, the LateX export will
translate the degree symbol in mathed to \textdegree.
Neither the dvi nor the pdf (pdflatex) file shows the \textdegree symnol
but both of them shows the unicode symbol just fine.
Bernd Sellentin (message reproduced below) suggests to put
\usepackage[latin1]{inputenc} in the preamble. But this leads to a LateX
error about a clash in the inputenc package.
This is a major bug IMHO, LateX expert someone?
Abdel.
________________________________
Hi,
studying the Latex error messages, I noticed that lyx-1.4 sets the
inputencoding to latin1. This works for textdegree. lyx-1.5 sets it to
latin9, this does not work for textdegree.
On my debian system are both encodings installed:
***@bigix:~$ locale -a|grep de
de_DE
***@euro
de_DE.iso88591
***@euro
de_DE.utf8
deutsch
In the preferences dialog I found no possibility to tell lyx, which
encoding
to use. My workaround: put the "Use language's default encoding" off and
put
in the latex preamble \usepackage[latin1]{inputenc}.
Now textdegree works, and as I am writing text about chemistry with a
lot of
textdegree symbols I have only one change to do to make my scripts working
again with this very nice lyx-1.5.
Bernd
There's some problems with \textdegree reported on the users list that I
can easily reproduce. With the attached LyX file, the LateX export will
translate the degree symbol in mathed to \textdegree.
Neither the dvi nor the pdf (pdflatex) file shows the \textdegree symnol
but both of them shows the unicode symbol just fine.
Bernd Sellentin (message reproduced below) suggests to put
\usepackage[latin1]{inputenc} in the preamble. But this leads to a LateX
error about a clash in the inputenc package.
This is a major bug IMHO, LateX expert someone?
Abdel.
________________________________
Hi,
studying the Latex error messages, I noticed that lyx-1.4 sets the
inputencoding to latin1. This works for textdegree. lyx-1.5 sets it to
latin9, this does not work for textdegree.
On my debian system are both encodings installed:
***@bigix:~$ locale -a|grep de
de_DE
***@euro
de_DE.iso88591
***@euro
de_DE.utf8
deutsch
In the preferences dialog I found no possibility to tell lyx, which
encoding
to use. My workaround: put the "Use language's default encoding" off and
put
in the latex preamble \usepackage[latin1]{inputenc}.
Now textdegree works, and as I am writing text about chemistry with a
lot of
textdegree symbols I have only one change to do to make my scripts working
again with this very nice lyx-1.5.
Bernd