From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23459 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Ames Newsgroups: gmane.text.pandoc Subject: Re: How to format lists in pandoc-generated docx documents? Date: Tue, 24 Sep 2019 10:10:20 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eea69f05934811f0" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63981"; mail-complaints-to="usenet@blaine.gmane.org" Cc: pandoc-discuss To: John MacFarlane Original-X-From: pandoc-discuss+bncBDQYJK4ZTQOBB6E6U7WAKGQEL3U2P5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 24 10:10:39 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ed1-f64.google.com ([209.85.208.64]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iCfuA-000GSp-NB for gtp-pandoc-discuss@m.gmane.org; Tue, 24 Sep 2019 10:10:38 +0200 Original-Received: by mail-ed1-f64.google.com with SMTP id k5sf569423edx.13 for ; Tue, 24 Sep 2019 01:10:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569312633; cv=pass; d=google.com; s=arc-20160816; b=iaDHgIBi7qPhgsj+IcMFhnF5+uwznD66Nx6zvVRfKYmEfcOKaIdocE5GsvuXfFJdwp xjYjQvF/9ELo74Lm7Vf5D9TmWX3Y6hfmoFrfmQO2NtGPqE4k2mIIzhpINYXon6cOUs7R 8hZk/vGA+cz4MUyYpkm9KmCL39P0JGuHA7qRu9jWiAsG7hpyvHP8L5z2tESv1ihTGiON lrCaSLi6ownot8A3ULAMdjl+JH8OGy8zXthBLVXo81iNDeqfiAqIM3295LG6nMOmMqx3 LpFEtG33bgjxfavrhtRGsHLs2UM8N+BogiqnN97J0xEmuk95XHGere0baPUx1AguoNpT R14g== 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:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=KuKGZ6SlNi6Ea0XvESFIe9/R+c33UCv4pVRmLqQo5xI=; b=dXx8lLj9SPWoUsMnmOjshK+RZcrLWUnSu+O0QBM4rYDvpNNasbGYMXDp4RThBuKb3X feY9Fo8htmlZ9pHQRoHBhlsDKf7Lw0c2SMum8W6ucrHxLu8024YaJYQIJDfMLUCGS4XX TIL+8s6BzBP3fEueO0Bm5vVejXuicaXRjOFo9hzT9jzwLZvD9UlkH3r6jnj6sQo+i7bq fI03DOKfRZB0Z8XYnjCoEvsaRsrcB7fw5Ng6vedFA4iYTsvljUeHnWrBRpeNFvAUtIGx M2uy06BEGZ9KW3Dy6xLyqRrmEYtQW/lmtBaYfpvP79qVDkOazshm69uB8D5cwgEs8N3G PnXg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nNGxzo1c; spf=pass (google.com: domain of andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::243 as permitted sender) smtp.mailfrom=andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc: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=KuKGZ6SlNi6Ea0XvESFIe9/R+c33UCv4pVRmLqQo5xI=; b=PMildizXQuT7z//OVBVHzHF3ak3SSuhaz/4PdKFifodhhj6H8lr9Zn2VDft5PqQBJ6 ohPSFeng2S4m1v66DkgQ21UhnlOT5lPix/Uju4NuKTXXDzFW9quXZm2K7Gnn1r2QD5ob 4JCQY2vdAkW55h/Yluf4CCA9mAfHeGQuM+xM7Yu2tVsawQIGkOqNypHrgvsvyJVxk0Hv GZm4OJDUBWE46NlddzXkYgFztsLAEB0NgdHxAlOjAhChknG2LSOYWqoSPheWhtkoTmrJ FdDwcGi9/e4XE/x8r3eOZo4pG4wOomyJwnUdGbgOEmoBOYd2+shtGtfdYPTBLUorM16T opxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc: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=KuKGZ6SlNi6Ea0XvESFIe9/R+c33UCv4pVRmLqQo5xI=; b=TaHSesuTOoHTTeqF6rlbt5SPAgWjgb26wp741+IlrOlgei4ST3/phculJKruml7D8f 4eeO1U7jQ8HLCOmcVQC4xln7d3X57uhP31IM5/g/h0D71syLEiFhzQpIaaC8OWZSj3uW rVNm4hS4phV7C5uU0YaWAr5QiXaMkfjPEX6A/K9uul44MR6PWn6ElSfa+1Dxih4O3yXX 9QS+aFdAOJdNGG/7FzogqxuN/uN2fuXobMLLcVdVib+uZenx/IONZy6cJ/ylU5Co9w6J v6Bo2LH8XqfZHPFsVhZA99RSV0cHvbQojEk4QKgiyhwKMQJ/YRoLa3zyBSxzsKLE9BQ5 DQ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc: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=KuKGZ6SlNi6Ea0XvESFIe9/R+c33UCv4pVRmLqQo5xI=; b=CGT7ang5W4Z70rnU5zuo34xy8CuFxQNl6wNR2A4RB+O49vWQaO/CSo/S3hYIi3lxbC K5/WQIB8D6RZA7A5wnroytAyT0oXVMM0Cx6Dj2JhTUWAgap/KNlnTh9Q6W6fhnnsTBEN cFw74OXaV/IXMlZP6oyivCM0KzNoxpvzbZQbSDBsaiapNEMxwj6Cj9R6g33o2hKJU4dh jRZ96OBLsOy4XUxpQ6h2QeM992w13V4LQEhgNJ1i0/Ca7H7VAfhyppNwYnq+v/JTUoFB b1K8zyCXV7lOLxunEh6ek+3YQE5/c0okG90ZR8PVdSVxBQizVNiixUfngiWb5L8CjMEt vEmA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXao2318EQJWjKhMZbZbRu05fsbCyVuAApOrYdQxp9oJPvZCiRp ry3DtFP3J2BEdZyhzf8/nxM= X-Google-Smtp-Source: APXvYqyM1MRs+poUhKF0QKhhLhs3arx0L0KaPDHIagw0IWNUDkiinvwg5BYTcmR2M0ilImTfuv1rcQ== X-Received: by 2002:a05:6402:35b:: with SMTP id r27mr1316198edw.140.1569312632909; Tue, 24 Sep 2019 01:10:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:a2d9:: with SMTP id by25ls228171ejb.1.gmail; Tue, 24 Sep 2019 01:10:31 -0700 (PDT) X-Received: by 2002:a17:906:ecf9:: with SMTP id qt25mr1247708ejb.249.1569312631757; Tue, 24 Sep 2019 01:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569312631; cv=none; d=google.com; s=arc-20160816; b=FUZdnes7lW0R6UuCQLWdrYkPEJZcGBkhLxQiynOJ8W1xrKgsFeK7wBwb+o32eM0hDg 27Q9wmZ318ewBNAax/I66Gt856EDmYAwFzGRtmPV2CG7C5hUZ+u2bC/4+d0JgMhHnCqG XnBkg81WGCnkFMuBSHeWAF3Tfg0+HjuuZLB2OdmWZ+Ss8Sgp/OlxDyU5jsAAmQPSUeBI Ol0cntJS00F+Dyg4NO1pV8xyXKr4l5v/gWzELXJrZNdsHaObJe/hRUijffdsSttnHY71 AtOPB0ny17+kJ90gHnjZ7xfqzoOZuhCibStdJTmyZAFwwEmvydGjif8EPkugH3K9FZ2U PRpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=/OEf2wSc4rzhj/Sal/ll1ETk1CYaS+YNd4aitrjjyow=; b=0cKvDzdwZc9xNQcpstsgAMSy5StA8BqgEjYHH1PW1vtS/8hTyQlQGq26H50NuxKTtm 1rg0SJtdJ3KYrr0jVO6weB+4tZBYhSqcoMG0kpKFanMAmHSg0cYEfuRxk83JnjCWfsbW 1J+QLaFB+IFhj/yLCI5dSTsxWSFtwZeg1aZttkqL6mkMHdtDpPr+naHPfOOmh/jXEZL9 isrloQprLJf/1YCHPbsDDSYyE5Wkj6VP9pn2wl2UnrsfS9gAg03rWauGuKmv+SBRv2Gz Boxc8SicrNWup+l7kWNM8vJnBLXwYY9nYIdY+i7+7WWswpUp1MSdBHdaCxqX4aCDhSbi qyYA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nNGxzo1c; spf=pass (google.com: domain of andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::243 as permitted sender) smtp.mailfrom=andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com. [2a00:1450:4864:20::243]) by gmr-mx.google.com with ESMTPS id r3si97535eds.2.2019.09.24.01.10.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Sep 2019 01:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::243 as permitted sender) client-ip=2a00:1450:4864:20::243; Original-Received: by mail-lj1-x243.google.com with SMTP id q64so888630ljb.12 for ; Tue, 24 Sep 2019 01:10:31 -0700 (PDT) X-Received: by 2002:a2e:42c9:: with SMTP id h70mr1082662ljf.88.1569312631333; Tue, 24 Sep 2019 01:10:31 -0700 (PDT) In-Reply-To: X-Original-Sender: andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nNGxzo1c; spf=pass (google.com: domain of andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::243 as permitted sender) smtp.mailfrom=andreas.0815.qwertz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.org gmane.text.pandoc:23459 Archived-At: --000000000000eea69f05934811f0 Content-Type: text/plain; charset="UTF-8" Thanks for the information (and especially for putting all the work into a very useful tool), John. I will go with your advice to post-process the docs, as I have to do that anyway for other reasons (and as I would like to use an official, unpatched pandoc release); I will try to use python-docx first. Am Mo., 23. Sept. 2019 um 19:13 Uhr schrieb John MacFarlane < jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>: > > Sorry, the list indentations are currently hard-coded and > can't be customized. > > You could, however, postprocess the docx produced by pandoc, > changing the file numbering.xml in the docx container. > > Or you could modify the source code and recompile. These > values are set in src/Text/Pandoc/Writers/Docx.hs at lines > 744-5 (step = 720, hang = 480). > -- 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/CAHAfzDm2n7WQVC-03pxcSiq0Brp9%2BcHBitasGSGFwEryntGtJw%40mail.gmail.com. --000000000000eea69f05934811f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the information (and especially for puttin= g all the work into a very useful tool), John.=C2=A0 I will go with your ad= vice to post-process the docs, as I have to do that anyway for other reason= s (and as I would like to use an official, unpatched pandoc release); I wil= l try to use python-docx first.

Am Mo., 23. Sept. 2019 um 19:13=C2=A0Uhr= schrieb John MacFarlane <jgm@berkel= ey.edu>:
=
Sorry, the list indentations are currently hard-coded and
can't be customized.

You could, however, postprocess the docx produced by pandoc,
changing the file numbering.xml in the docx container.

Or you could modify the source code and recompile.=C2=A0 These
values are set in src/Text/Pandoc/Writers/Docx.hs at lines
744-5 (step =3D 720, hang =3D 480).

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAHAfzDm2n7WQVC-03pxcSiq0Brp9%2BcHBitas= GSGFwEryntGtJw%40mail.gmail.com.
--000000000000eea69f05934811f0--