Mercurial > hgbook
annotate en/bookhtml.cfg @ 521:59fbfb7e790c
translated some more comments
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Mon, 17 Nov 2008 20:04:37 -0500 |
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 |