This is a python script that I hacked up to generate a nicely formatted outline from a Latex document.  It ‘parses’ the document, looking for chapter and section headings, and generates either a flat text file or latex file (with nested enumerations). The input document may comprise multiple Latex source files and may include comments.  There may be some cases where the script will fall over cause it is fairly basic, but it worked for my rather complicated thesis.

Anyway, this is just something I hacked up to do a quick job, but I thought I would put it up here in case anyone else can benefit from it.  If you use it and alter it, feel free to contribute back any enhancements.

Download