Confirmed: when tex_math_dollars is disabled pandoc doesn't create Math elements, while under the same conditions (inheriting PANDOC_READER_OPTIONS) pandoc.read create Math elements for the same document. Il giorno martedì 17 gennaio 2023 alle 09:58:14 UTC+1 Claudio Di Vita ha scritto: > Hi folks, > > reading the documentation, with the extension tex_math_dollars enabled > (that's the default) anything between two $ (or two $$) characters will be > treated as TeX math. > > However, I think that when such extension is enabled, the document > parsing, including the metadata, is a bit inaccurate, because also strings > like ${value1}/${value2} are treated like TeX math. > > Of course disabling the extension or escaping the $ characters there are > no issues, but it would be nice to avoid that, if possible. > > Any idea of what can be the wrong parsing cause ? > > Cheers, > > Claudio > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6599e581-5fc3-4a77-8be1-d6d962d54600n%40googlegroups.com.