From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: How to make page break & headers in XY arrangements?
Date: Mon, 30 Mar 2020 13:21:19 +0200 [thread overview]
Message-ID: <e18c3b49-96fa-ce36-d3e0-79c5766dae9e@xs4all.nl> (raw)
In-Reply-To: <CALBOmsYWwwADhKC=O1yvE_wFYEnax=0vG12sva3U7CvG+OC2-A@mail.gmail.com>
On 3/30/2020 1:03 PM, Mojca Miklavec wrote:
> Hi,
>
> Stupid question: what's the proper way to introduce an actual page
> break and put some header on the paper holding the XY arrangement of
> smaller pages?
>
> I know I can create the second document which includes the first one
> and adds page numbers on top, but I'm sure there's a more elegant way
> to achieve the same.
>
> Thank you,
> Mojca
>
> \setuppapersize
> [XY][A4]
> \setuppaper
> [topspace=10mm,backspace=10mm,dx=0mm,dy=0mm,nx=5,ny=13]
> \setuplayout
> [page]
> [topspace=2mm,backspace=2mm]
> \setuplayout
> [page]
> \setuplayout
> [location=middle]
> \setuparranging
> [XY]
> \showframe
> \setupbodyfont
> [8pt]
>
> \def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
>
> \starttext
>
> % I want to mark the page with label numbers
> \setupheadertexts[1][1][1][1]%
> \dorecurse{50}{\somecontent{Label ONE}}
>
> % I want an actual page break here
> \page
a rather stipid solution:
\dorecurse{15}{\page[empty]}
> \setupheadertexts[2][2][2][2]%
> \dorecurse{70}{\somecontent{Label TWO}}
>
> \stoptext
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-03-30 11:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 11:03 Mojca Miklavec
2020-03-30 11:21 ` Hans Hagen [this message]
2020-03-30 12:21 ` Mojca Miklavec
2020-03-30 13:05 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e18c3b49-96fa-ce36-d3e0-79c5766dae9e@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).