From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33026 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christophe Demko Newsgroups: gmane.text.pandoc Subject: Re: Pandoc-Latex-Environment to docx does not work Date: Fri, 4 Aug 2023 07:20:31 -0700 (PDT) Message-ID: 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_10320_1875447792.1691158831226" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29659"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDN5TJEC4AEBBMESWSTAMGQEOJSY2PY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 04 16:20:36 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qRvfQ-0007Wd-CL for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 04 Aug 2023 16:20:36 +0200 Original-Received: by mail-oo1-f62.google.com with SMTP id 006d021491bc7-56c8f0995fasf2962694eaf.0 for ; Fri, 04 Aug 2023 07:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691158835; x=1691763635; 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=TtbHlI3NtiWjRjiWV1m2afX1RZ8SzZiwTDVMN+UFo80=; b=Bb0YzC9lTXvPRUrA45U3+3CUed/gJ785ypkBGJZZdJGyzXQBCHLxT+XiNN8aDx3vYN Qcf162K2N9Cp0dnnvgbzbfliI+GJefqy9yXjZsKLW3u8LJgtryA+NELJnRZB/4LidUel WuqQ3NkT2uGsNmhlFLI/onG/jIR/g041lP36Xrp9L2eC6iVYU1rXXgAqlNpp5YMKxIbt aKTnKM6EBnKM/l/2kCnXMhSEV0O/eO4531BPtqbAE2piiO01vdDaEN4oZ7wgvTuKiGrd pKstl8BMnk4VmNqfbwFZCXOra+sT1X6eFWfgCqkSIO70BZHdDjiCACW+jzUJXWMfe0Nz 3SUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691158835; x=1691763635; 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=TtbHlI3NtiWjRjiWV1m2afX1RZ8SzZiwTDVMN+UFo80=; b=orR3vutVv8jatyCtyGKUdGvxklaWyJVPY1rlZqKUTXIs2K+e8vNzA39izCXad+zGod v/VvvBQa6ksxpUbPlZtbYh7/hz+hYneajCFE8dUtz0QuIVn/zzAB7/PV6PeqJ6I7WcdU NJoZrqt0byZN8585Gc9Pye3bB6ZUjl4llP5fYTsAcd2VTw0xwXew19N4ERtBpWYoU7M9 HkPCnWZvZXsF7eMv0cFI1/gTZwliHD8SBuEtP3KnA1MQ/tAWGQaHYRJtN/cMSEy0fvLH jr24ykAoXFpPjdXYJuiacAYV0CvGYBLtbOSxv0USH8/B/6TdiRhon1D6s+d2p74bqgC6 OjOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691158835; x=1691763635; 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=TtbHlI3NtiWjRjiWV1m2afX1RZ8SzZiwTDVMN+UFo80=; b=CZ+kQBkGHio5IuDAFUD7RdTS1S+klUQFr2Edjt+emEagyUCwgK7HZ3bYPIo5mCizi8 DCYCDD/C18h6D1sBeor7WIV4HtZ44ax65g2pVkHyuTgCVcDTArZYLhwTszDz1UeudSE9 AGHCo+EUFfF9TM+/lp8W3JuL83P+qq9iSpcMkJ+gGRBaqJCdMHOtI3tqANk//DFvfcbd tsQc8lU1IgHtCzyOfj+EnEN82xHvMLGacALJ9Mo7gwh7ej3QwhuPtBLkz3dcylZuN0Mt JIUO3UBZz3M5pi4yM0iy34LCYFaNcudsmOfAB42hn5ssjPLmo4 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yxp6Zz3wd518+AgwXbE9zq5V3fSV/0wZn+ZVohc9JwJKGvcjOiC bH8LaIQSl03huus1dfNLwdo= X-Google-Smtp-Source: AGHT+IGEVnhPyBtJnbGEyl+toq+OkKWYs4ZnSBfYLQOLDZbRaCa2dV33cFIY4jCwQA3lzkXNcL93OQ== X-Received: by 2002:a4a:9c1d:0:b0:56c:a841:610f with SMTP id y29-20020a4a9c1d000000b0056ca841610fmr2065015ooj.2.1691158835156; Fri, 04 Aug 2023 07:20:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:41d5:0:b0:56c:6b39:1d29 with SMTP id x204-20020a4a41d5000000b0056c6b391d29ls36647ooa.1.-pod-prod-04-us; Fri, 04 Aug 2023 07:20:32 -0700 (PDT) X-Received: by 2002:a05:6870:c794:b0:1ba:7bf5:67cd with SMTP id dy20-20020a056870c79400b001ba7bf567cdmr1882350oab.11.1691158831803; Fri, 04 Aug 2023 07:20:31 -0700 (PDT) In-Reply-To: <75bf54f4-42e5-4f7e-954b-87a69d8d9057n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: chdemko-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:33026 Archived-At: ------=_Part_10320_1875447792.1691158831226 Content-Type: multipart/alternative; boundary="----=_Part_10321_709526248.1691158831226" ------=_Part_10321_709526248.1691158831226 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm the creator of the pandoc-latex-environment. This filter is for pdf= =20 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 th= e=20 > text inside them is retained. Conversion from markdown to pdf works fine. > > I am using --filter pandoc-latex-environment. The following is an extract= =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/d35fe810-926a-462a-8ebf-64deeed7a289n%40googlegroups.com. ------=_Part_10321_709526248.1691158831226 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm the creator of the pandoc-latex-environment. This filter is for pdf= output using LaTeX (or beamer). For docx, you have to use another way.

L= e 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 latex environments disappear and only= the text inside them is retained. Conversion from markdown to pdf works fi= ne.

I am using --filter pandoc-latex-environment. The fo= llowing is an extract of the .md

---
title: Hi
author: Brover<= br>pandoc-latex-environment:
=C2=A0 df: [definition]
=C2=A0 prop: [pr= oposition]
=C2=A0 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 \lef= t(a^{\prime}_i, a_{-i} \right) \right)$$

for all agents $i \in N$ an= d actions $a_i, a_i^{\prime} \in A_i$.

:::

<= div>Should I use a different syntax or the 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/d35fe810-926a-462a-8ebf-64deeed7a289n%40googlegroups.= com.
------=_Part_10321_709526248.1691158831226-- ------=_Part_10320_1875447792.1691158831226--