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.
Files changed (136) hide show
  1. data/README.markdown +1 -1
  2. data/Rakefile +14 -2
  3. data/asciidoc/BUGS +11 -6
  4. data/asciidoc/BUGS.txt +7 -3
  5. data/asciidoc/CHANGELOG +313 -151
  6. data/asciidoc/CHANGELOG.txt +177 -12
  7. data/asciidoc/INSTALL +30 -36
  8. data/asciidoc/INSTALL.txt +20 -20
  9. data/asciidoc/Makefile.in +145 -0
  10. data/asciidoc/README +11 -11
  11. data/asciidoc/README.txt +9 -9
  12. data/asciidoc/a2x +40 -7
  13. data/asciidoc/asciidoc.conf +180 -126
  14. data/asciidoc/asciidoc.py +1667 -977
  15. data/asciidoc/common.aap +2 -2
  16. data/asciidoc/configure +2840 -0
  17. data/asciidoc/configure.ac +11 -0
  18. data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
  19. data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
  20. data/asciidoc/dblatex/dblatex-readme.txt +19 -2
  21. data/asciidoc/doc/a2x.1 +77 -67
  22. data/asciidoc/doc/a2x.1.txt +11 -2
  23. data/asciidoc/doc/article.css-embedded.html +85 -63
  24. data/asciidoc/doc/article.html +644 -62
  25. data/asciidoc/doc/article.pdf +0 -0
  26. data/asciidoc/doc/article.txt +15 -17
  27. data/asciidoc/doc/asciidoc.1 +34 -40
  28. data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
  29. data/asciidoc/doc/asciidoc.1.css.html +28 -28
  30. data/asciidoc/doc/asciidoc.1.html +33 -33
  31. data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
  32. data/asciidoc/doc/asciidoc.css.html +2203 -2352
  33. data/asciidoc/doc/asciidoc.dict +52 -1
  34. data/asciidoc/doc/asciidoc.html +980 -1160
  35. data/asciidoc/doc/asciidoc.txt +941 -738
  36. data/asciidoc/doc/asciimathml.txt +63 -0
  37. data/asciidoc/doc/book-multi.html +26 -43
  38. data/asciidoc/doc/book-multi.txt +19 -23
  39. data/asciidoc/doc/book.css-embedded.html +92 -71
  40. data/asciidoc/doc/book.html +24 -41
  41. data/asciidoc/doc/book.txt +19 -21
  42. data/asciidoc/doc/docbook-xsl.css +1 -0
  43. data/asciidoc/doc/faq.txt +288 -60
  44. data/asciidoc/doc/images +1 -0
  45. data/asciidoc/doc/latex-backend.html +16 -123
  46. data/asciidoc/doc/latex-backend.txt +17 -19
  47. data/asciidoc/doc/latexmath.txt +233 -24
  48. data/asciidoc/doc/latexmathml.txt +41 -0
  49. data/asciidoc/doc/main.aap +9 -5
  50. data/asciidoc/doc/music-filter.pdf +0 -0
  51. data/asciidoc/doc/music-filter.txt +2 -2
  52. data/asciidoc/doc/source-highlight-filter.html +476 -105
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +39 -10
  55. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
  56. data/asciidoc/docbook-xsl/fo.xsl +35 -3
  57. data/asciidoc/docbook-xsl/manpage.xsl +3 -0
  58. data/asciidoc/docbook-xsl/text.xsl +50 -0
  59. data/asciidoc/docbook.conf +182 -73
  60. data/asciidoc/examples/website/ASCIIMathML.js +1 -0
  61. data/asciidoc/examples/website/CHANGELOG.html +618 -182
  62. data/asciidoc/examples/website/CHANGELOG.txt +1 -0
  63. data/asciidoc/examples/website/INSTALL.html +34 -36
  64. data/asciidoc/examples/website/INSTALL.txt +1 -0
  65. data/asciidoc/examples/website/LaTeXMathML.js +1 -0
  66. data/asciidoc/examples/website/README-website.html +26 -37
  67. data/asciidoc/examples/website/README-website.txt +6 -6
  68. data/asciidoc/examples/website/README.html +15 -15
  69. data/asciidoc/examples/website/README.txt +1 -0
  70. data/asciidoc/examples/website/a2x.1.html +74 -50
  71. data/asciidoc/examples/website/a2x.1.txt +1 -0
  72. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
  73. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
  74. data/asciidoc/examples/website/asciimathml.txt +1 -0
  75. data/asciidoc/examples/website/customers.csv +1 -0
  76. data/asciidoc/examples/website/downloads.html +69 -31
  77. data/asciidoc/examples/website/downloads.txt +28 -5
  78. data/asciidoc/examples/website/faq.html +370 -124
  79. data/asciidoc/examples/website/faq.txt +1 -0
  80. data/asciidoc/examples/website/images +1 -0
  81. data/asciidoc/examples/website/index.html +64 -64
  82. data/asciidoc/examples/website/index.txt +22 -15
  83. data/asciidoc/examples/website/latex-backend.html +152 -257
  84. data/asciidoc/examples/website/latex-backend.txt +1 -0
  85. data/asciidoc/examples/website/latexmathml.txt +1 -0
  86. data/asciidoc/examples/website/manpage.html +27 -27
  87. data/asciidoc/examples/website/manpage.txt +1 -0
  88. data/asciidoc/examples/website/music-filter.html +18 -18
  89. data/asciidoc/examples/website/music-filter.txt +1 -0
  90. data/asciidoc/examples/website/music1.abc +1 -1
  91. data/asciidoc/examples/website/music1.png +0 -0
  92. data/asciidoc/examples/website/music2.ly +1 -1
  93. data/asciidoc/examples/website/music2.png +0 -0
  94. data/asciidoc/examples/website/newlists.txt +40 -0
  95. data/asciidoc/examples/website/newtables.txt +397 -0
  96. data/asciidoc/examples/website/source-highlight-filter.html +67 -32
  97. data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
  98. data/asciidoc/examples/website/support.html +4 -4
  99. data/asciidoc/examples/website/toc.js +1 -0
  100. data/asciidoc/examples/website/userguide.html +2190 -2339
  101. data/asciidoc/examples/website/userguide.txt +1 -0
  102. data/asciidoc/examples/website/version83.txt +37 -0
  103. data/asciidoc/examples/website/version9.html +13 -13
  104. data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
  105. data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
  106. data/asciidoc/examples/website/xhtml11.css +1 -0
  107. data/asciidoc/filters/code-filter-readme.txt +3 -3
  108. data/asciidoc/filters/code-filter-test.txt +6 -6
  109. data/asciidoc/filters/source-highlight-filter.conf +12 -5
  110. data/asciidoc/html4.conf +152 -58
  111. data/asciidoc/install-sh +201 -0
  112. data/asciidoc/latex.conf +41 -41
  113. data/asciidoc/stylesheets/docbook-xsl.css +1 -0
  114. data/asciidoc/stylesheets/xhtml11.css +39 -4
  115. data/asciidoc/text.conf +4 -4
  116. data/asciidoc/vim/syntax/asciidoc.vim +58 -32
  117. data/asciidoc/wordpress.conf +48 -0
  118. data/asciidoc/xhtml11-quirks.conf +1 -1
  119. data/asciidoc/xhtml11.conf +198 -70
  120. data/bin/mizuho +5 -2
  121. data/lib/mizuho/generator.rb +48 -19
  122. data/mizuho.gemspec +16 -6
  123. metadata +58 -15
  124. data/asciidoc/doc/asciimath.txt +0 -47
  125. data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
  126. data/asciidoc/examples/website/asciimath.html +0 -157
  127. data/asciidoc/examples/website/latexmath.html +0 -119
  128. data/asciidoc/filters/code-filter-test-c++.txt +0 -7
  129. data/asciidoc/install.sh +0 -55
  130. data/asciidoc/linuxdoc.conf +0 -285
  131. data/asciidoc/math.conf +0 -50
  132. data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
  133. data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
  134. data/asciidoc/t.conf +0 -20
  135. data/asciidoc/xhtml-deprecated-css.conf +0 -235
  136. data/asciidoc/xhtml-deprecated.conf +0 -351
