From: Gabriel Braun <braun.pineschi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Disable inicode math in markdown > html > markdown conversion
Date: Thu, 22 Sep 2022 13:41:27 -0300 [thread overview]
Message-ID: <CAJx6N45PxAEUaRpZ9TKCNPpff09Mq1d4w2WkvSwxhc9YvpQU5g@mail.gmail.com> (raw)
In-Reply-To: <DE14185D-3ADC-472D-8D05-8347EE6CD8FE-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2323 bytes --]
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAJx6N45PxAEUaRpZ9TKCNPpff09Mq1d4w2WkvSwxhc9YvpQU5g%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 3908 bytes --]
prev parent reply other threads:[~2022-09-22 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 15:25 Gabriel Braun
[not found] ` <13b58a78-9b10-43f7-83fc-3905e01a7c69n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-22 15:29 ` John MacFarlane
[not found] ` <DE14185D-3ADC-472D-8D05-8347EE6CD8FE-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-09-22 16:41 ` Gabriel Braun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJx6N45PxAEUaRpZ9TKCNPpff09Mq1d4w2WkvSwxhc9YvpQU5g@mail.gmail.com \
--to=braun.pineschi-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).