git-scribe 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/Rakefile +31 -0
- data/SPEC.asciidoc +126 -0
- data/TODO.txt +29 -0
- data/bin/git-scribe +2 -1
- data/docbook-xsl/.CatalogManager.properties.example +61 -0
- data/docbook-xsl/.urilist +1 -0
- data/git-scribe.gemspec +32 -0
- data/lib/git-scribe.rb +21 -315
- data/lib/git-scribe/check.rb +60 -0
- data/lib/git-scribe/cli.rb +84 -0
- data/lib/git-scribe/generate.rb +222 -0
- data/lib/git-scribe/init.rb +16 -0
- data/lib/git-scribe/version.rb +3 -0
- data/template/.gitignore +1 -0
- data/template/.gitscribe +5 -0
- data/test/check_test.rb +12 -0
- data/test/gen_test.rb +78 -0
- data/test/init_test.rb +36 -0
- data/test/test_helper.rb +44 -0
- metadata +49 -161
- data/example/book/big.asc +0 -5604
- data/example/book/holmes.asc +0 -12983
- data/example/output/META-INF/container.xml +0 -6
- data/example/output/OEBPS/ar01s02.html +0 -15
- data/example/output/OEBPS/ar01s03.html +0 -3
- data/example/output/OEBPS/content.opf +0 -21
- data/example/output/OEBPS/index.html +0 -5
- data/example/output/OEBPS/toc.ncx +0 -37
- data/example/output/a_case_of_identity.html +0 -725
- data/example/output/a_example_appendix.html +0 -63
- data/example/output/a_migration_notes.html +0 -95
- data/example/output/apa.html +0 -20
- data/example/output/apb.html +0 -6
- data/example/output/apc.html +0 -24
- data/example/output/apd.html +0 -30
- data/example/output/ape.html +0 -26
- data/example/output/apf.html +0 -9
- data/example/output/apg.html +0 -42
- data/example/output/aph.html +0 -89
- data/example/output/ar01s02.html +0 -12
- data/example/output/ar01s03.html +0 -34
- data/example/output/ar01s04.html +0 -77
- data/example/output/ar01s05.html +0 -272
- data/example/output/ar01s06.html +0 -35
- data/example/output/ar01s07.html +0 -105
- data/example/output/ar01s08.html +0 -33
- data/example/output/ar01s09.html +0 -12
- data/example/output/ar01s10.html +0 -14
- data/example/output/ar01s11.html +0 -34
- data/example/output/ar01s12.html +0 -63
- data/example/output/ar01s13.html +0 -156
- data/example/output/ar01s14.html +0 -330
- data/example/output/ar01s15.html +0 -22
- data/example/output/ar01s16.html +0 -27
- data/example/output/ar01s17.html +0 -94
- data/example/output/ar01s18.html +0 -359
- data/example/output/ar01s19.html +0 -373
- data/example/output/ar01s20.html +0 -27
- data/example/output/ar01s21.html +0 -33
- data/example/output/ar01s22.html +0 -351
- data/example/output/ar01s23.html +0 -21
- data/example/output/ar01s24.html +0 -69
- data/example/output/ar01s25.html +0 -60
- data/example/output/ar01s26.html +0 -217
- data/example/output/ar01s27.html +0 -88
- data/example/output/ar01s28.html +0 -237
- data/example/output/ar01s29.html +0 -68
- data/example/output/ar01s30.html +0 -154
- data/example/output/ar01s31.html +0 -6
- data/example/output/ar01s32.html +0 -22
- data/example/output/ar01s33.html +0 -209
- data/example/output/asciidoc_backends.html +0 -190
- data/example/output/asciidoc_document_types.html +0 -131
- data/example/output/attribute_entries.html +0 -185
- data/example/output/attribute_lists.html +0 -157
- data/example/output/attribute_references.html +0 -414
- data/example/output/attributelist_element.html +0 -143
- data/example/output/b_packager_notes.html +0 -68
- data/example/output/bi01.html +0 -18
- data/example/output/big.asc +0 -5604
- data/example/output/block_element_definitions.html +0 -448
- data/example/output/block_titles.html +0 -83
- data/example/output/blockid_element.html +0 -80
- data/example/output/book.asc +0 -5604
- data/example/output/book.epub +0 -0
- data/example/output/book.fo +0 -3788
- data/example/output/book.html +0 -8793
- data/example/output/book.xml +0 -8265
- data/example/output/c_asciidoc_safe_mode.html +0 -105
- data/example/output/callouts.html +0 -214
- data/example/output/catalog +0 -10
- data/example/output/colophon.html +0 -397
- data/example/output/configuration_files.html +0 -672
- data/example/output/converting_docbook_to_other_file_formats.html +0 -324
- data/example/output/d_using_asciidoc_with_non-english_languages.html +0 -107
- data/example/output/delimited_blocks.html +0 -455
- data/example/output/document_attributes.html +0 -95
- data/example/output/document_processing.html +0 -116
- data/example/output/document_structure.html +0 -493
- data/example/output/e_vim_syntax_highlighter.html +0 -111
- data/example/output/example_bibliography.html +0 -82
- data/example/output/example_colophon.html +0 -58
- data/example/output/example_glossary.html +0 -73
- data/example/output/example_index.html +0 -108
- data/example/output/f_attribute_options.html +0 -129
- data/example/output/filters.html +0 -179
- data/example/output/footnotes.html +0 -103
- data/example/output/g_diagnostics.html +0 -148
- data/example/output/generating_plain_text_files.html +0 -68
- data/example/output/getting_started.html +0 -87
- data/example/output/glossary.html +0 -95
- data/example/output/go01.html +0 -24
- data/example/output/h_backend_attributes.html +0 -308
- data/example/output/help_commands.html +0 -96
- data/example/output/holmes.asc +0 -12983
- data/example/output/image/octocat_professor.png +0 -0
- data/example/output/include/hello.c +0 -10
- data/example/output/index.html +0 -656
- data/example/output/indexes.html +0 -104
- data/example/output/intrinsic_attributes.html +0 -165
- data/example/output/ix01.html +0 -3
- data/example/output/lists.html +0 -666
- data/example/output/macros.html +0 -737
- data/example/output/manpage_documents.html +0 -124
- data/example/output/master.css +0 -281
- data/example/output/mathematical_formulas.html +0 -125
- data/example/output/page.html +0 -60
- data/example/output/paragraphs.html +0 -192
- data/example/output/pr01.html +0 -3
- data/example/output/source_code_highlighting.html +0 -59
- data/example/output/stylesheets/handbookish-quirks.css +0 -0
- data/example/output/stylesheets/handbookish.css +0 -233
- data/example/output/tables.html +0 -797
- data/example/output/text_formatting.html +0 -273
- data/example/output/the_adventure_of_the_beryl_coronet.html +0 -968
- data/example/output/the_adventure_of_the_blue_carbuncle.html +0 -825
- data/example/output/the_adventure_of_the_copper_beeches.html +0 -998
- data/example/output/the_adventure_of_the_engineer_s_thumb.html +0 -851
- data/example/output/the_adventure_of_the_noble_bachelor.html +0 -861
- data/example/output/the_adventure_of_the_speckled_band.html +0 -1015
- data/example/output/the_boscombe_valley_mystery.html +0 -974
- data/example/output/the_first_chapter.html +0 -110
- data/example/output/the_five_orange_pips.html +0 -776
- data/example/output/the_man_with_the_twisted_lip.html +0 -946
- data/example/output/the_red-headed_league.html +0 -950
- data/example/output/the_second_chapter.html +0 -95
- data/example/output/the_third_chapter.html +0 -58
- data/example/output/tips_and_tricks.html +0 -452
- data/example/output/title.html +0 -120
- data/example/output/titles.html +0 -126
data/example/output/page.html
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
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">
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
5
|
-
<link rel="stylesheet" href="master.css" type="text/css" />
|
|
6
|
-
<title>{{title}}</title>
|
|
7
|
-
</head>
|
|
8
|
-
|
|
9
|
-
<body>
|
|
10
|
-
<div class="nav" id="navheader">
|
|
11
|
-
<table width="100%">
|
|
12
|
-
<tr><td width="33%" align="left">
|
|
13
|
-
{% if prev %}
|
|
14
|
-
<a href="{{prev.link}}">Prev</a><br/>
|
|
15
|
-
{{prev.title}}
|
|
16
|
-
{% endif %}
|
|
17
|
-
</td><td width="33%" align="center">
|
|
18
|
-
{% if prev %}
|
|
19
|
-
<a href="{{home.link}}">Home</a><br/>
|
|
20
|
-
<strong>{{ book_title }}</strong>
|
|
21
|
-
{% endif %}
|
|
22
|
-
</td><td width="33%" align="right">
|
|
23
|
-
{% if next %}
|
|
24
|
-
<a href="{{next.link}}">Next</a><br/>
|
|
25
|
-
{{next.title}}
|
|
26
|
-
{% endif %}
|
|
27
|
-
</td></tr>
|
|
28
|
-
</table>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<hr/>
|
|
32
|
-
|
|
33
|
-
<div class="content">
|
|
34
|
-
{{content}}
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<hr/>
|
|
38
|
-
|
|
39
|
-
<div class="nav" id="navfooter">
|
|
40
|
-
<table width="100%">
|
|
41
|
-
<tr><td width="33%" align="left">
|
|
42
|
-
{% if prev %}
|
|
43
|
-
<a href="{{prev.link}}">Prev</a><br/>
|
|
44
|
-
{{prev.title}}
|
|
45
|
-
{% endif %}
|
|
46
|
-
</td><td width="33%" align="center">
|
|
47
|
-
{% if prev %}
|
|
48
|
-
<a href="{{home.link}}">Home</a><br/>
|
|
49
|
-
{{ book_title }}
|
|
50
|
-
{% endif %}
|
|
51
|
-
</td><td width="33%" align="right">
|
|
52
|
-
{% if next %}
|
|
53
|
-
<a href="{{next.link}}">Next</a><br/>
|
|
54
|
-
{{next.title}}
|
|
55
|
-
{% endif %}
|
|
56
|
-
</td></tr>
|
|
57
|
-
</table>
|
|
58
|
-
</div>
|
|
59
|
-
</body>
|
|
60
|
-
</html>
|
|
@@ -1,192 +0,0 @@
|
|
|
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">
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
5
|
-
<link rel="stylesheet" href="master.css" type="text/css" />
|
|
6
|
-
<title>Paragraphs</title>
|
|
7
|
-
</head>
|
|
8
|
-
|
|
9
|
-
<body>
|
|
10
|
-
<div class="nav" id="navheader">
|
|
11
|
-
<table width="100%">
|
|
12
|
-
<tr><td width="33%" align="left">
|
|
13
|
-
|
|
14
|
-
<a href="attributelist_element.html">Prev</a><br/>
|
|
15
|
-
AttributeList Element
|
|
16
|
-
|
|
17
|
-
</td><td width="33%" align="center">
|
|
18
|
-
|
|
19
|
-
<a href="index.html">Home</a><br/>
|
|
20
|
-
<strong>AsciiDoc User Guide</strong>
|
|
21
|
-
|
|
22
|
-
</td><td width="33%" align="right">
|
|
23
|
-
|
|
24
|
-
<a href="delimited_blocks.html">Next</a><br/>
|
|
25
|
-
Delimited Blocks
|
|
26
|
-
|
|
27
|
-
</td></tr>
|
|
28
|
-
</table>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<hr/>
|
|
32
|
-
|
|
33
|
-
<div class="content">
|
|
34
|
-
<div class="section" lang="en" xml:lang="en">
|
|
35
|
-
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
36
|
-
<a id="_paragraphs"></a>Paragraphs</h2></div></div></div>
|
|
37
|
-
<p>Paragraphs are blocks of text terminated by a blank line, the end of
|
|
38
|
-
file, or the start of a delimited block or a list. There are three
|
|
39
|
-
paragraph syntaxes: normal, indented (literal) and admonition which
|
|
40
|
-
are rendered, by default, with the corresponding paragraph style. Each
|
|
41
|
-
syntax has a default style, but you can, if you wish, explicitly
|
|
42
|
-
apply any paragraph style to any paragraph syntax. The common
|
|
43
|
-
paragraph styles are <span class="emphasis"><em>normal</em></span>, <span class="emphasis"><em>literal</em></span>, <span class="emphasis"><em>verse</em></span>, <span class="emphasis"><em>quote</em></span>, <span class="emphasis"><em>listing</em></span>,
|
|
44
|
-
<span class="emphasis"><em>TIP</em></span>, <span class="emphasis"><em>NOTE</em></span>, <span class="emphasis"><em>IMPORTANT</em></span>, <span class="emphasis"><em>WARNING</em></span> and <span class="emphasis"><em>CAUTION</em></span>.</p>
|
|
45
|
-
<div class="section" lang="en" xml:lang="en">
|
|
46
|
-
<div class="titlepage"><div><div><h3 class="title">
|
|
47
|
-
<a id="_normal_paragraph_syntax"></a>normal paragraph syntax</h3></div></div></div>
|
|
48
|
-
<p>Normal paragraph syntax consists of one or more non-blank lines of
|
|
49
|
-
text. The first line must start hard against the left margin (no
|
|
50
|
-
intervening white space). The default processing expectation is that
|
|
51
|
-
of a normal paragraph of text.</p>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="section" lang="en" xml:lang="en">
|
|
54
|
-
<div class="titlepage"><div><div><h3 class="title">
|
|
55
|
-
<a id="X85"></a>literal paragraph syntax</h3></div></div></div>
|
|
56
|
-
<p>Literal paragraphs are rendered verbatim in a monospaced font without
|
|
57
|
-
any distinguishing background or border. By default there is no text
|
|
58
|
-
formatting or substitutions within Literal paragraphs apart from
|
|
59
|
-
Special Characters and Callouts.</p>
|
|
60
|
-
<p>The <span class="emphasis"><em>literal</em></span> style is applied implicitly to indented paragraphs i.e.
|
|
61
|
-
where the first line of the paragraph is indented by one or more space
|
|
62
|
-
or tab characters. For example:</p>
|
|
63
|
-
<pre class="screen"> Consul *necessitatibus* per id,
|
|
64
|
-
consetetur, eu pro everti postulant
|
|
65
|
-
homero verear ea mea, qui.</pre>
|
|
66
|
-
<p>Renders:</p>
|
|
67
|
-
<pre class="literallayout">Consul *necessitatibus* per id,
|
|
68
|
-
consetetur, eu pro everti postulant
|
|
69
|
-
homero verear ea mea, qui.</pre>
|
|
70
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
|
71
|
-
<h3 class="title">Note</h3>
|
|
72
|
-
<p>Because <a class="link" href="lists.html" title="Lists">lists</a> can be indented it’s possible for your
|
|
73
|
-
indented paragraph to be misinterpreted as a list — in situations
|
|
74
|
-
like this apply the <span class="emphasis"><em>literal</em></span> style to a normal paragraph.</p>
|
|
75
|
-
</div>
|
|
76
|
-
<p>Instead of using a paragraph indent you could apply the <span class="emphasis"><em>literal</em></span>
|
|
77
|
-
style explicitly, for example:</p>
|
|
78
|
-
<pre class="screen">[literal]
|
|
79
|
-
Consul *necessitatibus* per id,
|
|
80
|
-
consetetur, eu pro everti postulant
|
|
81
|
-
homero verear ea mea, qui.</pre>
|
|
82
|
-
<p>Renders:</p>
|
|
83
|
-
<pre class="literallayout">Consul *necessitatibus* per id,
|
|
84
|
-
consetetur, eu pro everti postulant
|
|
85
|
-
homero verear ea mea, qui.</pre>
|
|
86
|
-
</div>
|
|
87
|
-
<div class="section" lang="en" xml:lang="en">
|
|
88
|
-
<div class="titlepage"><div><div><h3 class="title">
|
|
89
|
-
<a id="X94"></a>quote and verse paragraph styles</h3></div></div></div>
|
|
90
|
-
<p>The optional <span class="emphasis"><em>attribution</em></span> and <span class="emphasis"><em>citetitle</em></span> attributes (positional
|
|
91
|
-
attributes 2 and 3) specify the author and source respectively.</p>
|
|
92
|
-
<p>The <span class="emphasis"><em>verse</em></span> style retains the line breaks, for example:</p>
|
|
93
|
-
<pre class="screen">[verse, William Blake, from Auguries of Innocence]
|
|
94
|
-
To see a world in a grain of sand,
|
|
95
|
-
And a heaven in a wild flower,
|
|
96
|
-
Hold infinity in the palm of your hand,
|
|
97
|
-
And eternity in an hour.</pre>
|
|
98
|
-
<p>Which is rendered as:</p>
|
|
99
|
-
<div class="blockquote"><blockquote class="blockquote"><div class="literallayout"><p>To see a world in a grain of sand,<br>
|
|
100
|
-
And a heaven in a wild flower,<br>
|
|
101
|
-
Hold infinity in the palm of your hand,<br>
|
|
102
|
-
And eternity in an hour.</p></div></blockquote></div>
|
|
103
|
-
<p>The <span class="emphasis"><em>quote</em></span> style flows the text at left and right margins, for
|
|
104
|
-
example:</p>
|
|
105
|
-
<pre class="screen">[quote, Bertrand Russell, The World of Mathematics (1956)]
|
|
106
|
-
A good notation has subtlety and suggestiveness which at times makes
|
|
107
|
-
it almost seem like a live teacher.</pre>
|
|
108
|
-
<p>Which is rendered as:</p>
|
|
109
|
-
<p>A good notation has subtlety and suggestiveness which at times makes
|
|
110
|
-
it almost seem like a live teacher.</p>
|
|
111
|
-
</div>
|
|
112
|
-
<div class="section" lang="en" xml:lang="en">
|
|
113
|
-
<div class="titlepage"><div><div><h3 class="title">
|
|
114
|
-
<a id="X28"></a>Admonition Paragraphs</h3></div></div></div>
|
|
115
|
-
<p><span class="emphasis"><em>TIP</em></span>, <span class="emphasis"><em>NOTE</em></span>, <span class="emphasis"><em>IMPORTANT</em></span>, <span class="emphasis"><em>WARNING</em></span> and <span class="emphasis"><em>CAUTION</em></span> admonishment
|
|
116
|
-
paragraph styles are generated by placing <code class="literal">NOTE:</code>, <code class="literal">TIP:</code>,
|
|
117
|
-
<code class="literal">IMPORTANT:</code>, <code class="literal">WARNING:</code> or <code class="literal">CAUTION:</code> as the first word of the
|
|
118
|
-
paragraph. For example:</p>
|
|
119
|
-
<pre class="literallayout">NOTE: This is an example note.</pre>
|
|
120
|
-
<p>Alternatively, you can specify the paragraph admonition style
|
|
121
|
-
explicitly using an <a class="link" href="attributelist_element.html" title="AttributeList Element">AttributeList element</a>. For example:</p>
|
|
122
|
-
<pre class="literallayout">[NOTE]
|
|
123
|
-
This is an example note.</pre>
|
|
124
|
-
<p>Renders:</p>
|
|
125
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
|
126
|
-
<h3 class="title">Note</h3>
|
|
127
|
-
<p>This is an example note.</p>
|
|
128
|
-
</div>
|
|
129
|
-
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
|
|
130
|
-
<h3 class="title">Tip</h3>
|
|
131
|
-
<p>If your admonition requires more than a single paragraph use an
|
|
132
|
-
<a class="link" href="delimited_blocks.html#X22" title="Admonition Blocks">admonition block</a> instead.</p>
|
|
133
|
-
</div>
|
|
134
|
-
<div class="section" lang="en" xml:lang="en">
|
|
135
|
-
<div class="titlepage"><div><div><h4 class="title">
|
|
136
|
-
<a id="X47"></a>Admonition Icons and Captions</h4></div></div></div>
|
|
137
|
-
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
|
138
|
-
<h3 class="title">Note</h3>
|
|
139
|
-
<p>Admonition customization with <code class="literal">icons</code>, <code class="literal">iconsdir</code>, <code class="literal">icon</code> and
|
|
140
|
-
<code class="literal">caption</code> attributes does not apply when generating DocBook output. If
|
|
141
|
-
you are going the DocBook route then the <a class="link" href="converting_docbook_to_other_file_formats.html#X43" title="a2x Toolchain Wrapper">a2x(1)</a> <code class="literal">--no-icons</code>
|
|
142
|
-
and <code class="literal">--icons-dir</code> options can be used to set the appropriate XSL
|
|
143
|
-
Stylesheets parameters.</p>
|
|
144
|
-
</div>
|
|
145
|
-
<p>By default the asciidoc(1) <code class="literal">xhtml11</code> and <code class="literal">html4</code> backends generate
|
|
146
|
-
text captions instead of admonition icon image links. To generate
|
|
147
|
-
links to icon images define the <a class="link" href="h_backend_attributes.html#X45"><code class="literal">icons</code></a> attribute, for example
|
|
148
|
-
using the <code class="literal">-a icons</code> command-line option.</p>
|
|
149
|
-
<p>The <a class="link" href="h_backend_attributes.html#X44"><code class="literal">iconsdir</code></a> attribute sets the location of linked icon
|
|
150
|
-
images.</p>
|
|
151
|
-
<p>You can override the default icon image using the <code class="literal">icon</code> attribute to
|
|
152
|
-
specify the path of the linked image. For example:</p>
|
|
153
|
-
<pre class="literallayout">[icon="./images/icons/wink.png"]
|
|
154
|
-
NOTE: What lovely war.</pre>
|
|
155
|
-
<p>Use the <code class="literal">caption</code> attribute to customize the admonition captions (not
|
|
156
|
-
applicable to <code class="literal">docbook</code> backend). The following example suppresses the
|
|
157
|
-
icon image and customizes the caption of a <span class="emphasis"><em>NOTE</em></span> admonition
|
|
158
|
-
(undefining the <code class="literal">icons</code> attribute with <code class="literal">icons=None</code> is only necessary
|
|
159
|
-
if <a class="link" href="h_backend_attributes.html#X45">admonition icons</a> have been enabled):</p>
|
|
160
|
-
<pre class="literallayout">[icons=None, caption="My Special Note"]
|
|
161
|
-
NOTE: This is my special note.</pre>
|
|
162
|
-
<p>This subsection also applies to <a class="link" href="delimited_blocks.html#X22" title="Admonition Blocks">Admonition Blocks</a>.</p>
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
|
|
167
|
-
</div>
|
|
168
|
-
|
|
169
|
-
<hr/>
|
|
170
|
-
|
|
171
|
-
<div class="nav" id="navfooter">
|
|
172
|
-
<table width="100%">
|
|
173
|
-
<tr><td width="33%" align="left">
|
|
174
|
-
|
|
175
|
-
<a href="attributelist_element.html">Prev</a><br/>
|
|
176
|
-
AttributeList Element
|
|
177
|
-
|
|
178
|
-
</td><td width="33%" align="center">
|
|
179
|
-
|
|
180
|
-
<a href="index.html">Home</a><br/>
|
|
181
|
-
AsciiDoc User Guide
|
|
182
|
-
|
|
183
|
-
</td><td width="33%" align="right">
|
|
184
|
-
|
|
185
|
-
<a href="delimited_blocks.html">Next</a><br/>
|
|
186
|
-
Delimited Blocks
|
|
187
|
-
|
|
188
|
-
</td></tr>
|
|
189
|
-
</table>
|
|
190
|
-
</div>
|
|
191
|
-
</body>
|
|
192
|
-
</html>
|
data/example/output/pr01.html
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Example Preface</title><link rel="stylesheet" href="stylesheets/handbookish.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.74.1" /><link rel="home" href="index.html" title="Book Title Goes Here" /><link rel="up" href="index.html" title="Book Title Goes Here" /><link rel="prev" href="index.html" title="Book Title Goes Here" /><link rel="next" href="ar01s02.html" title="The First Chapter" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Example Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s02.html">Next</a></td></tr></table><hr /></div><div class="preface" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="_example_preface"></a>Example Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="pr01.html#_preface_sub_section">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><h3 class="title"><a id="_preface_sub_section"></a>Preface Sub-section</h3></div></div></div><p>Preface sub-section body.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Book Title Goes Here </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> The First Chapter</td></tr></table></div></body></html>
|
|
@@ -1,59 +0,0 @@
|
|
|
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">
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
5
|
-
<link rel="stylesheet" href="master.css" type="text/css" />
|
|
6
|
-
<title>Source Code Highlighting</title>
|
|
7
|
-
</head>
|
|
8
|
-
|
|
9
|
-
<body>
|
|
10
|
-
<div class="nav" id="navheader">
|
|
11
|
-
<table width="100%">
|
|
12
|
-
<tr><td width="33%" align="left">
|
|
13
|
-
|
|
14
|
-
<a href="the_second_chapter.html">Prev</a><br/>
|
|
15
|
-
The second chapter
|
|
16
|
-
|
|
17
|
-
</td><td width="33%" align="center">
|
|
18
|
-
|
|
19
|
-
<a href="index.html">Home</a><br/>
|
|
20
|
-
<strong>Book Title</strong>
|
|
21
|
-
|
|
22
|
-
</td><td width="33%" align="right">
|
|
23
|
-
|
|
24
|
-
</td></tr>
|
|
25
|
-
</table>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<hr/>
|
|
29
|
-
|
|
30
|
-
<div class="content">
|
|
31
|
-
<div class="section" lang="en" xml:lang="en">
|
|
32
|
-
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
33
|
-
<a id="_source_code_highlighting"></a>Source Code Highlighting</h2></div></div></div>
|
|
34
|
-
<pre class="programlisting">if n < 0: print 'Hello World!'</pre>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
<hr/>
|
|
40
|
-
|
|
41
|
-
<div class="nav" id="navfooter">
|
|
42
|
-
<table width="100%">
|
|
43
|
-
<tr><td width="33%" align="left">
|
|
44
|
-
|
|
45
|
-
<a href="the_second_chapter.html">Prev</a><br/>
|
|
46
|
-
The second chapter
|
|
47
|
-
|
|
48
|
-
</td><td width="33%" align="center">
|
|
49
|
-
|
|
50
|
-
<a href="index.html">Home</a><br/>
|
|
51
|
-
Book Title
|
|
52
|
-
|
|
53
|
-
</td><td width="33%" align="right">
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
</table>
|
|
57
|
-
</div>
|
|
58
|
-
</body>
|
|
59
|
-
</html>
|
|
File without changes
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
/* BEG */
|
|
2
|
-
/* ---------------------------------------------------------------------------
|
|
3
|
-
Bare AsciiDoc styles
|
|
4
|
-
Ryan Tomayko <r@tomayko.com>
|
|
5
|
-
--------------------------------------------------------------------------- */
|
|
6
|
-
|
|
7
|
-
body {
|
|
8
|
-
font-family:verdana,helvetica,arial,sans-serif;
|
|
9
|
-
font-size:81.25%; /* 13px */
|
|
10
|
-
line-height:1.538; /* 20px */
|
|
11
|
-
margin:40px 50px;
|
|
12
|
-
max-width:53.8461538462em; /* 790px */
|
|
13
|
-
color:#333;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
em {
|
|
17
|
-
font-style:italic;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
strong {
|
|
21
|
-
font-weight:bold;
|
|
22
|
-
color:#000;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
tt {
|
|
26
|
-
font-family:consolas, 'lucida console', 'bitstream vera sans mono',
|
|
27
|
-
'courier new', monospace;
|
|
28
|
-
color:#000;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
p, ul, ol, dl {
|
|
32
|
-
margin:10px 0
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
dl {
|
|
36
|
-
margin-left:40px
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
dt {
|
|
40
|
-
font-weight:normal;
|
|
41
|
-
color:#000;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
h1, h2, h3, h4, h5 {
|
|
45
|
-
font-family:'lucida grande',georgia,verdana,helvetica,arial,sans-serif;
|
|
46
|
-
font-weight:normal;
|
|
47
|
-
color:#000;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h1 {
|
|
51
|
-
font-size:30px;
|
|
52
|
-
line-height:1.428;
|
|
53
|
-
margin:20px 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
h2 {
|
|
57
|
-
font-size:23px;
|
|
58
|
-
line-height:1.36363636; /* repeating, of course */
|
|
59
|
-
margin:20px 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
h2 + .sectionbody {}
|
|
63
|
-
|
|
64
|
-
h3 {
|
|
65
|
-
font-size:18px;
|
|
66
|
-
line-height:1.1;
|
|
67
|
-
margin:30px 0 10px 0;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
h4 {
|
|
71
|
-
font-size:13px;
|
|
72
|
-
font-weight:bold;
|
|
73
|
-
line-height:1.538;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
h5 {
|
|
77
|
-
font-size:13px;
|
|
78
|
-
font-style:italic;
|
|
79
|
-
line-height:1.538;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
pre {
|
|
83
|
-
font-size:larger;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
#header {
|
|
87
|
-
text-align:center;
|
|
88
|
-
margin-bottom:30px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
#header h1 { margin-bottom:0 }
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
.title, .sidebar-title {
|
|
95
|
-
font-weight:normal;
|
|
96
|
-
margin-bottom:0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.admonitionblock .title {
|
|
100
|
-
font-weight:bold;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.admonitionblock {
|
|
104
|
-
margin:30px 0px;
|
|
105
|
-
color:#555;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.admonitionblock td.icon {
|
|
109
|
-
width:30px;
|
|
110
|
-
padding-right:20px;
|
|
111
|
-
padding-left:20px;
|
|
112
|
-
text-transform:uppercase;
|
|
113
|
-
font-weight:bold;
|
|
114
|
-
color:#888;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.listingblock .content {
|
|
118
|
-
border:1px solid silver;
|
|
119
|
-
background:#eee;
|
|
120
|
-
padding:5px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.listingblock .content pre {
|
|
124
|
-
margin:0;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.literalblock .content {
|
|
128
|
-
margin-left:40px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.verseblock .content {
|
|
132
|
-
white-space:pre
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.sidebarblock .sidebar-content {
|
|
136
|
-
border:1px solid silver;
|
|
137
|
-
background:#FFFFEE;
|
|
138
|
-
padding:0 10px;
|
|
139
|
-
color:#222;
|
|
140
|
-
font-size:smaller;
|
|
141
|
-
line-height:1.5;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.sidebar-title {
|
|
145
|
-
margin:10px 0;
|
|
146
|
-
font-weight:bold;
|
|
147
|
-
color:#442;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.quoteblock-content {
|
|
151
|
-
font-style:italic;
|
|
152
|
-
color:#444;
|
|
153
|
-
margin-left:40px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.quoteblock-content .attribution {
|
|
157
|
-
font-style:normal;
|
|
158
|
-
text-align:right;
|
|
159
|
-
color:#000;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.exampleblock-content *:first-child { margin-top:0 }
|
|
163
|
-
.exampleblock-content {
|
|
164
|
-
border-left:2px solid silver;
|
|
165
|
-
padding-left:8px;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
#footer {
|
|
169
|
-
font-size:11px;
|
|
170
|
-
margin-top:40px;
|
|
171
|
-
border-top:1px solid silver;
|
|
172
|
-
color:#555;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
#author {
|
|
176
|
-
color:#000;
|
|
177
|
-
text-transform:uppercase
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/* vim: set ft=css ts=4 sw=4 noexpandtab: */
|
|
181
|
-
|
|
182
|
-
/* END @import url(bare.css); */
|
|
183
|
-
|
|
184
|
-
/* ---------------------------------------------------------------------------
|
|
185
|
-
FreeBSD AsciiDoc Theme
|
|
186
|
-
Ryan Tomayko <r@tomayko.com>
|
|
187
|
-
|
|
188
|
-
Based on The FreeBSD Handbook and various other FreeBSD documenration.
|
|
189
|
-
--------------------------------------------------------------------------- */
|
|
190
|
-
|
|
191
|
-
body {
|
|
192
|
-
font-family:verdana,helvetica,arial,sans-serif;
|
|
193
|
-
font-size:100%;
|
|
194
|
-
color:#000;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
tt { color:#007A00 }
|
|
198
|
-
pre tt { color:#000 }
|
|
199
|
-
|
|
200
|
-
dt { color:#000 }
|
|
201
|
-
|
|
202
|
-
h1, h2, h3, h4, h5 {
|
|
203
|
-
font-family:'lucida grande',helvetica,verdana,sans-serif;
|
|
204
|
-
color:#900;
|
|
205
|
-
font-weight:bold;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
#header {
|
|
209
|
-
text-align:left;
|
|
210
|
-
}
|
|
211
|
-
#header h1 { margin-bottom:40px }
|
|
212
|
-
|
|
213
|
-
h1 {
|
|
214
|
-
font-size:36px;
|
|
215
|
-
line-height:1;
|
|
216
|
-
margin:40px 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
h2 {
|
|
220
|
-
font-size:28px;
|
|
221
|
-
line-height:1;
|
|
222
|
-
margin:30px 0 20px 0;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.sectionbody {
|
|
226
|
-
margin-left:30px;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
pre {
|
|
230
|
-
background:#EEE;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/* vim: set ft=css ts=4 sw=4 noexpandtab: */
|