On 23-2-2010 21:18, Steffen Wolfrum wrote:
The need is easily described:
\placelist[chapter, section,...][file=MyFile]
In old MkII times all information for a table of content was read from the ".tuo" file. For making manual changes in needed a way to define from *which* tuo file the placelist command reads its information: so I could copy the original tuo file, give it another name (MyFile) and define ...
\def\FrozenTUO{MyFile}
.... thus each \placelist run would read from that paticular MyFile.tuo
The quoted code above was written by Hans to provide a way to implement a kind of \placelist[chapter, section,...][file=MyFile] in MkII.
the file= option will not come back, at least not soon, as we now have a completely different way of dealing with tables of contents (and actually all multipass data) (ok, you can adapt copy the tuc file and replace the list table but as much more goes into the list it's no fun; also way more information goes into the lists and there are references to shared data that basically makes a no-go) what we have already is a way to add userdata (which works if you use the structured \startchapter ... commands) and when placing a list you can use user entries; if you only need to replace a specific list entry you can do \startchapter[title=whatever,list=whocares,bookmark=...] so you have a different title and listentry and marking and reference and bookmark and .. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------