URL: <https://puszcza.gnu.org.ua/bugs/?653>
Summary: tex4ht does not recognize subparagraph in TocAt in article class Project: tex4ht Submitted by: nma123 Submitted on: Thu Jun 12 10:41:21 2025 Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: screen shots and reference at https://tex.stackexchange.com/questions/746081/why-tex4ht-does-not-recognize-subparagraph-in-tocat-in-article-class I wanted to have local TOC for all my subparagraph inside one paragraph The tex4ht main TOC does recognize subparagraph and it shows them. i.e. this works \Configure{tableofcontents*}{section,subsection,subsubsection,paragraph,subparagraph} But for some reason, it does not recognize subparagraph here \TocAt{paragraph}{subparagraph}% error here I am not sure if I am doing something wrong or if this is a bug. Here is MWE ---------------------------- \documentclass[]{article} \setcounter{secnumdepth}{6} \begin{document} \ifdefined\HCode \Configure{tableofcontents*}{section,subsection,subsubsection,paragraph,subparagraph} \TocAt{section,subsection} \TocAt{subsection,subsubsection} \TocAt{subsubsection,paragraph} %notice, article does not have subsubsubsection \TocAt{paragraph}{subparagraph}% error here \else \setcounter{tocdepth}{5} \tableofcontents \fi \section{section name} %TOC OK here \subsection{subsection 1} \subsection{subsection 2} \subsubsection{subsection name} \paragraph{paragrpah 1} %WHY NO TOC here? \subparagraph{subparagrph 1} \subparagraph{subparagrph 2} \subparagraph{subparagrph 3} \paragraph{paragrpah 2} %WHY NO TOC here? \subparagraph{subparagrph 1} \subparagraph{subparagrph 2} \subparagraph{subparagrph 3} \end{document} -------------------- Compiled with make4ht -ulm default -a debug foo.tex 'mathjax,htm' Gives enter image description here Also there is no local TOC for each paragraph enter image description here Thanks --Nasser _______________________________________________________ Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?653> _______________________________________________ Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>