mizuho 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/README.markdown +18 -2
  2. data/asciidoc/BUGS +3 -6
  3. data/asciidoc/BUGS.txt +0 -3
  4. data/asciidoc/CHANGELOG +660 -397
  5. data/asciidoc/CHANGELOG.txt +237 -2
  6. data/asciidoc/INSTALL +14 -14
  7. data/asciidoc/MANIFEST +2 -0
  8. data/asciidoc/Makefile.in +9 -1
  9. data/asciidoc/README +2 -2
  10. data/asciidoc/a2x.py +101 -43
  11. data/asciidoc/asciidoc.conf +18 -11
  12. data/asciidoc/asciidoc.py +615 -260
  13. data/asciidoc/common.aap +2 -2
  14. data/asciidoc/configure +9 -9
  15. data/asciidoc/configure.ac +1 -1
  16. data/asciidoc/doc/a2x.1 +34 -4
  17. data/asciidoc/doc/a2x.1.txt +12 -0
  18. data/asciidoc/doc/article.pdf +0 -0
  19. data/asciidoc/doc/asciidoc.1 +73 -29
  20. data/asciidoc/doc/asciidoc.1.txt +56 -30
  21. data/asciidoc/doc/asciidoc.dict +23 -2
  22. data/asciidoc/doc/asciidoc.txt +468 -327
  23. data/asciidoc/doc/book.epub +0 -0
  24. data/asciidoc/doc/faq.txt +201 -25
  25. data/asciidoc/doc/latex-filter.pdf +0 -0
  26. data/asciidoc/doc/music-filter.pdf +0 -0
  27. data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +1 -1
  28. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  29. data/asciidoc/doc/source-highlight-filter.txt +48 -37
  30. data/asciidoc/docbook45.conf +4 -4
  31. data/asciidoc/examples/website/ASCIIMathML.js +938 -0
  32. data/asciidoc/examples/website/CHANGELOG.txt +3056 -0
  33. data/asciidoc/examples/website/INSTALL.txt +227 -0
  34. data/asciidoc/examples/website/LaTeXMathML.js +1223 -0
  35. data/asciidoc/examples/website/README-website.txt +29 -0
  36. data/asciidoc/examples/website/README.txt +35 -0
  37. data/asciidoc/examples/website/a2x.1.txt +358 -0
  38. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +65 -0
  39. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +170 -0
  40. data/asciidoc/examples/website/asciidoc.css +533 -0
  41. data/asciidoc/examples/website/asciidoc.js +189 -0
  42. data/asciidoc/examples/website/asciidocapi.txt +189 -0
  43. data/asciidoc/examples/website/asciimathml.txt +61 -0
  44. data/asciidoc/examples/website/build-website.sh +25 -0
  45. data/asciidoc/examples/website/customers.csv +18 -0
  46. data/asciidoc/examples/website/epub-notes.txt +210 -0
  47. data/asciidoc/examples/website/faq.txt +1298 -0
  48. data/asciidoc/examples/website/index.txt +502 -0
  49. data/asciidoc/examples/website/latex-backend.txt +192 -0
  50. data/asciidoc/examples/website/latex-bugs.txt +134 -0
  51. data/asciidoc/examples/website/latex-filter.txt +196 -0
  52. data/asciidoc/examples/website/latexmathml.txt +41 -0
  53. data/asciidoc/examples/website/layout1.conf +153 -0
  54. data/asciidoc/examples/website/layout1.css +65 -0
  55. data/asciidoc/examples/website/layout2.conf +153 -0
  56. data/asciidoc/examples/website/layout2.css +83 -0
  57. data/asciidoc/examples/website/main.aap +159 -0
  58. data/asciidoc/examples/website/manpage.txt +197 -0
  59. data/asciidoc/examples/website/music-filter.txt +148 -0
  60. data/asciidoc/examples/website/newlists.txt +40 -0
  61. data/asciidoc/examples/website/newtables.txt +743 -0
  62. data/asciidoc/examples/website/plugins.txt +91 -0
  63. data/asciidoc/examples/website/publishing-ebooks-with-asciidoc.txt +398 -0
  64. data/asciidoc/examples/website/slidy-example.txt +167 -0
  65. data/asciidoc/examples/website/slidy.txt +113 -0
  66. data/asciidoc/examples/website/source-highlight-filter.txt +239 -0
  67. data/asciidoc/examples/website/support.txt +5 -0
  68. data/asciidoc/examples/website/testasciidoc.txt +231 -0
  69. data/asciidoc/examples/website/userguide.txt +5991 -0
  70. data/asciidoc/examples/website/version83.txt +37 -0
  71. data/asciidoc/examples/website/xhtml11-quirks.css +43 -0
  72. data/asciidoc/filters/latex/latex2png.py +28 -12
  73. data/asciidoc/filters/music/music2png.py +22 -6
  74. data/asciidoc/filters/source/source-highlight-filter.conf +7 -5
  75. data/asciidoc/help.conf +147 -131
  76. data/asciidoc/html4.conf +1 -0
  77. data/asciidoc/html5.conf +37 -39
  78. data/asciidoc/javascripts/asciidoc.js +3 -3
  79. data/asciidoc/lang-de.conf +4 -0
  80. data/asciidoc/lang-es.conf +2 -0
  81. data/asciidoc/lang-fr.conf +1 -1
  82. data/asciidoc/lang-hu.conf +2 -0
  83. data/asciidoc/lang-it.conf +2 -0
  84. data/asciidoc/lang-nl.conf +5 -0
  85. data/asciidoc/lang-pt-BR.conf +2 -0
  86. data/asciidoc/lang-ru.conf +2 -3
  87. data/asciidoc/latex.conf +2 -2
  88. data/asciidoc/slidy.conf +4 -2
  89. data/asciidoc/stylesheets/asciidoc.css +29 -4
  90. data/asciidoc/stylesheets/docbook-xsl.css +12 -5
  91. data/asciidoc/stylesheets/toc2.css +1 -0
  92. data/asciidoc/stylesheets/xhtml11-quirks.css +1 -1
  93. data/asciidoc/tests/data/lang-de-man-test.txt +21 -0
  94. data/asciidoc/tests/data/lang-en-man-test.txt +21 -0
  95. data/asciidoc/tests/data/lang-es-man-test.txt +21 -0
  96. data/asciidoc/tests/data/lang-fr-man-test.txt +21 -0
  97. data/asciidoc/tests/data/lang-hu-man-test.txt +21 -0
  98. data/asciidoc/tests/data/lang-it-man-test.txt +21 -0
  99. data/asciidoc/tests/data/lang-it-test.txt +106 -0
  100. data/asciidoc/tests/data/lang-nl-man-test.txt +21 -0
  101. data/asciidoc/tests/data/lang-pt-BR-man-test.txt +21 -0
  102. data/asciidoc/tests/data/lang-ru-man-test.txt +21 -0
  103. data/asciidoc/tests/data/lang-uk-man-test.txt +21 -0
  104. data/asciidoc/tests/data/testcases.conf +10 -0
  105. data/asciidoc/tests/data/testcases.txt +40 -0
  106. data/asciidoc/tests/testasciidoc.conf +143 -17
  107. data/asciidoc/tests/testasciidoc.py +11 -2
  108. data/asciidoc/{stylesheets → themes/flask}/flask.css +0 -0
  109. data/asciidoc/{stylesheets → themes/volnitsky}/volnitsky.css +1 -1
  110. data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +1 -1
  111. data/asciidoc/vim/syntax/asciidoc.vim +1 -1
  112. data/asciidoc/xhtml11-quirks.conf +2 -2
  113. data/asciidoc/xhtml11.conf +35 -37
  114. data/lib/mizuho.rb +1 -1
  115. data/lib/mizuho/generator.rb +3 -1
  116. data/source-highlight/darwin/source-highlight +0 -0
  117. data/templates/juvia.js +30 -5
  118. metadata +58 -9
  119. data/asciidoc/stylesheets/asciidoc-manpage.css +0 -18
  120. data/asciidoc/stylesheets/flask-manpage.css +0 -1
  121. data/asciidoc/stylesheets/volnitsky-manpage.css +0 -1
