From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32952 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix SOEDJEDE Newsgroups: gmane.text.pandoc Subject: Allow extending Docx Reader to keep landscape and columns information Date: Fri, 14 Jul 2023 09:08:26 -0700 (PDT) Message-ID: <80bdf7c8-03c6-4e0c-bf90-173700deed1an@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1978_434958208.1689350906339" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8385"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC4JXJU7UYGRB67FYWSQMGQE4LSKETY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 14 18:08:32 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f58.google.com ([209.85.161.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qKLLL-0001ow-Tq for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Jul 2023 18:08:31 +0200 Original-Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-565893ef956sf2569598eaf.0 for ; Fri, 14 Jul 2023 09:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689350910; x=1691942910; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=LykxgRT7YutiPGsZEg8kqM2CVz8sKAktAl31UoAjtKU=; b=HDALDgC8Wk71aQBuwsa5xqFzW0JylhXyCT+UDpGztLgCRwIbFxgVFxoxliakiMaRmo 5L04zO9vg0wvkqg90roTYzAyspUL9MnlkI+bwXmAfEsz1+zLs3huedLRe/jUrf5BxFwF jyEctaAE+RSkbNXmJ+oZkYdPFbml/i1vHr8fIXWEu6rtqBBNJL0AEcFGPr8SP27Jyie6 TioHIhpiw+5TOQzyyA8cyt9pOoj/lwHTMH3RN0IJLdKeFopjIvokQDmwkELxLFZyvYJe 0Md2cbPU7HNoMWcMe3PqPZTy5ZfxbIHOmjDNp4qxeKv0hiJSqpivVPCVqnxhDZ9tUfPd tb4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689350910; x=1691942910; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=LykxgRT7YutiPGsZEg8kqM2CVz8sKAktAl31UoAjtKU=; b=jL82E/WVIyvm8u1gJ2vCVJJx1p42hf5AxpjBXv3rZfqUKhQuaxndBNnNBurKsqn3wn GPzfuCxbv2ogDMn0hylCoML/Mc356Prwjpg9us+kPSxdh6PWrsyhzL9Zgn6oPVqXBnkA JMOOG83/M6LI36l1pb1wD7MQ4xTEoKUCizfNmEl5/UlM1gvWoS11S/QPj3eGpb0nwRcv UZmp21U9bXvIQ4Qhq70YPNEFx48cFr122IBYgdZ7kVkUFbQ+x0RDHvBtFIE4FG0ipElB 7O6chsfbDncnb6A+VIyWpG4PW/mhwag39g9vUVcp+CZB68UhOeBhItcVqdtIIS8odpJd xiHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689350910; x=1691942910; 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:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=LykxgRT7YutiPGsZEg8kqM2CVz8sKAktAl31UoAjtKU=; b=bonkmF4KVdpFjkia+AG5tryFq2U/trLeERK9lrWppScIVK3J1F8dfxYZD65AIPV+8Y V/PeH90J/FoZA4zPgBgIeX0niU6LUffZlZse1SAw7kZRUvDLQoE2YDaYnkyHvIpvre87 19ew6miZ34pgL8W8/Tv9fs9BLoIpoDws7NUo6ToOJ07nSxAs6Up/ytii0TNHzD7VWLrm eABy7xgMGGp03U3qK1Ctfw/jpW4NzFlNRHCEcl83k4RD2xgTERPz7WkzYQfxRat/g1MG y9Z2ST9MHaMFGCm/9qjMD0RwfkZU4kFbSgeAnnYNZOh32TDsWY8NoFTnzzvOp54zpelu Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLb+92hoLWj6kUP3DEYY6x+LumGZ++YYv9Omx4xATKqRWW6GClom eEaNYKS1i4gI80PIMXRkzNQ= X-Google-Smtp-Source: APBJJlHlt7HG4dZZSQUZxhMruB/y+HPUYJzIKi+R4id3nMgzZHFC+9RRNBwfbk2mHH4SiHJRSfN9uw== X-Received: by 2002:a05:6870:f58c:b0:1a3:100f:bf41 with SMTP id eh12-20020a056870f58c00b001a3100fbf41mr5209987oab.23.1689350910599; Fri, 14 Jul 2023 09:08:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:4f81:0:b0:566:468c:c38a with SMTP id c123-20020a4a4f81000000b00566468cc38als2169658oob.1.-pod-prod-01-us; Fri, 14 Jul 2023 09:08:27 -0700 (PDT) X-Received: by 2002:a05:6808:f8b:b0:3a1:edf0:c79f with SMTP id o11-20020a0568080f8b00b003a1edf0c79fmr7042335oiw.3.1689350906919; Fri, 14 Jul 2023 09:08:26 -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:32952 Archived-At: ------=_Part_1978_434958208.1689350906339 Content-Type: multipart/alternative; boundary="----=_Part_1979_1330766407.1689350906339" ------=_Part_1979_1330766407.1689350906339 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I would like to know if the Docx reader can be extended. Few months ago, I created these two issues: - https://github.com/jgm/pandoc/issues/8057 - Keep columns information=20 during the conversion - https://github.com/jgm/pandoc/issues/8054 - Keep landscape information=20 during the conversion The support of keeping landscape from docx to markdown was legitimately=20 closed because there is a mention in the manual ( https://pandoc.org/MANUAL.html#description) that > Because pandoc=E2=80=99s intermediate representation of a document is les= s=20 expressive than many of the formats it converts between, one should not=20 expect perfect conversions between every format and every other. Pandoc=20 attempts to preserve the structural elements of a document, but not=20 formatting details such as margin size. For my use case, I need to keep landscape and columns information when=20 converting from docx to markdown. My team doesn't work directly on markdown= =20 files. As it's not something that Pandoc could add currently, I want to try to=20 extend the Docx Reader to handle implement the handling of Landscape and=20 Columns. If it=E2=80=99s possible, can someone give me an example of implementation = I could=20 rely on? If it's not possible, is it something that could be implemented as new=20 feature (The feature would be that Docx reader could be extended to handle= =20 more cases) Regards, F=C3=A9lix --=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/80bdf7c8-03c6-4e0c-bf90-173700deed1an%40googlegroups.com. ------=_Part_1979_1330766407.1689350906339 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello,

I would like to know if the Docx reader can be extended.<= br />
Few months ago, I created these two issues:
- https://githu= b.com/jgm/pandoc/issues/8057 - Keep columns information during the conversi= on
- https://github.com/jgm/pandoc/issues/8054 - Keep landscape inform= ation during the conversion

The support of keeping landscape fro= m docx to markdown was legitimately closed because there is a mention in th= e manual (https://pa= ndoc.org/MANUAL.html#description) that
> Because pandoc=E2=80=99s intermediate representation of= a document is less expressive than many of the formats it converts between= , one should not expect perfect conversions between every format and every = other. Pandoc attempts to preserve the structural elements of a document, b= ut not formatting details such as margin size.

For my use= case, I need to keep landscape and columns information when converting fro= m docx to markdown. My team doesn't work directly on markdown files.
<= br />As it's not something that Pandoc could add currently, I want to try t= o extend the Docx Reader to handle implement the handling of Landscape and = Columns.

If it=E2=80=99s possible, can someone give me an exampl= e of implementation I could rely on?
If it's not possible, is it somet= hing that could be implemented as new feature (The feature would be that Do= cx reader could be extended to handle more cases)

Regards,<= /div>

F=C3=A9lix

--
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/80bdf7c8-03c6-4e0c-bf90-173700deed1an%40googlegroups.= com.
------=_Part_1979_1330766407.1689350906339-- ------=_Part_1978_434958208.1689350906339--