Mercurial > hgbook
annotate en/bookhtml.cfg @ 304:e87fe9497b27
add progress percentage to todo.txt
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 09 Feb 2008 00:23:15 +0900 |
parents | 173e6eac4d5c |
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 |