I have a large collection of notes that currently consists of a large number of individual "chapters" that I manually number and keep track of. E.g. visit http://www.stat.sfu.ca/~cschwarz/CourseNotes with a manually created and maintained HTML index.
I would like to create a "superdocument" that includes all the individual chapters and use this to automatically create both an HTML index structure with "leaves" in PDF.
For example, at the highest level, you would get an HTML document that looks like:
This is my large set of course notes.
1. This is Chapter 1
2. This is Chapter 2
3. This is Chapter 3
where each of the "This is Chapter x" is a pointer to the PDF document for Chapter x.
This looks like a combination of latex2html type of conversions for the chapter/section headers and creation of separate pdf files for each chapter type of problem. Ideally, you would have control on the level of the HTML index created (e.g. shows all level 1 and 2 headings) and the level of leaf where the PDF is created (e.g. at the chapter level, or the section level). Cross references across the leaf boundaries would be nice, but not essential, i.e. a reference in Section 15.3 to Section 13.2 would jump to the "leaf" containing Section 13.2.
Is the a package that will do this? Am I asking too much from LaTeX? Other suggestions on automating the workflow? I've read the suggestions on separate PDF files for each chapter and this is a start, but the creating of main index would still have to be done manually.
Addendum:
Hmmm... I think I can see a potential workflow for this. If I can split the final pdf document in a convenient way (e.g. a chapter boundaries) this gets me part of the way there, and I think that a post-processing of the *.toc file could generate me the html code ?? Not sure how to link the two yet. I think I noticed a question/answer on how to split the final pdf file ... time for more research ...