From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23427 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ghislain Vaillant Newsgroups: gmane.text.pandoc Subject: Re: how to force pagebreaks Date: Tue, 17 Sep 2019 06:47:29 -0700 (PDT) Message-ID: <26ece219-65a0-46ba-b10b-d3d8a7350c07@googlegroups.com> References: <4fadd2ef-820b-4dc9-b7b7-97aab7232543@default> <5c11e555-df2d-2a01-af29-9bdb7bf67c84@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2534_1552227482.1568728049426" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="188114"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCNJHQGFZQKRB4WHQPWAKGQE7XHU5NA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 17 15:47:33 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iADpM-000mqY-PX for gtp-pandoc-discuss@m.gmane.org; Tue, 17 Sep 2019 15:47:32 +0200 Original-Received: by mail-ot1-f56.google.com with SMTP id 101sf1768644oth.14 for ; Tue, 17 Sep 2019 06:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=CjWpUo28mhBYwi2J3jK/LWMDXy4mBe+n3qzS3GRV/3w=; b=K8lFLqEOPZ0mqEubaTnWjfU1lO6Mm/bsBoXW64NDKpEu7AFM51KTxKLPD6e4mDbxWp hcZSu0Kdt5XYJT3OArXY3y2t0ylCHKUo2d6QILTJFlWHD7FGzPgm8JBimd8leVPNgPhn NPTQLEPA3ca1kqR2Q8/RO/39FiV0hR8QAnzQWtBpSXeGaurTr3yRK3SSYEumH2gS6Gv4 3zhj4vEPZRwCIzjPw4mQpDm/imVhHP0LwsWw3E2jP3HML+behhEleiU047lS902N8thb VFlbVz7e3FPvwdjcp7FC/rK8MoaCj/QmPIeDVps9sN0H8LevXgyDFj/QY6r8AaQFTVud PItw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=CjWpUo28mhBYwi2J3jK/LWMDXy4mBe+n3qzS3GRV/3w=; b=EnCV9a4ZQoYxg9m+7VaXPJIDw2QSvVc4fS9eT1siEUp7wo9CEZnOsuq0C1S8FyMB64 9bq05EyBpePICpl8qgFFZjw+mumPf1H33m2SVmtLysluTiRcsUc72dD1Z1lx5+Vago9A oo1DJuRnhkJnZLvjHb9GW1QRYiHqyOjBwv5QmSZsFWnEADWOzsY6G7GhFmZVYqwRj6RM MGDCaMmn56fxQXfq+tIpeo8PW6wZrimuhT1EmrGRSKbt9mWiD9CdaYTU+zBQgKwffTG9 89rH5Reshqv4peDJc7QKSslkbCZ+9YpOuZhXwlTBfXGlgqZZrGpgwjMCZoD1frK25CzF 4u+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references: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=CjWpUo28mhBYwi2J3jK/LWMDXy4mBe+n3qzS3GRV/3w=; b=owYSgLHgwglkGUlzpQY5K1bC91On8rEdzz2/NZm03Qz+AHb9Ga/De3YSdIDcEaRn8O lIj6SClnQ1Z+GszXfQXj6EQqAo2GX1LQytJVXZF4mwNTvaQ1uStQyoWmz60sWGqwT4Dx nh1FIehQKHO8mHJGP/B9eP3Y1RzvtWu+5BPogTtnGDWnN0Lw53vZwt6Mn1G2QhrFNaZE +DVt4Vhq3YKjsQGSkNOiPmDwjhwvvyXcWxUvR7y3G60cAp4336VX8qX4uWMtH4w1TXJW 7vLpPzZ/g78zF+Mbzrv/nD/iAtBJsK/vDbUla4ABf6YO3Hk04VBdQm8xvKZ6tteqL8sF ff+w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWIIB/a0/RBrtxSOXBfXEFAL9xiJ4YHLD7cv23Ztp0efHI6bIEz 1aK9Iyvu8rcIII6GTMGOHq4= X-Google-Smtp-Source: APXvYqwhngqXqaE/S/ewo1VOrg/DF8cC2Twqs+gTfaB0FdnUq5iuGtzbiPTmWGWyM0EnhRFr2L1WTg== X-Received: by 2002:aca:1813:: with SMTP id h19mr3747140oih.30.1568728051392; Tue, 17 Sep 2019 06:47:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:bd44:: with SMTP id n65ls341398oif.6.gmail; Tue, 17 Sep 2019 06:47:30 -0700 (PDT) X-Received: by 2002:aca:7586:: with SMTP id q128mr3754749oic.159.1568728050163; Tue, 17 Sep 2019 06:47:30 -0700 (PDT) In-Reply-To: <5c11e555-df2d-2a01-af29-9bdb7bf67c84-Jdbf3xiKgS8@public.gmane.org> X-Original-Sender: ghisvail-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.org gmane.text.pandoc:23427 Archived-At: ------=_Part_2534_1552227482.1568728049426 Content-Type: multipart/alternative; boundary="----=_Part_2535_1302187677.1568728049426" ------=_Part_2535_1302187677.1568728049426 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le vendredi 13 septembre 2019 21:14:32 UTC+2, Daniel Staal a =C3=A9crit : > > On 9/13/19 3:04 PM, Don Raikes wrote:=20 > > Hello,=20 > >=20 > > I am just getting started on my first pandoc project. I am breaking my= =20 > > project into multiple markdown files each of which starts with a level-= 2=20 > > header =E2=80=9C##=E2=80=9D.=20 > >=20 > > How do I tell pandoc to force page breaks at each level-2 header?=20 > >=20 > > What's your output format? Markdown has no idea of 'pages', so a page=20 > break in markdown doesn't really mean anything. > For instance, assuming your target format is docx, you can add: ```{=3Dopenxml} ``` wherever a page break is needed in the Markdown document. --=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/26ece219-65a0-46ba-b10b-d3d8a7350c07%40googlegroups.com. ------=_Part_2535_1302187677.1568728049426 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Le vendredi 13 septembre 2019 21:14:32 UTC+2, Dani= el Staal a =C3=A9crit=C2=A0:
On= 9/13/19 3:04 PM, Don Raikes wrote:
> Hello,
>=20
> I am just getting started on my first pandoc project. I am breakin= g my=20
> project into multiple markdown files each of which starts with a l= evel-2=20
> header =E2=80=9C##=E2=80=9D.
>=20
> How do I tell pandoc to force page breaks at each level-2 header?
>=20

What's your output format? =C2=A0Markdown has no idea of 'pages= ', so a page=20
break in markdown doesn't really mean anything.

For instance, assuming your target format is docx, you can= add:

``= `{=3Dopenxml}
<w:p>&= lt;w:r><w:br=C2=A0w:type=3D"page"/></w:r></w:p&= gt;
```
=

wherever a page break is needed in the Markdown d= ocument.

--
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/26ece219-65a0-46ba-b10b-d3d8a7350c07%40googlegroups.co= m.
------=_Part_2535_1302187677.1568728049426-- ------=_Part_2534_1552227482.1568728049426--