|
From: Ethan M. <merritt@u.washington.edu> - 2005-04-02 16:22:02
|
On Friday 01 April 2005 01:10 pm, Hans-Bernhard Broeker wrote: > Ethan Merritt wrote: > > The current documentation contains section headings nested > > as deep as level 6. > > ... and they're all in "binary datafiles" section. Which, IMHO, > suggests an obvious alternative to patching up doc2tex.c: changing the > structure of that part of the docs to make it less deeply nested. I found the problem because I was trying to add a new section elsewhere. Adding additional levels is the only way I know of to break the interactive help into shorter sections and have it prompt for additional keywords. So it's useful in the *.gih form. In the printed docs it is maybe not so useful. Levels beyond 4 or 5 may not need a separate TOC number of their own. But it would be nice to have an index at the back that catches them. Is that possible? > > But the conversion to *.tex (doc2tex.c) handles only levels 1-5. > > I don't know where you found this limitation --- it actually supports > 1..6 as it is (6 turns into \paragraph()). See section() in doc2tex.c, > line 327. It did not work in practice. Juergen's simple change fixed it. -- Ethan A Merritt Biomolecular Structure Center University of Washington 98195-7742 |