Dnia 2011-08-26, pią o godzinie 03:00 -0400, Aditya Mahajan pisze:
On Fri, 26 Aug 2011, Marcin Borkowski wrote:
Dnia 2011-08-25, o godz. 19:19:13 Aditya Mahajan
napisał(a): On Fri, 26 Aug 2011, Marcin Borkowski wrote:
Thanks - but this is exactly what I do *not* want to do. My first idea was to do something like
\def\onepageworthofmaterial{<whatever>\page} \dorecurse{4}{\onepageworthofmaterial}
which is similar, but simpler.
You will need to tweak the output routine for that. See the definition of \dofinaloutput and \dopagebody. But that can be tricky.
Why? I thought this should Just Work™?
As long as you don't have any auto-generated numbers (\section, etc) or references. Typesetting them multiple times will increment the number each time. You can prevent that by enclosing the material in a \box. Then you need to handle floats and footnotes...multiple columns....and automatical select one page worth of material. So, either you end up effective writing your own output routine, or tweaking the existing one.
Aaaah, now I get it! You're right, of course - but I was right, too, since I didn't want to include things like that (of course, I didn't mention it in my first post). Thanks for your explanation!
Fortunately, Hans already had implemented this feature :)
Aditya
Regards, -- Marcin Borkowski http://mbork.pl