From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33027 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Kelleher Newsgroups: gmane.text.pandoc Subject: Re: Pandoc-Latex-Environment to docx does not work Date: Fri, 4 Aug 2023 07:33:18 -0700 (PDT) Message-ID: <6893cb2b-681e-4ed8-ae92-b4ce13dd4d4an@googlegroups.com> References: <75bf54f4-42e5-4f7e-954b-87a69d8d9057n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_906_1945521023.1691159598888" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18450"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYKNHHAVIJBBMEYWSTAMGQEI4KHEXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 04 16:33:23 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qRvrn-0004Xx-LT for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 04 Aug 2023 16:33:23 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id 46e09a7af769-6bb31e13a13sf3466730a34.1 for ; Fri, 04 Aug 2023 07:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691159602; x=1691764402; 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=lyvrYZXnVTIgnr8CsUaS95FFPCQvsJ/Nc4e7JdOjaBE=; b=JiK1rTPGbjAXKIP+84OjZSWHg2/250vwoj0bu330E4GT7sZjOpOtXPhYrsfkiGdDh2 Ah/OPSdjYs7dxiXAKmB2YV2fDmJxYksqXhl6IwOxby3bTOusNvAtR02Brf0tz2J9iw0o dm4yWp/CVf/wDHe7ufWdSVW7ZaqdhHZwCJ4Z1iEgbMTS9UUlNIDoPPbM893W2FdL3NE1 X0bFGYyj28Ztgf/0O6cqsFKIijCgiA6zU0CJcrp7HR+z9oj+5bWV407/2WIUrmkuhrbj /Gnz0jsIl0IYB/m0wH8dzHqsOFKfQnEYcXxm0wwlnslXJQQjagq4BfmB7MDq3o8U32FH SDXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulkelleher-net.20221208.gappssmtp.com; s=20221208; t=1691159602; x=1691764402; 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=lyvrYZXnVTIgnr8CsUaS95FFPCQvsJ/Nc4e7JdOjaBE=; b=2t637vjhl1zXkToHGopWG2a6nl7+9Sp943zTEhaTb2JUaQ+tPqABiXCf+jA7qsOGBG hH+hLLKDJT66+MEsu7kBIHWVRXP++VRW+PicglVajoCAnLiGiCPrxnnKo6L5S/wsz++k z5y/V+xqmq/yf3rf8iSPVWNgQGKv73IrSzcuIgUOqkd9Bb+yyAIa/KzG2KjHvzQbOIk4 M6popwAp9qi2SZeabG7Qu9nYySWragxAndxxDFg9+HTskFy/idgUFi1mwMRZsOY9f6v1 uk0h+G72oipkX3xz/9HX83eMzw15neMpd4+OjR8R2ITthTXLeoRjBqFBD1lDAA2doDNx JAPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691159602; x=1691764402; 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-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=lyvrYZXnVTIgnr8CsUaS95FFPCQvsJ/Nc4e7JdOjaBE=; b=FYdIOpG1gpeOzIENlB5n/ebtJR2kIciAkyj9MUPYRhWYZUmYiB4eROFE+Yw/hkr8Zg mY2KktJvjcFL2gnX6nmp0aRY95VDrpkTcZOz5XGhaU2hb5757IWai5TLWg+1lDXHciKP ZZ+04ilnC0n4vNl1uAqq1D1igsyecBZ/Mvlo/FIkNcTF38qycQSmws/Tlqfp5H/jD7e6 1Kws0zhSiXF10JU4DYCfS0dqperdFyf9gPdZOBxsakZQXNUsauXcxkMVkBEWOevL1S4B RAixo+sqMXwIeQvnE0N1yXcNkWFIqyJK2fuoCwxdxx87jd13dI Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YyCwEyCNPWqj0xUfJTsINU7LFGgaa5pkg/reC2udt/KMfB3P/ls k1KncIwf/0nOf6AlauFtnV8= X-Google-Smtp-Source: AGHT+IE2EMVgPLQa1Pbi2fbAcUvaUYQ31r/7+KPE7fSK6HGNVXzeBbUJkkZ/NotpUZqkPz9gJcwdGQ== X-Received: by 2002:a05:6870:d0c4:b0:1b8:5d9e:638b with SMTP id k4-20020a056870d0c400b001b85d9e638bmr2034367oaa.43.1691159602464; Fri, 04 Aug 2023 07:33:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:4951:0:b0:56c:d455:5430 with SMTP id z78-20020a4a4951000000b0056cd4555430ls45055ooa.2.-pod-prod-01-us; Fri, 04 Aug 2023 07:33:19 -0700 (PDT) X-Received: by 2002:a05:6808:159d:b0:3a7:2d4c:5d34 with SMTP id t29-20020a056808159d00b003a72d4c5d34mr2598337oiw.8.1691159599413; Fri, 04 Aug 2023 07:33:19 -0700 (PDT) In-Reply-To: X-Original-Sender: paul-JZTKsBFbLNkkm2bSNb+QWw@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:33027 Archived-At: ------=_Part_906_1945521023.1691159598888 Content-Type: multipart/alternative; boundary="----=_Part_907_1231653917.1691159598888" ------=_Part_907_1231653917.1691159598888 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Omit the "pandoc-latex-environment" arguments in the YAML and I think the= =20 conversion to docx should work just fine. For cross-referencing equations I= =20 highly recommend the pandoc-crossref filter.=20 On Friday, August 4, 2023 at 9:20:31=E2=80=AFAM UTC-5 Christophe Demko wrot= e: > Hi, I'm the creator of the pandoc-latex-environment. This filter is for= =20 > pdf output using LaTeX (or beamer). For docx, you have to use another way= . > > Le vendredi 4 ao=C3=BBt 2023 =C3=A0 13:34:46 UTC+2, Enrico Mattia Salonia= a =C3=A9crit : > >> When converting markdown to docx latex environments disappear and only= =20 >> the text inside them is retained. Conversion from markdown to pdf works= =20 >> fine. >> >> I am using --filter pandoc-latex-environment. The following is an extrac= t=20 >> of the .md >> >> --- >> title: Hi >> author: Brover >> pandoc-latex-environment: >> df: [definition] >> prop: [proposition] >> proof: [proof] >> --- >> >> ::: {.definition} >> >> A profile of actions $a \in A$ constitute a **Nash Equilibrium** if >> >> $$u_i \left( r_i \left(a_i, a_{-i} \right) \right) \geq u_i \left( r_i= =20 >> \left(a^{\prime}_i, a_{-i} \right) \right)$$ >> >> for all agents $i \in N$ and actions $a_i, a_i^{\prime} \in A_i$. >> >> ::: >> >> Should I use a different syntax or the filter is not enough? >> > --=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/6893cb2b-681e-4ed8-ae92-b4ce13dd4d4an%40googlegroups.com. ------=_Part_907_1231653917.1691159598888 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Omit the "pandoc-latex-environment" arguments in the YAML and I think the c= onversion to docx should work just fine. For cross-referencing equations I = highly recommend the pandoc-crossref filter.=C2=A0

