[tex4ht] Does secnumdepth work in TeX4ht?
Beuthe, Thomas
beuthet at aecl.ca
Sun Oct 31 08:09:35 CET 2010
UNRESTRICTED | ILLIMITÉ
Recently I noticed that my redefinition of secnumdepth
was not working properly on a project being compiled with TeX4ht,
so I made up a small example to show what seems to be going wrong.
If I input the following and compile it using "htlatex test_html_secnum":
\documentclass{report}
\setcounter{secnumdepth}{6}
\setcounter{tocdepth}{6}
\begin{document}
\tableofcontents
\chapter{chapter}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\paragraph{paragraph}
\subparagraph{subparagraph}
\end{document}
The output is as follows:
Contents
1 chapter
1.1 section
1.1.1 subsection
1.1.1.1 subsubsection
1.1.1.1.1 paragraph
1.1.1.1.1.1 subparagraph
Chapter 1
chapter
1.1 section
1.1.1 subsection
1.1.1.1 subsubsection
paragraph
subparagraph
In other words, the redefinition of tocdepth seems to work,
but the secnumdepth does go past 4. Anyone know why this migth be happening?
Test files and resulting html file has also been included with this message for convenience.
Is there a fix for this? Is this a known problem?
Thomas
CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE
This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission,
dissemination or other use of or reliance on this information
may be unlawful and is strictly prohibited.
AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE
Le présent courriel, et toute pièce jointe, peut contenir de
l'information qui est confidentielle, régie par les droits
d'auteur, ou interdite de divulgation. Tout examen,
divulgation, retransmission, diffusion ou autres utilisations
non autorisées de l'information ou dépendance non autorisée
envers celle-ci peut être illégale et est strictement interdite.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_html_secnum.tex
Type: application/octet-stream
Size: 297 bytes
Desc: test_html_secnum.tex
URL: <http://tug.org/pipermail/tex4ht/attachments/20101031/8c3be619/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20101031/8c3be619/attachment.html>
More information about the tex4ht
mailing list