* \setuphead and testpage
@ 2012-07-13 8:02 Wolfgang Schuster
2012-07-13 22:32 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-07-13 8:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuphead and testpage
2012-07-13 8:02 \setuphead and testpage Wolfgang Schuster
@ 2012-07-13 22:32 ` Hans Hagen
2012-07-14 7:44 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-07-13 22:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuphead and testpage
2012-07-13 22:32 ` Hans Hagen
@ 2012-07-14 7:44 ` Wolfgang Schuster
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2012-07-14 7:44 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-14 7:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 8:02 \setuphead and testpage Wolfgang Schuster
2012-07-13 22:32 ` Hans Hagen
2012-07-14 7:44 ` Wolfgang Schuster
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).