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.
Files changed (136) hide show
  1. data/README.markdown +1 -1
  2. data/Rakefile +14 -2
  3. data/asciidoc/BUGS +11 -6
  4. data/asciidoc/BUGS.txt +7 -3
  5. data/asciidoc/CHANGELOG +313 -151
  6. data/asciidoc/CHANGELOG.txt +177 -12
  7. data/asciidoc/INSTALL +30 -36
  8. data/asciidoc/INSTALL.txt +20 -20
  9. data/asciidoc/Makefile.in +145 -0
  10. data/asciidoc/README +11 -11
  11. data/asciidoc/README.txt +9 -9
  12. data/asciidoc/a2x +40 -7
  13. data/asciidoc/asciidoc.conf +180 -126
  14. data/asciidoc/asciidoc.py +1667 -977
  15. data/asciidoc/common.aap +2 -2
  16. data/asciidoc/configure +2840 -0
  17. data/asciidoc/configure.ac +11 -0
  18. data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
  19. data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
  20. data/asciidoc/dblatex/dblatex-readme.txt +19 -2
  21. data/asciidoc/doc/a2x.1 +77 -67
  22. data/asciidoc/doc/a2x.1.txt +11 -2
  23. data/asciidoc/doc/article.css-embedded.html +85 -63
  24. data/asciidoc/doc/article.html +644 -62
  25. data/asciidoc/doc/article.pdf +0 -0
  26. data/asciidoc/doc/article.txt +15 -17
  27. data/asciidoc/doc/asciidoc.1 +34 -40
  28. data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
  29. data/asciidoc/doc/asciidoc.1.css.html +28 -28
  30. data/asciidoc/doc/asciidoc.1.html +33 -33
  31. data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
  32. data/asciidoc/doc/asciidoc.css.html +2203 -2352
  33. data/asciidoc/doc/asciidoc.dict +52 -1
  34. data/asciidoc/doc/asciidoc.html +980 -1160
  35. data/asciidoc/doc/asciidoc.txt +941 -738
  36. data/asciidoc/doc/asciimathml.txt +63 -0
  37. data/asciidoc/doc/book-multi.html +26 -43
  38. data/asciidoc/doc/book-multi.txt +19 -23
  39. data/asciidoc/doc/book.css-embedded.html +92 -71
  40. data/asciidoc/doc/book.html +24 -41
  41. data/asciidoc/doc/book.txt +19 -21
  42. data/asciidoc/doc/docbook-xsl.css +1 -0
  43. data/asciidoc/doc/faq.txt +288 -60
  44. data/asciidoc/doc/images +1 -0
  45. data/asciidoc/doc/latex-backend.html +16 -123
  46. data/asciidoc/doc/latex-backend.txt +17 -19
  47. data/asciidoc/doc/latexmath.txt +233 -24
  48. data/asciidoc/doc/latexmathml.txt +41 -0
  49. data/asciidoc/doc/main.aap +9 -5
  50. data/asciidoc/doc/music-filter.pdf +0 -0
  51. data/asciidoc/doc/music-filter.txt +2 -2
  52. data/asciidoc/doc/source-highlight-filter.html +476 -105
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +39 -10
  55. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
  56. data/asciidoc/docbook-xsl/fo.xsl +35 -3
  57. data/asciidoc/docbook-xsl/manpage.xsl +3 -0
  58. data/asciidoc/docbook-xsl/text.xsl +50 -0
  59. data/asciidoc/docbook.conf +182 -73
  60. data/asciidoc/examples/website/ASCIIMathML.js +1 -0
  61. data/asciidoc/examples/website/CHANGELOG.html +618 -182
  62. data/asciidoc/examples/website/CHANGELOG.txt +1 -0
  63. data/asciidoc/examples/website/INSTALL.html +34 -36
  64. data/asciidoc/examples/website/INSTALL.txt +1 -0
  65. data/asciidoc/examples/website/LaTeXMathML.js +1 -0
  66. data/asciidoc/examples/website/README-website.html +26 -37
  67. data/asciidoc/examples/website/README-website.txt +6 -6
  68. data/asciidoc/examples/website/README.html +15 -15
  69. data/asciidoc/examples/website/README.txt +1 -0
  70. data/asciidoc/examples/website/a2x.1.html +74 -50
  71. data/asciidoc/examples/website/a2x.1.txt +1 -0
  72. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
  73. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
  74. data/asciidoc/examples/website/asciimathml.txt +1 -0
  75. data/asciidoc/examples/website/customers.csv +1 -0
  76. data/asciidoc/examples/website/downloads.html +69 -31
  77. data/asciidoc/examples/website/downloads.txt +28 -5
  78. data/asciidoc/examples/website/faq.html +370 -124
  79. data/asciidoc/examples/website/faq.txt +1 -0
  80. data/asciidoc/examples/website/images +1 -0
  81. data/asciidoc/examples/website/index.html +64 -64
  82. data/asciidoc/examples/website/index.txt +22 -15
  83. data/asciidoc/examples/website/latex-backend.html +152 -257
  84. data/asciidoc/examples/website/latex-backend.txt +1 -0
  85. data/asciidoc/examples/website/latexmathml.txt +1 -0
  86. data/asciidoc/examples/website/manpage.html +27 -27
  87. data/asciidoc/examples/website/manpage.txt +1 -0
  88. data/asciidoc/examples/website/music-filter.html +18 -18
  89. data/asciidoc/examples/website/music-filter.txt +1 -0
  90. data/asciidoc/examples/website/music1.abc +1 -1
  91. data/asciidoc/examples/website/music1.png +0 -0
  92. data/asciidoc/examples/website/music2.ly +1 -1
  93. data/asciidoc/examples/website/music2.png +0 -0
  94. data/asciidoc/examples/website/newlists.txt +40 -0
  95. data/asciidoc/examples/website/newtables.txt +397 -0
  96. data/asciidoc/examples/website/source-highlight-filter.html +67 -32
  97. data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
  98. data/asciidoc/examples/website/support.html +4 -4
  99. data/asciidoc/examples/website/toc.js +1 -0
  100. data/asciidoc/examples/website/userguide.html +2190 -2339
  101. data/asciidoc/examples/website/userguide.txt +1 -0
  102. data/asciidoc/examples/website/version83.txt +37 -0
  103. data/asciidoc/examples/website/version9.html +13 -13
  104. data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
  105. data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
  106. data/asciidoc/examples/website/xhtml11.css +1 -0
  107. data/asciidoc/filters/code-filter-readme.txt +3 -3
  108. data/asciidoc/filters/code-filter-test.txt +6 -6
  109. data/asciidoc/filters/source-highlight-filter.conf +12 -5
  110. data/asciidoc/html4.conf +152 -58
  111. data/asciidoc/install-sh +201 -0
  112. data/asciidoc/latex.conf +41 -41
  113. data/asciidoc/stylesheets/docbook-xsl.css +1 -0
  114. data/asciidoc/stylesheets/xhtml11.css +39 -4
  115. data/asciidoc/text.conf +4 -4
  116. data/asciidoc/vim/syntax/asciidoc.vim +58 -32
  117. data/asciidoc/wordpress.conf +48 -0
  118. data/asciidoc/xhtml11-quirks.conf +1 -1
  119. data/asciidoc/xhtml11.conf +198 -70
  120. data/bin/mizuho +5 -2
  121. data/lib/mizuho/generator.rb +48 -19
  122. data/mizuho.gemspec +16 -6
  123. metadata +58 -15
  124. data/asciidoc/doc/asciimath.txt +0 -47
  125. data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
  126. data/asciidoc/examples/website/asciimath.html +0 -157
  127. data/asciidoc/examples/website/latexmath.html +0 -119
  128. data/asciidoc/filters/code-filter-test-c++.txt +0 -7
  129. data/asciidoc/install.sh +0 -55
  130. data/asciidoc/linuxdoc.conf +0 -285
  131. data/asciidoc/math.conf +0 -50
  132. data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
  133. data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
  134. data/asciidoc/t.conf +0 -20
  135. data/asciidoc/xhtml-deprecated-css.conf +0 -235
  136. data/asciidoc/xhtml-deprecated.conf +0 -351
