From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30515 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix SOEDJEDE Newsgroups: gmane.text.pandoc Subject: [Docx reader] Keep more information between docx and native Date: Wed, 4 May 2022 11:00:59 -0700 (PDT) Message-ID: <8840906c-31d0-4d1b-b5e6-0d5c54ed3d1dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1488_1506851527.1651687259424" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29536"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4JXJU7UYGRBXP6ZKJQMGQESYN3KCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 04 20:08:59 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f58.google.com ([209.85.210.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nmJQp-0007Wf-PL for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 04 May 2022 20:08:59 +0200 Original-Received: by mail-ot1-f58.google.com with SMTP id 64-20020a9d0346000000b00605ddf8273asf684697otv.11 for ; Wed, 04 May 2022 11:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=82V7lqrEZgLbIWJd5Yh6BpyDDP9+TzG/I4mIexEV4j0=; b=HA5DoG6bSRWU/ZHR597GJw9wP6PCea1Ujy2Kl2TGt7bA+acz1h6vq2PpmulxQ46Tpb K9AvXcLQTBwGXAJyRGclxZcUF8wyKy9DfrWTnVUf005XRqivx7Zune0NRIJ/u1OvO9W4 kzRt1v03/vyKFgg5ZnJysc12IXpesvl8UG4tEkkHCqvhc71rkFDCcUtibEL+FopiTXbn Fnb5sXx8MZMOxkC3TG9fQ9bDuUblqDx5gNrbkMjrXW11zWo0w+1yfQCbaifs7qYZTQxD a1f00x/ciM4ksOmh9GWneeoQWPIJWd28IABLf8wuT9f6qz+ArxRCr8qSAXE6cNsL7C2R eXLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=82V7lqrEZgLbIWJd5Yh6BpyDDP9+TzG/I4mIexEV4j0=; b=ShU9Udc+v29AM9kpxAW21v/YobLTlTPmFZx7mB55v8tQdHot+F1tWTd8QGdTdzuLDF Cbm08gPhfzL0Qx7Ygk3ovhXFbaCjPQqAjbEmgQObQbxsGHkKgjcf2blhb/b7wUvLnU/L ar9ERzHp+Tcf28MjG8dokV0CUS1NcwdU9p0l9V/4/yjnnG10C+neHMCrjY09uMr8U1nB 8c4mXbhiQa/kjQ+8bgFqKiQcpGAbKJB7/h2p+h2vVXL+wtGzgpUZ173+MtgWMidUjZ9U FpDBOasKPDJCa0AOlXlxTzAS4wTP1EhGEyfqucCPmv09KW2ERYvR3xWQsMu7Gyc3VvCn 7KTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=82V7lqrEZgLbIWJd5Yh6BpyDDP9+TzG/I4mIexEV4j0=; b=IaSAYCAyle65wvEMc/3W/oyXHTfDevglapgjHZc2fu4Sa/4iNoQnUgQQQn8Hr0/7hT sALHw6tMJa9dnI8ZU/3kgDNVbAGNW7wxgMserY9LtUAWh/o17a8aR9cDIbR4WTIcqxlc VBy067EWr1PTp65Egwb3gdX5TKYBFk+WPacwbSDsEmcNUlx53GnYZohd77IwS5LvjPGn 2HufR7fA0RpjfjT0MY58yKH/7048VSsYUSXzDdIifzLL1A9ySwy5aqtqTmtSppD1C/XN ujzzZVU/ccslmxuIyMshEL9S+DMCJ/Bfr84cD4hCNMhTLIfEUekRgNqlFiQOV3s/5iGX 6xdA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533r/KhZVxx/o/YPrrB2ek1nxu7lpbpr2xPUKRwK7AJro/ZQwfKk llNS+BHLoLeow8YuQYjgdos= X-Google-Smtp-Source: ABdhPJxlSJGwck9YnnnSgDPu9tz4uis31lz4yMvlsSdXqe4OdvxD3Xjcbw5vOTIR7D6X6eiPBWd1uQ== X-Received: by 2002:a05:6870:f28e:b0:de:f169:cd9 with SMTP id u14-20020a056870f28e00b000def1690cd9mr365951oap.262.1651687738738; Wed, 04 May 2022 11:08:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:3cb:0:b0:605:d24d:2ca7 with SMTP id f69-20020a9d03cb000000b00605d24d2ca7ls590833otf.0.gmail; Wed, 04 May 2022 11:01:00 -0700 (PDT) X-Received: by 2002:a9d:518f:0:b0:606:2420:4c8e with SMTP id y15-20020a9d518f000000b0060624204c8emr4583238otg.231.1651687260089; Wed, 04 May 2022 11:01:00 -0700 (PDT) X-Original-Sender: soefelix-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:30515 Archived-At: ------=_Part_1488_1506851527.1651687259424 Content-Type: multipart/alternative; boundary="----=_Part_1489_1028482208.1651687259424" ------=_Part_1489_1028482208.1651687259424 Content-Type: text/plain; charset="UTF-8" Hello, I would like to known what is the best way to keep these type of information when converting from docx to native 1. Landscape Added in docx file by creating a "section break". Github issue: https://github.com/jgm/pandoc/issues/8054 2. Columns Added in docx file by creating a "section break" Github issue: https://github.com/jgm/pandoc/issues/8057 3. Alignement I think it can be done using *fenced_divs*. In my knowledge, lua-filters cannot do that because the information is not available. I may be at Haskell level but I'm not sure if it's possible to do it without adding code to Pandoc. I known PHP, Python and recently started writing lua for pandoc filters but I don"t know Haskell nor Functional Programming. If it's possible, I could try to learn Haskell. Thanks for your answers -- 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/8840906c-31d0-4d1b-b5e6-0d5c54ed3d1dn%40googlegroups.com. ------=_Part_1489_1028482208.1651687259424 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I would like to known what is the best= way to keep these type of information when converting from docx to native<= /div>
1. Landscape
Added in docx file by creating a "section = break".
2. Colum= ns
Added in docx file by creating a "section break"
3. Alignement

<= /div>
I think it can be done using fenced_divs.
In my knowledge, lua-filters cannot do that because the inform= ation is not available.
I may be at Haskell level but I'm not sur= e if it's possible to do it without adding code to Pandoc.
I know= n PHP, Python and recently started writing lua for pandoc filters but I don= "t know Haskell nor Functional Programming. If it's possible, I could try t= o learn Haskell.

Thanks for your answers

--
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/8840906c-31d0-4d1b-b5e6-0d5c54ed3d1dn%40googlegroups.= com.
------=_Part_1489_1028482208.1651687259424-- ------=_Part_1488_1506851527.1651687259424--