[NTG-context] How to make page break & headers in XY arrangements?
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Mon Mar 30 13:03:32 CEST 2020
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
\setupheadertexts[2][2][2][2]%
\dorecurse{70}{\somecontent{Label TWO}}
\stoptext
More information about the ntg-context
mailing list