From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23385 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: concatenating md have a page-break between in resulting docx? Date: Thu, 5 Sep 2019 21:55:41 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000075c49e0591d3b513" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15258"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBSGQYXVQKGQE2HOKU5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 05 21:55:56 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io1-f60.google.com ([209.85.166.60]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i5xrH-0003qU-51 for gtp-pandoc-discuss@m.gmane.org; Thu, 05 Sep 2019 21:55:55 +0200 Original-Received: by mail-io1-f60.google.com with SMTP id j1sf4617641ioj.6 for ; Thu, 05 Sep 2019 12:55:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567713353; cv=pass; d=google.com; s=arc-20160816; b=XvZb1DJEAY1ELwzsAkrMOFNrVmShzllZei494hQLUtMqakJuF2jJpeZBtJekZ/yCkB 8AL5Z+8+AIdIFMwv2aqFbbg+Q5RxGtwZNIb9CfObWmWGl+iKUCDVrrAEWAoCO2ALEVCf T+StEq/24y/OEUlGUd7g8DqcAf1pQT4fNrhn4FkDVAVB5cxESb/ctKShdClG9AZW1zEG a/0m194ob+zonQN5us69ulSaD8UcsdYGljiFJC7dMBt5oquH/0EqX+9cfpiIUjw8XpGT td2cmmKUliVcJ9F2jrVRiEx9/IlZ85t5itU6Uqk3ihevlJQfajZ9JWXCuZsvwmGZP60J IVMA== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=tDM2pHqB77gNgKBsxixi6SD4VxTUF6qssv2yC7tvMUU=; b=Rrt15+00+ksct2wWt7BM9p+eF/S7GJsOnhTHQLDoN330pE6/+2gE+p9ntL0/MuOU3r RGcion5ojKgrb5iWpRHRL+zOLARloTpG6oPFRVVB+cpMLNVJgbv/P94sqg7amhCVSvWb MK1wz/NuxdvdZNEGhVzSGeuVj19sPr/N1+7dG0Nw9h5ktBtNmGc8BcwYHWSJAD1QEr5W tZ6O1EKdC5b856HmWRx4A9WMOuJCoIG8S2thi+B0ftVmuRo4p/XTuy+FPUDmNXatIGPd kRfMfJX0KSrjz6uUavFaCZ8yc30jmoU1pLCVbJ4QEyGo2Xf2ZpCwLq64NNt5uHF0yoJ7 zIow== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RG76bH8W; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=melroch-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: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=tDM2pHqB77gNgKBsxixi6SD4VxTUF6qssv2yC7tvMUU=; b=iAZegkVM6jl4mXY8pVxhdwCpADkgy+adOs+A7zBclfJuyizZNIpDv7eU1eorg5cimD hG3SojTIpMCTCYozEkyIE4pv/d7oHhFvqpQgKubppC/7u7RrWHemIYvc4IZtU0uRGUyD cxriWvb0OkgjEhfgtQMx5ybTFJ62l0CaEZY4RETyus6dKrF3BppIC7PxkR1JwgfBiZYh /+d4Pd/w684i/i2dLEqCBgr/oTxTK88gNlkyooQSBrswSJhqIB4yaWtfPCN/C4l97TuC mxqd79rLU69h3Y1AD0FIYjk08Rgdr8OJdBDDcLwqvDD3YNjUlgNB4Xvd25KaUp/lqAj8 lNsA== 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 :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=tDM2pHqB77gNgKBsxixi6SD4VxTUF6qssv2yC7tvMUU=; b=kE/xcoLMtQ0+XyVEpOuAr6/C8j6s81iS4TQ7VcrLFXr92gfZnlcgTmyKSYgSMtvEit Gg8sqZMDYIclGkDZhDyrTxPuTHdGPPODYY6X6c5n5jL1lf3V4m2yWO0r2FMsCjSPl+lR XLDaDyrZvDRSbJjAE1v5F2/d7al6KpKtWRhM0JisSCvswkdCSx/cP6AE/YPBbdb04K1b impPCoq8qLRkOh2Mlslhzkfu+NLUGeNF/aTi7sFwExVIEikZmofz6Oz2M+OnjbnjJDP6 JLIdccFTBLzeqEwT5nU6j3C/Ea1/JI41TLW23+Ii3elQmmH9+kMOtT6qT2L8osHDARN7 l0Tg== 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: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=tDM2pHqB77gNgKBsxixi6SD4VxTUF6qssv2yC7tvMUU=; b=Vd7qzQjnPWc/syRJow1603wnW/yAuB68bKWdMIoCtTrhCMoNULRhBOx9kxTYsNLxvN AxkNCa4NLL8E4QLkoVcni2D78N+zmbAsd2ZZQLVVAHhvAvCHgqKtBl70A6fyFWjqomoB sCFTdhkgoO6zw+7qTdXX4oiLg2tAQ4Ams19SsoLpjKAQpoGtNxLF+PoiUIqILYvhG1sP jFoAgJQnj3n/hYD8jqSrrVPu3xbLAixEY/1J7lteZx8B7BCMgVZr5ndfc4GFJUI3XddO M4lZmeU1WKOfBnkWFFaIO0AHqKNa1/H6FBV+C5zFH7ray6Rq6VVNqac+NFqwYeb0/6V1 wOsg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWiyWsZVZd+PrMdNDcfmPvnbi9ocvj0wYr+/nYWCgs8bdi2zsuO ZDlIWF4Qm/39P85b5HYX24M= X-Google-Smtp-Source: APXvYqyEcM/aYg9YfrUHsbF1I/o93+xSzxqPQr4RFUSxoLVsixrLakB8BmIR0HGpTQ1yF6u8fOPD1A== X-Received: by 2002:a5d:8d8b:: with SMTP id b11mr5818821ioj.90.1567713353401; Thu, 05 Sep 2019 12:55:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:b787:: with SMTP id h129ls987672iof.12.gmail; Thu, 05 Sep 2019 12:55:52 -0700 (PDT) X-Received: by 2002:a6b:7002:: with SMTP id l2mr6265727ioc.300.1567713352512; Thu, 05 Sep 2019 12:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567713352; cv=none; d=google.com; s=arc-20160816; b=m1v3KsWdnC/0awBTUBtJYOhsLe+/AUSiecZJU2jUC1rbuk2EMO4bnfmbgmoN2ksHD+ q1FuLqaLinEdNMpJQ84rkHNeWyA+3ZJVmoS73oRYXMNtGLkBYnRtTy7HeLBPbYfce76U x6EIMjrbxGFuIPJ7VG5bvUL/787d9G/uKnVQqDwmDqI9boBp4fR5jTCOOC5GGrRckP5l gbo4AaEaVxfmH6SePCNPBfAeqMCACuhnBmbJQflmt1R2d3ZgGnbVPV5gUBinKrhWEA05 eoZp5mI1Y5Eoo7W81t2o3QSz9hNGd3ta060l6ah8yAJij83bxDO2QwFvDgg3V3WI4LUI vAHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LvXP6zlULxgxPWBmeh8suW9GJCSLEqyvHk7/dxHE25E=; b=RoOJSqkoeMElK4RCyuGeNTk7Mf1X2ahfg/kCNC9kxJxiRX/47KQB8i1V0kTHVtKQDr bfF/dFlLcmX/tRqQHnV3zZy4Y9LdwwipkcOkjjrcBtngjUpwbBxB90Xv2+YvzQ84Fv1n uEwQT3ezByjiU2Xfrkt6H3ysXMuN2AZVnTZyqf0jyhUwyuLXlBTofZNGNHCwxceCfJKP nsYRued9O1R/7vTXFrHwWXhw9G4sRhI7MvcMP+wsCR/1RHVJM8/rfE4yJp/RMbBP1vF6 slXZX/HCQcQVaXamf8Ptidn989nFcWshf1vwpVrcMNYmMFMsFzZ92cvT5L6hZHP01E1A RjNA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RG76bH8W; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com. [2607:f8b0:4864:20::334]) by gmr-mx.google.com with ESMTPS id b206si216420iof.0.2019.09.05.12.55.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Sep 2019 12:55:52 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) client-ip=2607:f8b0:4864:20::334; Original-Received: by mail-ot1-x334.google.com with SMTP id 100so3495642otn.2 for ; Thu, 05 Sep 2019 12:55:52 -0700 (PDT) X-Received: by 2002:a9d:2af:: with SMTP id 44mr4327426otl.130.1567713352072; Thu, 05 Sep 2019 12:55:52 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RG76bH8W; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=melroch-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:23385 Archived-At: --00000000000075c49e0591d3b513 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://github.com/pandoc/lua-filters/tree/master/pagebreak Den tors 5 sep. 2019 19:25Joseph Reagle skrev: > > On 9/2/19 12:03 PM, Joseph Reagle wrote: > > There might be some hacks I can resort to in [1], but does anyone > > have a simple solution for ensuring there's a page break between the > > two sources in the docx file? > > I could do this in the shell/script, but I assume there's no inbuilt way > to append a file like page-break.md to *each* of the input files, rather > than the output file? > > > =E2=95=B0=E2=94=80=E2=9E=A4 cat page-break.md > ```{=3Dopenxml} > > ``` > > ``` > =E2=95=AD=E2=94=80reagle@hom ~/joseph/2019/09 > =E2=95=B0=E2=94=80=E2=9E=A4 pandoc -f markdown+raw_attribute --toc -A pa= ge-break.md -i > 1-chap.md 2-chap.md > ``` > > -- > 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/db6ee278-4ed8-6e81-e42e-= 5c155c412795%40reagle.org > . > --=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/CADAJKhB0LFNiTyspQnN5_4j87P1vA0LcgSM-9GrDKoLEOZGrDg%40mail.g= mail.com. --00000000000075c49e0591d3b513 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On 9/2/19 12:03 PM, Joseph Reagle wrote:
> There might be some hacks I can resort to in [1], but does anyone
> have a simple solution for ensuring there's a page break between t= he
> two sources in the docx file?

I could do this in the shell/script, but I assume there's no inbuilt wa= y to append a file like page-break.md to *each* of the input files, rather = than the output file?


=E2=95=B0=E2=94=80=E2=9E=A4=C2=A0 cat page-break.md
```{=3Dopenxml}
<w:p> <w:r> <w:br w:type=3D"page"/> </w:r>= ; </w:p>
```

```
=E2=95=AD=E2=94=80reagle@hom ~/joseph/2019/09
=E2=95=B0=E2=94=80=E2=9E=A4=C2=A0 pandoc -f markdown+raw_attribute --toc -A= page-break.md -i
1-chap.md 2-chap.md
```

--
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-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com= /d/msgid/pandoc-discuss/db6ee278-4ed8-6e81-e42e-5c155c412795%40reagle.org.

--
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/CADAJKhB0LFNiTyspQnN5_4j87P1vA0LcgSM-9GrD= KoLEOZGrDg%40mail.gmail.com.
--00000000000075c49e0591d3b513--