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
The following (valid) LaTeX input (call it mwe.tex)
donde~$\rho$ es la densidad del acero, $\rho_\text{D$_2$O}=\SI{866}{\kilogram\per\cubic\meter}$ la densidad del agua pesada a~$\SI{250}{\celsius}$, y $r_i$ y $r_o$ los radios internos y externos respectivamente.
fails with the following error
$ pandoc mwe.tex
Error at "source" (line 1, column 54):
unexpected Tok "source" (line 1, column 54) Symbol "_"
expecting end of input
donde~$\rho$ es la densidad del acero, $\rho_\text{D$_2$O}=\SI{866}{\kilogram\per\cubic\meter}$ la densidad del agua pesada a~$\SI{250}{\celsius}$, y $r_i$ y $r_o$ los radios internos y externos respectivamente.
^
$
Latest debian package was used:
$ pandoc -v
pandoc 2.1.3
Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.1, skylighting 0.7.0.2
Default user data directory: /home/gtheler/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
This bug error was first posted in the pandoc-discuss mailing list and jgm did confirm it was a bug.
The text was updated successfully, but these errors were encountered:
It's okay, this was reported first on pandoc-discuss and is diagnosed
there. The problem is that the latex parser tries to identify a math
section in a way that ignores the possibility that `$` may occur
inside `\text{..}` in math.
The following (valid) LaTeX input (call it
mwe.tex
)fails with the following error
Latest debian package was used:
This bug error was first posted in the pandoc-discuss mailing list and jgm did confirm it was a bug.
The text was updated successfully, but these errors were encountered: