public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: swhoro <swhoro404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Failed to convert markdown with latex to docx
Date: Mon, 21 Nov 2022 23:04:22 -0800 (PST)	[thread overview]
Message-ID: <f6960a6b-0692-4ba3-95b1-167e19ec00b3n@googlegroups.com> (raw)
In-Reply-To: <554C26C7-5761-4F3A-B966-6494A50C35BD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2099 bytes --]

There is new error.

[WARNING] Could not convert TeX math
  \renewcommand{\enspace}{\hspace{0.5em}}
  APP:\ <MS\_SET,\enspace MS_{RELATION}>
  , rendering as TeX:

                     ^
  unexpected "."
  expecting digit, "em", "pt", "in" or "cm"

在2022年11月22日星期二 UTC+8 11:28:00<fiddlosopher> 写道:

> As it says: \enspace isn't recognized.
> That needs to be fixed in the texmath library.
>
> You can submit a bug report at
> https://github.com/jgm/texmath/issues
>
> In the mean time, you can work around this by including
>
> \renewcommand{\enspace}{\hspace{0.5em}}
>
> in your document, before this part.
>
> > On Nov 21, 2022, at 6:29 PM, swhoro <swho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > 
> > Part of my md file:
> > 
> > $$
> > APP:\ <MS\_SET,\enspace MS_{RELATION}>
> > $$
> > 
> > 
> > using this command:
> > 
> > pandoc -f markdown+latex_macros -t docx -o my.docx .\Untitled-1.md
> > 
> > error report:
> > 
> > [WARNING] Could not convert TeX math
> > APP:\ <MS\_SET,\enspace MS_{RELATION}>
> > , rendering as TeX:
> > 
> > ^
> > unexpected control sequence \enspace
> > expecting "%", "\\label", "\\tag", "\\nonumber" or whitespace
> > 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/19d69c0f-a719-4308-9793-c75cc38a038fn%40googlegroups.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/f6960a6b-0692-4ba3-95b1-167e19ec00b3n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3710 bytes --]

      parent reply	other threads:[~2022-11-22  7:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22  2:29 swhoro
     [not found] ` <19d69c0f-a719-4308-9793-c75cc38a038fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-11-22  3:27   ` John MacFarlane
     [not found]     ` <554C26C7-5761-4F3A-B966-6494A50C35BD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-11-22  7:04       ` swhoro [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=f6960a6b-0692-4ba3-95b1-167e19ec00b3n@googlegroups.com \
    --to=swhoro404-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).