Follow-up Comment #4, bug #656 (project tex4ht):

Ah, I see. So in the original document, there are no destination anchors
inserted at \item in description lists. Does this config file help? 

\Preamble{xhtml}

\catcode`\:=11
\ConfigureList{description}%
   {\EndP\HCode{<dl \a:LRdir class="description">}%
      \PushMacro\end:itm
\global\let\end:itm=\empty}
   {\PopMacro\end:itm \global\let\end:itm \end:itm
\EndP\HCode{</dd></dl>}\ShowPar}
   {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
        class="description">}\AnchorLabel\bgroup}
   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}\par\ShowPar
}
\catcode`\:=12
\begin{document}
\EndPreamble



    _______________________________________________________

Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?656>

_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>

Reply via email to