FooBarWidget-mizuho 0.9.0
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 +68 -0
- data/Rakefile +9 -0
- data/asciidoc/BUGS +34 -0
- data/asciidoc/BUGS.txt +28 -0
- data/asciidoc/CHANGELOG +1585 -0
- data/asciidoc/CHANGELOG.txt +1595 -0
- data/asciidoc/COPYING +339 -0
- data/asciidoc/COPYRIGHT +18 -0
- data/asciidoc/INSTALL +82 -0
- data/asciidoc/INSTALL.txt +71 -0
- data/asciidoc/README +46 -0
- data/asciidoc/README.txt +36 -0
- data/asciidoc/a2x +641 -0
- data/asciidoc/asciidoc.conf +404 -0
- data/asciidoc/asciidoc.py +4255 -0
- data/asciidoc/common.aap +9 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +18 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +17 -0
- data/asciidoc/dblatex/dblatex-readme.txt +22 -0
- data/asciidoc/doc/a2x.1 +246 -0
- data/asciidoc/doc/a2x.1.txt +195 -0
- data/asciidoc/doc/article.css-embedded.html +579 -0
- data/asciidoc/doc/article.html +62 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +124 -0
- data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
- data/asciidoc/doc/asciidoc.1 +161 -0
- data/asciidoc/doc/asciidoc.1.css-embedded.html +562 -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 +7954 -0
- data/asciidoc/doc/asciidoc.css.html +7553 -0
- data/asciidoc/doc/asciidoc.dict +673 -0
- data/asciidoc/doc/asciidoc.html +3502 -0
- data/asciidoc/doc/asciidoc.txt +4757 -0
- data/asciidoc/doc/asciimath.txt +47 -0
- data/asciidoc/doc/book-multi.css-embedded.html +575 -0
- data/asciidoc/doc/book-multi.html +72 -0
- data/asciidoc/doc/book-multi.txt +159 -0
- data/asciidoc/doc/book.css-embedded.html +585 -0
- data/asciidoc/doc/book.html +60 -0
- data/asciidoc/doc/book.txt +133 -0
- data/asciidoc/doc/customers.csv +18 -0
- data/asciidoc/doc/faq.txt +262 -0
- data/asciidoc/doc/latex-backend.html +224 -0
- data/asciidoc/doc/latex-backend.txt +193 -0
- data/asciidoc/doc/latexmath.txt +35 -0
- data/asciidoc/doc/main.aap +293 -0
- data/asciidoc/doc/music-filter.html +513 -0
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +158 -0
- data/asciidoc/doc/source-highlight-filter.html +183 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +174 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +71 -0
- data/asciidoc/docbook-xsl/chunked.xsl +19 -0
- data/asciidoc/docbook-xsl/common.xsl +67 -0
- data/asciidoc/docbook-xsl/fo.xsl +117 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
- data/asciidoc/docbook-xsl/manpage.xsl +28 -0
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +32 -0
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
- data/asciidoc/docbook.conf +606 -0
- data/asciidoc/examples/website/CHANGELOG.html +3828 -0
- data/asciidoc/examples/website/INSTALL.html +163 -0
- data/asciidoc/examples/website/README-website.html +129 -0
- data/asciidoc/examples/website/README-website.txt +29 -0
- data/asciidoc/examples/website/README.html +125 -0
- data/asciidoc/examples/website/a2x.1.html +395 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +165 -0
- data/asciidoc/examples/website/asciimath.html +157 -0
- data/asciidoc/examples/website/build-website.sh +25 -0
- data/asciidoc/examples/website/downloads.html +219 -0
- data/asciidoc/examples/website/downloads.txt +98 -0
- data/asciidoc/examples/website/faq.html +372 -0
- data/asciidoc/examples/website/index.html +398 -0
- data/asciidoc/examples/website/index.txt +222 -0
- data/asciidoc/examples/website/latex-backend.html +640 -0
- data/asciidoc/examples/website/latexmath.html +119 -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/music-filter.html +242 -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/source-highlight-filter.html +251 -0
- data/asciidoc/examples/website/support.html +78 -0
- data/asciidoc/examples/website/support.txt +5 -0
- data/asciidoc/examples/website/userguide.html +7597 -0
- data/asciidoc/examples/website/version9.html +143 -0
- data/asciidoc/examples/website/version9.txt +48 -0
- data/asciidoc/filters/code-filter-readme.txt +37 -0
- data/asciidoc/filters/code-filter-test-c++.txt +7 -0
- data/asciidoc/filters/code-filter-test.txt +15 -0
- data/asciidoc/filters/code-filter.conf +8 -0
- data/asciidoc/filters/code-filter.py +239 -0
- data/asciidoc/filters/music-filter-test.txt +40 -0
- data/asciidoc/filters/music-filter.conf +40 -0
- data/asciidoc/filters/music2png.py +189 -0
- data/asciidoc/filters/source-highlight-filter-test.txt +19 -0
- data/asciidoc/filters/source-highlight-filter.conf +100 -0
- data/asciidoc/help.conf +213 -0
- data/asciidoc/html4.conf +363 -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 +55 -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/linuxdoc.conf +285 -0
- data/asciidoc/math.conf +50 -0
- data/asciidoc/stylesheets/docbook-xsl.css +271 -0
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +21 -0
- data/asciidoc/stylesheets/xhtml-deprecated.css +247 -0
- data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +49 -0
- data/asciidoc/stylesheets/xhtml11.css +284 -0
- data/asciidoc/t.conf +20 -0
- data/asciidoc/text.conf +16 -0
- data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
- data/asciidoc/vim/syntax/asciidoc.vim +139 -0
- data/asciidoc/xhtml-deprecated-css.conf +235 -0
- data/asciidoc/xhtml-deprecated.conf +351 -0
- data/asciidoc/xhtml11-quirks.conf +57 -0
- data/asciidoc/xhtml11.conf +514 -0
- data/bin/mizuho +40 -0
- data/lib/mizuho/chapter.rb +54 -0
- data/lib/mizuho/generator.rb +106 -0
- data/lib/mizuho/heading.rb +46 -0
- data/lib/mizuho/parser.rb +99 -0
- data/lib/mizuho/template.rb +50 -0
- data/mizuho.gemspec +34 -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/parser_spec.rb +190 -0
- data/test/spec_helper.rb +43 -0
- metadata +234 -0
@@ -0,0 +1,119 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<meta name="generator" content="AsciiDoc 8.2.7" />
|
7
|
+
<link rel="stylesheet" href="./xhtml11.css" type="text/css" />
|
8
|
+
<link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
|
9
|
+
<link rel="stylesheet" href="./layout1.css" type="text/css" />
|
10
|
+
<script type="text/javascript" src="./LaTeXMathML.js"></script>
|
11
|
+
<title>LaTeXMathML Formulae</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="layout-banner">
|
15
|
+
<div id="layout-title">AsciiDoc</div>
|
16
|
+
<div id="layout-description">Text based document generation</div>
|
17
|
+
</div>
|
18
|
+
<table>
|
19
|
+
<tr valign="top">
|
20
|
+
<td id="layout-menu">
|
21
|
+
<div>»<a href="index.html">Home</a></div>
|
22
|
+
<div>»<a href="manpage.html">Man Page</a></div>
|
23
|
+
<div>»<a href="userguide.html">User Guide</a></div>
|
24
|
+
<div>»<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
|
25
|
+
<div>»<a href="a2x.1.html">a2x</a></div>
|
26
|
+
<div>»<a href="README.html">README</a></div>
|
27
|
+
<div>»<a href="CHANGELOG.html">ChangeLog</a></div>
|
28
|
+
<div>»<a href="INSTALL.html">Installation</a></div>
|
29
|
+
<div>»<a href="downloads.html">Downloads</a></div>
|
30
|
+
<div>»<a href="faq.html">FAQ</a></div>
|
31
|
+
<div>»<a href="support.html">Support</a></div>
|
32
|
+
<div id="page-source">»<a href="latexmath.txt">Page Source</a></div>
|
33
|
+
</td>
|
34
|
+
<td>
|
35
|
+
<div id="layout-content">
|
36
|
+
<div id="header">
|
37
|
+
<h1>LaTeXMathML Formulae</h1>
|
38
|
+
</div>
|
39
|
+
<div id="preamble">
|
40
|
+
<div class="sectionbody">
|
41
|
+
<div class="para"><p><a href="http://www.maths.nottingham.ac.uk/personal/drw/lm.html">LaTeXMathML</a>
|
42
|
+
capability has been added to <em>AsciiDoc</em> for users who are more familar
|
43
|
+
with or prefer LaTeX math formulas to the
|
44
|
+
<a href="http://www.methods.co.nz/asciidoc/asciimath.html">ASCIIMathML</a>
|
45
|
+
notation.</p></div>
|
46
|
+
<div class="para"><p><em>LaTeXMathML</em> is a derivative of
|
47
|
+
<a href="http://www.methods.co.nz/asciidoc/asciimath.html">ASCIIMathML</a> — in
|
48
|
+
terms of usage the only difference it that you use the <tt>latexmath</tt>
|
49
|
+
attribute instead of the <tt>asciimath</tt> attribute.</p></div>
|
50
|
+
<div class="para"><p>Here's the <a href="latexmath.txt"><em>AsciiDoc</em> source</a> that generated this
|
51
|
+
page.</p></div>
|
52
|
+
<div class="para"><p>Some example <em>LaTeXMathML</em> formulas:</p></div>
|
53
|
+
<div class="ilist"><ul>
|
54
|
+
<li>
|
55
|
+
<p>
|
56
|
+
<span>$R_x = 10.0 \times \sin(R_\phi)$</span>
|
57
|
+
</p>
|
58
|
+
</li>
|
59
|
+
<li>
|
60
|
+
<p>
|
61
|
+
<span style="font-size: 2em;"><span>$\sum_{n=1}^\infty \frac{1}{2^n}$</span></span>
|
62
|
+
</p>
|
63
|
+
</li>
|
64
|
+
<li>
|
65
|
+
<p>
|
66
|
+
<span>$\lim_{x\to\infty} f(x) = k \choose r + \frac ab \sum_{n=1}^\infty
|
67
|
+
a_n + \displaystyle{ \left\{ \frac{1}{13} \sum_{n=1}^\infty b_n
|
68
|
+
\right\} }$</span>
|
69
|
+
</p>
|
70
|
+
</li>
|
71
|
+
<li>
|
72
|
+
<p>
|
73
|
+
<span>$\$\alpha + \$\beta = \$(\alpha + \beta)$</span>
|
74
|
+
</p>
|
75
|
+
</li>
|
76
|
+
<li>
|
77
|
+
<p>
|
78
|
+
<span>$\begin{eqnarray} x & = & \frac{-7 \pm \sqrt{49 - 24}}{6} \\ & = &
|
79
|
+
-2 \textrm{ or } -\frac13. \end{eqnarray}$</span>
|
80
|
+
</p>
|
81
|
+
</li>
|
82
|
+
<li>
|
83
|
+
<p>
|
84
|
+
<span>$\displaystyle{ V_i = C_0 - C_3
|
85
|
+
\frac{C_1\cos(\theta_i+C_3)}{C_4+C_1\cos(\theta_i+C_2)} }$</span>
|
86
|
+
</p>
|
87
|
+
</li>
|
88
|
+
</ul></div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
<div id="footer">
|
92
|
+
<div id="footer-text">
|
93
|
+
Version 8.2.7<br />
|
94
|
+
Last updated 2008-07-04 23:29:28 NZDT
|
95
|
+
</div>
|
96
|
+
<div id="footer-badges">
|
97
|
+
<a href="http://validator.w3.org/check?uri=referer">
|
98
|
+
<img style="border:none; width:88px; height:31px;"
|
99
|
+
src="http://www.w3.org/Icons/valid-xhtml11"
|
100
|
+
alt="Valid XHTML 1.1!" />
|
101
|
+
</a>
|
102
|
+
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
103
|
+
<img style="border:none; width:88px; height:31px;"
|
104
|
+
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
105
|
+
alt="Valid CSS!" />
|
106
|
+
</a>
|
107
|
+
<a href="http://www.mozilla.org/products/firefox/">
|
108
|
+
<img style="border:none; width:110px; height:32px;"
|
109
|
+
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
|
110
|
+
alt="Get Firefox!" />
|
111
|
+
</a>
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
</table>
|
118
|
+
</body>
|
119
|
+
</html>
|
@@ -0,0 +1,161 @@
|
|
1
|
+
#
|
2
|
+
# AsciiDoc website.
|
3
|
+
# Three division table based layout (layout1).
|
4
|
+
#
|
5
|
+
# +-----------------------------------------------------+
|
6
|
+
# | #layout-banner |
|
7
|
+
# +--------------+--------------------------------------+
|
8
|
+
# | | |
|
9
|
+
# | | |
|
10
|
+
# | #layout-menu | #layout-content |
|
11
|
+
# | | |
|
12
|
+
# | | |
|
13
|
+
# | | |
|
14
|
+
# +--------------+--------------------------------------+
|
15
|
+
#
|
16
|
+
# - The #layout-menu and #layout-content divisions are contained in a
|
17
|
+
# two cell table.
|
18
|
+
# I would be nice to use pure CSS for the layout but the table is better for
|
19
|
+
# this layout because:
|
20
|
+
#
|
21
|
+
# * The column widths automatically size to fit column width (specifically
|
22
|
+
# the #layout-menu)
|
23
|
+
# * The column heights automatically size to the tallest.
|
24
|
+
#
|
25
|
+
# - The #layout-content division is a container for AsciiDoc page documents.
|
26
|
+
# - Documents rendered in the #layout-content use the standard AsciiDoc
|
27
|
+
# xhtml11 backend stylesheets.
|
28
|
+
|
29
|
+
[specialwords]
|
30
|
+
emphasizedwords=(?u)\\?\bAsciiDoc\b
|
31
|
+
monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
|
32
|
+
|
33
|
+
[header]
|
34
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
35
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
36
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
37
|
+
<head>
|
38
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
|
39
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
40
|
+
ifdef::index-only[]
|
41
|
+
<meta name="description" content="Text based document generation" />
|
42
|
+
<meta name="keywords" content="text to HTML, text to DocBook, text to XML, AsciiDoc" />
|
43
|
+
endif::index-only[]
|
44
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
|
45
|
+
{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
|
46
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
|
47
|
+
<link rel="stylesheet" href="{stylesdir=.}/layout1.css" type="text/css" />
|
48
|
+
ifdef::toc[]
|
49
|
+
<script type="text/javascript">
|
50
|
+
/*<![CDATA[*/
|
51
|
+
window.onload = function()\{generateToc({toclevels=2})\}
|
52
|
+
/*]]>*/
|
53
|
+
</script>
|
54
|
+
<script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
|
55
|
+
endif::toc[]
|
56
|
+
ifdef::asciimath[]
|
57
|
+
<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
|
58
|
+
endif::asciimath[]
|
59
|
+
ifdef::latexmath[]
|
60
|
+
<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
|
61
|
+
endif::latexmath[]
|
62
|
+
<title>{doctitle}</title>
|
63
|
+
</head>
|
64
|
+
<body>
|
65
|
+
<div id="layout-banner">
|
66
|
+
<div id="layout-title">AsciiDoc</div>
|
67
|
+
<div id="layout-description">Text based document generation</div>
|
68
|
+
</div>
|
69
|
+
<table>
|
70
|
+
<tr valign="top">
|
71
|
+
<td id="layout-menu">
|
72
|
+
<div>»<a href="index.html">Home</a></div>
|
73
|
+
<div>»<a href="manpage.html">Man Page</a></div>
|
74
|
+
<div>»<a href="userguide.html">User Guide</a></div>
|
75
|
+
<div>»<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
|
76
|
+
<div>»<a href="a2x.1.html">a2x</a></div>
|
77
|
+
<div>»<a href="README.html">README</a></div>
|
78
|
+
<div>»<a href="CHANGELOG.html">ChangeLog</a></div>
|
79
|
+
<div>»<a href="INSTALL.html">Installation</a></div>
|
80
|
+
<div>»<a href="downloads.html">Downloads</a></div>
|
81
|
+
<div>»<a href="faq.html">FAQ</a></div>
|
82
|
+
<div>»<a href="support.html">Support</a></div>
|
83
|
+
<div id="page-source">»<a href="{eval:os.path.basename('{infile}')}">Page Source</a></div>
|
84
|
+
</td>
|
85
|
+
<td>
|
86
|
+
<div id="layout-content">
|
87
|
+
# Article, book header.
|
88
|
+
ifndef::doctype-manpage[]
|
89
|
+
<div id="header">
|
90
|
+
<h1>{doctitle}</h1>
|
91
|
+
<span id="author">{author}</span><br />
|
92
|
+
<span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
|
93
|
+
{authored}<span id="revision">version {revision}{date?,}</span>
|
94
|
+
{authored}{date}
|
95
|
+
</div>
|
96
|
+
ifdef::toc[]
|
97
|
+
<div id="toc">
|
98
|
+
<div id="toctitle">Table of Contents</div>
|
99
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
100
|
+
</div>
|
101
|
+
endif::toc[]
|
102
|
+
endif::doctype-manpage[]
|
103
|
+
# Man page header.
|
104
|
+
ifdef::doctype-manpage[]
|
105
|
+
<div id="header">
|
106
|
+
<h1>
|
107
|
+
{doctitle} Manual Page
|
108
|
+
</h1>
|
109
|
+
ifdef::toc[]
|
110
|
+
<div id="toc">
|
111
|
+
<div id="toctitle">Table of Contents</div>
|
112
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
113
|
+
</div>
|
114
|
+
endif::toc[]
|
115
|
+
<h2>NAME</h2>
|
116
|
+
<div class="sectionbody">
|
117
|
+
<p>{manname} -
|
118
|
+
{manpurpose}
|
119
|
+
</p>
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
endif::doctype-manpage[]
|
123
|
+
|
124
|
+
[footer]
|
125
|
+
<div id="footer">
|
126
|
+
<div id="footer-text">
|
127
|
+
Version {revision}<br />
|
128
|
+
Last updated {localdate} {localtime}
|
129
|
+
</div>
|
130
|
+
ifdef::badges[]
|
131
|
+
<div id="footer-badges">
|
132
|
+
ifdef::textonly[]
|
133
|
+
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
|
134
|
+
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
|
135
|
+
endif::textonly[]
|
136
|
+
ifndef::textonly[]
|
137
|
+
<a href="http://validator.w3.org/check?uri=referer">
|
138
|
+
<img style="border:none; width:88px; height:31px;"
|
139
|
+
src="http://www.w3.org/Icons/valid-xhtml11"
|
140
|
+
alt="Valid XHTML 1.1!" />
|
141
|
+
</a>
|
142
|
+
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
143
|
+
<img style="border:none; width:88px; height:31px;"
|
144
|
+
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
145
|
+
alt="Valid CSS!" />
|
146
|
+
</a>
|
147
|
+
<a href="http://www.mozilla.org/products/firefox/">
|
148
|
+
<img style="border:none; width:110px; height:32px;"
|
149
|
+
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
|
150
|
+
alt="Get Firefox!" />
|
151
|
+
</a>
|
152
|
+
endif::textonly[]
|
153
|
+
</div>
|
154
|
+
endif::badges[]
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
</table>
|
160
|
+
</body>
|
161
|
+
</html>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
body {
|
2
|
+
background-color: white;
|
3
|
+
margin: 1%;
|
4
|
+
}
|
5
|
+
|
6
|
+
h1 {
|
7
|
+
margin-top: 0.5em;
|
8
|
+
}
|
9
|
+
|
10
|
+
#layout-banner {
|
11
|
+
background-color: #73a0c5;
|
12
|
+
color: white;
|
13
|
+
font-family: sans-serif;
|
14
|
+
text-align: left;
|
15
|
+
padding: 0.8em 20px;
|
16
|
+
}
|
17
|
+
|
18
|
+
#layout-title {
|
19
|
+
font-family: monospace;
|
20
|
+
font-size: 3.5em;
|
21
|
+
font-weight: bold;
|
22
|
+
letter-spacing: 0.2em;
|
23
|
+
margin: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
#layout-description {
|
27
|
+
font-size: 1.2em;
|
28
|
+
letter-spacing: 0.1em;
|
29
|
+
}
|
30
|
+
|
31
|
+
#layout-menu {
|
32
|
+
background-color: #f4f4f4;
|
33
|
+
border-right: 3px solid #eeeeee;
|
34
|
+
padding-top: 0.8em;
|
35
|
+
padding-left: 20px;
|
36
|
+
padding-right: 0.8em;
|
37
|
+
font-size: 1.1em;
|
38
|
+
font-family: sans-serif;
|
39
|
+
font-weight: bold;
|
40
|
+
}
|
41
|
+
#layout-menu a {
|
42
|
+
line-height: 2em;
|
43
|
+
margin-left: 0.5em;
|
44
|
+
}
|
45
|
+
#layout-menu a:link, #layout-menu a:visited, #layout-menu a:hover {
|
46
|
+
color: #527bbd;
|
47
|
+
text-decoration: none;
|
48
|
+
}
|
49
|
+
#layout-menu a:hover {
|
50
|
+
color: navy;
|
51
|
+
text-decoration: none;
|
52
|
+
}
|
53
|
+
#layout-menu #page-source {
|
54
|
+
border-top: 2px solid silver;
|
55
|
+
margin-top: 0.2em;
|
56
|
+
}
|
57
|
+
|
58
|
+
#layout-content {
|
59
|
+
margin-left: 1.0em;
|
60
|
+
}
|
61
|
+
|
62
|
+
@media print {
|
63
|
+
#layout-banner { display: none; }
|
64
|
+
#layout-menu { display: none; }
|
65
|
+
}
|
@@ -0,0 +1,158 @@
|
|
1
|
+
#
|
2
|
+
# AsciiDoc website.
|
3
|
+
# Three division CSS based layout (layout2).
|
4
|
+
#
|
5
|
+
# Simulated frames using CSS (fixed banner and menu, scrolling content).
|
6
|
+
# NOTE: This layout does not work with IE6.
|
7
|
+
#
|
8
|
+
# +-----------------------------------------------------+
|
9
|
+
# | #layout-banner |
|
10
|
+
# +--------------+--------------------------------------+
|
11
|
+
# | | |
|
12
|
+
# | | |
|
13
|
+
# | #layout-menu | #layout-content |
|
14
|
+
# | | |
|
15
|
+
# | | |
|
16
|
+
# | | |
|
17
|
+
# +--------------+--------------------------------------+
|
18
|
+
#
|
19
|
+
# Each of the three divisions is enclosed in a same-named *-box division
|
20
|
+
# which position and size the layout.
|
21
|
+
#
|
22
|
+
# - The #layout-content division is a container for AsciiDoc page documents.
|
23
|
+
# - Documents rendered in the #layout-content use the standard AsciiDoc
|
24
|
+
# xhtml11 backend stylesheets.
|
25
|
+
|
26
|
+
[specialwords]
|
27
|
+
emphasizedwords=(?u)\\?\bAsciiDoc\b
|
28
|
+
monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
|
29
|
+
|
30
|
+
[header]
|
31
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
32
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
33
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
34
|
+
<head>
|
35
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
|
36
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
37
|
+
ifdef::index-only[]
|
38
|
+
<meta name="description" content="Text based document generation" />
|
39
|
+
<meta name="keywords" content="text to HTML, text to DocBook, text to XML, AsciiDoc" />
|
40
|
+
endif::index-only[]
|
41
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
|
42
|
+
{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
|
43
|
+
ifdef::quirks[]
|
44
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
|
45
|
+
endif::quirks[]
|
46
|
+
<link rel="stylesheet" href="{stylesdir=.}/layout2.css" type="text/css" />
|
47
|
+
ifdef::toc[]
|
48
|
+
<script type="text/javascript">
|
49
|
+
/*<![CDATA[*/
|
50
|
+
window.onload = function()\{generateToc({toclevels=2})\}
|
51
|
+
/*]]>*/
|
52
|
+
</script>
|
53
|
+
<script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
|
54
|
+
endif::toc[]
|
55
|
+
ifdef::asciimath[]
|
56
|
+
<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
|
57
|
+
endif::asciimath[]
|
58
|
+
ifdef::latexmath[]
|
59
|
+
<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
|
60
|
+
endif::latexmath[]
|
61
|
+
<title>{doctitle}</title>
|
62
|
+
</head>
|
63
|
+
<body>
|
64
|
+
<div id="layout-banner-box">
|
65
|
+
<div id="layout-banner">
|
66
|
+
<div id="layout-title">AsciiDoc</div>
|
67
|
+
<div id="layout-description">Text based document generation</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
<div id="layout-menu-box">
|
71
|
+
<div id="layout-menu">
|
72
|
+
<div>»<a href="index.html">Home</a></div>
|
73
|
+
<div>»<a href="manpage.html">Man Page</a></div>
|
74
|
+
<div>»<a href="userguide.html">User Guide</a></div>
|
75
|
+
<div>»<a href="a2x.1.html">a2x</a></div>
|
76
|
+
<div>»<a href="README.html">README</a></div>
|
77
|
+
<div>»<a href="CHANGELOG.html">ChangeLog</a></div>
|
78
|
+
<div>»<a href="downloads.html">Downloads</a></div>
|
79
|
+
<div>»<a href="faq.html">FAQ</a></div>
|
80
|
+
<div>»<a href="support.html">Support</a></div>
|
81
|
+
<div id="page-source">»<a href="{eval:os.path.basename('{infile}')}">Page Source</a></div>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
<div id="layout-content-box">
|
85
|
+
<div id="layout-content">
|
86
|
+
# Article, book header.
|
87
|
+
ifndef::doctype-manpage[]
|
88
|
+
<div id="header">
|
89
|
+
<h1>{doctitle}</h1>
|
90
|
+
<span id="author">{author}</span><br />
|
91
|
+
<span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
|
92
|
+
{authored}<span id="revision">version {revision}{date?,}</span>
|
93
|
+
{authored}{date}
|
94
|
+
</div>
|
95
|
+
ifdef::toc[]
|
96
|
+
<div id="toc">
|
97
|
+
<div id="toctitle">Table of Contents</div>
|
98
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
99
|
+
</div>
|
100
|
+
endif::toc[]
|
101
|
+
endif::doctype-manpage[]
|
102
|
+
# Man page header.
|
103
|
+
ifdef::doctype-manpage[]
|
104
|
+
<div id="header">
|
105
|
+
<h1>
|
106
|
+
{doctitle} Manual Page
|
107
|
+
</h1>
|
108
|
+
ifdef::toc[]
|
109
|
+
<div id="toc">
|
110
|
+
<div id="toctitle">Table of Contents</div>
|
111
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
112
|
+
</div>
|
113
|
+
endif::toc[]
|
114
|
+
<h2>NAME</h2>
|
115
|
+
<div class="sectionbody">
|
116
|
+
<p>{manname} -
|
117
|
+
{manpurpose}
|
118
|
+
</p>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
endif::doctype-manpage[]
|
122
|
+
|
123
|
+
[footer]
|
124
|
+
<div id="footer">
|
125
|
+
<div id="footer-text">
|
126
|
+
Version {revision}<br />
|
127
|
+
Last updated {localdate} {localtime}
|
128
|
+
</div>
|
129
|
+
ifdef::badges[]
|
130
|
+
<div id="footer-badges">
|
131
|
+
ifdef::textonly[]
|
132
|
+
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
|
133
|
+
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
|
134
|
+
endif::textonly[]
|
135
|
+
ifndef::textonly[]
|
136
|
+
<a href="http://validator.w3.org/check?uri=referer">
|
137
|
+
<img style="border:none; width:88px; height:31px;"
|
138
|
+
src="http://www.w3.org/Icons/valid-xhtml11"
|
139
|
+
alt="Valid XHTML 1.1!" />
|
140
|
+
</a>
|
141
|
+
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
142
|
+
<img style="border:none; width:88px; height:31px;"
|
143
|
+
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
144
|
+
alt="Valid CSS!" />
|
145
|
+
</a>
|
146
|
+
<a href="http://www.mozilla.org/products/firefox/">
|
147
|
+
<img style="border:none; width:110px; height:32px;"
|
148
|
+
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
|
149
|
+
alt="Get Firefox!" />
|
150
|
+
</a>
|
151
|
+
endif::textonly[]
|
152
|
+
</div>
|
153
|
+
endif::badges[]
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</body>
|
158
|
+
</html>
|