@@ -0,0 +1 @@
1
+ ../../doc/latex-backend.txt
@@ -0,0 +1 @@
1
+ ../../doc/latexmathml.txt
@@ -3,7 +3,7 @@
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <meta name="generator" content="AsciiDoc 8.2.7" />
6
+ <meta name="generator" content="AsciiDoc 8.3.1" />
7
7
  <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
8
  <link rel="stylesheet" href="./xhtml11-manpage.css" type="text/css" />
9
9
  <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
@@ -56,18 +56,18 @@ ASCIIDOC(1) Manual Page
56
56
  </div>
57
57
  <h2>SYNOPSIS</h2>
58
58
  <div class="sectionbody">
59
- <div class="para"><p><strong>asciidoc</strong> [<em>OPTIONS</em>] <em>FILE</em></p></div>
59
+ <div class="paragraph"><p><strong>asciidoc</strong> [<em>OPTIONS</em>] <em>FILE</em></p></div>
60
60
  </div>
61
61
  <h2 id="_description">DESCRIPTION</h2>
62
62
  <div class="sectionbody">
63
- <div class="para"><p>The <tt>asciidoc(1)</tt> command translates the <em>AsciiDoc</em> text file <em>FILE</em> to a
63
+ <div class="paragraph"><p>The <tt>asciidoc(1)</tt> command translates the <em>AsciiDoc</em> text file <em>FILE</em> to a
64
64
  DocBook, HTML or LinuxDoc file. If <em>FILE</em> is <em>-</em> then the standard
65
65
  input is used.</p></div>
66
66
  </div>
67
67
  <h2 id="_options">OPTIONS</h2>
68
68
  <div class="sectionbody">
69
- <div class="vlist"><dl>
70
- <dt>
69
+ <div class="dlist"><dl>
70
+ <dt class="hdlist1">
71
71
  <strong>-a, --attribute</strong>=<em>ATTRIBUTE</em>
