You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
soul commands (`ul`, `hl`, `st`) are very fragile and the math
must be handled specially. In #9597 we improved this for strikethrough
but omitted the other soul environments. This patch generalizes the
fix and a related fix for verbatim (#1294, #5529).
Hi,
I just discovered that the LaTeX writer of the current pandoc-1.12.4 produces erroneous LaTeX code for striked out, highlighted code.
The example file:
Now pandoc complains:
To debug this problem, I tried to convert the file to LaTeX. While the
first two lines are okay, the third line gets translated to
for which pdflatex complains the above mentioned error. I manually
extended the LaTeX code by addind a
\mbox{...}
wrapper towhich works fine (adding
\text{...}
also works). Unfortunately, my LaTeX expertiseis limited, so there may exist an even better solution.
The text was updated successfully, but these errors were encountered: