hgbook

annotate en/bookhtml.cfg @ 188:d3dd1bedba3c

Backed out changeset 7f07aca44938d38b30ae8713946346123cdf97b6
Bad behaviour has gone away.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Apr 16 14:22:25 2007 -0700 (2007-04-16)
parents 16f02802f448
children
rev   line source
bos@149 1 % -*- latex -*-
bos@149 2
bos@149 3 \Preamble{xhtml}
bos@149 4
bos@151 5 % Tex4ht's default definition of lists is complete crap.
bos@151 6 % Unfortunately, it can't distinguish between "ul" and "dl" lists.
bos@151 7
bos@151 8 \ConfigureList{itemize}%
bos@151 9 {\EndP\HCode{<ul>}\let\endItem=\empty}
bos@151 10 {\ifvmode \IgnorePar\fi
bos@151 11 \EndP\HCode{</li></ul>}\ShowPar}
bos@151 12 {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
bos@151 13 {\HCode{</span><span class="dd">}}
bos@151 14 \def\textbullet{}
bos@149 15
bos@149 16 \begin{document}
bos@149 17
bos@149 18 \EndPreamble