72
72
  </dt>
73
73
  <dd>
@@ -82,7 +82,7 @@ input is used.</p></div>
82
82
  may be specified more than once.
83
83
  </p>
84
84
  </dd>
85
- <dt>
85
+ <dt class="hdlist1">
86
86
  <strong>-b, --backend</strong>=<em>BACKEND</em>
87
87
  </dt>
88
88
  <dd>
@@ -91,7 +91,7 @@ input is used.</p></div>
91
91
  Defaults to <em>xhtml11</em>.
92
92
  </p>
93
93
  </dd>
94
- <dt>
94
+ <dt class="hdlist1">
95
95
  <strong>-f, --conf-file</strong>=<em>CONF_FILE</em>
96
96
  </dt>
97
97
  <dd>
@@ -101,7 +101,7 @@ input is used.</p></div>
101
101
  option may be specified more than once.
102
102
  </p>
103
103
  </dd>
104
- <dt>
104
+ <dt class="hdlist1">
105
105
  <strong>-d, --doctype</strong>=<em>DOCTYPE</em>
106
106
  </dt>
107
107
  <dd>
@@ -111,7 +111,7 @@ input is used.</p></div>
111
111
  type is <em>article</em>.
112
112
  </p>
113
113
  </dd>
114
- <dt>
114
+ <dt class="hdlist1">
115
115
  <strong>-c, --dump-conf</strong>
116
116
  </dt>
117
117
  <dd>
@@ -119,7 +119,7 @@ input is used.</p></div>
119
119
  Dump configuration to stdout.
120
120
  </p>
121
121
  </dd>
122
- <dt>
122
+ <dt class="hdlist1">
123
123
  <strong>-h, --help</strong>[=<em>TOPIC</em>]
124
124
  </dt>
125
125
  <dd>
@@ -129,7 +129,7 @@ input is used.</p></div>
129
129
  <strong>--help</strong>=<em>manpage</em> prints the <em>AsciiDoc</em> manpage.
130
130
  </p>
131
131
  </dd>
132
- <dt>
132
+ <dt class="hdlist1">
133
133
  <strong>-e, --no-conf</strong>
134
134
  </dt>
135
135
  <dd>
@@ -139,7 +139,7 @@ input is used.</p></div>
139
139
  <em>infile-backend.conf</em>).
140
140
  </p>
141
141
  </dd>
142
- <dt>
142
+ <dt class="hdlist1">
143
143
  <strong>-s, --no-header-footer</strong>
144
144
  </dt>
145
145
  <dd>
@@ -147,7 +147,7 @@ input is used.</p></div>
147
147
  Suppress document header and footer output.
148
148
  </p>
149
149
  </dd>
150
- <dt>
150
+ <dt class="hdlist1">
151
151
  <strong>-o, --out-file</strong>=<em>OUT_FILE</em>
152
152
  </dt>
153
153
  <dd>
@@ -158,7 +158,7 @@ input is used.</p></div>
158
158
  standard output is used.
159
159
  </p>
160
160
  </dd>
161
- <dt>
161
+ <dt class="hdlist1">
162
162
  <strong>-n, --section-numbers</strong>
163
163
  </dt>
164
164
  <dd>
@@ -167,7 +167,7 @@ input is used.</p></div>
167
167
  numbered</strong>.
168
168
  </p>
169
169
  </dd>
170
- <dt>
170
+ <dt class="hdlist1">
171
171
  <strong>--unsafe</strong>
172
172
  </dt>
173
173
  <dd>
@@ -176,7 +176,7 @@ input is used.</p></div>
176
176
  it is potentially dangerous.
177
177
  </p>
178
178
  </dd>
179
- <dt>
179
+ <dt class="hdlist1">
180
180
  <strong>-v, --verbose</strong>
181
181
  </dt>
182
182
  <dd>
@@ -185,7 +185,7 @@ input is used.</p></div>
185
185
  checks to stderr.
186
186
  </p>
187
187
  </dd>
188
- <dt>
188
+ <dt class="hdlist1">
189
189
  <strong>--version</strong>
190
190
  </dt>
191
191
  <dd>
@@ -197,8 +197,8 @@ input is used.</p></div>
197
197
  </div>
198
198
  <h2 id="_exit_status">EXIT STATUS</h2>
199
199
  <div class="sectionbody">
200
- <div class="vlist"><dl>
201
- <dt>
200
+ <div class="dlist"><dl>
201
+ <dt class="hdlist1">
202
202
  <strong>0</strong>
203
203
  </dt>
204
204
  <dd>
@@ -206,7 +206,7 @@ input is used.</p></div>
206
206
  Success
207
207
  </p>
208
208
  </dd>
209
- <dt>
209
+ <dt class="hdlist1">
210
210
  <strong>1</strong>
211
211
  </dt>
212
212
  <dd>
@@ -219,26 +219,26 @@ input is used.</p></div>
219
219
  </div>
220
220
  <h2 id="_bugs">BUGS</h2>
221
221
  <div class="sectionbody">
