[l2h] dynamic sectioning depth?

Gary Scavone gary@ccrma.stanford.edu
Mon, 20 Aug 2001 13:11:15 -0700 (PDT)

The beginning of my document started with a setting of
MAX_SPLIT_DEPTH=4 (in .latex2html-init).

After about 6 sections, I then changed it to

The _sectioning_ of HTML pages worked correctly.  And the proper links
are indicated in the table of child links.  However, the navigation
panel didn't include the new, lower-level child pages.  And when I
view one of these sub pages, they have a bunch of crud in them such



The #0# happens where there should be a \tableofchildlinks generated.  
The #./lezcano.grani.tex# is where an \input{lezcano.grani} occured.  
The file does get included, but the page background color doesn't
happen and the ##s are undesired.  Actually, I'm not surprised that
the background color doesn't get set correctly ... I used to have the
same problem when using segmentation.

Any way we might fix this behavior?


On Sun, 19 Aug 2001, Ross Moore wrote:

>>> I'm wondering if it is possible to control the sectioning depth
>>> dynamically from within a latex document, _without_ using
>>> segmentation?
>>Yes. In priciple this is indeed possible.
>>As I haven't had occasion to do this much, I cannot say what
>>hidden pitfalls may emerge; e.g. in terms of navigation
>>and table-of-contents, etc.
>>The Perl variable that governs when a section starts a new page
>>is  $MAX_SPLIT_DEPTH , which is normally set as a global
>>parameter, early in the processing.
>>However it *is* safe to alter this during the course of the
>>main translation, using:
>>   \HTMLsetenv{MAX_SPLIT_DEPTH}{<num>}
>>or as 
>>   \HTMLset{MAX_SPLIT_DEPTH}{<num>}
>>where <num> denotes the shallowest sectioning level that is
>>*not* to start a new HTML page.
>>See the LaTeX2HTML manual for the integer values of <num>.
>>The new value will be effective from the *next* sectioning
>>command, and should stay in effect until the end of the
>>document, or until altered again.
>>Experiment with it, show examples on this list,
>>and report any problems that you may find.
>>It may be worth defining some commands in  html.sty
>>to make using this technique easier.
>>However I would not wish to do this until the problems
>>have been adequately resrearch and suitable fixes found.
>>All the best,
>>	Ross Moore
>>> -------------------------------------------------
>>> Gary Scavone
>>> Center for Computer Research in Music & Acoustics
>>> Stanford University
>>> gary@ccrma.stanford.edu
>>> http://www-ccrma.stanford.edu/~gary/
>>> -------------------------------------------------
>>> _______________________________________________
>>> latex2html mailing list
>>> latex2html@tug.org
>>> http://tug.org/mailman/listinfo/latex2html