From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31783 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: swhoro Newsgroups: gmane.text.pandoc Subject: Re: Failed to convert markdown with latex to docx Date: Mon, 21 Nov 2022 23:04:22 -0800 (PST) Message-ID: References: <19d69c0f-a719-4308-9793-c75cc38a038fn@googlegroups.com> <554C26C7-5761-4F3A-B966-6494A50C35BD@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8802_924519071.1669100662505" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4885"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDGZV2X3ZQBRB57I6GNQMGQEGOWEZBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 22 08:04:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oxNKV-0000zt-6l for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 22 Nov 2022 08:04:27 +0100 Original-Received: by mail-ot1-f59.google.com with SMTP id l12-20020a9d6a8c000000b0066c33f1649csf5846147otq.2 for ; Mon, 21 Nov 2022 23:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=II2EHxxw/gEVKqdbgjvT0ETskpIcDA9/RdDN7uBhNJU=; b=UYr3iFA4Vl3XEVqrezYb0vOKykLhIb/I5apu4cPSJaFhYQ+P/7+e1lpAcATQxOqukm M+gqwptNVnUCLgbcHQwZutcV1jwl6Nx/W3H1WGMYUuR/xGW8FaSD29LBiexFkvyh4IlB YVawkMu86aX6jbnUEQ3/ZUm62Mhw5BG0rD4I01UKXdegaobjFPDiKHXOed9tu8iSoLlU dRq8qKHUk9xB1WFeVJV3P4G49wqengKo4gJI71mF9qQRUL9c/qokBjPMe9G3lTlhQNrt UeeL+vgmpwUZE3vEABCJ+LHmCwIjnelk1rJ3YtKOJGli7QsBsAoQD3gIrGNUZROw2LAJ dWLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=II2EHxxw/gEVKqdbgjvT0ETskpIcDA9/RdDN7uBhNJU=; b=fJ3b0Xp9TPN5qrAmFJBYrhrPXYXVy6izUY+WPH5VjjxgtEkz9xUEUyJKGpg/Adh+ba dFVTn3iy8G27hxgT2Wfs5MoPC5k5+Lt2lc3mLkOu6QCWRk6EObIhbNdZyUaoLPWRf7ES RWwtZxsL7nwQtxcXUZjAPZQme1dHMgCEWegQJQ48NL9+uzBGOB1loUcP+/c0+mDvybpn qb0rfkF5uis4vx8U5EABLPXsdP2Iu4reOZdoNSducm8yOoNpYxBGD8g9Oa7XUcejMWIQ 9RhTC8vaVb18Uxp3P8CxgHDcIq+yRiX++MGRMu3t0DsUa3I9rz/kZfOiLqXpc1J8IuBq ejvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=II2EHxxw/gEVKqdbgjvT0ETskpIcDA9/RdDN7uBhNJU=; b=L6rBYz139IuVDzH2r1xnDV0lg4ORQHrUWFll1ybNmKmTLvzgW/cGKgG+bUB8iJbjrN 5rjcB88mhc4w9Y9cANOJGVizGLE1nvfJPS76WX90IjqZufMsESaANQUQXMc7nQ+1lIhc 2AOPmsLR9noBALrm7Qddtjvy5zGGnglSG0MFsM9xpVgaqgvuVjKjQ3cKLLurINSGmDjv 8Q4GgsF4Kc5V8rE3QUje+n7VEOPj1KHALASCkOOqqo8HtP7cxQohZwg9qsq7Luk0U3Cw 2Yy2TeTQH657KEcmVTMG538YtgV9EIVLxnh0dURKrU62MPdpI//ap1o4dx14iRQLGX2x mpmQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pmH3UH2CQLxqNUSk0TBSIKwygeISXo9D51/pDDrRZG9h/R0tm2t E5Z4gcNSaomBIziGaURvPn0= X-Google-Smtp-Source: AA0mqf5XtpJvI6BaADimYLMaTYsQtfvMUNKx9oqt6GZKQTvrESix4n3P8/Q6PkzlXnO3Ic/Hfy74gQ== X-Received: by 2002:a05:6871:4703:b0:142:81e3:e9b5 with SMTP id py3-20020a056871470300b0014281e3e9b5mr4767602oab.26.1669100666056; Mon, 21 Nov 2022 23:04:26 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:220b:b0:354:6639:a1f with SMTP id bd11-20020a056808220b00b0035466390a1fls3989697oib.0.-pod-prod-gmail; Mon, 21 Nov 2022 23:04:23 -0800 (PST) X-Received: by 2002:aca:1e02:0:b0:35b:75b:f3b9 with SMTP id m2-20020aca1e02000000b0035b075bf3b9mr2512812oic.98.1669100663273; Mon, 21 Nov 2022 23:04:23 -0800 (PST) In-Reply-To: <554C26C7-5761-4F3A-B966-6494A50C35BD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: swhoro404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31783 Archived-At: ------=_Part_8802_924519071.1669100662505 Content-Type: multipart/alternative; boundary="----=_Part_8803_62319973.1669100662505" ------=_Part_8803_62319973.1669100662505 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There is new error. [WARNING] Could not convert TeX math \renewcommand{\enspace}{\hspace{0.5em}} APP:\ , rendering as TeX: ^ unexpected "." expecting digit, "em", "pt", "in" or "cm" =E5=9C=A82022=E5=B9=B411=E6=9C=8822=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UTC= +8 11:28:00 =E5=86=99=E9=81=93=EF=BC=9A > 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 wrote: > >=20 > > Part of my md file: > >=20 > > $$ > > APP:\ > > $$ > >=20 > >=20 > > using this command: > >=20 > > pandoc -f markdown+latex_macros -t docx -o my.docx .\Untitled-1.md > >=20 > > error report: > >=20 > > [WARNING] Could not convert TeX math > > APP:\ > > , rendering as TeX: > >=20 > > ^ > > unexpected control sequence \enspace > > expecting "%", "\\label", "\\tag", "\\nonumber" or whitespace > >=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/19d69c0f-a719-4308-9793-= c75cc38a038fn%40googlegroups.com > . > > --=20 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 e= mail 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. ------=_Part_8803_62319973.1669100662505 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There is new error.

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

  =                    ^
&= nbsp; unexpected "."
  expecting digit, "em", "pt", "in" or "cm"

=E5=9C=A82022=E5=B9=B411=E6=9C=8822=E6=97=A5=E6=98=9F=E6=9C=9F= =E4=BA=8C UTC+8 11:28:00<fiddlosopher> =E5=86=99=E9=81=93=EF=BC=9A
<= /div>
As it says: \enspa= ce 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:
>=20
> Part of my md file:
>=20
> $$
> APP:\ <MS\_SET,\enspace MS_{RELATION}>
> $$
>=20
>=20
> using this command:
>=20
> pandoc -f markdown+latex_macros -t docx -o my.docx .\Untitled-1.m= d
>=20
> error report:
>=20
> [WARNING] Could not convert TeX math
> APP:\ <MS\_SET,\enspace MS_{RELATION}>
> , rendering as TeX:
>=20
> ^
> unexpected control sequence \enspace
> expecting "%", "\\label", "\\tag",= "\\nonumber" or whitespace
>=20
>=20
> --=20
> 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..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/19d69c0= f-a719-4308-9793-c75cc38a038fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_8803_62319973.1669100662505-- ------=_Part_8802_924519071.1669100662505--