I did it, but I have the impression that within a Lua filter the pandoc.read method ignore it Il Mar 24 Gen 2023, 14:04 Duncan Murdoch ha scritto: > If you run "pandoc --list-extensions", you'll see that tex_math_dollars > defaults to being included. You need to explicitly exclude it, as > Albert did. > > Duncan Murdoch > > On 24/01/2023 7:09 a.m., Claudio Di Vita wrote: > > 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 > > ha scritto: > > > > > > Claudio Di Vita > > 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 < > 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 > < > 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 > < > https://groups.google.com/d/msgid/pandoc-discuss/CAMBF16tbV8W-h_AkmLGyKzbcufgapHL77qP1%3D93dWiddrQXkcg%40mail.gmail.com?utm_medium=email&utm_source=footer > >. > > -- 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/CAMBF16vEmvbXS3%2B0tXCB51SmPe%3D0tsQ%2BV%2BZoQ0DvqhpRwTp4uw%40mail.gmail.com.