FooBarWidget-mizuho 0.9.1 → 0.9.2
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/README.markdown +1 -1
- data/Rakefile +14 -2
- data/asciidoc/BUGS +11 -6
- data/asciidoc/BUGS.txt +7 -3
- data/asciidoc/CHANGELOG +313 -151
- data/asciidoc/CHANGELOG.txt +177 -12
- data/asciidoc/INSTALL +30 -36
- data/asciidoc/INSTALL.txt +20 -20
- data/asciidoc/Makefile.in +145 -0
- data/asciidoc/README +11 -11
- data/asciidoc/README.txt +9 -9
- data/asciidoc/a2x +40 -7
- data/asciidoc/asciidoc.conf +180 -126
- data/asciidoc/asciidoc.py +1667 -977
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +2840 -0
- data/asciidoc/configure.ac +11 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
- data/asciidoc/dblatex/dblatex-readme.txt +19 -2
- data/asciidoc/doc/a2x.1 +77 -67
- data/asciidoc/doc/a2x.1.txt +11 -2
- data/asciidoc/doc/article.css-embedded.html +85 -63
- data/asciidoc/doc/article.html +644 -62
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +15 -17
- data/asciidoc/doc/asciidoc.1 +34 -40
- data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
- data/asciidoc/doc/asciidoc.1.css.html +28 -28
- data/asciidoc/doc/asciidoc.1.html +33 -33
- data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
- data/asciidoc/doc/asciidoc.css.html +2203 -2352
- data/asciidoc/doc/asciidoc.dict +52 -1
- data/asciidoc/doc/asciidoc.html +980 -1160
- data/asciidoc/doc/asciidoc.txt +941 -738
- data/asciidoc/doc/asciimathml.txt +63 -0
- data/asciidoc/doc/book-multi.html +26 -43
- data/asciidoc/doc/book-multi.txt +19 -23
- data/asciidoc/doc/book.css-embedded.html +92 -71
- data/asciidoc/doc/book.html +24 -41
- data/asciidoc/doc/book.txt +19 -21
- data/asciidoc/doc/docbook-xsl.css +1 -0
- data/asciidoc/doc/faq.txt +288 -60
- data/asciidoc/doc/images +1 -0
- data/asciidoc/doc/latex-backend.html +16 -123
- data/asciidoc/doc/latex-backend.txt +17 -19
- data/asciidoc/doc/latexmath.txt +233 -24
- data/asciidoc/doc/latexmathml.txt +41 -0
- data/asciidoc/doc/main.aap +9 -5
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +2 -2
- data/asciidoc/doc/source-highlight-filter.html +476 -105
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +39 -10
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
- data/asciidoc/docbook-xsl/fo.xsl +35 -3
- data/asciidoc/docbook-xsl/manpage.xsl +3 -0
- data/asciidoc/docbook-xsl/text.xsl +50 -0
- data/asciidoc/docbook.conf +182 -73
- data/asciidoc/examples/website/ASCIIMathML.js +1 -0
- data/asciidoc/examples/website/CHANGELOG.html +618 -182
- data/asciidoc/examples/website/CHANGELOG.txt +1 -0
- data/asciidoc/examples/website/INSTALL.html +34 -36
- data/asciidoc/examples/website/INSTALL.txt +1 -0
- data/asciidoc/examples/website/LaTeXMathML.js +1 -0
- data/asciidoc/examples/website/README-website.html +26 -37
- data/asciidoc/examples/website/README-website.txt +6 -6
- data/asciidoc/examples/website/README.html +15 -15
- data/asciidoc/examples/website/README.txt +1 -0
- data/asciidoc/examples/website/a2x.1.html +74 -50
- data/asciidoc/examples/website/a2x.1.txt +1 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
- data/asciidoc/examples/website/asciimathml.txt +1 -0
- data/asciidoc/examples/website/customers.csv +1 -0
- data/asciidoc/examples/website/downloads.html +69 -31
- data/asciidoc/examples/website/downloads.txt +28 -5
- data/asciidoc/examples/website/faq.html +370 -124
- data/asciidoc/examples/website/faq.txt +1 -0
- data/asciidoc/examples/website/images +1 -0
- data/asciidoc/examples/website/index.html +64 -64
- data/asciidoc/examples/website/index.txt +22 -15
- data/asciidoc/examples/website/latex-backend.html +152 -257
- data/asciidoc/examples/website/latex-backend.txt +1 -0
- data/asciidoc/examples/website/latexmathml.txt +1 -0
- data/asciidoc/examples/website/manpage.html +27 -27
- data/asciidoc/examples/website/manpage.txt +1 -0
- data/asciidoc/examples/website/music-filter.html +18 -18
- data/asciidoc/examples/website/music-filter.txt +1 -0
- data/asciidoc/examples/website/music1.abc +1 -1
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +1 -1
- 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/source-highlight-filter.html +67 -32
- data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
- data/asciidoc/examples/website/support.html +4 -4
- data/asciidoc/examples/website/toc.js +1 -0
- data/asciidoc/examples/website/userguide.html +2190 -2339
- data/asciidoc/examples/website/userguide.txt +1 -0
- data/asciidoc/examples/website/version83.txt +37 -0
- data/asciidoc/examples/website/version9.html +13 -13
- data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
- data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
- data/asciidoc/examples/website/xhtml11.css +1 -0
- data/asciidoc/filters/code-filter-readme.txt +3 -3
- data/asciidoc/filters/code-filter-test.txt +6 -6
- data/asciidoc/filters/source-highlight-filter.conf +12 -5
- data/asciidoc/html4.conf +152 -58
- data/asciidoc/install-sh +201 -0
- data/asciidoc/latex.conf +41 -41
- data/asciidoc/stylesheets/docbook-xsl.css +1 -0
- data/asciidoc/stylesheets/xhtml11.css +39 -4
- data/asciidoc/text.conf +4 -4
- data/asciidoc/vim/syntax/asciidoc.vim +58 -32
- data/asciidoc/wordpress.conf +48 -0
- data/asciidoc/xhtml11-quirks.conf +1 -1
- data/asciidoc/xhtml11.conf +198 -70
- data/bin/mizuho +5 -2
- data/lib/mizuho/generator.rb +48 -19
- data/mizuho.gemspec +16 -6
- metadata +58 -15
- data/asciidoc/doc/asciimath.txt +0 -47
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
- data/asciidoc/examples/website/asciimath.html +0 -157
- data/asciidoc/examples/website/latexmath.html +0 -119
- data/asciidoc/filters/code-filter-test-c++.txt +0 -7
- data/asciidoc/install.sh +0 -55
- data/asciidoc/linuxdoc.conf +0 -285
- data/asciidoc/math.conf +0 -50
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
- data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
- data/asciidoc/t.conf +0 -20
- data/asciidoc/xhtml-deprecated-css.conf +0 -235
- data/asciidoc/xhtml-deprecated.conf +0 -351
data/asciidoc/CHANGELOG.txt
CHANGED
@@ -1,17 +1,185 @@
|
|
1
1
|
AsciiDoc ChangeLog
|
2
2
|
==================
|
3
3
|
|
4
|
-
|
4
|
+
:replacements.\bweb:: http://www.methods.co.nz/asciidoc/
|
5
|
+
|
6
|
+
Version 8.3.1 (2008-12-14)
|
7
|
+
--------------------------
|
8
|
+
.Additions and changes
|
9
|
+
- Replaced the `install.sh` script with Ben Walton's updated autoconf
|
10
|
+
scripts -- see web:INSTALL.html[INSTALL] for details.
|
11
|
+
- Added a generalized 'AttributeEntry' syntax to allow arbitrary
|
12
|
+
configuration file entries to be set from within an AsciiDoc
|
13
|
+
document (suggested by Henrik Maier).
|
14
|
+
- Listing delimited blocks in DocBook outputs now support IDs; IDs of
|
15
|
+
titled Listing and Literal delimited blocks have been moved to the
|
16
|
+
enclosing DocBook example tag (thanks to Vijay Kumar for this
|
17
|
+
patch).
|
18
|
+
- Replaced vertical typewriter apostrophe with punctuation apostrophe
|
19
|
+
(thanks to Noah Slater).
|
20
|
+
|
21
|
+
.Bug fixes
|
22
|
+
- Regression: Excluding double-quotes from unquoted attribute values
|
23
|
+
resulted in backward incompatibility, double-quotes in unquoted
|
24
|
+
attribute values has been reinstated.
|
25
|
+
- Regression: Text like `&...;` was sometimes mistaken for an entity
|
26
|
+
reference -- tightened up entity reference matching.
|
27
|
+
|
28
|
+
|
29
|
+
Version 8.3.0 (2008-11-29)
|
5
30
|
--------------------------
|
6
|
-
|
7
|
-
|
31
|
+
.Additions and changes
|
32
|
+
- web:newtables.html[AsciiDoc new tables] is a complete redesign of
|
33
|
+
the tables syntax and generation. The new syntax and features are a
|
34
|
+
huge improvement over the old tables. The old tables syntax has been
|
35
|
+
deprecated but is currently still processed.
|
36
|
+
- web:newlists.html[Lists can now be styled] like other block
|
37
|
+
elements. This allows a single list syntax for 'glossary', 'qanda'
|
38
|
+
(Question and Answer) and 'bibliography' lists instead of having to
|
39
|
+
remember a different syntax for each type.
|
40
|
+
- Inline passthroughs macros have been improved and block passthrough
|
41
|
+
macros added. Attribute substitution can be optionally specified
|
42
|
+
when the macro is called.
|
43
|
+
- The passthrough block has a fully transparent passthrough delimited
|
44
|
+
block block style called 'pass'.
|
45
|
+
- The 'asciimath' and 'latexmath' web:userguide.html#X77[passthrough
|
46
|
+
macros] along with 'asciimath' and 'latexmath'
|
47
|
+
web:userguide.html#X76[passthrough blocks] provide a (backend
|
48
|
+
dependent) mechanism for rendering mathematical formulas. There are
|
49
|
+
web:latexmath.pdf[LaTeX Math], web:asciimathml.html[AsciiMathML] and
|
50
|
+
web:latexmathml.html[LaTeXMathML] examples on the AsciiDoc website.
|
51
|
+
- Reimplemented and cleaned up filter processing based on a patch
|
52
|
+
submitted by Kelly Anderson. Uses the newer subprocess module
|
53
|
+
instead of the deprecated popen2 module. Now works in Win32 command
|
54
|
+
shell.
|
55
|
+
- Addition FAQs, more documentation updates.
|
56
|
+
- Arbitrary HTML/XML entities can be entered in AsciiDoc source.
|
57
|
+
- Did away with the need for the `shaded-literallayout.patch` (thanks
|
58
|
+
to Henrik Maier for this patch).
|
59
|
+
- Implemented 'page break' block macro.
|
60
|
+
- Added 'line breaks' and 'ruler' processing instructions to DocBook
|
61
|
+
outputs (thanks to Henrik Maier for this patch).
|
62
|
+
- Added 'deg' (degree) and 'wj' (word joiner) entity attributes
|
63
|
+
(thanks to Henrik Maier).
|
64
|
+
- Tweaked DocBook 'indexterm2' macro to avoid white space preceding
|
65
|
+
the term when used in table cells (thanks to Henrik Maier for this
|
66
|
+
patch).
|
67
|
+
- Title elements now process the 'options' attribute like other block
|
68
|
+
elements.
|
69
|
+
- Added `single quoted' element.
|
70
|
+
- Spaces on both sides of a -- em-dash are translated to thin space
|
71
|
+
characters.
|
72
|
+
- Improved detection and reporting of malformed attribute lists.
|
73
|
+
- The list 'compact' style is now a list option.
|
74
|
+
- Added 'strong' labeled list option which makes the labels bold (HTML
|
75
|
+
outputs only).
|
76
|
+
- Dropped unsupported 'linuxdoc' backend.
|
77
|
+
- Dropped deprecated 'xhtml-deprecated' (version 6) backend.
|
78
|
+
- Added 'breakable' and 'unbreakable' attribute options to tables to
|
79
|
+
control table breaking across page boundaries (DocBook XSL/FO
|
80
|
+
outputs). By and in collaboration with Henrik Maier.
|
81
|
+
- Added 'pgwide' attribute option to tables to table, block image,
|
82
|
+
horizontal labeled lists. Specifies that the element should be
|
83
|
+
rendered across the full text width of the page irrespective of the
|
84
|
+
current indentation (DocBook XSL/FO outputs). Thanks to Henrik Maier
|
85
|
+
for this patch.
|
86
|
+
- Vim syntax highlighter: spaces before/after bullets no longer
|
87
|
+
highlighted (which is ugly if using a theme that highlights with
|
88
|
+
underlines). Thanks to Donald Chai for this patch.
|
89
|
+
- Added `a2x(1)` `\--fop` option.
|
90
|
+
- Added `a2x(1)` `\--no-xmllint` option.
|
91
|
+
- Highlighted labelled list terms with the navy color in XHTML
|
92
|
+
outputs.
|
93
|
+
- Use `w3m(1)` as default `a2x(1)` text format generator (fallback to
|
94
|
+
`lynx(1)`).
|
95
|
+
- Changed callout formats in html4 and xhtml11 outputs to angle
|
96
|
+
brackets to match source highlighter rendering.
|
97
|
+
- Macros now inject user defined `<optionname>-option` attributes into
|
98
|
+
markup.
|
99
|
+
- Added IRC URLs to AsciiDoc inline macros.
|
100
|
+
- Added `depth` attribute to `include::[]` system macro.
|
101
|
+
- Added 'footnoteref' inline macro.
|
102
|
+
- Added 'stylesheet' XHTML attribute to specify additional custom CSS
|
103
|
+
stylesheet.
|
104
|
+
- If a paragraph style is specified it will be added to the XHTML
|
105
|
+
'class' attribute and DocBook 'role' attribute.
|
106
|
+
- Replacements can be set in a document using the reserved
|
107
|
+
AttributeEntry name 'replacement'.
|
108
|
+
- The prefix for auto-generated section name IDs can be set with the
|
109
|
+
'idprefix' attribute.
|
110
|
+
|
111
|
+
.Bug fixes
|
112
|
+
- Escaped quote skipped over leading and trailing quote instead of
|
113
|
+
just the leading quote.
|
114
|
+
- Fixed bug that was causing false negative safe mode warnings (patch
|
115
|
+
submitted by Julien Palmas).
|
116
|
+
- Placed priority of AttributeEntry, AttributeList and BlockTitle
|
117
|
+
above Title. This ensures an AttributeEntry, AttributeList or
|
118
|
+
BlockTitle followed by a same length leading ListingBlock delimiter
|
119
|
+
is not mistaken for a two-line title.
|
120
|
+
- Vim syntax highlighter: fixed multi-line quoted text.
|
121
|
+
- Contstrained quote termination after non-space character enforced.
|
122
|
+
- Vim syntax highlighter: unterminated quoted text is no longer
|
123
|
+
highlighted.
|
124
|
+
- Vim syntax highlighter: passthroughs now exactly match AsciiDoc
|
125
|
+
semantics.
|
126
|
+
- Vim syntax highlighter: escaped quoted text, attribute references
|
127
|
+
and inline macros are not highlighted.
|
128
|
+
- Vim syntax highlighter: TODO's highlighted in CommentBlocks (thanks
|
129
|
+
to Scott Wall); non-greedy pass:[$$...$$].
|
130
|
+
- Vim syntax highlighter: Comment lines mistaken for vertical list
|
131
|
+
labels (thanks to Scott Wall).
|
132
|
+
- Vim syntax highlighter: Single unmatched $$ mistakenly highlighted
|
133
|
+
remaining text (patch contributed by Scott Wall).
|
134
|
+
- Callouts now work in source highlighted listing generated by
|
135
|
+
dblatex.
|
136
|
+
- Fixed exception that occured if undefined attribute was present in
|
137
|
+
filter command.
|
138
|
+
- AttributeList block can now follow a paragraph without intervening
|
139
|
+
blank line.
|
140
|
+
- The include macro tabsize attribute is no longer propagated to
|
141
|
+
nested includes.
|
142
|
+
|
143
|
+
.Omissions
|
144
|
+
The following features were implemented but then but removed from this
|
145
|
+
release:
|
146
|
+
|
147
|
+
- 'pi', 'cdata' and 'comment' passthrough macros and passthrough block
|
148
|
+
styles (creeping featurism, use 'pass' macros instead).
|
149
|
+
- Generic 'tag' inline macro (creeping featurism, use 'pass' macros
|
150
|
+
instead).
|
151
|
+
|
152
|
+
|
153
|
+
[[X1]]
|
154
|
+
Compatibility issues
|
155
|
+
~~~~~~~~~~~~~~~~~~~~
|
156
|
+
Version 8.3.0 has a number of backward incompatibilities with respect
|
157
|
+
to the previous 8.2.7 release:
|
158
|
+
|
159
|
+
- The old table syntax is still processed but a 'DEPRECATED' warning
|
160
|
+
is issued.
|
161
|
+
- Entity references have to be escaped with a backslash.
|
162
|
+
- You have to explicitly precede horizontal style labeled lists with
|
163
|
+
the `[horizontal]` style attribute -- by default all labeled lists
|
164
|
+
are rendered vertically.
|
165
|
+
- The list 'compact' style has been dropped and is now a list option
|
166
|
+
(use `options="compact"` in attribute lists).
|
167
|
+
- AsciiDoc version 6 sytnax no longer supported.
|
168
|
+
- Linuxdoc been removed from the distribution.
|
169
|
+
- The unsupported experimental 'latex' backend has not been tested on
|
170
|
+
this release.
|
171
|
+
- The introduction of single-quote quoting requires that double-quote
|
172
|
+
quoting is escaped with two backslashes.
|
8
173
|
|
174
|
+
|
175
|
+
Version 8.2.7 (2008-07-04)
|
176
|
+
--------------------------
|
9
177
|
.Additions and changes
|
10
178
|
- Added `dvi`, `ps` and `tex` output format options to a2x(1).
|
11
179
|
- Added `--dblatex` option to a2x(1) so `dblatex(1)` can be used to
|
12
180
|
generate PDFs.
|
13
181
|
- Added custom `dblatex(1)` configuration files (in distribution
|
14
|
-
`./dblatex` directory)
|
182
|
+
`./dblatex` directory) that are used by a2x(1).
|
15
183
|
- `dblatex(1)` is now used to generate the distributed PDF version of
|
16
184
|
the AsciiDoc User Guide.
|
17
185
|
- If you don't need a customized the link caption you can enter the
|
@@ -45,9 +213,9 @@ repository] for a full list of changes.
|
|
45
213
|
documents). 'scaledwidth' sets the image size as a percent of the
|
46
214
|
available page width; 'align' applies 'left', 'center' or 'right'
|
47
215
|
horizontal image justification.
|
48
|
-
- Added a2x(1)
|
216
|
+
- Added a2x(1) `\--fop-opts=FOP_OPTS` option (patch submitted by Miklos
|
49
217
|
Vajna).
|
50
|
-
- Added a2x(1)
|
218
|
+
- Added a2x(1) `\--dblatex-opts=DBLATEX_OPTS` option.
|
51
219
|
- Added Mikhail Yakshin's FOP 0.95 patch which fixes a long-standing
|
52
220
|
`fo.xsl` problem and allows PDF's to be generated with FOP 0.95
|
53
221
|
(previously had to use FOP 0.20.5).
|
@@ -66,9 +234,6 @@ repository changelog].
|
|
66
234
|
|
67
235
|
Version 8.2.6 (2008-04-29)
|
68
236
|
--------------------------
|
69
|
-
See the http://hg.sharesource.org/asciidoc/shortlog[AsciiDoc Mercurial
|
70
|
-
repository] for a full list of changes.
|
71
|
-
|
72
237
|
.Additions and changes
|
73
238
|
- Enhancements to the Vim AsciiDoc syntax highlighter, for example,
|
74
239
|
quoted text is now highlighted in titles and macro captions.
|
@@ -1023,10 +1188,10 @@ Version 5.0.6 (2004-03-07)
|
|
1023
1188
|
- A replacement has been added to `asciidoc.conf` to replace inline
|
1024
1189
|
double dashes with the `—` entity.
|
1025
1190
|
- Changed the `.UNDER-CONSTRUCTION.` macro syntax to
|
1026
|
-
|
1191
|
+
`#UNDER-CONSTRUCTION#` so it is not mistaken for a BlockTitle.
|
1027
1192
|
Similarly changed the `.NEW.` replacement with
|
1028
|
-
|
1029
|
-
-
|
1193
|
+
`#NEW#`.
|
1194
|
+
- `#NEW#` and `#UNDER-CONSTRUCTION#` macros are now
|
1030
1195
|
included in the DocBook backend.
|
1031
1196
|
- Replaced shipped `smallnew.gif` with `smallnew.png`.
|
1032
1197
|
- Documentation tidy ups.
|
data/asciidoc/INSTALL
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
AsciiDoc Installation
|
2
2
|
|
3
|
-
version 8.
|
3
|
+
version 8.3.1, 14 December 2008
|
4
4
|
|
5
5
|
Note: The current version of AsciiDoc requires Python 2.4 or newer to
|
6
6
|
run. If you don't already have an up-to-date version of Python
|
@@ -20,42 +20,38 @@
|
|
20
20
|
|
21
21
|
2. Distribution tarball installation
|
22
22
|
|
23
|
-
If your flavor or UNIX or Linux
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
install
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
If Vim is installed on your system
|
43
|
-
|
44
|
-
|
45
|
-
asciidoc_filetype.vim in
|
46
|
-
|
47
|
-
To install locally put asciidoc.vim in ~/.vim/syntax/ and
|
48
|
-
asciidoc_filetype.vim in ~/.vim/ftdetect/.
|
23
|
+
If your flavor or UNIX or Linux does not have a packaged AsciiDoc
|
24
|
+
distribution or if you prefer to install the latest AsciiDoc version
|
25
|
+
from source use the configure shell script in the tarball root
|
26
|
+
directory.
|
27
|
+
|
28
|
+
The autoconf(1) generated configure script creates a make file that is
|
29
|
+
tailored for your system. To install:
|
30
|
+
$ tar -xzf asciidoc-8.3.1.tar.gz
|
31
|
+
$ cd asciidoc-8.3.1
|
32
|
+
$ ./configure
|
33
|
+
$ make
|
34
|
+
$ sudo make install
|
35
|
+
|
36
|
+
To install the documentation:
|
37
|
+
$ sudo make docs
|
38
|
+
|
39
|
+
To uninstall AsciiDoc:
|
40
|
+
$ sudo make uninstall
|
41
|
+
|
42
|
+
If Vim is installed on your system the AsciiDoc Vim syntax highlighter
|
43
|
+
and filetype detection scripts will be install in the global Vim
|
44
|
+
configuration file directory (asciidoc.vim in the syntax directory and
|
45
|
+
asciidoc_filetype.vim in the ftdetect directory).
|
49
46
|
__________________________________________________________________
|
50
47
|
|
51
48
|
3. Microsoft Windows installation
|
52
49
|
|
53
50
|
To install the zip formatted distribution just unzip the contents to a
|
54
51
|
new folder:
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
$ unzip ../asciidoc-8.2.7.zip
|
52
|
+
$ mkdir asciidoc
|
53
|
+
$ cd asciidoc
|
54
|
+
$ unzip ../asciidoc-8.3.1.zip
|
59
55
|
__________________________________________________________________
|
60
56
|
|
61
57
|
4. Testing your installation
|
@@ -63,15 +59,14 @@
|
|
63
59
|
Test out asciidoc by changing to the AsciiDoc application directory and
|
64
60
|
convert the User Guide document (./doc/asciidoc.txt) to XHTML
|
65
61
|
(./doc/asciidoc.html):
|
66
|
-
|
67
|
-
$ asciidoc doc/asciidoc.txt
|
62
|
+
$ asciidoc doc/asciidoc.txt
|
68
63
|
|
69
64
|
Note: Windows users will need to execute the asciidoc.py script
|
70
65
|
directly or create a suitable asciidoc.bat file.
|
71
66
|
__________________________________________________________________
|
72
67
|
|
73
|
-
Version 8.
|
74
|
-
Last updated 2008-
|
68
|
+
Version 8.3.1
|
69
|
+
Last updated 2008-12-13 10:52:07 NZDT
|
75
70
|
|
76
71
|
References
|
77
72
|
|
@@ -79,4 +74,3 @@ References
|
|
79
74
|
2. http://www.methods.co.nz/asciidoc/downloads.html
|
80
75
|
3. http://sourceforge.net/projects/asciidoc/
|
81
76
|
4. http://www.methods.co.nz/asciidoc/downloads.html
|
82
|
-
5. mailto:jlm@ofb.net
|
data/asciidoc/INSTALL.txt
CHANGED
@@ -19,33 +19,33 @@ lists AsciiDoc packages for various Linux distributions.
|
|
19
19
|
|
20
20
|
Distribution tarball installation
|
21
21
|
---------------------------------
|
22
|
-
If your flavor or UNIX or Linux
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
If your flavor or UNIX or Linux does not have a packaged AsciiDoc
|
23
|
+
distribution or if you prefer to install the latest AsciiDoc version
|
24
|
+
from source use the `configure` shell script in the tarball root
|
25
|
+
directory.
|
26
26
|
|
27
|
-
`
|
28
|
-
|
27
|
+
The `autoconf(1)` generated `configure` script creates a make file
|
28
|
+
that is tailored for your system. To install:
|
29
29
|
|
30
|
-
[subs="
|
30
|
+
[subs="attributes"]
|
31
31
|
$ tar -xzf asciidoc-{revision}.tar.gz
|
32
32
|
$ cd asciidoc-{revision}
|
33
|
-
$
|
33
|
+
$ ./configure
|
34
|
+
$ make
|
35
|
+
$ sudo make install
|
34
36
|
|
35
|
-
|
36
|
-
`install.sh` if your file locations differ from those wired into the
|
37
|
-
script.
|
37
|
+
To install the documentation:
|
38
38
|
|
39
|
-
|
40
|
-
will uninstall AsciiDoc.
|
39
|
+
$ sudo make docs
|
41
40
|
|
42
|
-
|
43
|
-
syntax highlighter and filetype detection scripts in the global
|
44
|
-
`/etc/vim` directory (`asciidoc.vim` in `/etc/vim/syntax/` and
|
45
|
-
`asciidoc_filetype.vim` in `/etc/vim/ftdetect/`).
|
41
|
+
To uninstall AsciiDoc:
|
46
42
|
|
47
|
-
|
48
|
-
|
43
|
+
$ sudo make uninstall
|
44
|
+
|
45
|
+
If Vim is installed on your system the AsciiDoc Vim syntax highlighter
|
46
|
+
and filetype detection scripts will be install in the global Vim
|
47
|
+
configuration file directory (`asciidoc.vim` in the `syntax` directory
|
48
|
+
and `asciidoc_filetype.vim` in the `ftdetect` directory).
|
49
49
|
|
50
50
|
|
51
51
|
Microsoft Windows installation
|
@@ -53,7 +53,7 @@ Microsoft Windows installation
|
|
53
53
|
To install the zip formatted distribution just unzip the contents to a
|
54
54
|
new folder:
|
55
55
|
|
56
|
-
[subs="
|
56
|
+
[subs="attributes"]
|
57
57
|
$ mkdir asciidoc
|
58
58
|
$ cd asciidoc
|
59
59
|
$ unzip ../asciidoc-{revision}.zip
|
@@ -0,0 +1,145 @@
|
|
1
|
+
#
|
2
|
+
# Make file to install/uninstall AsciiDoc
|
3
|
+
#
|
4
|
+
|
5
|
+
INSTALL = @INSTALL@
|
6
|
+
INSTALL_PROG = @INSTALL_PROGRAM@
|
7
|
+
INSTALL_DATA = @INSTALL_DATA@
|
8
|
+
|
9
|
+
SED = @SED@
|
10
|
+
|
11
|
+
prefix = @prefix@
|
12
|
+
exec_prefix = @exec_prefix@
|
13
|
+
bindir = @bindir@
|
14
|
+
datadir = @datadir@
|
15
|
+
sysconfdir = @sysconfdir@
|
16
|
+
datarootdir = @datarootdir@
|
17
|
+
mandir=@mandir@
|
18
|
+
srcdir = @srcdir@
|
19
|
+
|
20
|
+
VPATH = @srcdir@
|
21
|
+
|
22
|
+
ASCIIDOCCONF = $(sysconfdir)/asciidoc
|
23
|
+
|
24
|
+
prog = asciidoc.py a2x
|
25
|
+
progdir = $(bindir)
|
26
|
+
|
27
|
+
vimdir = @sysconfdir@/vim
|
28
|
+
|
29
|
+
manp = $(wildcard doc/*.1)
|
30
|
+
manpdir = $(mandir)/man1
|
31
|
+
|
32
|
+
conf = $(wildcard *.conf)
|
33
|
+
confdir = $(ASCIIDOCCONF)
|
34
|
+
|
35
|
+
filters = $(wildcard filters/*.py)
|
36
|
+
filtersdir = $(ASCIIDOCCONF)/filters
|
37
|
+
|
38
|
+
filterconfs = $(wildcard filters/*.conf)
|
39
|
+
filterconfsdir = $(ASCIIDOCCONF)/filters
|
40
|
+
|
41
|
+
docbook = $(wildcard docbook-xsl/*.xsl)
|
42
|
+
docbookdir = $(ASCIIDOCCONF)/docbook-xsl
|
43
|
+
|
44
|
+
dblatex = $(wildcard dblatex/*.xsl) $(wildcard dblatex/*.sty)
|
45
|
+
dblatexdir = $(ASCIIDOCCONF)/dblatex
|
46
|
+
|
47
|
+
css = $(wildcard stylesheets/*.css)
|
48
|
+
cssdir = $(ASCIIDOCCONF)/stylesheets
|
49
|
+
|
50
|
+
js = $(wildcard javascripts/*.js)
|
51
|
+
jsdir = $(ASCIIDOCCONF)/javascripts
|
52
|
+
|
53
|
+
callouts = $(wildcard images/icons/callouts/*)
|
54
|
+
calloutsdir = $(ASCIIDOCCONF)/images/icons/callouts
|
55
|
+
|
56
|
+
icons = $(wildcard images/icons/*.png) images/icons/README
|
57
|
+
iconsdir = $(ASCIIDOCCONF)/images/icons
|
58
|
+
|
59
|
+
doc = $(wildcard README*) $(wildcard BUGS*) $(wildcard INSTALL*) $(wildcard CHANGELOG*)
|
60
|
+
docdir = $(datadir)/doc/asciidoc
|
61
|
+
|
62
|
+
DATATARGETS = manp conf filterconfs docbook dblatex css js callouts icons
|
63
|
+
PROGTARGETS = prog filters
|
64
|
+
TARGETS = $(DATATARGETS) $(PROGTARGETS) doc
|
65
|
+
|
66
|
+
INSTDIRS = $(TARGETS:%=%dir)
|
67
|
+
|
68
|
+
.PHONY: $(TARGETS)
|
69
|
+
|
70
|
+
all: build
|
71
|
+
|
72
|
+
# create directories used during the install
|
73
|
+
$(INSTDIRS):
|
74
|
+
$(INSTALL) -d $(DESTDIR)/$($@)
|
75
|
+
|
76
|
+
$(PROGTARGETS): % : %dir
|
77
|
+
$(INSTALL_PROG) $($@) $(DESTDIR)/$($<)/
|
78
|
+
|
79
|
+
$(DATATARGETS): % : %dir
|
80
|
+
$(INSTALL_DATA) $($@) $(DESTDIR)/$($<)/
|
81
|
+
|
82
|
+
docs:
|
83
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)
|
84
|
+
$(INSTALL_DATA) $(doc) $(DESTDIR)/$(docdir)
|
85
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/docbook-xsl
|
86
|
+
$(INSTALL_DATA) docbook-xsl/asciidoc-docbook-xsl.txt $(DESTDIR)/$(docdir)/docbook-xsl
|
87
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/dblatex
|
88
|
+
$(INSTALL_DATA) dblatex/dblatex-readme.txt $(DESTDIR)/$(docdir)/dblatex
|
89
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/stylesheets
|
90
|
+
$(INSTALL_DATA) $(css) $(DESTDIR)/$(docdir)/stylesheets
|
91
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/javascripts
|
92
|
+
$(INSTALL_DATA) $(js) $(DESTDIR)/$(docdir)/javascripts
|
93
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/images
|
94
|
+
( cd images && \
|
95
|
+
cp -R * $(DESTDIR)/$(docdir)/images )
|
96
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/doc
|
97
|
+
( cd doc && \
|
98
|
+
cp -R * $(DESTDIR)/$(docdir)/doc )
|
99
|
+
$(INSTALL) -d $(DESTDIR)/$(docdir)/examples/website
|
100
|
+
( cd examples/website && \
|
101
|
+
cp -R * $(DESTDIR)/$(docdir)/examples/website )
|
102
|
+
|
103
|
+
renameprog:
|
104
|
+
(cd $(DESTDIR)/$(progdir); mv asciidoc.py asciidoc)
|
105
|
+
|
106
|
+
fixconfpath:
|
107
|
+
@for f in $(prog); do \
|
108
|
+
echo "Fixing CONF_DIR in $$f"; \
|
109
|
+
$(SED) "s#^CONF_DIR = '.*'#CONF_DIR = '$(ASCIIDOCCONF)'#; s#^CONF_DIR=.*#CONF_DIR=$(ASCIIDOCCONF)#" $$f > $$f.out; \
|
110
|
+
mv $$f.out $$f; \
|
111
|
+
done
|
112
|
+
|
113
|
+
install-vim:
|
114
|
+
@for d in $(DESTDIR)/$(vimdir) /etc/vim; do \
|
115
|
+
if ! test -d $$d; then continue; fi ; \
|
116
|
+
echo "installing Vim files in $$d" ; \
|
117
|
+
$(INSTALL) -d $$d/syntax ; \
|
118
|
+
$(INSTALL_DATA) vim/syntax/asciidoc.vim $$d/syntax ; \
|
119
|
+
$(INSTALL) -d $$d/ftdetect ; \
|
120
|
+
$(INSTALL_DATA) vim/ftdetect/asciidoc_filetype.vim $$d/ftdetect ; \
|
121
|
+
done
|
122
|
+
|
123
|
+
uninstall-vim:
|
124
|
+
@for d in $(DESTDIR)/$(vimdir) /etc/vim; do \
|
125
|
+
if ! test -d $$d; then continue; fi ; \
|
126
|
+
echo "uninstalling Vim files in $$d" ; \
|
127
|
+
rm -f $$d/syntax/asciidoc.vim ; \
|
128
|
+
rm -f $$d/ftdetect/asciidoc_filetype.vim ; \
|
129
|
+
done
|
130
|
+
|
131
|
+
|
132
|
+
build: fixconfpath
|
133
|
+
|
134
|
+
install: $(PROGTARGETS) $(DATATARGETS) renameprog install-vim
|
135
|
+
|
136
|
+
uninstall: uninstall-vim
|
137
|
+
rm -f $(DESTDIR)/$(progdir)/asciidoc
|
138
|
+
rm -f $(DESTDIR)/$(progdir)/a2x
|
139
|
+
rm -f $(DESTDIR)/$(mandir)/asciidoc.1
|
140
|
+
rm -f $(DESTDIR)/$(mandir)/a2x.1
|
141
|
+
rm -rf $(DESTDIR)/$(confdir)
|
142
|
+
rm -rf $(DESTDIR)/$(docdir)
|
143
|
+
|
144
|
+
test:
|
145
|
+
@echo "Nothing to see here...Move along."
|