FooBarWidget-mizuho 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/Rakefile +14 -2
- data/asciidoc/BUGS +11 -6
- data/asciidoc/BUGS.txt +7 -3
- data/asciidoc/CHANGELOG +313 -151
- data/asciidoc/CHANGELOG.txt +177 -12
- data/asciidoc/INSTALL +30 -36
- data/asciidoc/INSTALL.txt +20 -20
- data/asciidoc/Makefile.in +145 -0
- data/asciidoc/README +11 -11
- data/asciidoc/README.txt +9 -9
- data/asciidoc/a2x +40 -7
- data/asciidoc/asciidoc.conf +180 -126
- data/asciidoc/asciidoc.py +1667 -977
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +2840 -0
- data/asciidoc/configure.ac +11 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
- data/asciidoc/dblatex/dblatex-readme.txt +19 -2
- data/asciidoc/doc/a2x.1 +77 -67
- data/asciidoc/doc/a2x.1.txt +11 -2
- data/asciidoc/doc/article.css-embedded.html +85 -63
- data/asciidoc/doc/article.html +644 -62
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +15 -17
- data/asciidoc/doc/asciidoc.1 +34 -40
- data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
- data/asciidoc/doc/asciidoc.1.css.html +28 -28
- data/asciidoc/doc/asciidoc.1.html +33 -33
- data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
- data/asciidoc/doc/asciidoc.css.html +2203 -2352
- data/asciidoc/doc/asciidoc.dict +52 -1
- data/asciidoc/doc/asciidoc.html +980 -1160
- data/asciidoc/doc/asciidoc.txt +941 -738
- data/asciidoc/doc/asciimathml.txt +63 -0
- data/asciidoc/doc/book-multi.html +26 -43
- data/asciidoc/doc/book-multi.txt +19 -23
- data/asciidoc/doc/book.css-embedded.html +92 -71
- data/asciidoc/doc/book.html +24 -41
- data/asciidoc/doc/book.txt +19 -21
- data/asciidoc/doc/docbook-xsl.css +1 -0
- data/asciidoc/doc/faq.txt +288 -60
- data/asciidoc/doc/images +1 -0
- data/asciidoc/doc/latex-backend.html +16 -123
- data/asciidoc/doc/latex-backend.txt +17 -19
- data/asciidoc/doc/latexmath.txt +233 -24
- data/asciidoc/doc/latexmathml.txt +41 -0
- data/asciidoc/doc/main.aap +9 -5
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +2 -2
- data/asciidoc/doc/source-highlight-filter.html +476 -105
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +39 -10
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
- data/asciidoc/docbook-xsl/fo.xsl +35 -3
- data/asciidoc/docbook-xsl/manpage.xsl +3 -0
- data/asciidoc/docbook-xsl/text.xsl +50 -0
- data/asciidoc/docbook.conf +182 -73
- data/asciidoc/examples/website/ASCIIMathML.js +1 -0
- data/asciidoc/examples/website/CHANGELOG.html +618 -182
- data/asciidoc/examples/website/CHANGELOG.txt +1 -0
- data/asciidoc/examples/website/INSTALL.html +34 -36
- data/asciidoc/examples/website/INSTALL.txt +1 -0
- data/asciidoc/examples/website/LaTeXMathML.js +1 -0
- data/asciidoc/examples/website/README-website.html +26 -37
- data/asciidoc/examples/website/README-website.txt +6 -6
- data/asciidoc/examples/website/README.html +15 -15
- data/asciidoc/examples/website/README.txt +1 -0
- data/asciidoc/examples/website/a2x.1.html +74 -50
- data/asciidoc/examples/website/a2x.1.txt +1 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
- data/asciidoc/examples/website/asciimathml.txt +1 -0
- data/asciidoc/examples/website/customers.csv +1 -0
- data/asciidoc/examples/website/downloads.html +69 -31
- data/asciidoc/examples/website/downloads.txt +28 -5
- data/asciidoc/examples/website/faq.html +370 -124
- data/asciidoc/examples/website/faq.txt +1 -0
- data/asciidoc/examples/website/images +1 -0
- data/asciidoc/examples/website/index.html +64 -64
- data/asciidoc/examples/website/index.txt +22 -15
- data/asciidoc/examples/website/latex-backend.html +152 -257
- data/asciidoc/examples/website/latex-backend.txt +1 -0
- data/asciidoc/examples/website/latexmathml.txt +1 -0
- data/asciidoc/examples/website/manpage.html +27 -27
- data/asciidoc/examples/website/manpage.txt +1 -0
- data/asciidoc/examples/website/music-filter.html +18 -18
- data/asciidoc/examples/website/music-filter.txt +1 -0
- data/asciidoc/examples/website/music1.abc +1 -1
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +1 -1
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +40 -0
- data/asciidoc/examples/website/newtables.txt +397 -0
- data/asciidoc/examples/website/source-highlight-filter.html +67 -32
- data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
- data/asciidoc/examples/website/support.html +4 -4
- data/asciidoc/examples/website/toc.js +1 -0
- data/asciidoc/examples/website/userguide.html +2190 -2339
- data/asciidoc/examples/website/userguide.txt +1 -0
- data/asciidoc/examples/website/version83.txt +37 -0
- data/asciidoc/examples/website/version9.html +13 -13
- data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
- data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
- data/asciidoc/examples/website/xhtml11.css +1 -0
- data/asciidoc/filters/code-filter-readme.txt +3 -3
- data/asciidoc/filters/code-filter-test.txt +6 -6
- data/asciidoc/filters/source-highlight-filter.conf +12 -5
- data/asciidoc/html4.conf +152 -58
- data/asciidoc/install-sh +201 -0
- data/asciidoc/latex.conf +41 -41
- data/asciidoc/stylesheets/docbook-xsl.css +1 -0
- data/asciidoc/stylesheets/xhtml11.css +39 -4
- data/asciidoc/text.conf +4 -4
- data/asciidoc/vim/syntax/asciidoc.vim +58 -32
- data/asciidoc/wordpress.conf +48 -0
- data/asciidoc/xhtml11-quirks.conf +1 -1
- data/asciidoc/xhtml11.conf +198 -70
- data/bin/mizuho +5 -2
- data/lib/mizuho/generator.rb +48 -19
- data/mizuho.gemspec +16 -6
- metadata +58 -15
- data/asciidoc/doc/asciimath.txt +0 -47
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
- data/asciidoc/examples/website/asciimath.html +0 -157
- data/asciidoc/examples/website/latexmath.html +0 -119
- data/asciidoc/filters/code-filter-test-c++.txt +0 -7
- data/asciidoc/install.sh +0 -55
- data/asciidoc/linuxdoc.conf +0 -285
- data/asciidoc/math.conf +0 -50
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
- data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
- data/asciidoc/t.conf +0 -20
- data/asciidoc/xhtml-deprecated-css.conf +0 -235
- data/asciidoc/xhtml-deprecated.conf +0 -351
@@ -0,0 +1,48 @@
|
|
1
|
+
# AsciiDoc configuration file for Wordpress HTML generation.
|
2
|
+
# Resides in AsciiDoc global conf directory or $HOME/.asciidoc directory.
|
3
|
+
# Generates HTML which plays nicely with Wordpress.
|
4
|
+
# (the generated HTML is still valid HTML 4.01 Transitional though).
|
5
|
+
#
|
6
|
+
# NOTE: The resulting HTML needs to be further massaged with blogpost.py.
|
7
|
+
# http://srackham.wordpress.com/blogpost-readme/
|
8
|
+
|
9
|
+
include::html4.conf[]
|
10
|
+
|
11
|
+
# Override various tags.
|
12
|
+
[listtags-bulleted]
|
13
|
+
text=
|
14
|
+
|
15
|
+
[listtags-numbered]
|
16
|
+
text=
|
17
|
+
|
18
|
+
[listtags-numbered2]
|
19
|
+
text=
|
20
|
+
|
21
|
+
[listtags-labeled]
|
22
|
+
text=
|
23
|
+
|
24
|
+
[listtags-callout]
|
25
|
+
text=
|
26
|
+
|
27
|
+
[listtags-qanda]
|
28
|
+
term=<em>|</em>
|
29
|
+
text=
|
30
|
+
|
31
|
+
[listtags-glossary]
|
32
|
+
text=
|
33
|
+
|
34
|
+
[listtags-bibliography]
|
35
|
+
text=
|
36
|
+
|
37
|
+
[tabletags-default]
|
38
|
+
paragraph=<div>|</div>
|
39
|
+
|
40
|
+
[tabletags-emphasis]
|
41
|
+
paragraph=<div><em>|</em></div>
|
42
|
+
|
43
|
+
[tabletags-strong]
|
44
|
+
paragraph=<div><strong>|</strong></div>
|
45
|
+
|
46
|
+
[tabletags-monospaced]
|
47
|
+
paragraph=<div><tt>|</tt></div>
|
48
|
+
|
data/asciidoc/xhtml11.conf
CHANGED
@@ -7,9 +7,6 @@
|
|
7
7
|
|
8
8
|
[miscellaneous]
|
9
9
|
outfilesuffix=.html
|
10
|
-
# Screen width in pixels.
|
11
|
-
pagewidth=800
|
12
|
-
pageunits=
|
13
10
|
|
14
11
|
[attributes]
|
15
12
|
basebackend=html
|
@@ -18,11 +15,17 @@ basebackend-html=
|
|
18
15
|
[replacements]
|
19
16
|
# Line break.
|
20
17
|
(?m)^(.*)\s\+$=\1<br />
|
18
|
+
|
21
19
|
# Escape ASCIIMathML delimiters.
|
22
20
|
ifdef::asciimath[]
|
23
21
|
\$=\$
|
24
22
|
`=\`
|
25
23
|
endif::asciimath[]
|
24
|
+
# Escape LaTeXMathML delimiter.
|
25
|
+
ifdef::latexmath[]
|
26
|
+
\$=\$
|
27
|
+
endif::latexmath[]
|
28
|
+
|
26
29
|
ifdef::asciidoc7compatible[]
|
27
30
|
# Superscripts.
|
28
31
|
\^(.+?)\^=<sup>\1</sup>
|
@@ -33,6 +36,53 @@ endif::asciidoc7compatible[]
|
|
33
36
|
[ruler-blockmacro]
|
34
37
|
<hr />
|
35
38
|
|
39
|
+
[pagebreak-blockmacro]
|
40
|
+
<div style="page-break-after:always"></div>
|
41
|
+
|
42
|
+
[blockdef-pass]
|
43
|
+
asciimath-style=template="asciimathblock",subs=[]
|
44
|
+
latexmath-style=template="latexmathblock",subs=[]
|
45
|
+
|
46
|
+
[macros]
|
47
|
+
# math macros.
|
48
|
+
# Special characters are escaped in HTML math markup.
|
49
|
+
(?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters]
|
50
|
+
(?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters]
|
51
|
+
|
52
|
+
[asciimath-inlinemacro]
|
53
|
+
`{passtext}`
|
54
|
+
|
55
|
+
[asciimath-blockmacro]
|
56
|
+
<div class="mathblock"{id? id="{id}"}>
|
57
|
+
<div class="content">
|
58
|
+
<div class="title">{title}</div>
|
59
|
+
`{passtext}`
|
60
|
+
</div></div>
|
61
|
+
|
62
|
+
[asciimathblock]
|
63
|
+
<div class="mathblock"{id? id="{id}"}>
|
64
|
+
<div class="content">
|
65
|
+
<div class="title">{title}</div>
|
66
|
+
`|`
|
67
|
+
</div></div>
|
68
|
+
|
69
|
+
[latexmath-inlinemacro]
|
70
|
+
{passtext}
|
71
|
+
|
72
|
+
[latexmath-blockmacro]
|
73
|
+
<div class="mathblock"{id? id="{id}"}>
|
74
|
+
<div class="content">
|
75
|
+
<div class="title">{title}</div>
|
76
|
+
{passtext}
|
77
|
+
</div></div>
|
78
|
+
|
79
|
+
[latexmathblock]
|
80
|
+
<div class="mathblock"{id? id="{id}"}>
|
81
|
+
<div class="content">
|
82
|
+
<div class="title">{title}</div>
|
83
|
+
|
|
84
|
+
</div></div>
|
85
|
+
|
36
86
|
[image-inlinemacro]
|
37
87
|
<span class="image">
|
38
88
|
<a class="image" href="{link}">
|
@@ -51,65 +101,96 @@ endif::asciidoc7compatible[]
|
|
51
101
|
</div>
|
52
102
|
|
53
103
|
[indexterm-inlinemacro]
|
54
|
-
#
|
104
|
+
# Index term.
|
55
105
|
{empty}
|
56
106
|
|
57
107
|
[indexterm2-inlinemacro]
|
58
|
-
#
|
108
|
+
# Index term.
|
59
109
|
# Single entry index term that is visible in the primary text flow.
|
60
110
|
{1}
|
61
111
|
|
62
112
|
[footnote-inlinemacro]
|
63
|
-
#
|
113
|
+
# Footnote.
|
64
114
|
<br />[{0}]<br />
|
65
115
|
|
116
|
+
[footnoteref-inlinemacro]
|
117
|
+
# Footnote reference.
|
118
|
+
{2#}<br />Footnote {1} [{2}]<br />
|
119
|
+
{2%}<br />[See footnote {1}]<br />
|
120
|
+
|
66
121
|
[callout-inlinemacro]
|
67
|
-
#
|
68
|
-
<b
|
122
|
+
# Callout.
|
123
|
+
<b><{index}></b>
|
124
|
+
|
125
|
+
# List tags.
|
126
|
+
[listtags-bulleted]
|
127
|
+
list=<div class="ulist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
|
128
|
+
item=<li>|</li>
|
129
|
+
text=<p>|</p>
|
130
|
+
|
131
|
+
[listtags-numbered]
|
132
|
+
list=<div class="olist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
133
|
+
item=<li>|</li>
|
134
|
+
text=<p>|</p>
|
135
|
+
|
136
|
+
[listtags-numbered2]
|
137
|
+
list=<div class="olist2{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
138
|
+
item=<li>|</li>
|
139
|
+
text=<p>|</p>
|
140
|
+
|
141
|
+
[listtags-labeled]
|
142
|
+
list=<div class="dlist{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
|
143
|
+
entry=
|
144
|
+
label=
|
145
|
+
term=<dt class="hdlist1{strong-option? strong}">|</dt>
|
146
|
+
item=<dd>|</dd>
|
147
|
+
text=<p>|</p>
|
148
|
+
|
149
|
+
[listtags-horizontal]
|
150
|
+
list=<div class="hdlist{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{labelwidth?<col width="{labelwidth}%" />}{itemwidth?<col width="{itemwidth}%" />}|</table></div>
|
151
|
+
label=<td class="hdlist1{strong-option? strong}">|</td>
|
152
|
+
term=|<br />
|
153
|
+
entry=<tr>|</tr>
|
154
|
+
item=<td class="hdlist2">|</td>
|
155
|
+
text=<p style="margin-top: 0;">|</p>
|
156
|
+
|
157
|
+
[listtags-qanda]
|
158
|
+
list=<div class="qlist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
159
|
+
entry=<li>|</li>
|
160
|
+
label=
|
161
|
+
term=<p><em>|</em></p>
|
162
|
+
item=
|
163
|
+
text=<p>|</p>
|
164
|
+
|
165
|
+
[listtags-callout]
|
166
|
+
list=<div class="colist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
167
|
+
item=<li>|</li>
|
168
|
+
text=<p>|</p>
|
169
|
+
|
170
|
+
[listtags-glossary]
|
171
|
+
list=<div class="dlist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
|
172
|
+
label=
|
173
|
+
entry=
|
174
|
+
term=<dt>|</dt>
|
175
|
+
item=<dd>|</dd>
|
176
|
+
text=<p>|</p>
|
177
|
+
|
178
|
+
[listtags-bibliography]
|
179
|
+
list=<div class="ulist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
|
180
|
+
item=<li>|</li>
|
181
|
+
text=<p>|</p>
|
69
182
|
|
70
183
|
[tags]
|
71
|
-
# Bulleted, numbered and labeled list tags.
|
72
|
-
ilist=<div class="ilist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
|
73
|
-
ilistitem=<li>|</li>
|
74
|
-
ilisttext=<p>|</p>
|
75
|
-
olist=<div class="olist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
76
|
-
olist2=<div class="olist2"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
77
|
-
olistitem=<li>|</li>
|
78
|
-
olisttext=<p>|</p>
|
79
|
-
vlist=<div class="vlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
|
80
|
-
vlistentry=|
|
81
|
-
vlistterm=<dt>|</dt>
|
82
|
-
vlistitem=<dd>|</dd>
|
83
|
-
vlisttext=<p>|</p>
|
84
|
-
# Horizontal labeled list.
|
85
|
-
hlist=<div class="hlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{1?<col width="{1}%" />}{2?<col width="{2}%" />}|</table></div>
|
86
|
-
hlistentry=<tr>|</tr>
|
87
|
-
hlistterm=<td class="hlist1">|</td>
|
88
|
-
hlistitem=<td class="hlist2">|</td>
|
89
|
-
hlisttext=|
|
90
|
-
# Question and Answer list.
|
91
|
-
qlist=<div class="qlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
92
|
-
qlistentry=<li>|</li>
|
93
|
-
qlistterm=<p><em>|</em></p>
|
94
|
-
qlistitem=|
|
95
|
-
qlisttext=<p>|</p>
|
96
|
-
# Callout list.
|
97
|
-
colist=<div class="colist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
98
|
-
colistitem=<li>|</li>
|
99
|
-
colisttext=<p>|</p>
|
100
|
-
|
101
184
|
# Quoted text.
|
102
185
|
emphasis=<em{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</em>
|
103
186
|
strong=<strong{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</strong>
|
104
187
|
monospaced=<tt{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</tt>
|
105
|
-
|
188
|
+
singlequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8216;|{amp}#8217;{0?</span>}
|
189
|
+
doublequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8220;|{amp}#8221;{0?</span>}
|
106
190
|
unquoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}|{0?</span>}
|
107
191
|
superscript=<sup{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sup>
|
108
192
|
subscript=<sub{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sub>
|
109
193
|
|
110
|
-
# $$ inline passthrough.
|
111
|
-
$$passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</span>
|
112
|
-
|
113
194
|
# Inline macros
|
114
195
|
[http-inlinemacro]
|
115
196
|
<a href="{name}:{target}">{0={name}:{target}}</a>
|
@@ -119,6 +200,8 @@ $$passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-
|
|
119
200
|
<a href="{name}:{target}">{0={name}:{target}}</a>
|
120
201
|
[file-inlinemacro]
|
121
202
|
<a href="{name}:{target}">{0={name}:{target}}</a>
|
203
|
+
[irc-inlinemacro]
|
204
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
122
205
|
[mailto-inlinemacro]
|
123
206
|
<a href="mailto:{target}">{0={target}}</a>
|
124
207
|
[link-inlinemacro]
|
@@ -151,7 +234,7 @@ $$passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-
|
|
151
234
|
|
152
235
|
# Paragraph substitution.
|
153
236
|
[paragraph]
|
154
|
-
<div class="
|
237
|
+
<div class="paragraph{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
|
155
238
|
|
|
156
239
|
</p></div>
|
157
240
|
|
@@ -168,12 +251,9 @@ template::[verseblock]
|
|
168
251
|
template::[admonitionblock]
|
169
252
|
|
170
253
|
# Delimited blocks.
|
171
|
-
[passthroughblock]
|
172
|
-
|
|
173
|
-
|
174
254
|
[listingblock]
|
175
255
|
<div class="listingblock"{id? id="{id}"}>
|
176
|
-
<div class="title">{caption=
|
256
|
+
<div class="title">{caption=}{title}</div>
|
177
257
|
<div class="content">
|
178
258
|
<pre><tt>
|
179
259
|
|
|
@@ -221,7 +301,7 @@ template::[admonitionblock]
|
|
221
301
|
|
222
302
|
[exampleblock]
|
223
303
|
<div class="exampleblock"{id? id="{id}"}>
|
224
|
-
<div class="title">{caption=
|
304
|
+
<div class="title">{caption=}{title}</div>
|
225
305
|
<div class="content">
|
226
306
|
|
|
227
307
|
</div></div>
|
@@ -240,32 +320,75 @@ template::[admonitionblock]
|
|
240
320
|
</tr></table>
|
241
321
|
</div>
|
242
322
|
|
243
|
-
# Bibliography list.
|
244
|
-
# Same as numbered list.
|
245
|
-
[listdef-bibliography]
|
246
|
-
listtag=olist
|
247
|
-
itemtag=olistitem
|
248
|
-
texttag=olisttext
|
249
|
-
|
250
|
-
# Glossary list.
|
251
|
-
# Same as labeled list.
|
252
|
-
[listdef-glossary]
|
253
|
-
listtag=vlist
|
254
|
-
itemtag=vlistitem
|
255
|
-
texttag=vlisttext
|
256
|
-
entrytag=vlistentry
|
257
|
-
labeltag=vlistterm
|
258
|
-
|
259
323
|
# Tables.
|
260
|
-
[
|
261
|
-
|
324
|
+
[tabletags-default]
|
325
|
+
# {colalign} should be in <col> but Firefox 2 & 3 require it in <td>.
|
326
|
+
colspec=<col width="{colpcwidth}%" />
|
327
|
+
bodyrow=<tr>|</tr>
|
328
|
+
headdata=<th align="{colalign}">|</th>
|
329
|
+
bodydata=<td align="{colalign}">|</td>
|
330
|
+
paragraph=<p class="table">|</p>
|
331
|
+
|
332
|
+
[tabletags-emphasis]
|
333
|
+
paragraph=<p class="table"><em>|</em></p>
|
334
|
+
|
335
|
+
[tabletags-strong]
|
336
|
+
paragraph=<p class="table"><strong>|</strong></p>
|
337
|
+
|
338
|
+
[tabletags-monospaced]
|
339
|
+
paragraph=<p class="table"><tt>|</tt></p>
|
340
|
+
|
341
|
+
[tabletags-verse]
|
342
|
+
bodydata=<td align="{colalign}"><div class="verse">|</div></td>
|
343
|
+
paragraph=
|
344
|
+
|
345
|
+
[tabletags-literal]
|
346
|
+
bodydata=<td align="{colalign}"><div class="literal"><pre><tt>|</tt></pre></div></td>
|
347
|
+
paragraph=
|
348
|
+
|
349
|
+
[tabletags-asciidoc]
|
350
|
+
bodydata=<td align="{colalign}"><div>|</div></td>
|
351
|
+
paragraph=
|
352
|
+
|
353
|
+
[table]
|
354
|
+
<div class="tableblock"{id? id="{id}"}>
|
355
|
+
<table rules="{grid=all}"
|
356
|
+
width="{tablepcwidth}%"
|
357
|
+
frame="{frame%border}"
|
358
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
359
|
+
cellspacing="0" cellpadding="4">
|
360
|
+
<caption class="title">{caption={table_caption}}{title}</caption>
|
361
|
+
{colspecs}
|
362
|
+
{headrows#}<thead valign="{valign=top}">
|
363
|
+
{headrows}
|
364
|
+
{headrows#}</thead>
|
365
|
+
{footrows#}<tfoot valign="{valign=top}">
|
366
|
+
{footrows}
|
367
|
+
{footrows#}</tfoot>
|
368
|
+
<tbody valign="{valign=top}">
|
369
|
+
{bodyrows}
|
370
|
+
</tbody>
|
371
|
+
</table>
|
372
|
+
</div>
|
373
|
+
|
374
|
+
#--------------------------------------------------------------------
|
375
|
+
# Deprecated old table definitions.
|
376
|
+
#
|
377
|
+
|
378
|
+
[miscellaneous]
|
379
|
+
# Screen width in pixels.
|
380
|
+
pagewidth=800
|
381
|
+
pageunits=
|
382
|
+
|
383
|
+
[old_tabledef-default]
|
384
|
+
template=old_table
|
262
385
|
colspec=<col width="{colwidth}{pageunits}" />
|
263
386
|
bodyrow=<tr>|</tr>
|
264
387
|
headdata=<th align="{colalign}">|</th>
|
265
388
|
footdata=<td align="{colalign}">|</td>
|
266
389
|
bodydata=<td align="{colalign}">|</td>
|
267
390
|
|
268
|
-
[
|
391
|
+
[old_table]
|
269
392
|
<div class="tableblock"{id? id="{id}"}>
|
270
393
|
<table rules="{grid=none}"
|
271
394
|
frame="{frame%hsides}"
|
@@ -285,6 +408,9 @@ cellspacing="0" cellpadding="4">
|
|
285
408
|
</table>
|
286
409
|
</div>
|
287
410
|
|
411
|
+
# End of deprecated old table definitions.
|
412
|
+
#--------------------------------------------------------------------
|
413
|
+
|
288
414
|
[preamble]
|
289
415
|
# Untitled elements between header and first section title.
|
290
416
|
<div id="preamble"{id? id="{id}"}>
|
@@ -325,12 +451,14 @@ cellspacing="0" cellpadding="4">
|
|
325
451
|
<head>
|
326
452
|
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
|
327
453
|
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
454
|
+
<title>{doctitle=}</title>
|
328
455
|
ifdef::linkcss[]
|
329
456
|
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
|
330
457
|
{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
|
331
458
|
ifdef::quirks[]
|
332
459
|
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
|
333
460
|
endif::quirks[]
|
461
|
+
<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
|
334
462
|
endif::linkcss[]
|
335
463
|
ifndef::linkcss[]
|
336
464
|
<style type="text/css">
|
@@ -341,6 +469,7 @@ endif::doctype-manpage[]
|
|
341
469
|
ifdef::quirks[]
|
342
470
|
include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
|
343
471
|
endif::quirks[]
|
472
|
+
include1::{stylesheet}[]
|
344
473
|
</style>
|
345
474
|
endif::linkcss[]
|
346
475
|
ifdef::toc[]
|
@@ -389,7 +518,6 @@ include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
|
|
389
518
|
</script>
|
390
519
|
endif::linkcss[]
|
391
520
|
endif::latexmath[]
|
392
|
-
<title>{doctitle=}</title>
|
393
521
|
</head>
|
394
522
|
<body>
|
395
523
|
# Article, book header.
|
@@ -449,14 +577,14 @@ ifdef::icons[]
|
|
449
577
|
</a>
|
450
578
|
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
451
579
|
<img style="border:none; width:88px; height:31px;"
|
452
|
-
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
580
|
+
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
453
581
|
alt="Valid CSS!" />
|
454
582
|
</a>
|
455
583
|
<a href="http://www.mozilla.org/products/firefox/">
|
456
584
|
<img style="border:none; width:110px; height:32px;"
|
457
585
|
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
|
458
586
|
alt="Get Firefox!" />
|
459
|
-
</a>
|
587
|
+
</a>
|
460
588
|
endif::icons[]
|
461
589
|
</div>
|
462
590
|
endif::badges[]
|