[l2h] Numbering of sections

Ross Moore ross@ics.mq.edu.au
Sat, 27 Oct 2001 09:54:50 +1000 (EST)


> Hi,
> 
> 
> I have two questions on the numbering of the section headings.
> 
> Normally the section headings are not numbered but they are numbered in
> LaTeX. Is there an option for enalbing this?

Use the  -show_section_numbers  switch on the command-line.
Alternatively, set  $SHOW_SECTION_NUMBERS = 1;  in an init-file.

 
> If you use the option -split 0, you get one large HTML file with
> numbering in the section headings only the numbering is like this:
> 
> 1 Chapter
> 1 Section
> 1 Subsection
> 
> Is there an option to get this:
> 
> 1 Chapter
> 1.1 Section
> 1.1.1 Subsection
> 
> Who has a suggestion?

Make sure that LaTeX has been run on the job first,
so that the format of the numbering can be read from the .aux file.

Beware also of mathematics (and other complicated constructions; e.g. ~)
in the headings themselves. Otherwise LaTeX2HTML may have difficulty
correlating the text of the heading with what appears in the .aux file.
It is usually *very* helpful to \protect any use of a macro
within the section-heading.  


> 
> Thanks,


Hope this helps,

	Ross Moore

> 
> Sander van Geloven
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html