Page LayoutBasic Question on inserting numbered Sections into Contents

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Basic Question on inserting numbered Sections into Contents

Post by sw3quant »

Hello.

I am working from a very complex template I have been given (which includes, class, style and macro files) from here http://www-h.eng.cam.ac.uk/help/tpl/tex ... SnPDF.zip. I will not post any of the code here as it is not relavent to the problem.

I am essentially trying to write a "mini-book" with the following parts:
contents
introduction
chapter1
chapter2

I want Chapter two to contain sections A, B, C....(up to around 300).

So far I have the above format (with ch1 and ch2 appearing with a hyperlink). In chapter2 I input tex files each with a different name, 300 times. My problem is that these do not appear in the contents section. I would like them to be there with a page number/title/hyperlink.

How do I make the input tex files appear in the contents section?

Many thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Re: Basic Question on inserting numbered Sections into Conte

Post by sw3quant »

btw I did try using include instead of iput but got the error message "\include cannot be nested".
Post Reply