weave tex.web pdftex tex.tex
generates a pdf as follows with a table of content and a document body:
Pay attention: The table of content is below the document!
I want the table of content listing all sections between two entries in the TOC in the same layout as in "See also sections" in section 13 of the body, everything indented left and right. In this way you can navigate directly from the table of contents to all sections.
How to do this?
This is a follow up question to Where to find an interactive PDF or HTML version of the tex.web documentation?
And here's a follow up question How to add a second table of content to tex.pdf with a LaTeX package by using the contents.tex generated by pdfwebmac? to this question.