222
- <div class="para"><p>See the <em>AsciiDoc</em> distribution BUGS file.</p></div>
222
+ <div class="paragraph"><p>See the <em>AsciiDoc</em> distribution BUGS file.</p></div>
223
223
  </div>
224
224
  <h2 id="_author">AUTHOR</h2>
225
225
  <div class="sectionbody">
226
- <div class="para"><p>Written by Stuart Rackham, &lt;<a href="mailto:srackham@gmail.com">srackham@gmail.com</a>&gt;</p></div>
226
+ <div class="paragraph"><p>Written by Stuart Rackham, &lt;<a href="mailto:srackham@gmail.com">srackham@gmail.com</a>&gt;</p></div>
227
227
  </div>
228
228
  <h2 id="_resources">RESOURCES</h2>
229
229
  <div class="sectionbody">
230
- <div class="para"><p>SourceForge: <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a></p></div>
231
- <div class="para"><p>Main web site: <a href="http://www.methods.co.nz/asciidoc/">http://www.methods.co.nz/asciidoc/</a></p></div>
230
+ <div class="paragraph"><p>SourceForge: <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a></p></div>
231
+ <div class="paragraph"><p>Main web site: <a href="http://www.methods.co.nz/asciidoc/">http://www.methods.co.nz/asciidoc/</a></p></div>
232
232
  </div>
233
233
  <h2 id="_copying">COPYING</h2>
234
234
  <div class="sectionbody">
235
- <div class="para"><p>Copyright (C) 2002-2008 Stuart Rackham. Free use of this software is
235
+ <div class="paragraph"><p>Copyright (C) 2002-2008 Stuart Rackham. Free use of this software is
236
236
  granted under the terms of the GNU General Public License (GPL).</p></div>
237
237
  </div>
238
238
  <div id="footer">
239
239
  <div id="footer-text">
240
- Version 8.2.7<br />
241
- Last updated 2008-07-04 23:29:29 NZDT
240
+ Version 8.3.1<br />
241
+ Last updated 2008-12-13 09:59:47 NZDT
242
242
  </div>
243
243
  <div id="footer-badges">
244
244
  <a href="http://validator.w3.org/check?uri=referer">
@@ -0,0 +1 @@
1
+ ../../doc/asciidoc.1.txt
@@ -3,7 +3,7 @@
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <meta name="generator" content="AsciiDoc 8.2.7" />
6
+ <meta name="generator" content="AsciiDoc 8.3.1" />
7
7
  <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
8
  <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
9
9
  <link rel="stylesheet" href="./layout1.css" type="text/css" />
@@ -37,28 +37,28 @@
37
37
  </div>
38
38
  <div id="preamble">
39
39
  <div class="sectionbody">
40
- <div class="para"><p>The <em>AsciiDoc</em> distribution includes a Music Block filter that
40
+ <div class="paragraph"><p>The <em>AsciiDoc</em> distribution includes a Music Block filter that
41
41
  translates music in <a href="http://lilypond.org/">LilyPond</a> or
42
42
  <a href="http://abcnotation.org.uk/">ABC</a> notation to standard classical
43
43
  notation in the form of a trimmed PNG image which is automatically
44
44
  inserted into the <em>AsciiDoc</em> output document (see the <a href="#X1">examples below</a>).</p></div>
45
- <div class="para"><p>Actually the filter (<tt>./filters/music2png.py</tt>) can be used outside
45
+ <div class="paragraph"><p>Actually the filter (<tt>./filters/music2png.py</tt>) can be used outside
46
46
  <em>AsciiDoc</em> to convert LilyPond or ABC music files to PNG images.
47
47
  Execute the following command to see how to use it:</p></div>
48
48
  <div class="literalblock">
49
49
  <div class="content">
50
50
  <pre><tt>$ ./filters/music2png.py --help</tt></pre>
51
51
  </div></div>
52
- <div class="para"><p>The Music Filter can be used as a model for filters that convert a
52
+ <div class="paragraph"><p>The Music Filter can be used as a model for filters that convert a
53
53
  block of text into a file that is linked or embedded into the <em>AsciiDoc</em>
54
54
  output document.</p></div>
55
55
  <div class="exampleblock" id="X1">
56
56
  <div class="title">Example 1: Music Block containing ABC notation</div>
57
57
  <div class="exampleblock-content">
58
- <div class="para"><p>This Music Block:</p></div>
58
+ <div class="paragraph"><p>This Music Block:</p></div>
59
59
  <div class="listingblock">
60
60
  <div class="content">
61
- <pre><tt> [music,music1.png]
61
+ <pre><tt> ["music","music1.png",scaledwidth="100%"]
62
62
  ---------------------------------------------------------------------
63
63
  T:The Butterfly
64
64
  R:slip jig
@@ -74,7 +74,7 @@ output document.</p></div>
74
74
  |:~B3 (B2A) G2A|~B3 BA(uB d)BA|~B3 (B2A) G2(A|B2d) (g2e) (dBA):|
75
75
  ---------------------------------------------------------------------</tt></pre>
76
76
  </div></div>
