hgbook

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ja/bookhtml.cfg	Mon Oct 26 14:56:39 2009 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +% -*- latex -*-
     1.5 +
     1.6 +\Preamble{xhtml}
     1.7 +
     1.8 +% Tex4ht's default definition of lists is complete crap.
     1.9 +% Unfortunately, it can't distinguish between "ul" and "dl" lists.
    1.10 +
    1.11 +\ConfigureList{itemize}%
    1.12 +   {\EndP\HCode{<ul>}\let\endItem=\empty}
    1.13 +   {\ifvmode \IgnorePar\fi
    1.14 +    \EndP\HCode{</li></ul>}\ShowPar}
    1.15 +   {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
    1.16 +   {\HCode{</span><span class="dd">}}
    1.17 +\def\textbullet{}
    1.18 +
    1.19 +\begin{document}
    1.20 +
    1.21 +\EndPreamble