jgm / pandoc

Universal markup converter
https://pandoc.org
Other
33.14k stars 3.3k forks source link

`tex_math_dollars` appears to be not supported for ConTeXt #9887

Closed DasNaCl closed 1 week ago

DasNaCl commented 1 week ago

Make an empty file called x.md. Then, run pandoc as follows:

pandoc --to context+tex_math_dollars "x.md"

It will print:

The extension tex_math_dollars is not supported for context

Since the documentation for tex_math_dollars explicitly lists ConTeXt as a target, this error message is unexpected. I'm running newest pandoc on Artix Linux

jgm commented 1 week ago

tex_math_dollars is a markdown extension which determines what is parsed as a math element. The part of the documentation that mentions ConTeXt is just about how math is rendered in ConTeXt. (In fact, it is rendered inside $..$.) I'm not sure what you're trying to achieve, but I suspect you'll get what you want if you just omit the +tex_math_dollars.