From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23461 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Agust=C3=ADn_Mart=C3=ADn?= Newsgroups: gmane.text.pandoc Subject: Re: how to force pagebreaks Date: Wed, 25 Sep 2019 01:01:01 -0700 (PDT) Message-ID: References: <4fadd2ef-820b-4dc9-b7b7-97aab7232543@default> <5c11e555-df2d-2a01-af29-9bdb7bf67c84@usa.net> <26ece219-65a0-46ba-b10b-d3d8a7350c07@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6896_1930804528.1569398461222" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="108822"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDC7PRMFWYJBBPV5VTWAKGQESZVFNYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 25 10:01:04 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 1iD2ES-000SBu-71 for gtp-pandoc-discuss@m.gmane.org; Wed, 25 Sep 2019 10:01:04 +0200 Original-Received: by mail-ot1-f56.google.com with SMTP id f26sf2751432otq.17 for ; Wed, 25 Sep 2019 01:01:04 -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=hTJ52rvXgAKuNa2PQhVU0P+Ylh617ObnwB0ykaieZDs=; b=KpmqywJpeJpQN7Y6FfqOJXugifGzJuLJWJtwsoNxUVbA5JjTFZa56osgyOZG2jELo6 Iochfxyv52MaPJZPnTWEWhTiiDhZkfwRCxVgBxiChYOHW/Bdkq4N52nR5+X8vliQ0gQZ 2ufUUU206DuasDZeBxegjYbqfZ02cHAx6uF0G0Vsxiosa+lJvnzFna60KlnEWXP4Qfft WWgHZRyUPwkgv/5VlqhIfRdE3TwtVaMmubUiSdSLLIKgJcr/F/AYYPUTCWDsDdBd9miQ vA+7lJ8lux/reGKV3BJIlJHXQMluHe4kljuDEOAXNlGunMRzEFu14BupR9bsq5I1Kcn2 H/Yw== 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=hTJ52rvXgAKuNa2PQhVU0P+Ylh617ObnwB0ykaieZDs=; b=vDIijoDOLZrEeFmTVLXgn1IQgDHJ6LnidGAn/8+TJFkDqx9t1Gl9mILlvAwMHM13di tD1nk4ohKZb0Cg3sybnnP5sIB0F/Z/g2CvsoOP3rLCM4ESb6Qb/ueJ5pLK75wSF8VIP8 ESgDwjNhq30CfEIkr2NkV97UWJXVxzqbzBIWFZfZPt6zuvhPWkjBeST6QCd1aO+b7tnX 1UdrViIjoRwLuYhpy8cmaFPMARKTfSlR2W+eq02/tBpvmAHh6SNFieATdKduOkf/tHBh qQMGBZiD9f8nX1i66JEp10n3wT78soiZKs1T7vKFg+efcIAI+XjbhtdWY159Anf8fWOs kgRQ== 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=hTJ52rvXgAKuNa2PQhVU0P+Ylh617ObnwB0ykaieZDs=; b=d0nVEH/N4xUyKXQx5PBk1AXclPoze9apU6+9rxcaqton3OhAviU+SdlYrNXuOqWpRI ZJrCrvkyeaqVD9XntxNUiAw6jc9QcH87WDSdcRLiDlLY4u98eBav/14CKBcHD2uRlzk+ nfLQjr+SIZLS+qR7BazviM61+LLVaBERW6ND9GG8eU7/hjiFzJzRt93nrDUq9aoKlhJD JAIF9g0+06uooGNU8nketlUZ7OJzzeU/qu40EfXqXj43BF9LZG7XF0ao7ReNdfUYsFh0 poLobscgCe/HVfeud3Cc/FO+xD8ZkOeBj3EuPOGymuXCW9IwJPozKAd+i6ridoPen0rn JWjA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAVNxl/PaxxCfHt9IPy0OkIOpFExgrS9yMzthgwqi9PPff1dFHp1 YcSPagGR1dgpWXzR33KUtb8= X-Google-Smtp-Source: APXvYqyCWhE9N2WQ4eMcqBl57k4c2Q3KTfZY27ZYauYU61zvYBk0ZXyULgPICn55hUpj8Fzz8SUhrw== X-Received: by 2002:a9d:3663:: with SMTP id w90mr5354192otb.288.1569398462868; Wed, 25 Sep 2019 01:01:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:ed43:: with SMTP id l64ls186531oih.3.gmail; Wed, 25 Sep 2019 01:01:02 -0700 (PDT) X-Received: by 2002:aca:c3c9:: with SMTP id t192mr3780075oif.174.1569398461780; Wed, 25 Sep 2019 01:01:01 -0700 (PDT) In-Reply-To: <26ece219-65a0-46ba-b10b-d3d8a7350c07-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: agusmba-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:23461 Archived-At: ------=_Part_6896_1930804528.1569398461222 Content-Type: multipart/alternative; boundary="----=_Part_6897_1428231075.1569398461223" ------=_Part_6897_1428231075.1569398461223 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Or if you always start a new *chapter* with a level 2 header ##, you could= =20 define in your reference-doc that level 2 has a pagebreak before. On Tuesday, September 17, 2019 at 3:47:29 PM UTC+2, Ghislain Vaillant wrote= : > > > > 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=20 >> 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/a9898e2d-ae59-4195-afeb-ff46b756e1a4%40googlegroups.com. ------=_Part_6897_1428231075.1569398461223 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Or if you always start a new *chapter* with a level 2 head= er ##, you could define in your reference-doc that level 2 has a pagebreak = before.

On Tuesday, September 17, 2019 at 3:47:29 PM UTC+2, Ghislain= Vaillant wrote:


Le vendredi 13 septembre 2019 21:14:32 UTC+2, Daniel Staal a =C3= =A9crit=C2=A0:
On 9/13/19 3:04 PM, D= on 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><w:r><w= :br=C2=A0w:type=3D"page"/></w:r></w:p>=
```
<= br>
wherever a page break is needed in the Markdown document.
=

--
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/a9898e2d-ae59-4195-afeb-ff46b756e1a4%40googlegroups.co= m.
------=_Part_6897_1428231075.1569398461223-- ------=_Part_6896_1930804528.1569398461222--