On Friday, August 4, 2= 023 at 9:20:31=E2=80=AFAM UTC-5 Christophe Demko wrote:
Hi, I'm the creator of the p= andoc-latex-environment. This filter is for pdf output using LaTeX (or beam= er). For docx, you have to use another way.

Le vendredi 4 ao=C3=BBt 2023 =C3= =A0 13:34:46 UTC+2, Enrico Mattia Salonia a =C3=A9crit=C2=A0:
When converting markdown to docx la= tex environments disappear and only the text inside them is retained. Conve= rsion from markdown to pdf works fine.

I am using --filt= er pandoc-latex-environment. The following is an extract of the .md

= ---
title: Hi
author: Brover
pandoc-latex-environment:
=C2=A0 d= f: [definition]
=C2=A0 prop: [proposition]
=C2=A0 proof: [proof]
-= --

::: {.definition}

A profile of actions $a \in A$ constitut= e a **Nash Equilibrium** if

$$u_i \left( r_i \left(a_i, a_{-i} \righ= t) \right) \geq u_i \left( r_i \left(a^{\prime}_i, a_{-i} \right) \right)$$=

for all agents $i \in N$ and actions $a_i, a_i^{\prime} \in A_i$.
:::

Should I use a different syntax or t= he filter is not enough?

--
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/6893cb2b-681e-4ed8-ae92-b4ce13dd4d4an%40googlegroups.= com.
------=_Part_907_1231653917.1691159598888-- ------=_Part_906_1945521023.1691159598888--