Greetings,

I am not sure whether what I am about to report is a bug or intended behavior. 
I searched on the web and couldn't find anything related. I hope this is not 
the wrong list to mention this. Here goes:

There seems to be a confusing behavior with imported LaTeX documents that 
contain comments in equations: LyX seems to render everything it finds, 
including the comments. Here is a minimum LaTeX source:

\documentclass{article}
\begin{document}
\[
x = y. 
% u= v.
\]
\end{document}

When imported it into Lyx, it shows on screen as
        x=y.u=v.
(see attached screenshot). 
The commented part “u=v.” seems to be inside some comment structure but there 
is no visible cue on the screen. The compiled pdf correctly shows only “x=y”. 
However, the LyX rendering is terribly confusing, as my existing LaTeX 
documents look now completely different on LyX screen. 

On the other hand, if one tries to insert a comment into an equation inside LyX 
itself, the menu items under "Insert->Note” appear disabled in version 
2.4.0~RC4. So, it is not clear to me what LyX’s stance is with respect to 
comments in equations.

Reporting from Mac apple silicon with LyX versions 2.4.0~RC4 and 2.3.8 under 
fresh install.

Cheers,

Fatihcan Atay 




-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to