Glitch (bug?) in 2.3.6.1

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Dec 9 21:02:16 UTC 2021



Am 09.12.21 um 21:35 schrieb Paul A. Rubin via lyx-users:
> On 12/9/21 3:27 PM, Rich Shepard via lyx-users wrote:
>> I've encountered unusual behavior when compiling the document using
>> pdflatex. When I've used an ERT within a float figure's caption lyx
>> highlights the string containing that ERT and pops up an error box which
>> tells me only that there's an error.
>>
>> Closing that error box and repeating the command, ctrl-x/ctrl-h, 
>> presents
>> the message that the pdf files's been created in the status bar.
>>
>> In one figure caption I had '\mu' in an ERT box, in the other caption 
>> it is
>> '\textdegree' in the box.
>>
>> Since I don't subscribe to the dev's mail list I'm posting this here. It
>> might be a bug, or the error message box and highlighting might be 
>> only a
>> distracting glitch.
>>
>> Rich
> I can't reproduce this (with 2.3.6.1). Putting \textdegree in ERT in 
> the float caption works fine. Putting \mu in ERT predictably does not, 
> but putting it in a math environment works, as does putting $\mu$ in ERT.


\mu is onyl available in math: start inline mathmode and insert \mu
There is also a \textmu for text mode.

Herbert


More information about the lyx-users mailing list