mizuho 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -2
- data/Rakefile +0 -37
- data/asciidoc/BUGS +9 -18
- data/asciidoc/BUGS.txt +5 -14
- data/asciidoc/CHANGELOG +1433 -266
- data/asciidoc/CHANGELOG.txt +2821 -1810
- data/asciidoc/COPYING +339 -339
- data/asciidoc/COPYRIGHT +18 -18
- data/asciidoc/INSTALL +189 -30
- data/asciidoc/INSTALL.txt +175 -19
- data/asciidoc/MANIFEST +88 -0
- data/asciidoc/Makefile.in +29 -13
- data/asciidoc/README +16 -17
- data/asciidoc/README.txt +35 -36
- data/asciidoc/a2x.py +902 -0
- data/asciidoc/asciidoc.conf +610 -455
- data/asciidoc/asciidoc.py +1965 -1061
- data/asciidoc/asciidocapi.py +257 -0
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +1170 -1023
- data/asciidoc/configure.ac +1 -1
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
- data/asciidoc/doc/a2x.1 +559 -102
- data/asciidoc/doc/a2x.1.txt +233 -91
- data/asciidoc/doc/article-docinfo.xml +87 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +139 -122
- data/asciidoc/doc/asciidoc.1 +157 -46
- data/asciidoc/doc/asciidoc.1.txt +171 -118
- data/asciidoc/doc/asciidoc.conf +7 -8
- data/asciidoc/doc/asciidoc.dict +960 -635
- data/asciidoc/doc/asciidoc.txt +2335 -1464
- data/asciidoc/doc/asciidocapi.txt +189 -0
- data/asciidoc/doc/asciimathml.txt +14 -17
- data/asciidoc/doc/book-multi.txt +181 -155
- data/asciidoc/doc/book.epub +0 -0
- data/asciidoc/doc/book.txt +156 -131
- data/asciidoc/doc/customers.csv +18 -18
- data/asciidoc/doc/epub-notes.txt +210 -0
- data/asciidoc/doc/faq.txt +1122 -547
- data/asciidoc/doc/latex-backend.txt +192 -191
- data/asciidoc/doc/latex-bugs.txt +134 -0
- data/asciidoc/doc/latex-filter.pdf +0 -0
- data/asciidoc/doc/latex-filter.txt +196 -0
- data/asciidoc/doc/latexmath.txt +13 -136
- data/asciidoc/doc/latexmathml.txt +2 -2
- data/asciidoc/doc/main.aap +233 -297
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +55 -65
- data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
- data/asciidoc/doc/slidy-example.txt +167 -0
- data/asciidoc/doc/slidy.txt +113 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +45 -20
- data/asciidoc/doc/testasciidoc.txt +231 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
- data/asciidoc/docbook-xsl/chunked.xsl +17 -19
- data/asciidoc/docbook-xsl/common.xsl +106 -67
- data/asciidoc/docbook-xsl/epub.xsl +35 -0
- data/asciidoc/docbook-xsl/fo.xsl +3 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
- data/asciidoc/docbook-xsl/manpage.xsl +31 -31
- data/asciidoc/docbook-xsl/text.xsl +6 -1
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
- data/asciidoc/docbook45.conf +759 -0
- data/asciidoc/filters/code/code-filter-readme.txt +37 -37
- data/asciidoc/filters/code/code-filter-test.txt +15 -15
- data/asciidoc/filters/code/code-filter.conf +8 -8
- data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
- data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
- data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
- data/asciidoc/filters/latex/latex-filter.conf +18 -0
- data/asciidoc/filters/latex/latex2png.py +216 -0
- data/asciidoc/filters/music/music-filter.conf +8 -17
- data/asciidoc/filters/music/music2png.py +40 -32
- data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
- data/asciidoc/help.conf +261 -96
- data/asciidoc/html4.conf +505 -460
- data/asciidoc/html5.conf +686 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/javascripts/asciidoc.js +189 -0
- data/asciidoc/javascripts/slidy.js +2845 -0
- data/asciidoc/javascripts/toc.js +8 -0
- data/asciidoc/lang-de.conf +57 -0
- data/asciidoc/lang-en.conf +54 -0
- data/asciidoc/lang-es.conf +49 -9
- data/asciidoc/lang-fr.conf +59 -0
- data/asciidoc/lang-hu.conf +55 -0
- data/asciidoc/lang-it.conf +55 -0
- data/asciidoc/lang-nl.conf +57 -0
- data/asciidoc/lang-pt-BR.conf +56 -0
- data/asciidoc/lang-ru.conf +60 -0
- data/asciidoc/lang-uk.conf +60 -0
- data/asciidoc/latex.conf +700 -663
- data/asciidoc/main.aap +77 -0
- data/asciidoc/slidy.conf +136 -0
- data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
- data/asciidoc/stylesheets/asciidoc.css +508 -0
- data/asciidoc/stylesheets/docbook-xsl.css +322 -272
- data/asciidoc/stylesheets/flask-manpage.css +1 -0
- data/asciidoc/stylesheets/flask.css +584 -0
- data/asciidoc/stylesheets/pygments.css +66 -0
- data/asciidoc/stylesheets/slidy.css +445 -0
- data/asciidoc/stylesheets/toc2.css +33 -0
- data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
- data/asciidoc/stylesheets/volnitsky.css +435 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
- data/asciidoc/tests/asciidocapi.py +257 -0
- data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
- data/asciidoc/tests/data/filters-test.txt +90 -0
- data/asciidoc/tests/data/lang-de-test.txt +106 -0
- data/asciidoc/tests/data/lang-en-test.txt +114 -0
- data/asciidoc/tests/data/lang-es-test.txt +106 -0
- data/asciidoc/tests/data/lang-fr-test.txt +106 -0
- data/asciidoc/tests/data/lang-hu-test.txt +106 -0
- data/asciidoc/tests/data/lang-nl-test.txt +94 -0
- data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
- data/asciidoc/tests/data/lang-ru-test.txt +106 -0
- data/asciidoc/tests/data/lang-uk-test.txt +106 -0
- data/asciidoc/tests/data/oldtables.txt +64 -0
- data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
- data/asciidoc/tests/data/testcases.conf +2 -0
- data/asciidoc/tests/data/testcases.txt +740 -0
- data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
- data/asciidoc/tests/data/utf8-examples.txt +217 -0
- data/asciidoc/tests/testasciidoc.conf +520 -0
- data/asciidoc/tests/testasciidoc.py +411 -0
- data/asciidoc/text.conf +16 -16
- data/asciidoc/vim/syntax/asciidoc.vim +99 -91
- data/asciidoc/wordpress.conf +43 -3
- data/asciidoc/xhtml11-quirks.conf +61 -57
- data/asciidoc/xhtml11.conf +684 -645
- data/lib/mizuho.rb +2 -0
- data/lib/mizuho/generator.rb +2 -2
- data/test/generator_spec.rb +1 -1
- data/test/parser_spec.rb +1 -1
- data/test/spec_helper.rb +3 -4
- metadata +87 -88
- data/asciidoc/a2x +0 -674
- data/asciidoc/doc/article.css-embedded.html +0 -602
- data/asciidoc/doc/article.html +0 -46
- data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
- data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
- data/asciidoc/doc/asciidoc.1.css.html +0 -212
- data/asciidoc/doc/asciidoc.1.html +0 -190
- data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
- data/asciidoc/doc/asciidoc.css.html +0 -7416
- data/asciidoc/doc/asciidoc.html +0 -3339
- data/asciidoc/doc/book-multi.css-embedded.html +0 -575
- data/asciidoc/doc/book-multi.html +0 -55
- data/asciidoc/doc/book.css-embedded.html +0 -607
- data/asciidoc/doc/book.html +0 -43
- data/asciidoc/doc/docbook-xsl.css +0 -272
- data/asciidoc/doc/latex-backend.html +0 -117
- data/asciidoc/doc/music-filter.html +0 -566
- data/asciidoc/doc/source-highlight-filter.html +0 -214
- data/asciidoc/docbook.conf +0 -721
- data/asciidoc/examples/website/ASCIIMathML.js +0 -938
- data/asciidoc/examples/website/CHANGELOG.html +0 -4389
- data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
- data/asciidoc/examples/website/INSTALL.html +0 -161
- data/asciidoc/examples/website/INSTALL.txt +0 -71
- data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
- data/asciidoc/examples/website/README-website.html +0 -118
- data/asciidoc/examples/website/README-website.txt +0 -29
- data/asciidoc/examples/website/README.html +0 -125
- data/asciidoc/examples/website/README.txt +0 -36
- data/asciidoc/examples/website/a2x.1.html +0 -419
- data/asciidoc/examples/website/a2x.1.txt +0 -204
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
- data/asciidoc/examples/website/asciimathml.txt +0 -64
- data/asciidoc/examples/website/build-website.sh +0 -25
- data/asciidoc/examples/website/customers.csv +0 -18
- data/asciidoc/examples/website/downloads.html +0 -257
- data/asciidoc/examples/website/downloads.txt +0 -121
- data/asciidoc/examples/website/faq.html +0 -673
- data/asciidoc/examples/website/faq.txt +0 -547
- data/asciidoc/examples/website/index.html +0 -419
- data/asciidoc/examples/website/index.txt +0 -245
- data/asciidoc/examples/website/latex-backend.html +0 -535
- data/asciidoc/examples/website/latex-backend.txt +0 -191
- data/asciidoc/examples/website/latexmathml.txt +0 -41
- data/asciidoc/examples/website/layout1.conf +0 -161
- data/asciidoc/examples/website/layout1.css +0 -65
- data/asciidoc/examples/website/layout2.conf +0 -158
- data/asciidoc/examples/website/layout2.css +0 -93
- data/asciidoc/examples/website/manpage.html +0 -266
- data/asciidoc/examples/website/manpage.txt +0 -118
- data/asciidoc/examples/website/music-filter.html +0 -242
- data/asciidoc/examples/website/music-filter.txt +0 -158
- data/asciidoc/examples/website/music1.abc +0 -12
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +0 -9
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +0 -40
- data/asciidoc/examples/website/newtables.txt +0 -397
- 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 +0 -286
- data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
- data/asciidoc/examples/website/support.html +0 -78
- data/asciidoc/examples/website/support.txt +0 -5
- data/asciidoc/examples/website/toc.js +0 -69
- data/asciidoc/examples/website/userguide.html +0 -7460
- data/asciidoc/examples/website/userguide.txt +0 -4979
- data/asciidoc/examples/website/version83.txt +0 -37
- data/asciidoc/examples/website/version9.html +0 -143
- data/asciidoc/examples/website/version9.txt +0 -48
- data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
- data/asciidoc/examples/website/xhtml11.css +0 -328
- data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
- data/asciidoc/stylesheets/xhtml11.css +0 -328
data/asciidoc/main.aap
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
#####################################################################
|
2
|
+
#
|
3
|
+
# A-A-P file for making AsciiDoc distribution.
|
4
|
+
# (you can obtain A-A-P from http://www.a-a-p.org)
|
5
|
+
#
|
6
|
+
# Stuart Rackham <srackham@gmail.com>
|
7
|
+
#####################################################################
|
8
|
+
|
9
|
+
:execute ./common.aap
|
10
|
+
|
11
|
+
all: distribution
|
12
|
+
|
13
|
+
vers:
|
14
|
+
:print Version: $VERS (released $DATE)
|
15
|
+
|
16
|
+
vers_update:
|
17
|
+
# Propagate version number in common.aap to other versioned files.
|
18
|
+
:syseval grep "$$VERSION = '$(VERS)'" asciidoc.py | :assign dummy
|
19
|
+
@if exit != 0:
|
20
|
+
:print updating version numbers...
|
21
|
+
@for (fname,match) in (('asciidoc.py',r'^VERSION = '),('a2x.py',r'^VERSION = '),('configure.ac',r'^AC_INIT\(.*\)')):
|
22
|
+
:sys sed '/$match/ s/[0-9.][0-9.a-zA-Z_]\+/$VERS/' <$fname >$(fname).tmp
|
23
|
+
:sys mv -f $(fname).tmp $fname
|
24
|
+
@if fname in ('asciidoc.py','a2x.py'):
|
25
|
+
:sys chmod +x $fname
|
26
|
+
|
27
|
+
tags:
|
28
|
+
:sys rm -f tags
|
29
|
+
:sys ctags asciidoc.py asciidocapi.py tests/testasciidoc.py
|
30
|
+
|
31
|
+
docs:
|
32
|
+
:execute ./doc/main.aap
|
33
|
+
|
34
|
+
website:
|
35
|
+
:execute ./examples/website/main.aap
|
36
|
+
|
37
|
+
distribution: vers_update docs website
|
38
|
+
NAME = asciidoc-$(VERS)
|
39
|
+
# Make configure script.
|
40
|
+
:sys autoconf
|
41
|
+
:sys ln -s . $(NAME)
|
42
|
+
# Make tarball of all files in MANIFEST.
|
43
|
+
:sys tar -czf $(NAME).tar.gz \
|
44
|
+
``sed s:^:$(NAME)/: MANIFEST``
|
45
|
+
# Make zip file.
|
46
|
+
ZIP = `program_path("zip")`
|
47
|
+
@if ZIP:
|
48
|
+
:sys rm -f $(NAME).zip
|
49
|
+
:sys ls ``sed s:^:$(NAME)/: MANIFEST`` | $ZIP $(NAME).zip -@
|
50
|
+
# Zip files don't know about symlinks so just duplicate the
|
51
|
+
# files.
|
52
|
+
:sys $ZIP $(NAME).zip \
|
53
|
+
$(NAME)/doc/images/tiger.png \
|
54
|
+
$(NAME)/doc/images/smallnew.png \
|
55
|
+
$(NAME)/doc/images/icons/README \
|
56
|
+
$(NAME)/doc/images/icons/*.png \
|
57
|
+
$(NAME)/doc/images/icons/callouts/*.png \
|
58
|
+
$(NAME)/examples/website/images/tiger.png \
|
59
|
+
$(NAME)/examples/website/images/highlighter.png \
|
60
|
+
$(NAME)/examples/website/images/smallnew.png \
|
61
|
+
$(NAME)/examples/website/images/icons/README \
|
62
|
+
$(NAME)/examples/website/images/icons/*.png \
|
63
|
+
$(NAME)/examples/website/images/icons/callouts/*.png
|
64
|
+
:sys rm -f $(NAME)
|
65
|
+
@else:
|
66
|
+
:print WARNING: zip(1) unavailable, skipping zip file creation
|
67
|
+
:sys rm -f $(NAME)
|
68
|
+
|
69
|
+
test:
|
70
|
+
:sys python ./asciidoc.py --doctest
|
71
|
+
:sys python ./asciidocapi.py
|
72
|
+
:execute ./doc/main.aap test
|
73
|
+
:syseval ls ./tests/data/*.html | :assign TESTFILES
|
74
|
+
@if _no.TESTFILES:
|
75
|
+
:sys python ./tests/testasciidoc.py run
|
76
|
+
@else:
|
77
|
+
:print WARNING: no test files, run './tests/testasciidoc.py update'
|
data/asciidoc/slidy.conf
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
#
|
2
|
+
# Asciidoc Configuration file for slidy HTML generation.
|
3
|
+
#
|
4
|
+
|
5
|
+
include::xhtml11.conf[]
|
6
|
+
|
7
|
+
[literalparagraph]
|
8
|
+
template::[listingblock]
|
9
|
+
|
10
|
+
[openblock]
|
11
|
+
<div class="openblock{incremental? incremental}{role? {role}}"{id? id="{id}"}>
|
12
|
+
<div class="title">{title}</div>
|
13
|
+
<div class="content">
|
14
|
+
|
|
15
|
+
</div></div>
|
16
|
+
|
17
|
+
[listtags-bulleted]
|
18
|
+
list={title?<div class="title">{title}</div>}<ul{id? id="{id}"} class="{incremental? incremental}{role? {role}}">|</ul>
|
19
|
+
item=<li>|</li>
|
20
|
+
text=<span>|</span>
|
21
|
+
|
22
|
+
[listtags-numbered]
|
23
|
+
# The start attribute is not valid XHTML 1.1 but all browsers support it.
|
24
|
+
list={title?<div class="title">{title}</div>}<ol{id? id="{id}"} class="{style}{incremental? incremental}{role? {role}}"{start? start="{start}"}>|</ol>
|
25
|
+
item=<li>|</li>
|
26
|
+
text=<span>|</span>
|
27
|
+
|
28
|
+
[listtags-labeled]
|
29
|
+
list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl class="{incremental? incremental}{role? {role}}">|</dl></div>
|
30
|
+
entry=
|
31
|
+
label=
|
32
|
+
term=<dt class="hdlist1{strong-option? strong}">|</dt>
|
33
|
+
item=<dd>|</dd>
|
34
|
+
text=<p>|</p>
|
35
|
+
|
36
|
+
[preamble]
|
37
|
+
# Untitled elements between header and first section title.
|
38
|
+
<div id="preamble" class="slide">
|
39
|
+
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
40
|
+
|
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
[sect1]
|
45
|
+
<div class="sect1 slide{style? {style}}{role? {role}}">
|
46
|
+
<h1{id? id="{id}"}>{numbered?{sectnum} }{title}</h1>
|
47
|
+
# Set max-width here because Slidy ignores max-width on body.
|
48
|
+
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
49
|
+
|
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
[appendix]
|
54
|
+
<div class="sect1 slide{style? {style}}{role? {role}}">
|
55
|
+
<h1{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h1>
|
56
|
+
# Set max-width here because Slidy ignores max-width on body.
|
57
|
+
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
58
|
+
|
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
[header]
|
63
|
+
<?xml version="1.0" encoding="{encoding}"?>
|
64
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
65
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="{lang=en}" xml:lang="{lang=en}">
|
66
|
+
<head>
|
67
|
+
<title>{doctitle=}</title>
|
68
|
+
ifndef::copyright[<meta name="copyright" content="Copyright © {author}" />]
|
69
|
+
<meta name="copyright" content="Copyright © {copyright}" />
|
70
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
71
|
+
<meta name="duration" content="{duration}" />
|
72
|
+
ifdef::linkcss[]
|
73
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
|
74
|
+
<link rel="stylesheet" href="{stylesdir=.}/slidy.css" type="text/css" />
|
75
|
+
ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
|
76
|
+
<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
|
77
|
+
<script src="{scriptsdir=.}/slidy.js" charset="utf-8" type="text/javascript"></script>
|
78
|
+
endif::linkcss[]
|
79
|
+
ifndef::linkcss[]
|
80
|
+
<style type="text/css">
|
81
|
+
include1::{stylesdir=./stylesheets}/{theme=asciidoc}.css[]
|
82
|
+
include1::{stylesdir=./stylesheets}/slidy.css[]
|
83
|
+
include1::{stylesheet}}
|
84
|
+
ifdef::pygments[]
|
85
|
+
include1::{stylesdir=./stylesheets}/pygments.css[]
|
86
|
+
endif::pygments[]
|
87
|
+
</style>
|
88
|
+
<script type="text/javascript">
|
89
|
+
# Escape as CDATA to pass validators.
|
90
|
+
/*<![CDATA[*/
|
91
|
+
include1::{scriptsdir=./javascripts}/slidy.js[]
|
92
|
+
/*]]>*/
|
93
|
+
</script>
|
94
|
+
endif::linkcss[]
|
95
|
+
ifdef::asciimath[]
|
96
|
+
ifdef::linkcss[]
|
97
|
+
<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
|
98
|
+
endif::linkcss[]
|
99
|
+
ifndef::linkcss[]
|
100
|
+
<script type="text/javascript">
|
101
|
+
# Escape as CDATA to pass validators.
|
102
|
+
/*<![CDATA[*/
|
103
|
+
include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
|
104
|
+
/*]]>*/
|
105
|
+
</script>
|
106
|
+
endif::linkcss[]
|
107
|
+
endif::asciimath[]
|
108
|
+
ifdef::latexmath[]
|
109
|
+
ifdef::linkcss[]
|
110
|
+
<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
|
111
|
+
endif::linkcss[]
|
112
|
+
ifndef::linkcss[]
|
113
|
+
<script type="text/javascript">
|
114
|
+
# Escape as CDATA to pass validators.
|
115
|
+
/*<![CDATA[*/
|
116
|
+
include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
|
117
|
+
/*]]>*/
|
118
|
+
</script>
|
119
|
+
endif::linkcss[]
|
120
|
+
endif::latexmath[]
|
121
|
+
</head>
|
122
|
+
<body class="{doctype}"{max-width? style="max-width:{max-width}"}>
|
123
|
+
<div id="header" class="slide">
|
124
|
+
ifndef::notitle[<h1>{doctitle}</h1>]
|
125
|
+
ifdef::doctitle[]
|
126
|
+
<span id="author">{author}</span><br />
|
127
|
+
<span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
|
128
|
+
<span id="revnumber">version {revnumber}{revdate?,}</span>
|
129
|
+
<span id="revdate">{revdate}</span>
|
130
|
+
<br /><span id="revremark">{revremark}</span>
|
131
|
+
endif::doctitle[]
|
132
|
+
</div>
|
133
|
+
|
134
|
+
[footer]
|
135
|
+
</body>
|
136
|
+
</html>
|
@@ -0,0 +1,508 @@
|
|
1
|
+
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
|
2
|
+
|
3
|
+
/* Default font. */
|
4
|
+
body {
|
5
|
+
font-family: Georgia,serif;
|
6
|
+
}
|
7
|
+
|
8
|
+
/* Title font. */
|
9
|
+
h1, h2, h3, h4, h5, h6,
|
10
|
+
div.title, caption.title,
|
11
|
+
thead, p.table.header,
|
12
|
+
#toctitle,
|
13
|
+
#author, #revnumber, #revdate, #revremark,
|
14
|
+
#footer {
|
15
|
+
font-family: Arial,Helvetica,sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
body {
|
19
|
+
margin: 1em 5% 1em 5%;
|
20
|
+
}
|
21
|
+
|
22
|
+
a {
|
23
|
+
color: blue;
|
24
|
+
text-decoration: underline;
|
25
|
+
}
|
26
|
+
a:visited {
|
27
|
+
color: fuchsia;
|
28
|
+
}
|
29
|
+
|
30
|
+
em {
|
31
|
+
font-style: italic;
|
32
|
+
color: navy;
|
33
|
+
}
|
34
|
+
|
35
|
+
strong {
|
36
|
+
font-weight: bold;
|
37
|
+
color: #083194;
|
38
|
+
}
|
39
|
+
|
40
|
+
h1, h2, h3, h4, h5, h6 {
|
41
|
+
color: #527bbd;
|
42
|
+
margin-top: 1.2em;
|
43
|
+
margin-bottom: 0.5em;
|
44
|
+
line-height: 1.3;
|
45
|
+
}
|
46
|
+
|
47
|
+
h1, h2, h3 {
|
48
|
+
border-bottom: 2px solid silver;
|
49
|
+
}
|
50
|
+
h2 {
|
51
|
+
padding-top: 0.5em;
|
52
|
+
}
|
53
|
+
h3 {
|
54
|
+
float: left;
|
55
|
+
}
|
56
|
+
h3 + * {
|
57
|
+
clear: left;
|
58
|
+
}
|
59
|
+
h5 {
|
60
|
+
font-size: 1.0em;
|
61
|
+
}
|
62
|
+
|
63
|
+
div.sectionbody {
|
64
|
+
margin-left: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
hr {
|
68
|
+
border: 1px solid silver;
|
69
|
+
}
|
70
|
+
|
71
|
+
p {
|
72
|
+
margin-top: 0.5em;
|
73
|
+
margin-bottom: 0.5em;
|
74
|
+
}
|
75
|
+
|
76
|
+
ul, ol, li > p {
|
77
|
+
margin-top: 0;
|
78
|
+
}
|
79
|
+
ul > li { color: #aaa; }
|
80
|
+
ul > li > * { color: black; }
|
81
|
+
|
82
|
+
pre {
|
83
|
+
padding: 0;
|
84
|
+
margin: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
#author {
|
88
|
+
color: #527bbd;
|
89
|
+
font-weight: bold;
|
90
|
+
font-size: 1.1em;
|
91
|
+
}
|
92
|
+
#email {
|
93
|
+
}
|
94
|
+
#revnumber, #revdate, #revremark {
|
95
|
+
}
|
96
|
+
|
97
|
+
#footer {
|
98
|
+
font-size: small;
|
99
|
+
border-top: 2px solid silver;
|
100
|
+
padding-top: 0.5em;
|
101
|
+
margin-top: 4.0em;
|
102
|
+
}
|
103
|
+
#footer-text {
|
104
|
+
float: left;
|
105
|
+
padding-bottom: 0.5em;
|
106
|
+
}
|
107
|
+
#footer-badges {
|
108
|
+
float: right;
|
109
|
+
padding-bottom: 0.5em;
|
110
|
+
}
|
111
|
+
|
112
|
+
#preamble {
|
113
|
+
margin-top: 1.5em;
|
114
|
+
margin-bottom: 1.5em;
|
115
|
+
}
|
116
|
+
div.imageblock, div.exampleblock, div.verseblock,
|
117
|
+
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
|
118
|
+
div.admonitionblock {
|
119
|
+
margin-top: 1.0em;
|
120
|
+
margin-bottom: 1.5em;
|
121
|
+
}
|
122
|
+
div.admonitionblock {
|
123
|
+
margin-top: 2.0em;
|
124
|
+
margin-bottom: 2.0em;
|
125
|
+
margin-right: 10%;
|
126
|
+
color: #606060;
|
127
|
+
}
|
128
|
+
|
129
|
+
div.content { /* Block element content. */
|
130
|
+
padding: 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
/* Block element titles. */
|
134
|
+
div.title, caption.title {
|
135
|
+
color: #527bbd;
|
136
|
+
font-weight: bold;
|
137
|
+
text-align: left;
|
138
|
+
margin-top: 1.0em;
|
139
|
+
margin-bottom: 0.5em;
|
140
|
+
}
|
141
|
+
div.title + * {
|
142
|
+
margin-top: 0;
|
143
|
+
}
|
144
|
+
|
145
|
+
td div.title:first-child {
|
146
|
+
margin-top: 0.0em;
|
147
|
+
}
|
148
|
+
div.content div.title:first-child {
|
149
|
+
margin-top: 0.0em;
|
150
|
+
}
|
151
|
+
div.content + div.title {
|
152
|
+
margin-top: 0.0em;
|
153
|
+
}
|
154
|
+
|
155
|
+
div.sidebarblock > div.content {
|
156
|
+
background: #ffffee;
|
157
|
+
border: 1px solid #dddddd;
|
158
|
+
border-left: 4px solid #f0f0f0;
|
159
|
+
padding: 0.5em;
|
160
|
+
}
|
161
|
+
|
162
|
+
div.listingblock > div.content {
|
163
|
+
border: 1px solid #dddddd;
|
164
|
+
border-left: 5px solid #f0f0f0;
|
165
|
+
background: #f8f8f8;
|
166
|
+
padding: 0.5em;
|
167
|
+
}
|
168
|
+
|
169
|
+
div.quoteblock, div.verseblock {
|
170
|
+
padding-left: 1.0em;
|
171
|
+
margin-left: 1.0em;
|
172
|
+
margin-right: 10%;
|
173
|
+
border-left: 5px solid #f0f0f0;
|
174
|
+
color: #777777;
|
175
|
+
}
|
176
|
+
|
177
|
+
div.quoteblock > div.attribution {
|
178
|
+
padding-top: 0.5em;
|
179
|
+
text-align: right;
|
180
|
+
}
|
181
|
+
|
182
|
+
div.verseblock > pre.content {
|
183
|
+
font-family: inherit;
|
184
|
+
font-size: inherit;
|
185
|
+
}
|
186
|
+
div.verseblock > div.attribution {
|
187
|
+
padding-top: 0.75em;
|
188
|
+
text-align: left;
|
189
|
+
}
|
190
|
+
/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
|
191
|
+
div.verseblock + div.attribution {
|
192
|
+
text-align: left;
|
193
|
+
}
|
194
|
+
|
195
|
+
div.admonitionblock .icon {
|
196
|
+
vertical-align: top;
|
197
|
+
font-size: 1.1em;
|
198
|
+
font-weight: bold;
|
199
|
+
text-decoration: underline;
|
200
|
+
color: #527bbd;
|
201
|
+
padding-right: 0.5em;
|
202
|
+
}
|
203
|
+
div.admonitionblock td.content {
|
204
|
+
padding-left: 0.5em;
|
205
|
+
border-left: 3px solid #dddddd;
|
206
|
+
}
|
207
|
+
|
208
|
+
div.exampleblock > div.content {
|
209
|
+
border-left: 3px solid #dddddd;
|
210
|
+
padding-left: 0.5em;
|
211
|
+
}
|
212
|
+
|
213
|
+
div.imageblock div.content { padding-left: 0; }
|
214
|
+
span.image img { border-style: none; }
|
215
|
+
a.image:visited { color: white; }
|
216
|
+
|
217
|
+
dl {
|
218
|
+
margin-top: 0.8em;
|
219
|
+
margin-bottom: 0.8em;
|
220
|
+
}
|
221
|
+
dt {
|
222
|
+
margin-top: 0.5em;
|
223
|
+
margin-bottom: 0;
|
224
|
+
font-style: normal;
|
225
|
+
color: navy;
|
226
|
+
}
|
227
|
+
dd > *:first-child {
|
228
|
+
margin-top: 0.1em;
|
229
|
+
}
|
230
|
+
|
231
|
+
ul, ol {
|
232
|
+
list-style-position: outside;
|
233
|
+
}
|
234
|
+
ol.arabic {
|
235
|
+
list-style-type: decimal;
|
236
|
+
}
|
237
|
+
ol.loweralpha {
|
238
|
+
list-style-type: lower-alpha;
|
239
|
+
}
|
240
|
+
ol.upperalpha {
|
241
|
+
list-style-type: upper-alpha;
|
242
|
+
}
|
243
|
+
ol.lowerroman {
|
244
|
+
list-style-type: lower-roman;
|
245
|
+
}
|
246
|
+
ol.upperroman {
|
247
|
+
list-style-type: upper-roman;
|
248
|
+
}
|
249
|
+
|
250
|
+
div.compact ul, div.compact ol,
|
251
|
+
div.compact p, div.compact p,
|
252
|
+
div.compact div, div.compact div {
|
253
|
+
margin-top: 0.1em;
|
254
|
+
margin-bottom: 0.1em;
|
255
|
+
}
|
256
|
+
|
257
|
+
tfoot {
|
258
|
+
font-weight: bold;
|
259
|
+
}
|
260
|
+
td > div.verse {
|
261
|
+
white-space: pre;
|
262
|
+
}
|
263
|
+
|
264
|
+
div.hdlist {
|
265
|
+
margin-top: 0.8em;
|
266
|
+
margin-bottom: 0.8em;
|
267
|
+
}
|
268
|
+
div.hdlist tr {
|
269
|
+
padding-bottom: 15px;
|
270
|
+
}
|
271
|
+
dt.hdlist1.strong, td.hdlist1.strong {
|
272
|
+
font-weight: bold;
|
273
|
+
}
|
274
|
+
td.hdlist1 {
|
275
|
+
vertical-align: top;
|
276
|
+
font-style: normal;
|
277
|
+
padding-right: 0.8em;
|
278
|
+
color: navy;
|
279
|
+
}
|
280
|
+
td.hdlist2 {
|
281
|
+
vertical-align: top;
|
282
|
+
}
|
283
|
+
div.hdlist.compact tr {
|
284
|
+
margin: 0;
|
285
|
+
padding-bottom: 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
.comment {
|
289
|
+
background: yellow;
|
290
|
+
}
|
291
|
+
|
292
|
+
.footnote, .footnoteref {
|
293
|
+
font-size: 0.8em;
|
294
|
+
}
|
295
|
+
|
296
|
+
span.footnote, span.footnoteref {
|
297
|
+
vertical-align: super;
|
298
|
+
}
|
299
|
+
|
300
|
+
#footnotes {
|
301
|
+
margin: 20px 0 20px 0;
|
302
|
+
padding: 7px 0 0 0;
|
303
|
+
}
|
304
|
+
|
305
|
+
#footnotes div.footnote {
|
306
|
+
margin: 0 0 5px 0;
|
307
|
+
}
|
308
|
+
|
309
|
+
#footnotes hr {
|
310
|
+
border: none;
|
311
|
+
border-top: 1px solid silver;
|
312
|
+
height: 1px;
|
313
|
+
text-align: left;
|
314
|
+
margin-left: 0;
|
315
|
+
width: 20%;
|
316
|
+
min-width: 100px;
|
317
|
+
}
|
318
|
+
|
319
|
+
div.colist td {
|
320
|
+
padding-right: 0.5em;
|
321
|
+
padding-bottom: 0.3em;
|
322
|
+
vertical-align: top;
|
323
|
+
}
|
324
|
+
div.colist td img {
|
325
|
+
margin-top: 0.3em;
|
326
|
+
}
|
327
|
+
|
328
|
+
@media print {
|
329
|
+
#footer-badges { display: none; }
|
330
|
+
}
|
331
|
+
|
332
|
+
#toc {
|
333
|
+
margin-bottom: 2.5em;
|
334
|
+
}
|
335
|
+
|
336
|
+
#toctitle {
|
337
|
+
color: #527bbd;
|
338
|
+
font-size: 1.1em;
|
339
|
+
font-weight: bold;
|
340
|
+
margin-top: 1.0em;
|
341
|
+
margin-bottom: 0.1em;
|
342
|
+
}
|
343
|
+
|
344
|
+
div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
|
345
|
+
margin-top: 0;
|
346
|
+
margin-bottom: 0;
|
347
|
+
}
|
348
|
+
div.toclevel2 {
|
349
|
+
margin-left: 2em;
|
350
|
+
font-size: 0.9em;
|
351
|
+
}
|
352
|
+
div.toclevel3 {
|
353
|
+
margin-left: 4em;
|
354
|
+
font-size: 0.9em;
|
355
|
+
}
|
356
|
+
div.toclevel4 {
|
357
|
+
margin-left: 6em;
|
358
|
+
font-size: 0.9em;
|
359
|
+
}
|
360
|
+
|
361
|
+
span.aqua { color: aqua; }
|
362
|
+
span.black { color: black; }
|
363
|
+
span.blue { color: blue; }
|
364
|
+
span.fuchsia { color: fuchsia; }
|
365
|
+
span.gray { color: gray; }
|
366
|
+
span.green { color: green; }
|
367
|
+
span.lime { color: lime; }
|
368
|
+
span.maroon { color: maroon; }
|
369
|
+
span.navy { color: navy; }
|
370
|
+
span.olive { color: olive; }
|
371
|
+
span.purple { color: purple; }
|
372
|
+
span.red { color: red; }
|
373
|
+
span.silver { color: silver; }
|
374
|
+
span.teal { color: teal; }
|
375
|
+
span.white { color: white; }
|
376
|
+
span.yellow { color: yellow; }
|
377
|
+
|
378
|
+
span.aqua-background { background: aqua; }
|
379
|
+
span.black-background { background: black; }
|
380
|
+
span.blue-background { background: blue; }
|
381
|
+
span.fuchsia-background { background: fuchsia; }
|
382
|
+
span.gray-background { background: gray; }
|
383
|
+
span.green-background { background: green; }
|
384
|
+
span.lime-background { background: lime; }
|
385
|
+
span.maroon-background { background: maroon; }
|
386
|
+
span.navy-background { background: navy; }
|
387
|
+
span.olive-background { background: olive; }
|
388
|
+
span.purple-background { background: purple; }
|
389
|
+
span.red-background { background: red; }
|
390
|
+
span.silver-background { background: silver; }
|
391
|
+
span.teal-background { background: teal; }
|
392
|
+
span.white-background { background: white; }
|
393
|
+
span.yellow-background { background: yellow; }
|
394
|
+
|
395
|
+
span.big { font-size: 2em; }
|
396
|
+
span.small { font-size: 0.6em; }
|
397
|
+
|
398
|
+
span.underline { text-decoration: underline; }
|
399
|
+
span.overline { text-decoration: overline; }
|
400
|
+
span.line-through { text-decoration: line-through; }
|
401
|
+
|
402
|
+
|
403
|
+
/*
|
404
|
+
* xhtml11 specific
|
405
|
+
*
|
406
|
+
* */
|
407
|
+
|
408
|
+
tt {
|
409
|
+
font-family: monospace;
|
410
|
+
font-size: inherit;
|
411
|
+
color: navy;
|
412
|
+
}
|
413
|
+
|
414
|
+
div.tableblock {
|
415
|
+
margin-top: 1.0em;
|
416
|
+
margin-bottom: 1.5em;
|
417
|
+
}
|
418
|
+
div.tableblock > table {
|
419
|
+
border: 3px solid #527bbd;
|
420
|
+
}
|
421
|
+
thead, p.table.header {
|
422
|
+
font-weight: bold;
|
423
|
+
color: #527bbd;
|
424
|
+
}
|
425
|
+
p.table {
|
426
|
+
margin-top: 0;
|
427
|
+
}
|
428
|
+
/* Because the table frame attribute is overriden by CSS in most browsers. */
|
429
|
+
div.tableblock > table[frame="void"] {
|
430
|
+
border-style: none;
|
431
|
+
}
|
432
|
+
div.tableblock > table[frame="hsides"] {
|
433
|
+
border-left-style: none;
|
434
|
+
border-right-style: none;
|
435
|
+
}
|
436
|
+
div.tableblock > table[frame="vsides"] {
|
437
|
+
border-top-style: none;
|
438
|
+
border-bottom-style: none;
|
439
|
+
}
|
440
|
+
|
441
|
+
|
442
|
+
/*
|
443
|
+
* html5 specific
|
444
|
+
*
|
445
|
+
* */
|
446
|
+
|
447
|
+
.monospaced {
|
448
|
+
font-family: monospace;
|
449
|
+
font-size: inherit;
|
450
|
+
color: navy;
|
451
|
+
}
|
452
|
+
|
453
|
+
table.tableblock {
|
454
|
+
margin-top: 1.0em;
|
455
|
+
margin-bottom: 1.5em;
|
456
|
+
}
|
457
|
+
thead, p.tableblock.header {
|
458
|
+
font-weight: bold;
|
459
|
+
color: #527bbd;
|
460
|
+
}
|
461
|
+
p.tableblock {
|
462
|
+
margin-top: 0;
|
463
|
+
}
|
464
|
+
table.tableblock {
|
465
|
+
border-width: 3px;
|
466
|
+
border-spacing: 0px;
|
467
|
+
border-style: solid;
|
468
|
+
border-color: #527bbd;
|
469
|
+
border-collapse: collapse;
|
470
|
+
}
|
471
|
+
th.tableblock, td.tableblock {
|
472
|
+
border-width: 1px;
|
473
|
+
padding: 4px;
|
474
|
+
border-style: solid;
|
475
|
+
border-color: #527bbd;
|
476
|
+
}
|
477
|
+
|
478
|
+
table.tableblock.frame-topbot {
|
479
|
+
border-left-style: hidden;
|
480
|
+
border-right-style: hidden;
|
481
|
+
}
|
482
|
+
table.tableblock.frame-sides {
|
483
|
+
border-top-style: hidden;
|
484
|
+
border-bottom-style: hidden;
|
485
|
+
}
|
486
|
+
table.tableblock.frame-none {
|
487
|
+
border-style: hidden;
|
488
|
+
}
|
489
|
+
|
490
|
+
th.tableblock.halign-left, td.tableblock.halign-left {
|
491
|
+
text-align: left;
|
492
|
+
}
|
493
|
+
th.tableblock.halign-center, td.tableblock.halign-center {
|
494
|
+
text-align: center;
|
495
|
+
}
|
496
|
+
th.tableblock.halign-right, td.tableblock.halign-right {
|
497
|
+
text-align: right;
|
498
|
+
}
|
499
|
+
|
500
|
+
th.tableblock.valign-top, td.tableblock.valign-top {
|
501
|
+
vertical-align: top;
|
502
|
+
}
|
503
|
+
th.tableblock.valign-middle, td.tableblock.valign-middle {
|
504
|
+
vertical-align: middle;
|
505
|
+
}
|
506
|
+
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
|
507
|
+
vertical-align: bottom;
|
508
|
+
}
|