From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30518 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: [Docx reader] Keep more information between docx and native Date: Thu, 5 May 2022 08:18:53 +0000 Message-ID: <4c15ea651cd141649c80e84582f20f76@unibe.ch> References: <8840906c-31d0-4d1b-b5e6-0d5c54ed3d1dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_4c15ea651cd141649c80e84582f20f76unibech_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25787"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBB4EQZ2JQMGQEFNLUAXI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu May 05 10:19:00 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f60.google.com ([209.85.218.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nmWhP-0006XN-P8 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 05 May 2022 10:18:59 +0200 Original-Received: by mail-ej1-f60.google.com with SMTP id dm7-20020a170907948700b006f3f999ed7dsf2231339ejc.0 for ; Thu, 05 May 2022 01:18:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651738739; cv=pass; d=google.com; s=arc-20160816; b=sakzAtuK7eqANNI+dwMsljJ+x/im186oW+Mh5as1b339ebj0/Enu6alLNyn+lGec9I yQjtvkCXnR5ozmWh3K71ftqje8NZPbyiE3QC9FN+lO8bY2C4TW6kQlTdAltd1o+aG8qN Efuq+MbvenCsQSItRGMnQPKtUbpnytgqlIl6REnYNmDsblPYOc6KQ3JxcBsGooHVmTFy DFNxUp3PB6W5srdpNcQM/uZX0K47dq4jUMqc/ttLgKgJnO+9sP80sxSjB7eXlCe6yyfk pls6yYHSSQ8C3G1p0ZRmNqrJPuF8aBL05xGf2m9DU4zCmuFx0ijm/t2/mm1z80Uw8A9A nY0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:sender :dkim-signature; bh=iYv7DrdbGluEPoeXjpY7T759tcyT3/8xdHNEZv9Z3io=; b=SaEZquawPToU/Jo1bUCryIL6VONmNOpautZvVLLT4hYd5otVo6hAEgPkZOCOgKBmaX hhJJv5iGwOtx+xGt4Rl03ddILkWHnLDAnuOiQdA5N7W7v6PYDC1M4JxeqNT89jp79PyF k6rLRdZa41GFdfCFZ7Gwq3gm7zJo4Z6BjVvvQZRNstN9EfAGYhx0cDKixMpt3XI2Wk6l LbIYz7BlYA4xQs2NWWdvOdRXnNxQkKEqd1xeWocA7G54a1x9WMFCIpAA4XoO3Or57Aem 1YF8z8lB42favO5OrWdu7hEitXW6T9sR1OXmdAES3e4OTx3EWx7m1JnPhwYskRGSzJhk 6CTA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=iYv7DrdbGluEPoeXjpY7T759tcyT3/8xdHNEZv9Z3io=; b=azG/jl1ZsgPhPWZrzJfM+DvOo23VOGp876fQC8RSyfAE8T9SRzRGa+Rt9pRxkNWu3j ctqfZyz78iIdBr+yQk/BDTopY0Gl6NKnuwn3ZnXhY/pBfz/RyC81ZJrjvVIVJoum3jFg Zqjlogc/XFitAQp2neYlV7CeMT2D94XiMG9/jJRfN5Zubj/DlmJL052rzPBECH4S1yMC kMAArsVrUMijwgtPfU8HEAggenLaxgVGWHwI6No9l8tQOSDJM9eK4oP6TPMx2Yew0KYF LFXVc9MnpPpup7CTsA3An7k/3zf5WgqFEc2NHVR/msZSuSaL0cqxt1wnjlFMbhwogcSU J4KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=iYv7DrdbGluEPoeXjpY7T759tcyT3/8xdHNEZv9Z3io=; b=pgINUnLhkzdw9HYFe3k6WpeT8c/D41z5P3x5EzOKXuQO56jNP6+ZXd1vaEbuJO19F4 /jxrfq/ow2Ks+EfOUNx9j94mecoZTKXerrGb2li5bcFF/sMzvR/+vrjpsixQUjrTZwsM HVT9oJPH4F4s74QMryUpXf66NeJGFGJp4RjAFFFRYh30YbP2CGGXnnSz5LRHLTzJAYts OdiElhsOCsH+/SnG4NezB55SLb3duC6zQT2ongCK3RUrN6HOchI2MembJhMuJW1Qnqne Rz1MenNmUuvy8XAuEovIpM8Qk6KAjiW Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533beHrCxZhLaInL9nuoHZQ2fchdf6y1biCIDyA88k5jn0tjZdCu kU7okMXKxX1wv97pzsQaaMk= X-Google-Smtp-Source: ABdhPJwBSiw8j2maNKR6kPJIq6dSTY5ZfBrWsqJ92CG1pG02d4J6ehkESKQkHixIPDq3Qgm0iBdXlw== X-Received: by 2002:a05:6402:4301:b0:427:c8e4:4acd with SMTP id m1-20020a056402430100b00427c8e44acdmr20255260edc.230.1651738739362; Thu, 05 May 2022 01:18:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:907:9702:b0:6e8:c0b2:edfc with SMTP id jg2-20020a170907970200b006e8c0b2edfcls2271365ejc.11.gmail; Thu, 05 May 2022 01:18:55 -0700 (PDT) X-Received: by 2002:a17:907:961e:b0:6f4:b201:6629 with SMTP id gb30-20020a170907961e00b006f4b2016629mr9008439ejc.152.1651738735128; Thu, 05 May 2022 01:18:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651738735; cv=none; d=google.com; s=arc-20160816; b=raM5Sqssh1UHTR1UFPj185Rb2kwZAQGVxYD9/84Y0ld/S98hDKrVGVWzD7PxOy7gpn BCHBqBRuwCWHfYFT+swOuf5oGEmNl+nBTQuIz42DlDLe2sCEvRs95Q9r/UUGPnP3JabY T/qKdrNfbghYpYsVhmE60VprqKHHwszh3hQWoON9XgCTxOA0XnCrIcqmgCtMFDsSuhWX /RtbJs2tqglyNO/ZFKokuL6grAkMfBqu6AoGhypHDH+g5YZ+Csv42JlES8S+s8RfCzhP /wLa1zAU/uW26knGtumqyUB+ciqwq89gzX266t5RoC0PeBK8G9qvMmilpmU2oYLDju9N O7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from; bh=qn1AKzFSiKMU86y0UhSJINsm8HivaRTiebmIBE5l6N4=; b=AghbOsolKONwwiHejrcoCE3lKn8INkbXTTyofkDV6FIPj+cPj1Em4qfLuka7SnfKwU GrBWKKHNHdvH4v3Oe8I+vfXXf/n9WQNOksoWxHOpvs/kD2nGiXN3rQI13faiT0Cu4rz9 MbNIM4LjrW2ctPsrJcY3YrWWooibo7UGDJ5ytjsNQ6QZ7y69wiXbFkYDNB4ghNlct/O4 x7fsWQnBgUqWJDEWR0sRtGa/vYpCGT/jjKhrb6+Y++QgGAwegmDdZl4q3RayK0AwZiWV yGOHYrQwsQMreDViBEPmdVehjSFTG2w2yFD34QC/wQhU2t25Rb4sZB5aChRZklsAAK/0 HnWQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch. [130.92.0.83]) by gmr-mx.google.com with ESMTPS id gz5-20020a170907a04500b006f4639cc02dsi39194ejc.2.2022.05.05.01.18.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 01:18:55 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) client-ip=130.92.0.83; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-02.campus.unibe.ch [130.92.13.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id E7F79500098 for ; Thu, 5 May 2022 10:18:53 +0200 (CEST) Thread-Topic: [Docx reader] Keep more information between docx and native Thread-Index: AQHYX+II+ZD2UT2UukWK2QsHWF6Ih60P8ZTA In-Reply-To: <8840906c-31d0-4d1b-b5e6-0d5c54ed3d1dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:30518 Archived-At: --_000_4c15ea651cd141649c80e84582f20f76unibech_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I don=E2=80=99t know about the first two issues, but regarding alignment : = Maybe you can use the custom-styles extension for this. Best, Denis Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im A= uftrag von Felix SOEDJEDE Gesendet: Mittwoch, 4. Mai 2022 20:01 An: pandoc-discuss Betreff: [Docx reader] Keep more information between docx and native Hello, I would like to known what is the best way to keep these type of informatio= n 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 withou= t 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 e= mail to pandoc-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. --=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/4c15ea651cd141649c80e84582f20f76%40unibe.ch. --_000_4c15ea651cd141649c80e84582f20f76unibech_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,<= /o:p>

 

I don=E2=80=99t know about the first two issues, but regarding alignm= ent : Maybe you can use the custom-styles extension for this.

 

Best,
Denis

 

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Felix SOEDJEDE
Gesendet: Mittwoch, 4. Mai 2022 20:01
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: [Docx reader] Keep more information between docx and native=

 

Hello,

 

I would like to known what is the best way to keep t= hese type of information when converting from docx to native

1. Landscape

Added in docx file by creating a "section break= ".

2. Columns

Added in docx file by creating a "section break= "

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 p= ossible 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 Programmin= g. 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-d= iscuss+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-0d= 5c54ed3d1dn%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/4c15ea651cd141649c80e84582f20f76%40unibe.ch.
--_000_4c15ea651cd141649c80e84582f20f76unibech_--