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?
Now I know what the problem is. $\textdegree$ works in 1.4 (and also in 1.5)
because it is defined in lib/symbols:
\def\textdegree{\kern-1mu^{\circ}\kern-4mu}
However, as soon as the package textcomp is loaded, this definition will be
overridden by textcomps definition, which does only work in text mode.
Now in the test file, there's an additional unicode symbol °, which requests
unicode. Delete that symbol, and the math \textdegree will show up.
I'm not sure yet what we can do about it.
Remove the hack in lib/symbols?
Abdel.