[texhax] TOC on other .tex file (\externaldocument?)

Ulrich Grün ulrich.gruen at gmail.com
Mon Dec 5 11:15:29 CET 2011

Hallo list,

I have a question on generation of a table of contents.

I want this TOC on a separate .tex file. 
According to The LaTeX Companion, this should be possible with the package 'xr'.

With '\externaldocument{the_document_with_\sections_and_\subsections}' in the 
preamble and '\tableofcontents' where I want the TOC to appear, though, I cannot 
generate the TOC. 

How should I generate a TOC on one tex file that references on an other tex file?

Thanks a lot.


  X Ulrich X


                      Eyes serve two purposes: to see with and to wheep with,
                                     but certainly not to judge with.

www.santodaime.nl     www.afamiliajuramidam.org     OS: Kubuntu 11.04 (Linux)

More information about the texhax mailing list