Mercurial > hgbook
annotate ja/bookhtml.cfg @ 802:de4142983445
Propagate 3b640272a966
Progres on resolve
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 21 Jun 2009 09:20:47 +0900 |
parents | b0db5adf11c1 |
children |
rev | line source |
---|---|
149
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
1 % -*- latex -*- |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
2 |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
3 \Preamble{xhtml} |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
4 |
151
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
5 % Tex4ht's default definition of lists is complete crap. |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
6 % Unfortunately, it can't distinguish between "ul" and "dl" lists. |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
7 |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
8 \ConfigureList{itemize}% |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
9 {\EndP\HCode{<ul>}\let\endItem=\empty} |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
10 {\ifvmode \IgnorePar\fi |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
11 \EndP\HCode{</li></ul>}\ShowPar} |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
12 {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}} |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
13 {\HCode{</span><span class="dd">}} |
173e6eac4d5c
Fix "ul" and "dl" lists in HTML.
Bryan O'Sullivan <bos@serpentine.com>
parents:
149
diff
changeset
|
14 \def\textbullet{} |
149
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
15 |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
16 \begin{document} |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
17 |
16f02802f448
Start to produce saner HTML and CSS.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
18 \EndPreamble |