[tex4ht] bug with pagestyle headings

Ulrike Fischer news3 at nililand.de
Thu Jul 7 16:19:26 CEST 2022



\documentclass{article}
\pagestyle{headings}

\begin{document}

\section{abc}

\end{document}

fails with 

! Missing \endcsname inserted.
<to be read again> 
                   \\endcsname 
l.58 \section{abc}

It compiles again if one remove the \MakeUppercase from \sectionmark:

\makeatletter
    \def\sectionmark#1{%
      \markright {{%
        \ifnum \c at secnumdepth >\m at ne
          \thesection\quad
        \fi
        #1}}}
\makeatother  

Ulrike 



More information about the tex4ht mailing list.