view en/bookhtml.cfg @ 232:2469608b4a08

Start writing up the patchbomb extension.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 27 May 2007 09:40:12 -0700
parents 173e6eac4d5c
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