<div dir="ltr"><div>Hi,<br><br></div>remove the asterisks, \chapter*, \section*, \subsection* means "do not put it to the table of contants". Modified files are attached.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-01-31 17:00 GMT+01:00 Shakthi Kannan <span dir="ltr"><<a href="mailto:shakthimaan@gmail.com" target="_blank">shakthimaan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Can anyone share their book template that they use with XeTeX that can<br>
generate table of contents?<br>
<br>
I have a foo.tex [1] input file which produces a foo.pdf [2] without<br>
the table of contents. Any idea what I could be missing?<br>
<br>
Thanks!<br>
<br>
SK<br>
<br>
[1] foo.tex. <a href="http://shakthimaan.com/dump/foo.tex" rel="noreferrer" target="_blank">http://shakthimaan.com/dump/foo.tex</a><br>
<br>
[2] foo.pdf. <a href="http://shakthimaan.com/dump/foo.pdf" rel="noreferrer" target="_blank">http://shakthimaan.com/dump/foo.pdf</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Shakthi Kannan<br>
<a href="http://www.shakthimaan.com" rel="noreferrer" target="_blank">http://www.shakthimaan.com</a><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</font></span></blockquote></div><br></div>