public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Explorer <kumarsunil1996ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Converting html containing latex math to docx or epub
Date: Fri, 9 Sep 2022 13:09:40 +0530	[thread overview]
Message-ID: <CAOYNTAwmBQ8Z9KmKY15Jfr3R1Ts-SeXa-=jiLJDHOay=LeJoRQ@mail.gmail.com> (raw)
In-Reply-To: <0C55983B-4301-4456-9354-066A2D714B52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2446 bytes --]

Thanks a lot, this is helpful. They are being converted fine now.

On Fri, Sep 9, 2022 at 10:01 AM John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> Use -f html+tex_math_single_backslash
>
> That tells it to try to parse things in the form \(..\) or \[..\] as LaTeX
> math.
>
>
> > On Sep 8, 2022, at 7:15 PM, Explorer <kumarsunil1996ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> > Hello
> >    I'm trying to convert html file containing mathematical expression in
> latex using the following command:
> >
> > pandoc -i integrals.html -o integrals_doc.docx
> >
> >    But the output contains latex as  it is. I also tried --mathml flag,
> but no luck.
> >
> > But if the source html file contains expression in mathml, it works fine
> while converting to docx.
> >
> > Similarly, I want to convert it to epub containing mathml expression,
> because the epub-reader we are targeting only support mathml expression.
> > Any leads in this conversion from html containing latex to docx or epub
> with mathml will be very helpful.
> >
> > Thanks in anticipation
> >
> >
> > --
> > 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/CAOYNTAxtO81qpu4dW--4p%3Da%3D-WBqN_uNWV06JMO0Rt7hs67G3Q%40mail.gmail.com
> .
> > <integrals.html><integral_doc.docx>
>
> --
> 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/0C55983B-4301-4456-9354-066A2D714B52%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/CAOYNTAwmBQ8Z9KmKY15Jfr3R1Ts-SeXa-%3DjiLJDHOay%3DLeJoRQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 3855 bytes --]

      parent reply	other threads:[~2022-09-09  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09  2:15 Explorer
     [not found] ` <CAOYNTAxtO81qpu4dW--4p=a=-WBqN_uNWV06JMO0Rt7hs67G3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-09-09  4:31   ` John MacFarlane
     [not found]     ` <0C55983B-4301-4456-9354-066A2D714B52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-09-09  7:39       ` Explorer [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='CAOYNTAwmBQ8Z9KmKY15Jfr3R1Ts-SeXa-=jiLJDHOay=LeJoRQ@mail.gmail.com' \
    --to=kumarsunil1996ch-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).