Hi LyXers,
I installed the new teTeX 1.0 today. Now when I create an empty
document using input encoding Latin1 and enter "1°" (1 degree), I get
the LaTeX output
0:ibm:fred> latex newfile
This is TeX, Version 3.14159 (Web2C 7.3.1)
(newfile.tex
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/apps/teTeX-1.0/share/texmf/tex/latex/base/article.cls
Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
(/apps/teTeX-1.0/share/texmf/tex/latex/base/size10.clo))
(/apps/teTeX-1.0/share/texmf/tex/latex/base/fontenc.sty
(/apps/teTeX-1.0/share/texmf/tex/latex/base/t1enc.def))
(/apps/teTeX-1.0/share/texmf/tex/latex/base/inputenc.sty beta test version
(/apps/teTeX-1.0/share/texmf/tex/latex/base/latin1.def)) (newfile.aux)
LaTeX Warning: Command \textdegree invalid in math mode on input line 19.
[1] (newfile.aux) )
Output written on newfile.dvi (1 page, 272 bytes).
Transcript written on newfile.log.
The lines in newfile.tex read
\begin{document}
1\ensuremath{°}
\end{document}
When I set Document->Encoding to "default", the TeX-file reads
\begin{document}
1°
\end{document}
and I get no warning. Where is the problem? Why is ° surrounded by
ensuremath?
LyX version 1.0.4pre4 under AIX 4.1.5.
Have fun,
Fred
Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: [EMAIL PROTECTED] http://www.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E. Landau, Zahlentheorie (1927), Satz 718)