I have a more complicated scenario, with multiple dollar signs and file inclusion (using pandoc.read) that ends up in Math.

When reading the files I pass the PANDOC_READER_OPTIONS, with does not include tex_math_dollars within the extensions...but the Math is there anyway

Il Mar 24 Gen 2023, 11:44 Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> ha scritto:

Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> That's true: not math, but LaTeX math.
>
> Can the parsing of LaTeX math be disabled ? Even if I disable
> the tex_math_dollars, it seems that pandoc tries to parse LaTeX math
> (I see it from the native output).

Here's what I see:

    % echo '$hello$' | pandoc -f markdown -t native
    [ Para [ Math InlineMath "hello" ] ]

    % echo '$hello$' | pandoc -f markdown-tex_math_dollars -t native
    [ Para [ Str "$hello$" ] ]

Seems to work?

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/V5fTt9aN_AI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/877cxcky9v.fsf%40zeitkraut.de.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMBF16tbV8W-h_AkmLGyKzbcufgapHL77qP1%3D93dWiddrQXkcg%40mail.gmail.com.