Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line \recurselevel\par} \section{Second} \dorecurse{36}{Line \recurselevel\par} \stoptext Wolfgang
On 13-7-2012 10:02, Wolfgang Schuster wrote:
Hi Hans,
can you add a testpage option to \setuphead?
%\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}]
\starttext
\section{First}
\dorecurse{36}{Line \recurselevel\par}
\section{Second}
\dorecurse{36}{Line \recurselevel\par}
\stoptext
Are we sure about that key? (a conditional page entry is also an option, like page=lines:4 or so Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 14.07.2012 um 00:32 schrieb Hans Hagen:
On 13-7-2012 10:02, Wolfgang Schuster wrote:
Hi Hans,
can you add a testpage option to \setuphead?
%\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}]
\starttext
\section{First}
\dorecurse{36}{Line \recurselevel\par}
\section{Second}
\dorecurse{36}{Line \recurselevel\par}
\stoptext
Are we sure about that key? (a conditional page entry is also an option, like page=lines:4 or so
Adding the \testpage functionality to \page (and providing \blank like options, e.g. "lines:4,offset:1cm") is another solution and has the advantage that you don’t need another key for \setuphead etc. Wolfgang
participants (2)
-
Hans Hagen
-
Wolfgang Schuster