Worked when I used tex_math_single_backlash for reading HTML.

Thank you!

On Thu, Sep 22, 2022 at 12:29 PM John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
When writing HTML, use

-t html --mathjax

and when reading HTML, use

-f html+tex_math_dollars

This should round-trip the math. as tex.

> On Sep 22, 2022, at 8:25 AM, Gabriel Braun <braun.pineschi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hello!
>
> I need to convert a markdown document to HTML and then convert it back to markdown. When I do this, math like $\pi$ gets converted to <span class="math inline"><em>\u03c0</em></span> in the HTML and to *\u03c0* when I convert it back to markdown.
>
> Is there a way to disable this feature and get $\pi$ back in the final markdown? I have tried using html-tex_math_dollars, but that ended up escaping all the $ signs.
>
> Thank you!
>
> --
> 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/13b58a78-9b10-43f7-83fc-3905e01a7c69n%40googlegroups.com.

--
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/2F_mBqv51Vw/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/DE14185D-3ADC-472D-8D05-8347EE6CD8FE%40gmail.com.

--
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/CAJx6N45PxAEUaRpZ9TKCNPpff09Mq1d4w2WkvSwxhc9YvpQU5g%40mail.gmail.com.