77
- <div class="para"><p>Renders:</p></div>
77
+ <div class="paragraph"><p>Renders:</p></div>
78
78
  <div class="musicblock">
79
79
  <div class="content">
80
80
  <img style="border-width: 0;" src="music1.png" alt="music1.png" />
@@ -83,7 +83,7 @@ output document.</p></div>
83
83
  <div class="exampleblock" id="X2">
84
84
  <div class="title">Example 2: Music Block containing LilyPond notation</div>
85
85
  <div class="exampleblock-content">
86
- <div class="para"><p>This example contains LilyPond musical markup, it uses the <em>link</em>
86
+ <div class="paragraph"><p>This example contains LilyPond musical markup, it uses the <em>link</em>
87
87
  attribute so you can click on the music image to display the source
88
88
  notation. The <tt>music2.ly</tt> source file is automatically created and
89
89
  retained by the <tt>music2png.py</tt> filter when the <tt>-m</tt> option is used.</p></div>
@@ -102,7 +102,7 @@ retained by the <tt>music2png.py</tt> filter when the <tt>-m</tt> option is used
102
102
  }
103
103
  ---------------------------------------------------------------------</tt></pre>
104
104
  </div></div>
105
- <div class="para"><p>Renders:</p></div>
105
+ <div class="paragraph"><p>Renders:</p></div>
106
106
  <div class="musicblock">
107
107
  <div class="content">
108
108
  <a href="music2.ly">
@@ -125,9 +125,9 @@ are using.</td>
125
125
  </div>
126
126
  <h2 id="_using_the_filter">Using the Filter</h2>
127
127
  <div class="sectionbody">
128
- <div class="para"><p>Insert a delimited Music Block containing valid ABC notation into your
128
+ <div class="paragraph"><p>Insert a delimited Music Block containing valid ABC notation into your
129
129
  <em>AsciiDoc</em> document:</p></div>
130
- <div class="ilist"><ul>
130
+ <div class="ulist"><ul>
131
131
  <li>
132
132
  <p>
133
133
  The Music Block delimiter is the word <tt>music</tt> followed by four or
@@ -159,7 +159,7 @@ The optional named block attributes <em>link</em>, <em>width</em> and <em>height
159
159
  </div>
160
160
  <h2 id="_limitations">Limitations</h2>
161
161
  <div class="sectionbody">
162
- <div class="ilist"><ul>
162
+ <div class="ulist"><ul>
163
163
  <li>
164
164
  <p>
165
165
  The <tt><tt>asciidoc(1)</tt></tt> output file cannot be <tt>-</tt> (stdout), you must
@@ -177,8 +177,8 @@ If the music image file is linked to the output document then the
177
177
  </div>
178
178
  <h2 id="_installation">Installation</h2>
179
179
  <div class="sectionbody">
180
- <div class="para"><p>In addition to <em>AsciiDoc</em> you will need to have installed:</p></div>
181
- <div class="ilist"><ul>
180
+ <div class="paragraph"><p>In addition to <em>AsciiDoc</em> you will need to have installed:</p></div>
181
+ <div class="ulist"><ul>
182
182
  <li>
183
183
  <p>
184
184
  <a href="http://lilypond.org/web/">LilyPond</a> (most Linux distributions include
@@ -192,13 +192,13 @@ If the music image file is linked to the output document then the
192
192
  </p>
193
193
  </li>
194
194
  </ul></div>
195
- <div class="para"><p>Test the music filter it by converting the test file to HTML with <em>AsciiDoc</em>:</p></div>
195
+ <div class="paragraph"><p>Test the music filter it by converting the test file to HTML with <em>AsciiDoc</em>:</p></div>
196
196
  <div class="literalblock">
197
197
  <div class="content">
198
198
  <pre><tt>$ asciidoc -v ./filters/music-filter-test.txt
199
199
  $ firefox ./filters/music-filter-test.html &amp;</tt></pre>
200
200
  </div></div>
201
- <div class="para"><p>The filter was developed and tested on Xubuntu Linux using LilyPond
201
+ <div class="paragraph"><p>The filter was developed and tested on Xubuntu Linux using LilyPond
202
202
  2.10.5 and ImageMagick 6.2.4.</p></div>
203
203
  <div class="admonitionblock">
204
204
  <table><tr>
@@ -213,8 +213,8 @@ a problem).</td>
213
213
  </div>
214
214
  <div id="footer">
215
215
  <div id="footer-text">
216
- Version 8.2.7<br />
217
- Last updated 2008-07-04 23:29:30 NZDT
216
+ Version 8.3.1<br />
217
+ Last updated 2008-12-13 09:59:47 NZDT
218
218
  </div>
219
219
  <div id="footer-badges">
220
220
  <a href="http://validator.w3.org/check?uri=referer">
@@ -0,0 +1 @@
1
+ ../../doc/music-filter.txt
@@ -9,4 +9,4 @@ M:9/8
9
9
  K:Em
10
10
  vB2(E G2)(E F3)|B2(E G2)(E F)ED|vB2(E G2)(E F3)|(B2d) d2(uB A)FD:|
