mizuho 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +20 -0
- data/README.markdown +61 -0
- data/Rakefile +41 -0
- data/asciidoc/BUGS +39 -0
- data/asciidoc/BUGS.txt +32 -0
- data/asciidoc/CHANGELOG +1796 -0
- data/asciidoc/CHANGELOG.txt +1810 -0
- data/asciidoc/COPYING +339 -0
- data/asciidoc/COPYRIGHT +18 -0
- data/asciidoc/INSTALL +76 -0
- data/asciidoc/INSTALL.txt +71 -0
- data/asciidoc/Makefile.in +161 -0
- data/asciidoc/README +46 -0
- data/asciidoc/README.txt +36 -0
- data/asciidoc/a2x +674 -0
- data/asciidoc/asciidoc.conf +455 -0
- data/asciidoc/asciidoc.py +4998 -0
- data/asciidoc/common.aap +9 -0
- data/asciidoc/configure +2840 -0
- data/asciidoc/configure.ac +11 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +20 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +32 -0
- data/asciidoc/dblatex/dblatex-readme.txt +39 -0
- data/asciidoc/doc/a2x.1 +257 -0
- data/asciidoc/doc/a2x.1.txt +204 -0
- data/asciidoc/doc/article.css-embedded.html +602 -0
- data/asciidoc/doc/article.html +46 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +122 -0
- data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
- data/asciidoc/doc/asciidoc.1 +155 -0
- data/asciidoc/doc/asciidoc.1.css-embedded.html +598 -0
- data/asciidoc/doc/asciidoc.1.css.html +212 -0
- data/asciidoc/doc/asciidoc.1.html +190 -0
- data/asciidoc/doc/asciidoc.1.txt +118 -0
- data/asciidoc/doc/asciidoc.conf +8 -0
- data/asciidoc/doc/asciidoc.css-embedded.html +7853 -0
- data/asciidoc/doc/asciidoc.css.html +7416 -0
- data/asciidoc/doc/asciidoc.dict +733 -0
- data/asciidoc/doc/asciidoc.html +3339 -0
- data/asciidoc/doc/asciidoc.txt +4979 -0
- data/asciidoc/doc/asciimathml.txt +64 -0
- data/asciidoc/doc/book-multi.css-embedded.html +575 -0
- data/asciidoc/doc/book-multi.html +55 -0
- data/asciidoc/doc/book-multi.txt +155 -0
- data/asciidoc/doc/book.css-embedded.html +607 -0
- data/asciidoc/doc/book.html +43 -0
- data/asciidoc/doc/book.txt +131 -0
- data/asciidoc/doc/customers.csv +18 -0
- data/asciidoc/doc/docbook-xsl.css +272 -0
- data/asciidoc/doc/faq.txt +547 -0
- data/asciidoc/doc/latex-backend.html +117 -0
- data/asciidoc/doc/latex-backend.txt +191 -0
- data/asciidoc/doc/latexmath.txt +244 -0
- data/asciidoc/doc/latexmathml.txt +41 -0
- data/asciidoc/doc/main.aap +297 -0
- data/asciidoc/doc/music-filter.html +566 -0
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +158 -0
- data/asciidoc/doc/source-highlight-filter.html +214 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +203 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +43 -0
- data/asciidoc/docbook-xsl/chunked.xsl +19 -0
- data/asciidoc/docbook-xsl/common.xsl +67 -0
- data/asciidoc/docbook-xsl/fo.xsl +149 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
- data/asciidoc/docbook-xsl/manpage.xsl +31 -0
- data/asciidoc/docbook-xsl/text.xsl +50 -0
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
- data/asciidoc/docbook.conf +721 -0
- data/asciidoc/examples/website/ASCIIMathML.js +938 -0
- data/asciidoc/examples/website/CHANGELOG.html +4389 -0
- data/asciidoc/examples/website/CHANGELOG.txt +1810 -0
- data/asciidoc/examples/website/INSTALL.html +161 -0
- data/asciidoc/examples/website/INSTALL.txt +71 -0
- data/asciidoc/examples/website/LaTeXMathML.js +1223 -0
- data/asciidoc/examples/website/README-website.html +118 -0
- data/asciidoc/examples/website/README-website.txt +29 -0
- data/asciidoc/examples/website/README.html +125 -0
- data/asciidoc/examples/website/README.txt +36 -0
- data/asciidoc/examples/website/a2x.1.html +419 -0
- data/asciidoc/examples/website/a2x.1.txt +204 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +130 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +43 -0
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +130 -0
- data/asciidoc/examples/website/asciimathml.txt +64 -0
- data/asciidoc/examples/website/build-website.sh +25 -0
- data/asciidoc/examples/website/customers.csv +18 -0
- data/asciidoc/examples/website/downloads.html +257 -0
- data/asciidoc/examples/website/downloads.txt +121 -0
- data/asciidoc/examples/website/faq.html +673 -0
- data/asciidoc/examples/website/faq.txt +547 -0
- data/asciidoc/examples/website/index.html +419 -0
- data/asciidoc/examples/website/index.txt +245 -0
- data/asciidoc/examples/website/latex-backend.html +535 -0
- data/asciidoc/examples/website/latex-backend.txt +191 -0
- data/asciidoc/examples/website/latexmathml.txt +41 -0
- data/asciidoc/examples/website/layout1.conf +161 -0
- data/asciidoc/examples/website/layout1.css +65 -0
- data/asciidoc/examples/website/layout2.conf +158 -0
- data/asciidoc/examples/website/layout2.css +93 -0
- data/asciidoc/examples/website/manpage.html +266 -0
- data/asciidoc/examples/website/manpage.txt +118 -0
- data/asciidoc/examples/website/music-filter.html +242 -0
- data/asciidoc/examples/website/music-filter.txt +158 -0
- data/asciidoc/examples/website/music1.abc +12 -0
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +9 -0
- 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/sample1.png +0 -0
- data/asciidoc/examples/website/sample3.png +0 -0
- data/asciidoc/examples/website/sample4.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +286 -0
- data/asciidoc/examples/website/source-highlight-filter.txt +203 -0
- data/asciidoc/examples/website/support.html +78 -0
- data/asciidoc/examples/website/support.txt +5 -0
- data/asciidoc/examples/website/toc.js +69 -0
- data/asciidoc/examples/website/userguide.html +7460 -0
- data/asciidoc/examples/website/userguide.txt +4979 -0
- data/asciidoc/examples/website/version83.txt +37 -0
- data/asciidoc/examples/website/version9.html +143 -0
- data/asciidoc/examples/website/version9.txt +48 -0
- data/asciidoc/examples/website/xhtml11-manpage.css +18 -0
- data/asciidoc/examples/website/xhtml11-quirks.css +41 -0
- data/asciidoc/examples/website/xhtml11.css +328 -0
- data/asciidoc/filters/code/code-filter-readme.txt +37 -0
- data/asciidoc/filters/code/code-filter-test.txt +15 -0
- data/asciidoc/filters/code/code-filter.conf +8 -0
- data/asciidoc/filters/code/code-filter.py +239 -0
- data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +130 -0
- data/asciidoc/filters/graphviz/graphviz-filter.conf +39 -0
- data/asciidoc/filters/graphviz/graphviz2png.py +154 -0
- data/asciidoc/filters/music/music-filter-test.txt +40 -0
- data/asciidoc/filters/music/music-filter.conf +40 -0
- data/asciidoc/filters/music/music2png.py +189 -0
- data/asciidoc/filters/source/source-highlight-filter-test.txt +19 -0
- data/asciidoc/filters/source/source-highlight-filter.conf +108 -0
- data/asciidoc/help.conf +213 -0
- data/asciidoc/html4.conf +460 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/README +5 -0
- data/asciidoc/images/icons/callouts/1.png +0 -0
- data/asciidoc/images/icons/callouts/10.png +0 -0
- data/asciidoc/images/icons/callouts/11.png +0 -0
- data/asciidoc/images/icons/callouts/12.png +0 -0
- data/asciidoc/images/icons/callouts/13.png +0 -0
- data/asciidoc/images/icons/callouts/14.png +0 -0
- data/asciidoc/images/icons/callouts/15.png +0 -0
- data/asciidoc/images/icons/callouts/2.png +0 -0
- data/asciidoc/images/icons/callouts/3.png +0 -0
- data/asciidoc/images/icons/callouts/4.png +0 -0
- data/asciidoc/images/icons/callouts/5.png +0 -0
- data/asciidoc/images/icons/callouts/6.png +0 -0
- data/asciidoc/images/icons/callouts/7.png +0 -0
- data/asciidoc/images/icons/callouts/8.png +0 -0
- data/asciidoc/images/icons/callouts/9.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/home.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/next.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/prev.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/up.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/images/tiger.png +0 -0
- data/asciidoc/install-sh +201 -0
- data/asciidoc/javascripts/ASCIIMathML.js +938 -0
- data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
- data/asciidoc/javascripts/toc.js +69 -0
- data/asciidoc/lang-es.conf +15 -0
- data/asciidoc/latex.conf +663 -0
- data/asciidoc/stylesheets/docbook-xsl.css +272 -0
- data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +41 -0
- data/asciidoc/stylesheets/xhtml11.css +328 -0
- data/asciidoc/text.conf +16 -0
- data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
- data/asciidoc/vim/syntax/asciidoc.vim +165 -0
- data/asciidoc/wordpress.conf +48 -0
- data/asciidoc/xhtml11-quirks.conf +57 -0
- data/asciidoc/xhtml11.conf +645 -0
- data/bin/mizuho +47 -0
- data/bin/mizuho-asciidoc +4 -0
- data/lib/mizuho.rb +10 -0
- data/lib/mizuho/chapter.rb +54 -0
- data/lib/mizuho/generator.rb +134 -0
- data/lib/mizuho/heading.rb +46 -0
- data/lib/mizuho/parser.rb +103 -0
- data/lib/mizuho/source_highlight.rb +2 -0
- data/lib/mizuho/template.rb +50 -0
- data/source-highlight/ada.lang +38 -0
- data/source-highlight/bib.lang +6 -0
- data/source-highlight/bison.lang +3 -0
- data/source-highlight/c.lang +41 -0
- data/source-highlight/c_comment.lang +27 -0
- data/source-highlight/c_string.lang +9 -0
- data/source-highlight/caml.lang +16 -0
- data/source-highlight/changelog.lang +8 -0
- data/source-highlight/clike_vardeclaration.lang +4 -0
- data/source-highlight/cpp.lang +15 -0
- data/source-highlight/csharp.lang +36 -0
- data/source-highlight/css.lang +14 -0
- data/source-highlight/css_common.outlang +26 -0
- data/source-highlight/darwin/source-highlight +0 -0
- data/source-highlight/default.css +51 -0
- data/source-highlight/default.lang +8 -0
- data/source-highlight/default.style +57 -0
- data/source-highlight/desktop.lang +7 -0
- data/source-highlight/diff.lang +32 -0
- data/source-highlight/docbook.outlang +36 -0
- data/source-highlight/esc.outlang +46 -0
- data/source-highlight/esc.style +35 -0
- data/source-highlight/extreme_comment.lang +5 -0
- data/source-highlight/extreme_comment2.lang +5 -0
- data/source-highlight/extreme_comment3.lang +15 -0
- data/source-highlight/fixed-fortran.lang +5 -0
- data/source-highlight/flex.lang +37 -0
- data/source-highlight/fortran.lang +57 -0
- data/source-highlight/function.lang +2 -0
- data/source-highlight/glsl.lang +86 -0
- data/source-highlight/haxe.lang +7 -0
- data/source-highlight/html.lang +7 -0
- data/source-highlight/html.outlang +25 -0
- data/source-highlight/html_common.outlang +35 -0
- data/source-highlight/html_notfixed.outlang +22 -0
- data/source-highlight/html_ref.outlang +6 -0
- data/source-highlight/htmlcss.outlang +28 -0
- data/source-highlight/htmltable.outlang +14 -0
- data/source-highlight/htmltablelinenum.outlang +26 -0
- data/source-highlight/java.lang +26 -0
- data/source-highlight/javadoc.outlang +24 -0
- data/source-highlight/javascript.lang +27 -0
- data/source-highlight/key_string.lang +4 -0
- data/source-highlight/lang.map +108 -0
- data/source-highlight/langdef.lang +21 -0
- data/source-highlight/latex.lang +52 -0
- data/source-highlight/latex.outlang +59 -0
- data/source-highlight/latexcolor.outlang +44 -0
- data/source-highlight/ldap.lang +10 -0
- data/source-highlight/log.lang +53 -0
- data/source-highlight/logtalk.lang +85 -0
- data/source-highlight/lsm.lang +7 -0
- data/source-highlight/lua.lang +27 -0
- data/source-highlight/m4.lang +27 -0
- data/source-highlight/makefile.lang +42 -0
- data/source-highlight/nohilite.lang +2 -0
- data/source-highlight/number.lang +3 -0
- data/source-highlight/outlang.lang +16 -0
- data/source-highlight/outlang.map +12 -0
- data/source-highlight/pascal.lang +20 -0
- data/source-highlight/perl.lang +134 -0
- data/source-highlight/php.lang +25 -0
- data/source-highlight/postscript.lang +42 -0
- data/source-highlight/prolog.lang +37 -0
- data/source-highlight/properties.lang +7 -0
- data/source-highlight/python.lang +26 -0
- data/source-highlight/ruby.lang +32 -0
- data/source-highlight/scala.lang +31 -0
- data/source-highlight/script_comment.lang +3 -0
- data/source-highlight/sh.lang +38 -0
- data/source-highlight/slang.lang +25 -0
- data/source-highlight/sml.lang +5 -0
- data/source-highlight/source-highlight +24 -0
- data/source-highlight/spec.lang +12 -0
- data/source-highlight/sql.lang +46 -0
- data/source-highlight/style.defaults +15 -0
- data/source-highlight/style.lang +16 -0
- data/source-highlight/style2.style +10 -0
- data/source-highlight/style3.style +10 -0
- data/source-highlight/symbols.lang +2 -0
- data/source-highlight/tcl.lang +35 -0
- data/source-highlight/texinfo.outlang +34 -0
- data/source-highlight/texinfo.style +20 -0
- data/source-highlight/url.lang +3 -0
- data/source-highlight/xhtml.outlang +25 -0
- data/source-highlight/xhtml_common.outlang +8 -0
- data/source-highlight/xhtml_notfixed.outlang +16 -0
- data/source-highlight/xhtmlcss.outlang +19 -0
- data/source-highlight/xhtmltable.outlang +7 -0
- data/source-highlight/xml.lang +17 -0
- data/source-highlight/xorg.lang +10 -0
- data/templates/asciidoc.css +358 -0
- data/templates/asciidoc.html.erb +86 -0
- data/templates/manualsonrails.css +165 -0
- data/templates/manualsonrails.html.erb +97 -0
- data/test/generator_spec.rb +60 -0
- data/test/parser_spec.rb +239 -0
- data/test/spec_helper.rb +51 -0
- metadata +358 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
T:The Butterfly
|
2
|
+
R:slip jig
|
3
|
+
C:Tommy Potts
|
4
|
+
H:Fiddle player Tommy Potts made this tune from two older slip jigs,
|
5
|
+
H:one of which is called "Skin the Peelers" in Roche's collection.
|
6
|
+
H:This version by Peter Cooper.
|
7
|
+
D:Bothy Band: 1975.
|
8
|
+
M:9/8
|
9
|
+
K:Em
|
10
|
+
vB2(E G2)(E F3)|B2(E G2)(E F)ED|vB2(E G2)(E F3)|(B2d) d2(uB A)FD:|
|
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):|
|
Binary file
|
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
|
+
---------------------------------------------------------------------
|