Hi, remove the asterisks, \chapter*, \section*, \subsection* means "do not put it to the table of contants". Modified files are attached.
Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2016-01-31 17:00 GMT+01:00 Shakthi Kannan <shakthim...@gmail.com>: > Hi, > > Can anyone share their book template that they use with XeTeX that can > generate table of contents? > > I have a foo.tex [1] input file which produces a foo.pdf [2] without > the table of contents. Any idea what I could be missing? > > Thanks! > > SK > > [1] foo.tex. http://shakthimaan.com/dump/foo.tex > > [2] foo.pdf. http://shakthimaan.com/dump/foo.pdf > > -- > Shakthi Kannan > http://www.shakthimaan.com > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex >
foo.pdf
Description: Adobe PDF document
foo.tex
Description: TeX document
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex