Warnings when using Listings in a RTL document
Udicoudco
udifoglle at gmail.com
Tue Mar 21 11:27:32 UTC 2023
Hello all,
Attached a LyX file and its export to LaTeX code.
When compiling with XeLaTeX the exported code
I get the warning:
\endL or \endR problem (0 missing, 1 extra) in paragraph at lines 26--27
If I replace
\LRE{
\begin{lstlisting}
Hello
\end{lstlisting}
}
With
\begin{LTR}
\begin{lstlisting}
Hello
\end{lstlisting}
\end{LTR}
the warning is gone. Does anyone know the meaning of the warning?
Maybe it's better to use \begin{LTR} ... \end{LTR} in some cases?
Regards,
Udi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LRE.tex
Type: text/x-tex
Size: 736 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230321/48d3337a/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LRE.lyx
Type: application/x-lyx
Size: 2491 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230321/48d3337a/attachment-0001.lyx>
More information about the lyx-devel
mailing list