hgbook

view en/bookhtml.cfg @ 320:97e929385442

Small typos, plus a perl regexp match. It was stripping newlines!
author Taavi Burns <taavi@taaviburns.ca>
date Sun Aug 31 12:14:23 2008 -0400 (2008-08-31)
parents 16f02802f448
children
line source
1 % -*- latex -*-
3 \Preamble{xhtml}
5 % Tex4ht's default definition of lists is complete crap.
6 % Unfortunately, it can't distinguish between "ul" and "dl" lists.
8 \ConfigureList{itemize}%
9 {\EndP\HCode{<ul>}\let\endItem=\empty}
10 {\ifvmode \IgnorePar\fi
11 \EndP\HCode{</li></ul>}\ShowPar}
12 {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
13 {\HCode{</span><span class="dd">}}
14 \def\textbullet{}
16 \begin{document}
18 \EndPreamble