Don't substitute charaters in \begin{lstlisting} (LaTeX export)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Zim 0.65 on debian testing.
When exporting to LaTeX, characters such as '>' are changed to \textgreater{} which is fine, until said character is inside a code section. Zim translates this into \begin{lstlisting}
, which LaTeX then will read all code in that section literally.
When I have the following in a code segment in Zim:
<1 - 30 seconds> (Need to be at least 3 times larger than Fast Heartbeat value.)
The following LaTeX output results:
\begin{
\textless{}1 - 30 seconds\
Which comes out as the following (in the PDF) after texi2pdf:
\textless{}1 − 30seconds\
Reading the page at https:/
Changed in zim: | |
status: | New → Fix Committed |