Open manuelfuenmayor opened 4 years ago
My idea was to always use :stem: latexmath
in the produced preambles, but it definitely makes more sense to just use latexmath:[]
and [latexmath]
. This way it's also easier to locally change the math engine, in case one wants to fiddle with the adoc
.
From https://github.com/metanorma/mn-samples-tex-iso/issues/5 I believe this is an easy-to-solve (and important) issue.
Currently, the math interpreter used for formulae is
asciimath
instead oflatexmath
. Since the equations in AsciiDoc output are typeset in LaTeX markup, the interpreter to use should belatexmath
. For example,This LaTeX equation:
Results in this AsciiDoc output:
Which gives an incorrect rendering since the markup is in LaTeX approach. (The same applies for inline equations.)
The correct adoc output should be like:
which renders:
So, the solution is to change
[stem]
to[latexmath]
.