@@ -0,0 +1,40 @@
1
+ AsciiDoc New Lists
2
+ ==================
3
+
4
+ *New in version 8.3.0*
5
+
6
+ Lists can now be styled like other block elements, this allows the
7
+ normal bulleted and labeled list syntax to be used for 'glossary',
8
+ 'qanda' (Question and Answer) and 'bibliography' lists instead of
9
+ having to remember a different syntax for each one. In the same vein
10
+ there is only one labeled list syntax, horizontal labeled lists are
11
+ rendered by applying the 'horizontal' style. Examples:
12
+
13
+ ---------------------------------------------------------------------
14
+ [glossary]
15
+ A glossary term::
16
+ The corresponding definition.
17
+ A second glossary term::
18
+ The corresponding definition.
19
+
20
+ [horizontal]
21
+ Lorem:: Fusce euismod commodo velit.
22
+ Ipsum:: Vivamus fringilla mi eu lacus.
23
+ ---------------------------------------------------------------------
24
+
25
+ The list related stuff in the configuration files has been
26
+ rationalized with separate 'listtags-\*' sections (c.f. table
27
+ 'tabletags-*' sections). The old list tags are no longer supported so
28
+ you'll need to update your custom configuration file list definitions.
29
+
30
+ These changes necessitated the following backward incompatibilities:
31
+
32
+ . You have to explicitly precede horizontal labeled lists with the
33
+ `[horizontal]` style attribute -- if you do nothing the existing
34
+ horizontal labeled lists will be rendered vertically.
35
+ . The old 'compact' list style is now implemented as a list option, to
36
+ update replace `[compact]` with `[options="compact"]`. You can now
37
+ apply the 'compact' option globally by setting the `compact-option`
38
+ document attribute.
39
+ . You'll need to update any customized configuration file list
40
+ definitions that have been made.
@@ -0,0 +1,743 @@
1
+ AsciiDoc New tables
2
+ ===================
3
+
4
+ *New in version 8.3.0*
5
+
6
+ I've finally come up with a 'new tables' syntax that I'm happy with
7
+ and can at last remove this footnote from the 'User Guide': ``The
8
+ current table syntax is overly complicated and unwieldy to edit,
9
+ hopefully a more usable syntax will appear in future versions of
10
+ AsciiDoc.''
11
+
12
+ .Update
13
+ *********************************************************************
14
+ The following additions were made at AsciiDoc 8.4.4:
15
+
16
+ - Cell column and row spanning.
17
+ - Styles can be applied per cell.
18
+ - Vertical cell alignment can be applied to columns and cells.
19
+
20
+ See the examples at the end of this document.
21
+ *********************************************************************
22
+
23
+ At first glance it doesn't look much different to the old syntax but
24
+ it's a lot more flexible, easier to enter and supports a lot of column
25
+ styles (for example the 'asciidoc' style supports AsciiDoc block and
26
+ inline elements). The old tables syntax has been deprecated but is
27
+ currently still processed. Here are some examples of AsciiDoc 'new
28
+ tables':
29
+
30
+ .Simple table
31
+ [width="15%"]
32
+ |=======
33
+ |1 |2 |A
34
+ |3 |4 |B
35
+ |5 |6 |C
36
+ |=======
37
+
38
+ .AsciiDoc source
39
+ ---------------------------------------------------------------------
40
+ [width="15%"]
41
+ |=======
42
+ |1 |2 |A
43
+ |3 |4 |B
44
+ |5 |6 |C
45
+ |=======
46
+ ---------------------------------------------------------------------
47
+
48
+
49
+ .Table with title, header and footer
50
+ [width="40%",frame="topbot",options="header,footer"]
51
+ |======================
52
+ |Column 1 |Column 2
53
+ |1 |Item 1
54
+ |2 |Item 2
55
+ |3 |Item 3
56
+ |6 |Three items
57
+ |======================
58
+
59
+ .AsciiDoc source
60
+ ---------------------------------------------------------------------
61
+ .An example table
62
+ [width="40%",frame="topbot",options="header,footer"]
63
+ |======================
64
+ |Column 1 |Column 2
65
+ |1 |Item 1
66
+ |2 |Item 2
67
+ |3 |Item 3
68
+ |6 |Three items
69
+ |======================
70
+ ---------------------------------------------------------------------
71
+
72
+
73
+ .Columns formatted with strong, monospaced and emphasis styles
74
+ [width="50%",cols=">s,^2m,^2e",frame="topbot",options="header,footer"]
75
+ |==========================
76
+ | 2+|Columns 2 and 3
77
+ |1 |Item 1 |Item 1
78
+ |2 |Item 2 |Item 2
79
+ |3 |Item 3 |Item 3
80
+ |4 |Item 4 |Item 4
81
+ |footer 1|footer 2|footer 3
82
+ |==========================
83
+
84
+ .AsciiDoc source
85
+ ---------------------------------------------------------------------
86
+ .An example table
87
+ [width="50%",cols=">s,^2m,^2e",frame="topbot",options="header,footer"]
88
+ |==========================
89
+ | 2+|Columns 2 and 3
90
+ |1 |Item 1 |Item 1
91
+ |2 |Item 2 |Item 2
92
+ |3 |Item 3 |Item 3
93
+ |4 |Item 4 |Item 4
94
+ |footer 1|footer 2|footer 3
95
+ |==========================
96
+ ---------------------------------------------------------------------
97
+
98
+ .A table with externally sourced CSV data
99
+ [format="csv",cols="^1,4*2",options="header"]
100
+ |===================================================
101
+ ID,Customer Name,Contact Name,Customer Address,Phone
102
+ include::customers.csv[]
103
+ |===================================================
104
+
105
+ .AsciiDoc source
106
+ ---------------------------------------------------------------------
107
+ [format="csv",cols="^1,4*2",options="header"]
108
+ |===================================================
109
+ ID,Customer Name,Contact Name,Customer Address,Phone
110
+ include::customers.csv[]
111
+ |===================================================
112
+ ---------------------------------------------------------------------
113
+
114
+
115
+ .DVS formatted table
116
+ [width="70%",format="dsv"]
117
+ |====================================
118
+ root:x:0:0:root:/root:/bin/bash
119
+ daemon:x:1:1:daemon:/usr/sbin:/bin/sh
120
+ bin:x:2:2:bin:/bin:/bin/sh
121
+ sys:x:3:3:sys:/dev:/bin/sh
122
+ sync:x:4:65534:sync:/bin:/bin/sync
123
+ games:x:5:60:games:/usr/games:/bin/sh
124
+ |====================================
125
+
126
+ .AsciiDoc source
127
+ ---------------------------------------------------------------------
128
+ [width="70%",format="dsv"]
129
+ |====================================
130
+ root:x:0:0:root:/root:/bin/bash
131
+ daemon:x:1:1:daemon:/usr/sbin:/bin/sh
132
+ bin:x:2:2:bin:/bin:/bin/sh
133
+ sys:x:3:3:sys:/dev:/bin/sh
134
+ sync:x:4:65534:sync:/bin:/bin/sync
135
+ games:x:5:60:games:/usr/games:/bin/sh
136
+ |====================================
137
+ ---------------------------------------------------------------------
138
+
139
+
140
+ .Horizontal and vertical source data
141
+ [width="80%",cols="3,^2,^2,10",options="header"]
142
+ |=========================================================
143
+ |Date |Duration |Avg HR |Notes
144
+
145
+ |22-Aug-08 |10:24 | 157 |
146
+ Worked out MSHR (max sustainable heart rate) by going hard
147
+ for this interval.
148
+
149
+ |22-Aug-08 |23:03 | 152 |
150
+ Back-to-back with previous interval.
151
+
152
+ |24-Aug-08 |40:00 | 145 |
153
+ Moderately hard interspersed with 3x 3min intervals (2min
154
+ hard + 1min really hard taking the HR up to 160).
155
+
156
+ |=========================================================
157
+
158
+ Short cells can be entered horizontally, longer cells vertically. The
159
+ default behavior is to strip leading and trailing blank lines within a
160
+ cell. These characteristics aid readability and data entry.
161
+
162
+ .AsciiDoc source
163
+ ---------------------------------------------------------------------
164
+ .Windtrainer workouts
165
+ [width="80%",cols="3,^2,^2,10",options="header"]
166
+ |=========================================================
167
+ |Date |Duration |Avg HR |Notes
168
+
169
+ |22-Aug-08 |10:24 | 157 |
170
+ Worked out MSHR (max sustainable heart rate) by going hard
171
+ for this interval.
172
+
173
+ |22-Aug-08 |23:03 | 152 |
174
+ Back-to-back with previous interval.
175
+
176
+ |24-Aug-08 |40:00 | 145 |
177
+ Moderately hard interspersed with 3x 3min intervals (2min
178
+ hard + 1min really hard taking the HR up to 160).
179
+
180
+ |=========================================================
181
+ ---------------------------------------------------------------------
182
+
183
+
184
+ .Default and verse styles
185
+ [cols=",^v",options="header"]
186
+ |===================================
187
+ |Default paragraphs |Centered verses
188
+ 2*|Per id.
189
+
190
+ Consul *necessitatibus* per id,
191
+ consetetur, eu pro everti postulant
192
+ homero verear ea mea, qui.
193
+
194
+ Consul *necessitatibus* per id,
195
+ consetetur, eu pro everti postulant
196
+ homero verear ea mea, qui.
197
+ |===================================
198
+
199
+ .AsciiDoc source
200
+ ---------------------------------------------------------------------
201
+ [cols=",^v",options="header"]
202
+ |===================================
203
+ |Default paragraphs |Centered verses
204
+ 2*|Per id.
205
+
206
+ Consul *necessitatibus* per id,
207
+ consetetur, eu pro everti postulant
208
+ homero verear ea mea, qui.
209
+
210
+ Consul *necessitatibus* per id,
211
+ consetetur, eu pro everti postulant
212
+ homero verear ea mea, qui.
213
+ |===================================
214
+ ---------------------------------------------------------------------
215
+
216
+
217
+ .Horizontal and vertial headings
218
+ [cols="h,4*",options="header",width="50%"]
219
+ |==================================
220
+ | |West |Central |East | Total
221
+ |Q1 |270 |292 |342 | 904
222
+ |Q2 |322 |276 |383 | 981
223
+ |Q3 |298 |252 |274 | 824
224
+ |Q4 |344 |247 |402 | 993
225
+ |==================================
226
+
227
+ .AsciiDoc source
228
+ ---------------------------------------------------------------------
229
+ .Horizontal and vertial headings
230
+ [cols="h,4*",options="header",width="50%"]
231
+ |==================================
232
+ | |West |Central |East | Total
233
+ |Q1 |270 |292 |342 | 904
234
+ |Q2 |322 |276 |383 | 981
235
+ |Q3 |298 |252 |274 | 824
236
+ |Q4 |344 |247 |402 | 993
237
+ |==================================
238
+ ---------------------------------------------------------------------
239
+
240
+
241
+ .AsciiDoc style in first column, Literal in second
242
+ [cols="asciidoc,literal",options="header",grid="cols"]
243
+ |==================================
244
+ |Output markup |AsciiDoc source
245
+ 2*|
246
+ Consul *necessitatibus* per id,
247
+ consetetur, eu pro everti postulant
248
+ homero verear ea mea, qui.
249
+
250
+ -----------------------------------
251
+ Consul *necessitatibus* per id,
252
+ consetetur, eu pro everti postulant
253
+ homero verear ea mea, qui.
254
+ -----------------------------------
255
+
256
+ .Code filter example
257
+ [source,python]
258
+ -----------------------------------
259
+ ''' A multi-line
260
+ comment.'''
261
+ def sub_word(mo):
262
+ ''' Single line comment.'''
263
+ word = mo.group('word')
264
+ if word in keywords[language]:
265
+ return quote + word + quote
266
+ else:
267
+ return word
268
+ -----------------------------------
269
+
270
+ - Lorem ipsum dolor sit amet,
271
+ consectetuer adipiscing elit.
272
+ * Fusce euismod commodo velit.
273
+ * Qui in magna commodo, est labitur
274
+ dolorum an. Est ne magna primis
275
+ adolescens. Sit munere ponderum
276
+ dignissim et. Minim luptatum et vel.
277
+ * Vivamus fringilla mi eu lacus.
278
+ * Donec eget arcu bibendum nunc
279
+ consequat lobortis.
280
+ - Nulla porttitor vulputate libero.
281
+ . Fusce euismod commodo velit.
282
+ . Vivamus fringilla mi eu lacus.
283
+
284
+ |==================================
285
+
286
+ .AsciiDoc source
287
+ [listing]
288
+ .....................................................................
289
+ [cols="asciidoc,literal",options="header",grid="cols"]
290
+ |==================================
291
+ |Output markup |AsciiDoc source
292
+ 2*|
293
+ Consul *necessitatibus* per id,
294
+ consetetur, eu pro everti postulant
295
+ homero verear ea mea, qui.
296
+
297
+ -----------------------------------
298
+ Consul *necessitatibus* per id,
299
+ consetetur, eu pro everti postulant
300
+ homero verear ea mea, qui.
301
+ -----------------------------------
302
+
303
+ .Code filter example
304
+ [source,python]
305
+ -----------------------------------
306
+ ''' A multi-line
307
+ comment.'''
308
+ def sub_word(mo):
309
+ ''' Single line comment.'''
310
+ word = mo.group('word')
311
+ if word in keywords[language]:
312
+ return quote + word + quote
313
+ else:
314
+ return word
315
+ -----------------------------------
316
+
317
+ - Lorem ipsum dolor sit amet,
318
+ consectetuer adipiscing elit.
319
+ * Fusce euismod commodo velit.
320
+ * Qui in magna commodo, est labitur
321
+ dolorum an. Est ne magna primis
322
+ adolescens. Sit munere ponderum
323
+ dignissim et. Minim luptatum et vel.
324
+ * Vivamus fringilla mi eu lacus.
325
+ * Donec eget arcu bibendum nunc
326
+ consequat lobortis.
327
+ - Nulla porttitor vulputate libero.
328
+ . Fusce euismod commodo velit.
329
+ . Vivamus fringilla mi eu lacus.
330
+
331
+ |==================================
332
+ .....................................................................
333
+
334
+
335
+ .Cell containing lots of example markup elements
336
+ |====================================================================
337
+ |'URLs':
338
+ http://www.methods.co.nz/asciidoc/[The AsciiDoc home page],
339
+ http://www.methods.co.nz/asciidoc/,
340
+ mailto:joe.bloggs@foobar.com[email Joe Bloggs],
341
+ joe.bloggs@foobar.com,
342
+ callto:joe.bloggs[].
343
+
344
+ 'Link': See <<X1,AsciiDoc source>>.
345
+
346
+ 'Emphasized text', *Strong text*, +Monospaced text+, ``Quoted text''.
347
+
348
+ 'Subscripts and superscripts': e^{amp}#960;i^+1 = 0. H~2~O and x^10^.
349
+ Some ^super text^ and ~some sub text~
350
+
351
+ 'Replacements': (C) copyright, (TM) trademark, (R) registered trademark,
352
+ -- em dash, ... ellipsis, -> right arrow, <- left arrow, => right
353
+ double arrow, <= left double arrow.
354
+ |====================================================================
355
+
356
+ [[X1]]
357
+ .AsciiDoc source
358
+ ---------------------------------------------------------------------
359
+ |====================================================================
360
+ |'URLs':
361
+ http://www.methods.co.nz/asciidoc/[The AsciiDoc home page],
362
+ http://www.methods.co.nz/asciidoc/,
363
+ mailto:joe.bloggs@foobar.com[email Joe Bloggs],
364
+ joe.bloggs@foobar.com,
365
+ callto:joe.bloggs[].
366
+
367
+ 'Link': See <<X1,AsciiDoc source>>.
368
+
369
+ 'Emphasized text', *Strong text*, +Monospaced text+, ``Quoted text''.
370
+
371
+ 'Subscripts and superscripts': e^{amp}#960;i^+1 = 0. H~2~O and x^10^.
372
+ Some ^super text^ and ~some sub text~
373
+
374
+ 'Replacements': (C) copyright, (TM) trademark, (R) registered trademark,
375
+ -- em dash, ... ellipsis, -> right arrow, <- left arrow, => right
376
+ double arrow, <= left double arrow.
377
+ |====================================================================
378
+ ---------------------------------------------------------------------
379
+
380
+
381
+ .Nested table
382
+ [width="75%",cols="1,2a"]
383
+ |==============================================
384
+ |Normal cell
385
+
386
+ |Cell with nested table
387
+
388
+ [cols="2,1"]
389
+ !==============================================
390
+ !Nested table cell 1 !Nested table cell 2
391
+ !==============================================
392
+
393
+ |==============================================
394
+
395
+ .AsciiDoc source
396
+ ---------------------------------------------------------------------
397
+ [width="75%",cols="1,2a"]
398
+ |==============================================
399
+ |Normal cell
400
+
401
+ |Cell with nested table
402
+
403
+ [cols="2,1"]
404
+ !==============================================
405
+ !Nested table cell 1 !Nested table cell 2
406
+ !==============================================
407
+
408
+ |==============================================
409
+ ---------------------------------------------------------------------
410
+
411
+
412
+ .Spans, alignments and styles
413
+ [cols="e,m,^,>s",width="25%"]
414
+ |================
415
+ |1 >s|2 |3 |4
416
+ ^|5 2.2+^.^|6 .3+<.>m|7
417
+ ^|8
418
+ |9 2+>|10
419
+ |================
420
+
421
+ .AsciiDoc source
422
+ ---------------------------------------------------------------------
423
+ .Spans, alignments and styles
424
+ [cols="e,m,^,>s",width="25%"]
425
+ |================
426
+ |1 >s|2 |3 |4
427
+ ^|5 2.2+^.^|6 .3+<.>m|7
428
+ ^|8
429
+ |9 2+>|10
430
+ |================
431
+ ---------------------------------------------------------------------
432
+
433
+ .Three panes
434
+ [cols="a,2a"]
435
+ |==================================
436
+ |
437
+ [float]
438
+ Top Left Pane
439
+ ~~~~~~~~~~~~~
440
+ Consul *necessitatibus* per id,
441
+ consetetur, eu pro everti postulant
442
+ homero verear ea mea, qui.
443
+
444
+ Consul *necessitatibus* per id,
445
+ consetetur, eu pro everti postulant
446
+ homero verear ea mea, qui.
447
+
448
+ .2+|
449
+ [float]
450
+ Right Pane
451
+ ~~~~~~~~~~
452
+ Consul *necessitatibus* per id,
453
+ consetetur, eu pro everti postulant
454
+ homero verear ea mea, qui.
455
+
456
+ -----------------------------------
457
+ Consul *necessitatibus* per id,
458
+ consetetur, eu pro everti postulant
459
+ homero verear ea mea, qui.
460
+ -----------------------------------
461
+
462
+ .Code filter example
463
+ [source,python]
464
+ -----------------------------------
465
+ ''' A multi-line
466
+ comment.'''
467
+ def sub_word(mo):
468
+ ''' Single line comment.'''
469
+ word = mo.group('word')
470
+ if word in keywords[language]:
471
+ return quote + word + quote
472
+ else:
473
+ return word
474
+ -----------------------------------
475
+
476
+ - Lorem ipsum dolor sit amet,
477
+ consectetuer adipiscing elit.
478
+ * Fusce euismod commodo velit.
479
+ * Qui in magna commodo, est labitur
480
+ dolorum an. Est ne magna primis
481
+ adolescens. Sit munere ponderum
482
+ dignissim et. Minim luptatum et vel.
483
+ * Vivamus fringilla mi eu lacus.
484
+ * Donec eget arcu bibendum nunc
485
+ consequat lobortis.
486
+ - Nulla porttitor vulputate libero.
487
+ . Fusce euismod commodo velit.
488
+ . Vivamus fringilla mi eu lacus.
489
+
490
+ |
491
+ [float]
492
+ Bottom Left Pane
493
+ ~~~~~~~~~~~~~~~~
494
+ Consul *necessitatibus* per id,
495
+ consetetur, eu pro everti postulant
496
+ homero verear ea mea, qui.
497
+
498
+ Consul *necessitatibus* per id,
499
+ consetetur, eu pro everti postulant
500
+ homero verear ea mea, qui.
501
+
502
+ - Lorem ipsum dolor sit amet,
503
+ consectetuer adipiscing elit.
504
+ * Fusce euismod commodo velit.
505
+ * Qui in magna commodo, est labitur
506
+ dolorum an. Est ne magna primis
507
+ adolescens. Sit munere ponderum
508
+ dignissim et. Minim luptatum et vel.
509
+ * Vivamus fringilla mi eu lacus.
510
+ * Donec eget arcu bibendum nunc
511
+ consequat lobortis.
512
+ - Nulla porttitor vulputate libero.
513
+ . Fusce euismod commodo velit.
514
+ . Vivamus fringilla mi eu lacus.
515
+
516
+ |==================================
517
+
518
+ .AsciiDoc source
519
+ [listing]
520
+ .....................................................................
521
+ .Three panes
522
+ [cols="a,2a"]
523
+ |==================================
524
+ |
525
+ [float]
526
+ Top Left Pane
527
+ ~~~~~~~~~~~~~
528
+ Consul *necessitatibus* per id,
529
+ consetetur, eu pro everti postulant
530
+ homero verear ea mea, qui.
531
+
532
+ Consul *necessitatibus* per id,
533
+ consetetur, eu pro everti postulant
534
+ homero verear ea mea, qui.
535
+
536
+ .2+|
537
+ [float]
538
+ Right Pane
539
+ ~~~~~~~~~~
540
+ Consul *necessitatibus* per id,
541
+ consetetur, eu pro everti postulant
542
+ homero verear ea mea, qui.
543
+
544
+ -----------------------------------
545
+ Consul *necessitatibus* per id,
546
+ consetetur, eu pro everti postulant
547
+ homero verear ea mea, qui.
548
+ -----------------------------------
549
+
550
+ .Code filter example
551
+ [source,python]
552
+ -----------------------------------
553
+ ''' A multi-line
554
+ comment.'''
555
+ def sub_word(mo):
556
+ ''' Single line comment.'''
557
+ word = mo.group('word')
558
+ if word in keywords[language]:
559
+ return quote + word + quote
560
+ else:
561
+ return word
562
+ -----------------------------------
563
+
564
+ - Lorem ipsum dolor sit amet,
565
+ consectetuer adipiscing elit.
566
+ * Fusce euismod commodo velit.
567
+ * Qui in magna commodo, est labitur
568
+ dolorum an. Est ne magna primis
569
+ adolescens. Sit munere ponderum
570
+ dignissim et. Minim luptatum et vel.
571
+ * Vivamus fringilla mi eu lacus.
572
+ * Donec eget arcu bibendum nunc
573
+ consequat lobortis.
574
+ - Nulla porttitor vulputate libero.
575
+ . Fusce euismod commodo velit.
576
+ . Vivamus fringilla mi eu lacus.
577
+
578
+ |
579
+ [float]
580
+ Bottom Left Pane
581
+ ~~~~~~~~~~~~~~~~
582
+ Consul *necessitatibus* per id,
583
+ consetetur, eu pro everti postulant
584
+ homero verear ea mea, qui.
585
+
586
+ Consul *necessitatibus* per id,
587
+ consetetur, eu pro everti postulant
588
+ homero verear ea mea, qui.
589
+
590
+ - Lorem ipsum dolor sit amet,
591
+ consectetuer adipiscing elit.
592
+ * Fusce euismod commodo velit.
593
+ * Qui in magna commodo, est labitur
594
+ dolorum an. Est ne magna primis
595
+ adolescens. Sit munere ponderum
596
+ dignissim et. Minim luptatum et vel.
597
+ * Vivamus fringilla mi eu lacus.
598
+ * Donec eget arcu bibendum nunc
599
+ consequat lobortis.
600
+ - Nulla porttitor vulputate libero.
601
+ . Fusce euismod commodo velit.
602
+ . Vivamus fringilla mi eu lacus.
603
+
604
+ |==================================
605
+ .....................................................................
606
+
607
+
608
+ == Combinations of 'align', 'frame', 'grid', 'valign' and 'halign' attributes
609
+
610
+ :frame: all
611
+ :grid: all
612
+ :halign: left
613
+ :valign: top
614
+
615
+ [options="header"]
616
+ |====
617
+ ||frame | grid |valign |halign
618
+ v|&nbsp;
619
+ &nbsp;
620
+ &nbsp;
621
+ |{frame} | {grid} |{valign} |{halign}
622
+ |====
623
+
624
+ .AsciiDoc source
625
+ ---------------------------------------------------------------------
626
+ :frame: all
627
+ :grid: all
628
+ :halign: left
629
+ :valign: top
630
+
631
+ [options="header"]
632
+ |====
633
+ ||frame | grid |valign |halign
634
+ v|&nbsp;
635
+ &nbsp;
636
+ &nbsp;
637
+ |{frame} | {grid} |{valign} |{halign}
638
+ |====
639
+ ---------------------------------------------------------------------
640
+
641
+
642
+ :frame: sides
643
+ :grid: rows
644
+ :halign: center
645
+ :valign: middle
646
+
647
+ .Table test
648
+ [width="50%",options="header"]
649
+ |====
650
+ ||frame | grid |valign |halign
651
+ v|&nbsp;
652
+ &nbsp;
653
+ &nbsp;
654
+ |{frame} | {grid} |{valign} |{halign}
655
+ |====
656
+
657
+ .AsciiDoc source
658
+ ---------------------------------------------------------------------
659
+ :frame: sides
660
+ :grid: rows
661
+ :halign: center
662
+ :valign: middle
663
+
664
+ .Table test
665
+ [width="50%",options="header"]
666
+ |====
667
+ ||frame | grid |valign |halign
668
+ v|&nbsp;
669
+ &nbsp;
670
+ &nbsp;
671
+ |{frame} | {grid} |{valign} |{halign}
672
+ |====
673
+ ---------------------------------------------------------------------
674
+
675
+
676
+ :frame: topbot
677
+ :grid: cols
678
+ :halign: right
679
+ :valign: bottom
680
+
681
+ [align="right",width="50%",options="header"]
682
+ |====
683
+ ||frame | grid |valign |halign
684
+ v|&nbsp;
685
+ &nbsp;
686
+ &nbsp;
687
+ |{frame} | {grid} |{valign} |{halign}
688
+ |====
689
+
690
+ .AsciiDoc source
691
+ ---------------------------------------------------------------------
692
+ :frame: topbot
693
+ :grid: cols
694
+ :halign: right
695
+ :valign: bottom
696
+
697
+ [align="right",width="50%",options="header"]
698
+ |====
699
+ ||frame | grid |valign |halign
700
+ v|&nbsp;
701
+ &nbsp;
702
+ &nbsp;
703
+ |{frame} | {grid} |{valign} |{halign}
704
+ |====
705
+ ---------------------------------------------------------------------
706
+
707
+
708
+ :frame: none
709
+ :grid: none
710
+ :halign: left
711
+ :valign: top
712
+
713
+ [align="center",width="50%",options="header"]
714
+ |====
715
+ ||frame | grid |valign |halign
716
+ v|&nbsp;
717
+ &nbsp;
718
+ &nbsp;
719
+ |{frame} | {grid} |{valign} |{halign}
720
+ |====
721
+
722
+ .AsciiDoc source
723
+ ---------------------------------------------------------------------
724
+ :frame: none
725
+ :grid: none
726
+ :halign: left
727
+ :valign: top
728
+
729
+ [align="center",width="50%",options="header"]
730
+ |====
731
+ ||frame | grid |valign |halign
732
+ v|&nbsp;
733
+ &nbsp;
734
+ &nbsp;
735
+ |{frame} | {grid} |{valign} |{halign}
736
+ |====
737
+ ---------------------------------------------------------------------
738
+
739
+ :frame!:
740
+ :grid!:
741
+ :halign!:
742
+ :valign!:
743
+