![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
13 Nov
2005
13 Nov
'05
2:58 p.m.
Mojca Miklavec wrote:
It doesn't need to automatically determine the subsection boundaries automatically (although this would be great), so I can write something like this:
\startmaterialforonepage \subsection{split only if too long for one page} \dorecurse{10}{whatever comes here \dots } \stopmaterialforonepage
Do you want something like this? \long\def\startmaterialforonepage#1\stopmaterialforonepage% {\setbox0\vbox{#1}\ifdim\ht0<\textheight \page\fi #1} Taco