@@ -1,17 +1,185 @@
1
1
  AsciiDoc ChangeLog
2
2
  ==================
3
3
 
4
- Version 8.2.7 (2008-07-04)
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
- See the http://hg.sharesource.org/asciidoc/shortlog[AsciiDoc Mercurial
7
- repository] for a full list of changes.
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) which are used by a2x(1).
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) `--fop-opts=FOP_OPTS` option (patch submitted by Miklos
216
+ - Added a2x(1) `\--fop-opts=FOP_OPTS` option (patch submitted by Miklos
49
217
  Vajna).
50
- - Added a2x(1) `--dblatex-opts=DBLATEX_OPTS` option.
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 `&mdash;` entity.
1025
1190
  - Changed the `.UNDER-CONSTRUCTION.` macro syntax to
1026
- `\#UNDER-CONSTRUCTION#` so it is not mistaken for a BlockTitle.
1191
+ `#UNDER-CONSTRUCTION#` so it is not mistaken for a BlockTitle.
1027
1192
  Similarly changed the `.NEW.` replacement with
1028
- `{amp}\#35;NEW{amp}#35;`.
1029
- - `{amp}\#35;NEW{amp}#35;` and `\#UNDER-CONSTRUCTION#` macros are now
1193
+ `&#35;NEW&#35;`.
1194
+ - `&#35;NEW&#35;` 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.2.7, 4 July 2008
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 is not supported or you prefer to
24
- install from source use the install.sh shell script in the tarball root
25
- directory (thanks to [5]Jacob Mandelson for the initial implementation
26
- of this script).
27
-
28
- install.sh installs AsciiDoc executables, configuration files and man
29
- pages in the usual locations. Here's how:
30
-
31
- $ tar -xzf asciidoc-8.2.7.tar.gz
32
- $ cd asciidoc-8.2.7
33
- $ sudo ./install.sh
34
-
35
- Note: This script was tested on Ubuntu Linux. You may need to edit
36
- install.sh if your file locations differ from those wired into the
37
- script.
38
-
39
- The uninstall.sh script (actually just a symlink to install.sh) will
40
- uninstall AsciiDoc.
41
-
42
- If Vim is installed on your system install.sh will install the Vim
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/).
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
- $ mkdir asciidoc
57
- $ cd asciidoc
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.2.7
74
- Last updated 2008-07-04 23:26:27 NZDT
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 is not supported or you prefer to
23
- install from source use the `install.sh` shell script in the tarball
24
- root directory (thanks to mailto:jlm@ofb.net[Jacob Mandelson] for the
25
- initial implementation of this script).
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
- `install.sh` installs AsciiDoc executables, configuration files and
28
- man pages in the usual locations. Here's how:
27
+ The `autoconf(1)` generated `configure` script creates a make file
28
+ that is tailored for your system. To install:
29
29
 
30
- [subs="normal"]
30
+ [subs="attributes"]
31
31
  $ tar -xzf asciidoc-{revision}.tar.gz
32
32
  $ cd asciidoc-{revision}
33
- $ sudo ./install.sh
33
+ $ ./configure
34
+ $ make
35
+ $ sudo make install
34
36
 
35
- NOTE: This script was tested on Ubuntu Linux. You may need to edit
36
- `install.sh` if your file locations differ from those wired into the
37
- script.
37
+ To install the documentation:
38
38
 
39
- The `uninstall.sh` script (actually just a symlink to `install.sh`)
40
- will uninstall AsciiDoc.
39
+ $ sudo make docs
41
40
 
42
- If Vim is installed on your system `install.sh` will install the Vim
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
- To install locally put `asciidoc.vim` in `\~/.vim/syntax/` and
48
- `asciidoc_filetype.vim` in `~/.vim/ftdetect/`.
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="normal"]
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."