11
11
  |:(vB2c) (e2f) g3|(uB2d) (g2e) (dBA)|(B2c) (e2f) g2(ua|b2a) (g2e) (dBA):|
12
- |:~B3 (B2A) G2A|~B3 BA(uB d)BA|~B3 (B2A) G2(A|B2d) (g2e) (dBA):|
12
+ |:~B3 (B2A) G2A|~B3 BA(uB d)BA|~B3 (B2A) G2(A|B2d) (g2e) (dBA):|
Binary file
@@ -6,4 +6,4 @@
6
6
  \time 3/4
7
7
  \clef bass
8
8
  c2 e4 g2. f4 e d c2 r4
9
- }
9
+ }
Binary file
@@ -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,397 @@
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
+ At first glance it doesn't look much different to the old syntax but
13
+ it's a lot more flexible, easier to enter and supports a lot of column
14
+ styles (for example the 'asciidoc' style supports AsciiDoc block and
15
+ inline elements). The old tables syntax has been deprecated but is
16
+ currently still processed. Here are some examples of AsciiDoc 'new
17
+ tables':
18
+
19
+ Simple table
20
+ ------------
21
+
22
+ [width="15%"]
23
+ |=======
24
+ |1 |2 |A
25
+ |3 |4 |B
26
+ |5 |6 |C
27
+ |=======
28
+
29
+ .AsciiDoc source
30
+ ---------------------------------------------------------------------
31
+ [width="15%"]
32
+ |=======
33
+ |1 |2 |A
34
+ |3 |4 |B
35
+ |5 |6 |C
36
+ |=======
37
+ ---------------------------------------------------------------------
38
+
39
+
40
+ Table with title, header and footer
41
+ -----------------------------------
42
+
43
+ .An example table
44
+ [width="40%",frame="topbot",options="header,footer"]
45
+ |======================
46
+ |Column 1 |Column 2
47
+ |1 |Item 1
48
+ |2 |Item 2
49
+ |3 |Item 3
50
+ |6 |Three items
51
+ |======================
52
+
53
+ .AsciiDoc source
54
+ ---------------------------------------------------------------------
55
+ .An example table
56
+ [width="40%",frame="topbot",options="header,footer"]
57
+ |======================
58
+ |Column 1 |Column 2
59
+ |1 |Item 1
60
+ |2 |Item 2
61
+ |3 |Item 3
62
+ |6 |Three items
63
+ |======================
64
+ ---------------------------------------------------------------------
65
+
66
+
67
+ Columns formatted with 'strong', 'monospaced' and 'emphasis' styles
68
+ -------------------------------------------------------------------
69
+
70
+ .An example table
71
+ [width="50%",cols=">s,^2m,^2e",frame="none",options="header,footer"]
72
+ |==========================
73
+ | |Column 2|Column 3
74
+ |1 |Item 1 |Item 1
75
+ |2 |Item 2 |Item 2
76
+ |3 |Item 3 |Item 3
77
+ |4 |Item 4 |Item 4
78
+ |footer 1|footer 2|footer 3
79
+ |==========================
80
+
81
+ .AsciiDoc source
82
+ ---------------------------------------------------------------------
83
+ .An example table
84
+ [width="50%",cols=">s,^2m,^2e",frame="none",options="header,footer"]
85
+ |==========================
86
+ | |Column 2|Column 3
87
+ |1 |Item 1 |Item 1
88
+ |2 |Item 2 |Item 2
89
+ |3 |Item 3 |Item 3
90
+ |4 |Item 4 |Item 4
91
+ |footer 1|footer 2|footer 3
92
+ |==========================
93
+ ---------------------------------------------------------------------
94
+
95
+ A table with externally sourced CSV data
96
+ ----------------------------------------
97
+
98
+ [format="csv",cols="^1,4*2",options="header"]
99
+ |===================================================
100
+ ID,Customer Name,Contact Name,Customer Address,Phone
101
+ include::customers.csv[]
102
+ |===================================================
103
+
104
+ .AsciiDoc source
105
+ ---------------------------------------------------------------------
106
+ [format="csv",cols="^1,4*2",options="header"]
107
+ |===================================================
108
+ ID,Customer Name,Contact Name,Customer Address,Phone
109
+ include::customers.csv[]
110
+ |===================================================
111
+ ---------------------------------------------------------------------
112
+
113
+
114
+ DVS formatted table
115
+ -------------------
116
+
117
+ [width="70%",format="dsv"]
118
+ |====================================
119
+ root:x:0:0:root:/root:/bin/bash
120
+ daemon:x:1:1:daemon:/usr/sbin:/bin/sh
121
+ bin:x:2:2:bin:/bin:/bin/sh
122
+ sys:x:3:3:sys:/dev:/bin/sh
123
+ sync:x:4:65534:sync:/bin:/bin/sync
124
+ games:x:5:60:games:/usr/games:/bin/sh
125
+ |====================================
126
+
127
+ .AsciiDoc source
128
+ ---------------------------------------------------------------------
129
+ [width="70%",format="dsv"]
130
+ |====================================
131
+ root:x:0:0:root:/root:/bin/bash
132
+ daemon:x:1:1:daemon:/usr/sbin:/bin/sh
133
+ bin:x:2:2:bin:/bin:/bin/sh
134
+ sys:x:3:3:sys:/dev:/bin/sh
135
+ sync:x:4:65534:sync:/bin:/bin/sync
136
+ games:x:5:60:games:/usr/games:/bin/sh
137
+ |====================================
138
+ ---------------------------------------------------------------------
139
+
140
+
141
+ Horizontal and vertical source data
142
+ -----------------------------------
143
+
144
+ Short cells can be entered horizontally, longer cells vertically. The
145
+ default behavior is to strip leading and trailing blank lines within a
146
+ cell. These characteristics aid readability and data entry.
147
+
148
+ .Windtrainer workouts
149
+ [width="80%",cols="3,^2,^2,10",options="header"]
150
+ |=========================================================
151
+ |Date |Duration |Avg HR |Notes
152
+
153
+ |22-Aug-08 |10:24 | 157 |
154
+ Worked out MSHR (max sustainable heart rate) by going hard
155
+ for this interval.
156
+
157
+ |22-Aug-08 |23:03 | 152 |
158
+ Back-to-back with previous interval.
159
+
160
+ |24-Aug-08 |40:00 | 145 |
161
+ Moderately hard interspersed with 3x 3min intervals (2min
162
+ hard + 1min really hard taking the HR up to 160).
163
+
164
+ |=========================================================
165
+
166
+ AsciiDoc source:
167
+
168
+ ---------------------------------------------------------------------
169
+ .Windtrainer workouts
170
+ [width="80%",cols="3,^2,^2,10",options="header"]
171
+ |=========================================================
172
+ |Date |Duration |Avg HR |Notes
173
+
174
+ |22-Aug-08 |10:24 | 157 |
175
+ Worked out MSHR (max sustainable heart rate) by going hard
176
+ for this interval.
177
+
178
+ |22-Aug-08 |23:03 | 152 |
179
+ Back-to-back with previous interval.
180
+
181
+ |24-Aug-08 |40:00 | 145 |
182
+ Moderately hard interspersed with 3x 3min intervals (2min
183
+ hard + 1min really hard taking the HR up to 160).
184
+
185
+ |=========================================================
186
+ ---------------------------------------------------------------------
187
+
188
+
189
+ Default and verse styles
190
+ ------------------------
191
+
192
+ [cols=",^v",options="header"]
193
+ |===================================
194
+ |Default paragraphs |Centered verses
195
+ 2*|Per id.
196
+
197
+ Consul *necessitatibus* per id,
198
+ consetetur, eu pro everti postulant
199
+ homero verear ea mea, qui.
200
+
201
+ Consul *necessitatibus* per id,
202
+ consetetur, eu pro everti postulant
203
+ homero verear ea mea, qui.
204
+ |===================================
205
+
206
+ .AsciiDoc source
207
+ ---------------------------------------------------------------------
208
+ [cols=",^v",options="header"]
209
+ |===================================
210
+ |Default paragraphs |Centered verses
211
+ 2*|Per id.
212
+
213
+ Consul *necessitatibus* per id,
214
+ consetetur, eu pro everti postulant
215
+ homero verear ea mea, qui.
216
+
217
+ Consul *necessitatibus* per id,
218
+ consetetur, eu pro everti postulant
219
+ homero verear ea mea, qui.
220
+ |===================================
221
+ ---------------------------------------------------------------------
222
+
223
+
224
+ AsciiDoc style in first column, Literal in second
225
+ -------------------------------------------------
226
+
227
+ [cols="asciidoc,literal",options="header",grid="cols"]
228
+ |==================================
229
+ |Output markup |AsciiDoc source
230
+ 2*|
231
+ Consul *necessitatibus* per id,
232
+ consetetur, eu pro everti postulant
233
+ homero verear ea mea, qui.
234
+
235
+ -----------------------------------
236
+ Consul *necessitatibus* per id,
237
+ consetetur, eu pro everti postulant
238
+ homero verear ea mea, qui.
239
+ -----------------------------------
240
+
241
+ .Code filter example
242
+ [source,python]
243
+ -----------------------------------
244
+ ''' A multi-line
245
+ comment.'''
246
+ def sub_word(mo):
247
+ ''' Single line comment.'''
248
+ word = mo.group('word')
249
+ if word in keywords[language]:
250
+ return quote + word + quote
251
+ else:
252
+ return word
253
+ -----------------------------------
254
+
255
+ - Lorem ipsum dolor sit amet,
256
+ consectetuer adipiscing elit.
257
+ * Fusce euismod commodo velit.
258
+ * Qui in magna commodo, est labitur
259
+ dolorum an. Est ne magna primis
260
+ adolescens. Sit munere ponderum
261
+ dignissim et. Minim luptatum et vel.
262
+ * Vivamus fringilla mi eu lacus.
263
+ * Donec eget arcu bibendum nunc
264
+ consequat lobortis.
265
+ - Nulla porttitor vulputate libero.
266
+ . Fusce euismod commodo velit.
267
+ . Vivamus fringilla mi eu lacus.
268
+
269
+ |==================================
270
+
271
+ .AsciiDoc source
272
+ ---------------------------------------------------------------------
273
+ [cols="asciidoc,literal",options="header",grid="cols"]
274
+ |==================================
275
+ |Output markup |AsciiDoc source
276
+ 2*|
277
+ Consul *necessitatibus* per id,
278
+ consetetur, eu pro everti postulant
279
+ homero verear ea mea, qui.
280
+
281
+ -----------------------------------
282
+ Consul *necessitatibus* per id,
283
+ consetetur, eu pro everti postulant
284
+ homero verear ea mea, qui.
285
+ -----------------------------------
286
+
287
+ .Code filter example
288
+ [source,python]
289
+ -----------------------------------
290
+ ''' A multi-line
291
+ comment.'''
292
+ def sub_word(mo):
293
+ ''' Single line comment.'''
294
+ word = mo.group('word')
295
+ if word in keywords[language]:
296
+ return quote + word + quote
297
+ else:
298
+ return word
299
+ -----------------------------------
300
+
301
+ - Lorem ipsum dolor sit amet,
302
+ consectetuer adipiscing elit.
303
+ * Fusce euismod commodo velit.
304
+ * Qui in magna commodo, est labitur
305
+ dolorum an. Est ne magna primis
306
+ adolescens. Sit munere ponderum
307
+ dignissim et. Minim luptatum et vel.
308
+ * Vivamus fringilla mi eu lacus.
309
+ * Donec eget arcu bibendum nunc
310
+ consequat lobortis.
311
+ - Nulla porttitor vulputate libero.
312
+ . Fusce euismod commodo velit.
313
+ . Vivamus fringilla mi eu lacus.
314
+
315
+ |==================================
316
+ ---------------------------------------------------------------------
317
+
318
+
319
+ Cell containing lots of example markup elements
320
+ -----------------------------------------------
321
+
322
+ |====================================================================
323
+ |'URLs':
324
+ http://www.methods.co.nz/asciidoc/[The AsciiDoc home page],
325
+ http://www.methods.co.nz/asciidoc/,
326
+ mailto:joe.bloggs@foobar.com[email Joe Bloggs],
327
+ joe.bloggs@foobar.com,
328
+ callto:joe.bloggs[].
329
+
330
+ 'Link': See <<X1,AsciiDoc source>>.
331
+
332
+ 'Emphasized text', *Strong text*, +Monospaced text+, ``Quoted text''.
333
+
334
+ 'Subscripts and superscripts': e^{amp}#960;i^+1 = 0. H~2~O and x^10^.
335
+ Some ^super text^ and ~some sub text~
336
+
337
+ 'Replacements': (C) copyright, (TM) trademark, (R) registered trademark,
338
+ -- em dash, ... ellipsis, -> right arrow, <- left arrow, => right
339
+ double arrow, <= left double arrow.
340
+ |====================================================================
341
+
342
+ [[X1]]
343
+ .AsciiDoc source
344
+ ---------------------------------------------------------------------
345
+ |====================================================================
346
+ |'URLs':
347
+ http://www.methods.co.nz/asciidoc/[The AsciiDoc home page],
348
+ http://www.methods.co.nz/asciidoc/,
349
+ mailto:joe.bloggs@foobar.com[email Joe Bloggs],
350
+ joe.bloggs@foobar.com,
351
+ callto:joe.bloggs[].
352
+
353
+ 'Link': See <<X1,AsciiDoc source>>.
354
+
355
+ 'Emphasized text', *Strong text*, +Monospaced text+, ``Quoted text''.
356
+
357
+ 'Subscripts and superscripts': e^{amp}#960;i^+1 = 0. H~2~O and x^10^.
358
+ Some ^super text^ and ~some sub text~
359
+
360
+ 'Replacements': (C) copyright, (TM) trademark, (R) registered trademark,
361
+ -- em dash, ... ellipsis, -> right arrow, <- left arrow, => right
362
+ double arrow, <= left double arrow.
363
+ |====================================================================
364
+ ---------------------------------------------------------------------
365
+
366
+
367
+ Nested table
368
+ ------------
369
+
370
+ [width="75%",cols="1,2a"]
371
+ |==============================================
372
+ |Normal cell
373
+
374
+ |Cell with nested table
375
+
376
+ [cols="2,1"]
377
+ !==============================================
378
+ !Nested table cell 1 !Nested table cell 2
379
+ !==============================================
380
+
381
+ |==============================================
382
+
383
+ .AsciiDoc source
384
+ ---------------------------------------------------------------------
385
+ [width="75%",cols="1,2a"]
386
+ |==============================================
387
+ |Normal cell
388
+
389
+ |Cell with nested table
390
+
391
+ [cols="2,1"]
392
+ !==============================================
393
+ !Nested table cell 1 !Nested table cell 2
394
+ !==============================================
395
+
396
+ |==============================================
397
+ ---------------------------------------------------------------------