hgbook

annotate ja/bookhtml.cfg @ 901:9768fafa5977

Add html template for documents.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 14:56:39 2009 +0100 (2009-10-26)
parents
children
rev   line source
foozy@708 1 % -*- latex -*-
foozy@708 2
foozy@708 3 \Preamble{xhtml}
foozy@708 4
foozy@708 5 % Tex4ht's default definition of lists is complete crap.
foozy@708 6 % Unfortunately, it can't distinguish between "ul" and "dl" lists.
foozy@708 7
foozy@708 8 \ConfigureList{itemize}%
foozy@708 9 {\EndP\HCode{<ul>}\let\endItem=\empty}
foozy@708 10 {\ifvmode \IgnorePar\fi
foozy@708 11 \EndP\HCode{</li></ul>}\ShowPar}
foozy@708 12 {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
foozy@708 13 {\HCode{</span><span class="dd">}}
foozy@708 14 \def\textbullet{}
foozy@708 15
foozy@708 16 \begin{document}
foozy@708 17
foozy@708 18 \EndPreamble