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,43 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Book Title Goes Here</title><link rel="stylesheet" href="./docbook-xsl.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /></head><body><div class="book" lang="en" xml:lang="en"><div class="titlepage"><div><div><h1 class="title"><a id="id2425213"></a>Book Title Goes Here</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Author's</span> <span class="surname">Name</span></h3></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr><tr><td align="left">Revision 1.0</td><td align="left">Dec 2003</td><td align="left">AN</td></tr></table></div></div></div><hr /></div><div class="dedication" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_dedication"></a>Dedication</h2></div></div></div><p>Optional dedication.</p><p>This document is an <span class="emphasis"><em>AsciiDoc</em></span> book skeleton containing briefly
|
3
|
+
annotated example elements plus a couple of example index entries and
|
4
|
+
footnotes.</p><p>Books are normally used to generate DocBook markup and the titles of
|
5
|
+
the preface, appendix, bibliography, glossary and index sections are
|
6
|
+
significant (<span class="emphasis"><em>specialsections</em></span>).</p></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="#_preface">Preface</a></span></dt><dd><dl><dt><span class="section"><a href="#_preface_sub_section">1. Preface Sub-section</a></span></dt></dl></dd><dt><span class="chapter"><a href="#_the_first_chapter">1. The First Chapter</a></span></dt><dd><dl><dt><span class="section"><a href="#X1">1.1. Sub-section with Anchor</a></span></dt><dd><dl><dt><span class="section"><a href="#_chapter_sub_section">1.1.1. Chapter Sub-section</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#_the_second_chapter">2. The Second Chapter</a></span></dt><dt><span class="chapter"><a href="#_the_third_chapter">3. The Third Chapter</a></span></dt><dt><span class="appendix"><a href="#_example_appendix">A. Example Appendix</a></span></dt><dd><dl><dt><span class="section"><a href="#_appendix_sub_section">A.1. Appendix Sub-section</a></span></dt></dl></dd><dt><span class="bibliography"><a href="#_bibliography">Bibliography</a></span></dt><dt><span class="glossary"><a href="#_glossary">Glossary</a></span></dt><dt><span class="index"><a href="#_index">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>1.1. <a href="#id2477575">Tiger block image</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="#id2477601">An example table</a></dt></dl></div><div class="preface" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_preface"></a>Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#_preface_sub_section">1. Preface Sub-section</a></span></dt></dl></div><p>Optional preface.</p><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_preface_sub_section"></a>1. Preface Sub-section</h2></div></div></div><p>Preface sub-section body.</p></div></div><div class="chapter" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_the_first_chapter"></a>Chapter 1. The First Chapter</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#X1">1.1. Sub-section with Anchor</a></span></dt><dd><dl><dt><span class="section"><a href="#_chapter_sub_section">1.1.1. Chapter Sub-section</a></span></dt></dl></dd></dl></div><p>Chapters can contain sub-sections nested up to three deep.
|
7
|
+
<sup>[<a id="id2518172" href="#ftn.id2518172" class="footnote">1</a>]</sup>
|
8
|
+
<a id="id2518176" class="indexterm"></a></p><p>Chapters can have their own bibliography, glossary and index.</p><p>And now for something completely different: <a id="id2477454" class="indexterm"></a>monkeys, lions and
|
9
|
+
tigers (Bengal and Siberian) using the alternative syntax index
|
10
|
+
entries.
|
11
|
+
<a id="id2477463" class="indexterm"></a>
|
12
|
+
<a id="id2477475" class="indexterm"></a>
|
13
|
+
<a id="id2477484" class="indexterm"></a>
|
14
|
+
<a id="id2477498" class="indexterm"></a>
|
15
|
+
<a id="id2477509" class="indexterm"></a>
|
16
|
+
<a id="id2477518" class="indexterm"></a>
|
17
|
+
<a id="id2477532" class="indexterm"></a>
|
18
|
+
<a id="id2477543" class="indexterm"></a>
|
19
|
+
Note that multi-entry terms generate separate index entries.</p><p>Here are a couple of image examples: an <span class="inlinemediaobject"><img src="images/smallnew.png" alt="images/smallnew.png" /></span>
|
20
|
+
example inline image followed by an example block image:</p><div class="figure"><a id="id2477575"></a><p class="title"><b>Figure 1.1. Tiger block image</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/tiger.png" alt="Tiger image" /></div></div></div><br class="figure-break" /><p>Followed by an example table:</p><div class="table"><a id="id2477601"></a><p class="title"><b>Table 1.1. An example table</b></p><div class="table-contents"><table summary="An example table" cellpadding="4px" style="border-collapse: collapse;border-top: 2px solid #527bbd; border-bottom: 2px solid #527bbd; border-left: 2px solid #527bbd; border-right: 2px solid #527bbd; "><colgroup><col align="left" /><col align="left" /></colgroup><thead valign="top"><tr><th style="border-right: 1px solid ; border-bottom: 1px solid ; " align="left" valign="top"> Option </th><th style="border-bottom: 1px solid ; " align="left" valign="top"> Description</th></tr></thead><tbody valign="top"><tr><td style="border-right: 1px solid ; border-bottom: 1px solid ; " align="left" valign="top"><p>-a <span class="emphasis"><em>USER GROUP</em></span></p></td><td style="border-bottom: 1px solid ; " align="left" valign="top"><p>Add <span class="emphasis"><em>USER</em></span> to <span class="emphasis"><em>GROUP</em></span>.</p></td></tr><tr><td style="border-right: 1px solid ; " align="left" valign="top"><p>-R <span class="emphasis"><em>GROUP</em></span></p></td><td style="" align="left" valign="top"><p>Disables access to <span class="emphasis"><em>GROUP</em></span>.</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="X1"></a>1.1. Sub-section with Anchor</h2></div></div></div><p>Sub-section at level 2.</p><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="_chapter_sub_section"></a>1.1.1. Chapter Sub-section</h3></div></div></div><p>Sub-section at level 3.</p><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="_chapter_sub_section_2"></a>1.1.1.1. Chapter Sub-section</h4></div></div></div><p>Sub-section at level 4.</p><p>This is the maximum sub-section depth supported by the distributed
|
21
|
+
<span class="emphasis"><em>AsciiDoc</em></span> configuration.
|
22
|
+
<sup>[<a id="id2477784" href="#ftn.id2477784" class="footnote">2</a>]</sup></p></div></div></div><div class="footnotes"><br /><hr width="100" align="left" /><div class="footnote"><p><sup>[<a id="ftn.id2518172" href="#id2518172" class="simpara">1</a>] </sup>An example footnote.</p></div><div class="footnote"><p><sup>[<a id="ftn.id2477784" href="#id2477784" class="simpara">2</a>] </sup>A second example footnote.</p></div></div></div><div class="chapter" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_the_second_chapter"></a>Chapter 2. The Second Chapter</h2></div></div></div><p>An example link to anchor at start of the <a class="link" href="#X1" title="1.1. Sub-section with Anchor">first sub-section</a>.
|
23
|
+
<a id="id2477912" class="indexterm"></a></p><p>An example link to a bibliography entry <a class="xref" href="#taoup">[taoup]</a>.</p></div><div class="chapter" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_the_third_chapter"></a>Chapter 3. The Third Chapter</h2></div></div></div><p>Book chapters are at level 1 and can contain sub-sections.</p></div><div class="appendix" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_example_appendix"></a>Appendix A. Example Appendix</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#_appendix_sub_section">A.1. Appendix Sub-section</a></span></dt></dl></div><p>One or more optional appendixes go here at section level 1.</p><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_appendix_sub_section"></a>A.1. Appendix Sub-section</h2></div></div></div><p>Sub-section body.</p></div></div><div class="bibliography"><div class="titlepage"><div><div><h2 class="title"><a id="_bibliography"></a>Bibliography</h2></div></div></div><p>The bibliography list is a style of <span class="emphasis"><em>AsciiDoc</em></span> bulleted list.</p><div class="bibliomixed"><a id="id2478223"></a><p class="bibliomixed">
|
24
|
+
<span class="bibliomisc">
|
25
|
+
<a id="taoup"></a>[taoup] Eric Steven Raymond. <span class="emphasis"><em>The Art of Unix
|
26
|
+
Programming</em></span>. Addison-Wesley. ISBN 0-13-142901-9.
|
27
|
+
</span>
|
28
|
+
</p></div><div class="bibliomixed"><a id="id2478242"></a><p class="bibliomixed">
|
29
|
+
<span class="bibliomisc">
|
30
|
+
<a id="walsh-muellner"></a>[walsh-muellner] Norman Walsh & Leonard Muellner.
|
31
|
+
<span class="emphasis"><em>DocBook - The Definitive Guide</em></span>. O’Reilly & Associates. 1999.
|
32
|
+
ISBN 1-56592-580-7.
|
33
|
+
</span>
|
34
|
+
</p></div></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a id="_glossary"></a>Glossary</h2></div></div></div><p>Glossaries are optional. Glossaries entries are an example of a style
|
35
|
+
of <span class="emphasis"><em>AsciiDoc</em></span> labeled lists.</p><dl><dt>
|
36
|
+
A glossary term
|
37
|
+
</dt><dd><p>
|
38
|
+
The corresponding (indented) definition.
|
39
|
+
</p></dd><dt>
|
40
|
+
A second glossary term
|
41
|
+
</dt><dd><p>
|
42
|
+
The corresponding (indented) definition.
|
43
|
+
</p></dd></dl></div><div class="index"><div class="titlepage"><div><div><h2 class="title"><a id="_index"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>B</h3><dl><dt>Bengal Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt><dt>Big cats</dt><dd><dl><dt>Lions, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt><dt>Tigers</dt><dd><dl><dt>Bengal Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt><dt>Siberian Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></dd></dl></dd></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>Example index entry, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></div><div class="indexdiv"><h3>L</h3><dl><dt>Lions, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>monkeys, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></div><div class="indexdiv"><h3>S</h3><dl><dt>Second example index entry, <a class="indexterm" href="#_the_second_chapter">The Second Chapter</a></dt><dt>Siberian Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></div><div class="indexdiv"><h3>T</h3><dl><dt>Tigers</dt><dd><dl><dt>Bengal Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt><dt>Siberian Tiger, <a class="indexterm" href="#_the_first_chapter">The First Chapter</a></dt></dl></dd></dl></div></div></div></div></body></html>
|
@@ -0,0 +1,131 @@
|
|
1
|
+
Book Title Goes Here
|
2
|
+
====================
|
3
|
+
Author's Name
|
4
|
+
v1.0, Dec 2003
|
5
|
+
|
6
|
+
|
7
|
+
Dedication
|
8
|
+
----------
|
9
|
+
Optional dedication.
|
10
|
+
|
11
|
+
This document is an AsciiDoc book skeleton containing briefly
|
12
|
+
annotated example elements plus a couple of example index entries and
|
13
|
+
footnotes.
|
14
|
+
|
15
|
+
Books are normally used to generate DocBook markup and the titles of
|
16
|
+
the preface, appendix, bibliography, glossary and index sections are
|
17
|
+
significant ('specialsections').
|
18
|
+
|
19
|
+
|
20
|
+
Preface
|
21
|
+
-------
|
22
|
+
Optional preface.
|
23
|
+
|
24
|
+
Preface Sub-section
|
25
|
+
~~~~~~~~~~~~~~~~~~~
|
26
|
+
Preface sub-section body.
|
27
|
+
|
28
|
+
|
29
|
+
The First Chapter
|
30
|
+
-----------------
|
31
|
+
Chapters can contain sub-sections nested up to three deep.
|
32
|
+
footnote:[An example footnote.]
|
33
|
+
indexterm:[Example index entry]
|
34
|
+
|
35
|
+
Chapters can have their own bibliography, glossary and index.
|
36
|
+
|
37
|
+
And now for something completely different: ((monkeys)), lions and
|
38
|
+
tigers (Bengal and Siberian) using the alternative syntax index
|
39
|
+
entries.
|
40
|
+
(((Big cats,Lions)))
|
41
|
+
(((Big cats,Tigers,Bengal Tiger)))
|
42
|
+
(((Big cats,Tigers,Siberian Tiger)))
|
43
|
+
Note that multi-entry terms generate separate index entries.
|
44
|
+
|
45
|
+
Here are a couple of image examples: an image:images/smallnew.png[]
|
46
|
+
example inline image followed by an example block image:
|
47
|
+
|
48
|
+
.Tiger block image
|
49
|
+
image::images/tiger.png[Tiger image]
|
50
|
+
|
51
|
+
Followed by an example table:
|
52
|
+
|
53
|
+
.An example table
|
54
|
+
[width="60%",options="header"]
|
55
|
+
|==============================================
|
56
|
+
| Option | Description
|
57
|
+
| -a 'USER GROUP' | Add 'USER' to 'GROUP'.
|
58
|
+
| -R 'GROUP' | Disables access to 'GROUP'.
|
59
|
+
|==============================================
|
60
|
+
|
61
|
+
[[X1]]
|
62
|
+
Sub-section with Anchor
|
63
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
64
|
+
Sub-section at level 2.
|
65
|
+
|
66
|
+
Chapter Sub-section
|
67
|
+
^^^^^^^^^^^^^^^^^^^
|
68
|
+
Sub-section at level 3.
|
69
|
+
|
70
|
+
Chapter Sub-section
|
71
|
+
+++++++++++++++++++
|
72
|
+
Sub-section at level 4.
|
73
|
+
|
74
|
+
This is the maximum sub-section depth supported by the distributed
|
75
|
+
AsciiDoc configuration.
|
76
|
+
footnote:[A second example footnote.]
|
77
|
+
|
78
|
+
|
79
|
+
The Second Chapter
|
80
|
+
------------------
|
81
|
+
An example link to anchor at start of the <<X1,first sub-section>>.
|
82
|
+
indexterm:[Second example index entry]
|
83
|
+
|
84
|
+
An example link to a bibliography entry <<taoup>>.
|
85
|
+
|
86
|
+
|
87
|
+
The Third Chapter
|
88
|
+
-----------------
|
89
|
+
Book chapters are at level 1 and can contain sub-sections.
|
90
|
+
|
91
|
+
|
92
|
+
Appendix A: Example Appendix
|
93
|
+
----------------------------
|
94
|
+
One or more optional appendixes go here at section level 1.
|
95
|
+
|
96
|
+
Appendix Sub-section
|
97
|
+
~~~~~~~~~~~~~~~~~~~
|
98
|
+
Sub-section body.
|
99
|
+
|
100
|
+
|
101
|
+
Bibliography
|
102
|
+
------------
|
103
|
+
The bibliography list is a style of AsciiDoc bulleted list.
|
104
|
+
|
105
|
+
[bibliography]
|
106
|
+
- [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
|
107
|
+
Programming'. Addison-Wesley. ISBN 0-13-142901-9.
|
108
|
+
- [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
|
109
|
+
'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
|
110
|
+
ISBN 1-56592-580-7.
|
111
|
+
|
112
|
+
|
113
|
+
Glossary
|
114
|
+
--------
|
115
|
+
Glossaries are optional. Glossaries entries are an example of a style
|
116
|
+
of AsciiDoc labeled lists.
|
117
|
+
|
118
|
+
[glossary]
|
119
|
+
A glossary term::
|
120
|
+
The corresponding (indented) definition.
|
121
|
+
|
122
|
+
A second glossary term::
|
123
|
+
The corresponding (indented) definition.
|
124
|
+
|
125
|
+
|
126
|
+
Index
|
127
|
+
-----
|
128
|
+
////////////////////////////////////////////////////////////////
|
129
|
+
The index is normally left completely empty, it's contents being
|
130
|
+
generated automatically by the DocBook toolchain.
|
131
|
+
////////////////////////////////////////////////////////////////
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"AROUT","Around the Horn","Thomas Hardy","120 Hanover Sq.
|
2
|
+
London","(171) 555-7788"
|
3
|
+
"BERGS","Berglunds snabbkop","Christina Berglund","Berguvsvagen 8
|
4
|
+
Lulea","0921-12 34 65"
|
5
|
+
"BLAUS","Blauer See Delikatessen","Hanna Moos","Forsterstr. 57
|
6
|
+
Mannheim","0621-08460"
|
7
|
+
"BLONP","Blondel pere et fils","Frederique Citeaux","24, place Kleber
|
8
|
+
Strasbourg","88.60.15.31"
|
9
|
+
"BOLID","Bolido Comidas preparadas","Martin Sommer","C/ Araquil, 67
|
10
|
+
Madrid","(91) 555 22 82"
|
11
|
+
"BONAP","Bon app'","Laurence Lebihan","12, rue des Bouchers
|
12
|
+
Marseille","91.24.45.40"
|
13
|
+
"BOTTM","Bottom-Dollar Markets","Elizabeth Lincoln","23 Tsawassen Blvd.
|
14
|
+
Tsawassen","(604) 555-4729"
|
15
|
+
"BSBEV","B's Beverages","Victoria Ashworth","Fauntleroy Circus
|
16
|
+
London","(171) 555-1212"
|
17
|
+
"CACTU","Cactus Comidas para llevar","Patricio Simpson","Cerrito 333
|
18
|
+
Buenos Aires","(1) 135-5555"
|
@@ -0,0 +1,272 @@
|
|
1
|
+
/*
|
2
|
+
CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
|
3
|
+
Tested with XSL stylesheets 1.61.2, 1.67.2
|
4
|
+
*/
|
5
|
+
|
6
|
+
span.strong {
|
7
|
+
font-weight: bold;
|
8
|
+
}
|
9
|
+
|
10
|
+
body blockquote {
|
11
|
+
margin-top: .75em;
|
12
|
+
line-height: 1.5;
|
13
|
+
margin-bottom: .75em;
|
14
|
+
}
|
15
|
+
|
16
|
+
html body {
|
17
|
+
margin: 1em 5% 1em 5%;
|
18
|
+
line-height: 1.2;
|
19
|
+
}
|
20
|
+
|
21
|
+
body div {
|
22
|
+
margin: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
h1, h2, h3, h4, h5, h6,
|
26
|
+
div.toc p b,
|
27
|
+
div.list-of-figures p b,
|
28
|
+
div.list-of-tables p b,
|
29
|
+
div.abstract p.title
|
30
|
+
{
|
31
|
+
color: #527bbd;
|
32
|
+
font-family: tahoma, verdana, sans-serif;
|
33
|
+
}
|
34
|
+
|
35
|
+
div.toc p:first-child,
|
36
|
+
div.list-of-figures p:first-child,
|
37
|
+
div.list-of-tables p:first-child,
|
38
|
+
div.example p.title
|
39
|
+
{
|
40
|
+
margin-bottom: 0.2em;
|
41
|
+
}
|
42
|
+
|
43
|
+
body h1 {
|
44
|
+
margin: .0em 0 0 -4%;
|
45
|
+
line-height: 1.3;
|
46
|
+
border-bottom: 2px solid silver;
|
47
|
+
}
|
48
|
+
|
49
|
+
body h2 {
|
50
|
+
margin: 0.5em 0 0 -4%;
|
51
|
+
line-height: 1.3;
|
52
|
+
border-bottom: 2px solid silver;
|
53
|
+
}
|
54
|
+
|
55
|
+
body h3 {
|
56
|
+
margin: .8em 0 0 -3%;
|
57
|
+
line-height: 1.3;
|
58
|
+
}
|
59
|
+
|
60
|
+
body h4 {
|
61
|
+
margin: .8em 0 0 -3%;
|
62
|
+
line-height: 1.3;
|
63
|
+
}
|
64
|
+
|
65
|
+
body h5 {
|
66
|
+
margin: .8em 0 0 -2%;
|
67
|
+
line-height: 1.3;
|
68
|
+
}
|
69
|
+
|
70
|
+
body h6 {
|
71
|
+
margin: .8em 0 0 -1%;
|
72
|
+
line-height: 1.3;
|
73
|
+
}
|
74
|
+
|
75
|
+
body hr {
|
76
|
+
border: none; /* Broken on IE6 */
|
77
|
+
}
|
78
|
+
div.footnotes hr {
|
79
|
+
border: 1px solid silver;
|
80
|
+
}
|
81
|
+
|
82
|
+
div.navheader th, div.navheader td, div.navfooter td {
|
83
|
+
font-family: sans-serif;
|
84
|
+
font-size: 0.9em;
|
85
|
+
font-weight: bold;
|
86
|
+
color: #527bbd;
|
87
|
+
}
|
88
|
+
div.navheader img, div.navfooter img {
|
89
|
+
border-style: none;
|
90
|
+
}
|
91
|
+
div.navheader a, div.navfooter a {
|
92
|
+
font-weight: normal;
|
93
|
+
}
|
94
|
+
div.navfooter hr {
|
95
|
+
border: 1px solid silver;
|
96
|
+
}
|
97
|
+
|
98
|
+
body td {
|
99
|
+
line-height: 1.2
|
100
|
+
}
|
101
|
+
|
102
|
+
body th {
|
103
|
+
line-height: 1.2;
|
104
|
+
}
|
105
|
+
|
106
|
+
ol {
|
107
|
+
line-height: 1.2;
|
108
|
+
}
|
109
|
+
|
110
|
+
ul, body dir, body menu {
|
111
|
+
line-height: 1.2;
|
112
|
+
}
|
113
|
+
|
114
|
+
html {
|
115
|
+
margin: 0;
|
116
|
+
padding: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
body h1, body h2, body h3, body h4, body h5, body h6 {
|
120
|
+
margin-left: 0
|
121
|
+
}
|
122
|
+
|
123
|
+
body pre {
|
124
|
+
margin: 0.5em 10% 0.5em 1em;
|
125
|
+
line-height: 1.0;
|
126
|
+
color: navy;
|
127
|
+
}
|
128
|
+
|
129
|
+
tt.literal, code.literal {
|
130
|
+
color: navy;
|
131
|
+
}
|
132
|
+
|
133
|
+
.programlisting, .screen {
|
134
|
+
border: 1px solid silver;
|
135
|
+
background: #f4f4f4;
|
136
|
+
margin: 0.5em 10% 0.5em 0;
|
137
|
+
padding: 0.5em 1em;
|
138
|
+
}
|
139
|
+
|
140
|
+
div.sidebar {
|
141
|
+
background: #ffffee;
|
142
|
+
margin: 1.0em 10% 0.5em 0;
|
143
|
+
padding: 0.5em 1em;
|
144
|
+
border: 1px solid silver;
|
145
|
+
}
|
146
|
+
div.sidebar * { padding: 0; }
|
147
|
+
div.sidebar div { margin: 0; }
|
148
|
+
div.sidebar p.title {
|
149
|
+
font-family: sans-serif;
|
150
|
+
margin-top: 0.5em;
|
151
|
+
margin-bottom: 0.2em;
|
152
|
+
}
|
153
|
+
|
154
|
+
div.bibliomixed {
|
155
|
+
margin: 0.5em 5% 0.5em 1em;
|
156
|
+
}
|
157
|
+
|
158
|
+
div.glossary dt {
|
159
|
+
font-weight: bold;
|
160
|
+
}
|
161
|
+
div.glossary dd p {
|
162
|
+
margin-top: 0.2em;
|
163
|
+
}
|
164
|
+
|
165
|
+
dl {
|
166
|
+
margin: .8em 0;
|
167
|
+
line-height: 1.2;
|
168
|
+
}
|
169
|
+
|
170
|
+
dt {
|
171
|
+
margin-top: 0.5em;
|
172
|
+
}
|
173
|
+
|
174
|
+
dt span.term {
|
175
|
+
font-style: normal;
|
176
|
+
color: navy;
|
177
|
+
}
|
178
|
+
|
179
|
+
div.variablelist dd p {
|
180
|
+
margin-top: 0;
|
181
|
+
}
|
182
|
+
|
183
|
+
div.itemizedlist li, div.orderedlist li {
|
184
|
+
margin-left: -0.8em;
|
185
|
+
margin-top: 0.5em;
|
186
|
+
}
|
187
|
+
|
188
|
+
ul, ol {
|
189
|
+
list-style-position: outside;
|
190
|
+
}
|
191
|
+
|
192
|
+
div.sidebar ul, div.sidebar ol {
|
193
|
+
margin-left: 2.8em;
|
194
|
+
}
|
195
|
+
|
196
|
+
div.itemizedlist p.title,
|
197
|
+
div.orderedlist p.title,
|
198
|
+
div.variablelist p.title
|
199
|
+
{
|
200
|
+
margin-bottom: -0.8em;
|
201
|
+
}
|
202
|
+
|
203
|
+
div.revhistory table {
|
204
|
+
border-collapse: collapse;
|
205
|
+
border: none;
|
206
|
+
}
|
207
|
+
div.revhistory th {
|
208
|
+
border: none;
|
209
|
+
color: #527bbd;
|
210
|
+
font-family: tahoma, verdana, sans-serif;
|
211
|
+
}
|
212
|
+
div.revhistory td {
|
213
|
+
border: 1px solid silver;
|
214
|
+
}
|
215
|
+
|
216
|
+
/* Keep TOC and index lines close together. */
|
217
|
+
div.toc dl, div.toc dt,
|
218
|
+
div.list-of-figures dl, div.list-of-figures dt,
|
219
|
+
div.list-of-tables dl, div.list-of-tables dt,
|
220
|
+
div.indexdiv dl, div.indexdiv dt
|
221
|
+
{
|
222
|
+
line-height: normal;
|
223
|
+
margin-top: 0;
|
224
|
+
margin-bottom: 0;
|
225
|
+
}
|
226
|
+
|
227
|
+
/*
|
228
|
+
Table styling does not work because of overriding attributes in
|
229
|
+
generated HTML.
|
230
|
+
*/
|
231
|
+
div.table table,
|
232
|
+
div.informaltable table
|
233
|
+
{
|
234
|
+
margin-left: 0;
|
235
|
+
margin-right: 5%;
|
236
|
+
margin-bottom: 0.8em;
|
237
|
+
}
|
238
|
+
div.informaltable table
|
239
|
+
{
|
240
|
+
margin-top: 0.4em
|
241
|
+
}
|
242
|
+
div.table thead,
|
243
|
+
div.table tfoot,
|
244
|
+
div.table tbody,
|
245
|
+
div.informaltable thead,
|
246
|
+
div.informaltable tfoot,
|
247
|
+
div.informaltable tbody
|
248
|
+
{
|
249
|
+
/* No effect in IE6. */
|
250
|
+
border-top: 2px solid #527bbd;
|
251
|
+
border-bottom: 2px solid #527bbd;
|
252
|
+
}
|
253
|
+
div.table thead, div.table tfoot,
|
254
|
+
div.informaltable thead, div.informaltable tfoot
|
255
|
+
{
|
256
|
+
font-weight: bold;
|
257
|
+
}
|
258
|
+
|
259
|
+
div.mediaobject img {
|
260
|
+
border: 1px solid silver;
|
261
|
+
margin-bottom: 0.8em;
|
262
|
+
}
|
263
|
+
div.figure p.title,
|
264
|
+
div.table p.title
|
265
|
+
{
|
266
|
+
margin-top: 1em;
|
267
|
+
margin-bottom: 0.4em;
|
268
|
+
}
|
269
|
+
|
270
|
+
@media print {
|
271
|
+
div.navheader, div.navfooter { display: none; }
|
272
|
+
}
|