David Carlisle <[log in to unmask]>:
>> Could you give some hints of why this stuff is needed? It can't be in
>> order to merely keep the references right, because that could be solved by
>> avoiding having multiple aux files.
>To get references right means that the page breaks need to be the
>same even if some sections are not included. That means keeping track
>of where the floats would have floated to had they been included.
>Even if there are no floats, you need to know how far down the page
>each section should start so the page breaks work out the same again.
>\pageref is a harder beast to deal with than \ref, but \include
>doesn't just aim to keep references correct, but to keep all the
>typesetting of the included sections correct. So there is work to do
>even if there are no floats and no cross references. You need to know
>where on the page each section starts if you give up forcing that
>it starts at the top of the page.
I think this is related to the question of doing a better TeX: If this
could be done efficiently, it could be used for creating a fast interactive
display (as in an Acrobat browser). All that TeX rubber stuff Knuth was so
fond of perverts it, I think. :-)
* AMS member: Listing <http://www.ams.org/cml/>
* Email: Hans Aberg <[log in to unmask]>
* Home Page: <http://www.matematik.su.se/~haberg/>