hgbook

annotate en/bookhtml.cfg @ 153:cf24633b8de7

Set up simple distribution rules.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Mar 12 21:10:19 2007 -0700 (2007-03-12)
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