Re: Major problem with \textdegree

2007-05-22 Thread Helge Hafting
Georg Baum wrote: Then you can surely explain what inputenc is supposed to do? I always believed that \usepackage[xxx]{inputenc} would allow me to type directly in xxx encoding, without the need to use commands like \textdegree directly, but now you are telling me that that is wrong? Looks

Re: Major problem with \textdegree

2007-05-22 Thread Georg Baum
Herbert Voss wrote: > Georg Baum wrote: > >>> >>> ?? >>> With latin9 you get a working \textdegree ... >>> and also some other symbols different to latin1 >> >> Sure, \textdegree does not depend on the inputenc package. > > ??? \inputenc does nothing else than loading > the definition file ...

Re: Major problem with \textdegree

2007-05-22 Thread Georg Baum
Jürgen Spitzmüller wrote: > Georg Baum wrote: >> I did not use textcomp, this is a separate problem. The problem that was >> originally reported is a pure inputenc problem. > > No, the problem originally reported was that $\textdegree$ does not work > in 1.5 (in a file that requested textcomp). T

Re: Major problem with \textdegree

2007-05-22 Thread Herbert Voss
Jürgen Spitzmüller wrote: > So the problem is: what can we do with $\textdegree$ and $°$ in case textcomp > is requested? a _correct_ and save way is to do nothing inside LyX and using always the LaTeX definitions. In fact of some compatibility you can do inside LyX \providecommand\LyXtextdegre

Re: Major problem with \textdegree

2007-05-22 Thread Herbert Voss
Georg Baum wrote: >> >> ?? >> With latin9 you get a working \textdegree ... >> and also some other symbols different to latin1 > > Sure, \textdegree does not depend on the inputenc package. ??? \inputenc does nothing else than loading the definition file ... > What does not work with \usepacka

Re: Major problem with \textdegree

2007-05-22 Thread Jürgen Spitzmüller
Georg Baum wrote: > I did not use textcomp, this is a separate problem. The problem that was > originally reported is a pure inputenc problem. No, the problem originally reported was that $\textdegree$ does not work in 1.5 (in a file that requested textcomp). This is at least indicated by the t

Re: Major problem with \textdegree

2007-05-22 Thread Georg Baum
Jürgen Spitzmüller wrote: > Georg Baum wrote: >> This does also mean that at the time when the language encoding of some >> languages was changed to latin9 there should have been a lyx2lyx change, >> because old documents with encoding setting auto and ° in math or text >> will not work anymore.

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Georg Baum wrote: > This does also mean that at the time when the language encoding of some > languages was changed to latin9 there should have been a lyx2lyx change, > because old documents with encoding setting auto and ° in math or text > will not work anymore. But it dosen't work either in lat

Re: Major problem with \textdegree

2007-05-21 Thread Darren Freeman
I thought I'd re-use this thread. Hit C-m, "\circ", on my system I get red writing "circ" which is basically what I would get if I typed anything else with a backslash. But the generated output has a circle. Something missing from my system? I think when this happened in the distant past it was

Re: Major problem with \textdegree

2007-05-21 Thread Georg Baum
Am Montag, 21. Mai 2007 19:51 schrieb Jürgen Spitzmüller: > Abdelrazak Younes wrote: > > > I'm not sure yet what we can do about it. > > > > Remove the hack in lib/symbols? > > Maybe. But then lyx2lyx will have to translate the textdegrees to text mode. No. This part of lib/symbols is only used

Re: Major problem with \textdegree

2007-05-21 Thread Herbert Voss
Jürgen Spitzmüller wrote: > Herbert Voss wrote: >> with latin9 encoding it works in math and text mode anymay. > > but as soon as textcomp is loaded, it fails: > > \documentclass[english]{article} > \usepackage[T1]{fontenc} > \usepackage[latin9]{inputenc} > \usepackage{textcomp} %<--- > \usepacka

Re: Major problem with \textdegree

2007-05-21 Thread Georg Baum
Am Montag, 21. Mai 2007 19:48 schrieb Herbert Voss: > Georg Baum wrote: > > Abdelrazak Younes wrote: > > > >> Jürgen Spitzmüller wrote: > >>> Abdelrazak Younes wrote: > There's some problems with \textdegree reported on the users list that I > can easily reproduce. With the attached LyX

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Herbert Voss wrote: > with latin9 encoding it works in math and text mode anymay. but as soon as textcomp is loaded, it fails: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{textcomp} %<--- \usepackage{babel} \begin{document} mathed: $\textde

Re: Major problem with \textdegree

2007-05-21 Thread Herbert Voss
Abdelrazak Younes wrote: >>> Right, if I insert \textdegree inside an ERT, the degree symbol is >>> shown. So, the correction would be to automatically encapsulate >>> \textdegree inside an mbox when with mathed. Is it possible to do that >>> thanks to some definition in lib/symbols? >> >> No. Wit

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > I'm not sure yet what we can do about it. > > Remove the hack in lib/symbols? Maybe. But then lyx2lyx will have to translate the textdegrees to text mode. Jürgen

Re: Major problem with \textdegree

2007-05-21 Thread Herbert Voss
Georg Baum wrote: > Abdelrazak Younes wrote: > >> Jürgen Spitzmüller wrote: >>> Abdelrazak Younes wrote: 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 ma

Re: Major problem with \textdegree

2007-05-21 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Right, if I insert \textdegree inside an ERT, the degree symbol is shown. So, the correction would be to automatically encapsulate \textdegree inside an mbox when with mathed. Is it possible to do that thanks to some definition in lib/symbols?

Re: Major problem with \textdegree

2007-05-21 Thread Abdelrazak Younes
Georg Baum wrote: Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: 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.

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Now in the test file, there's an additional unicode symbol °, which > requests unicode. which requests textcomp, of course. Jürgen

Re: Major problem with \textdegree

2007-05-21 Thread Georg Baum
Abdelrazak Younes wrote: > Jürgen Spitzmüller wrote: >> Abdelrazak Younes wrote: >>> 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. >>> >>

Re: Major problem with \textdegree

2007-05-21 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello, There's some problems with \textdegree reported on Abdelrazak> the users list that I can easily reproduce. With the Abdelrazak> attached LyX file, the LateX export will translate the Abd

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Right, if I insert \textdegree inside an ERT, the degree symbol is > shown. So, the correction would be to automatically encapsulate > \textdegree inside an mbox when with mathed. Is it possible to do that > thanks to some definition in lib/symbols? Now I know what the p

Re: Major problem with \textdegree

2007-05-21 Thread Herbert Voss
Abdelrazak Younes wrote: > 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 \textdegr

Re: Major problem with \textdegree

2007-05-21 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello, There's some problems with \textdegree reported on Abdelrazak> the users list that I can easily reproduce. With the Abdelrazak> attached LyX file, the LateX export will translate the Abdelrazak> degree symbol in

Re: Major problem with \textdegree

2007-05-21 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: 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 s

Re: Major problem with \textdegree

2007-05-21 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > 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