view ja/bookhtml.cfg @ 383:ef0c1fb05c84

more hook.tex
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 20 Feb 2009 20:24:14 +0900
parents b0db5adf11c1
children
line wrap: on
line source

% -*- latex -*-

\Preamble{xhtml}

% Tex4ht's default definition of lists is complete crap.
% Unfortunately, it can't distinguish between "ul" and "dl" lists.

\ConfigureList{itemize}%
   {\EndP\HCode{<ul>}\let\endItem=\empty}
   {\ifvmode \IgnorePar\fi
    \EndP\HCode{</li></ul>}\ShowPar}
   {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
   {\HCode{</span><span class="dd">}}
\def\textbullet{}

\begin{document}

\EndPreamble