Adding a latexmath:[] for every formula is the only way it will work AFAIK. This allows you to choose for each cell if it is math or text, and you can even mix math and text within a cell.

Alexander is correct. AsciiDoc does not support using raw LaTeX. That would wreak havoc on the parser since there are so many special characters. Wrapping the LaTeX code inside a macro ensures that doesn't happen.

You can use the stem macro if you set the stem document attribute to latexmath.

Best,

-Dan

On Fri, Nov 22, 2019 at 2:25 PM Alexander Schwartz [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Adding a latexmath:[] for every formula is the only way it will work AFAIK. This allows you to choose for each cell if it is math or text, and you can even mix math and text within a cell.