rdtool 0.6.23
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +674 -0
- data/Gemfile +9 -0
- data/HISTORY +284 -0
- data/LICENSE.txt +58 -0
- data/MANIFEST +89 -0
- data/README.html +44 -0
- data/README.ja.html +46 -0
- data/README.rd +52 -0
- data/README.rd.ja +54 -0
- data/Rakefile +29 -0
- data/TODO +15 -0
- data/VERSION +1 -0
- data/bin/rd2 +281 -0
- data/bin/rdswap.rb +207 -0
- data/doc/rd-draft.rd +479 -0
- data/doc/rd-draft.rd.ja +487 -0
- data/lib/rd/block-element.rb +114 -0
- data/lib/rd/complex-list-item.rb +65 -0
- data/lib/rd/desclist.rb +55 -0
- data/lib/rd/document-struct.rb +46 -0
- data/lib/rd/dot.rd2rc +18 -0
- data/lib/rd/element.rb +160 -0
- data/lib/rd/filter.rb +255 -0
- data/lib/rd/inline-element.rb +233 -0
- data/lib/rd/labeled-element.rb +14 -0
- data/lib/rd/list.rb +57 -0
- data/lib/rd/loose-struct.rb +11 -0
- data/lib/rd/methodlist.rb +57 -0
- data/lib/rd/output-format-visitor.rb +28 -0
- data/lib/rd/package.rb +4 -0
- data/lib/rd/parser-util.rb +14 -0
- data/lib/rd/post-install +1 -0
- data/lib/rd/rbl-file.rb +69 -0
- data/lib/rd/rbl-suite.rb +37 -0
- data/lib/rd/rd-struct.rb +86 -0
- data/lib/rd/rd2html-lib.rb +490 -0
- data/lib/rd/rd2html-opt.rb +67 -0
- data/lib/rd/rd2man-lib.rb +241 -0
- data/lib/rd/rd2rdo-lib.rb +19 -0
- data/lib/rd/rd2rmi-lib.rb +32 -0
- data/lib/rd/rdblockparser.ry +518 -0
- data/lib/rd/rdblockparser.tab.rb +1050 -0
- data/lib/rd/rdfmt.rb +15 -0
- data/lib/rd/rdinlineparser.ry +503 -0
- data/lib/rd/rdinlineparser.tab.rb +1243 -0
- data/lib/rd/rdvisitor.rb +214 -0
- data/lib/rd/reference-resolver.rb +114 -0
- data/lib/rd/search-file.rb +14 -0
- data/lib/rd/tree.rb +103 -0
- data/lib/rd/version.rb +39 -0
- data/lib/rd/visitor.rb +86 -0
- data/makerdtool.rb +75 -0
- data/setup.rb +1596 -0
- data/test.rb +33 -0
- data/test/data/includee1.html +1 -0
- data/test/data/includee2.html +1 -0
- data/test/data/includee3.nothtml +1 -0
- data/test/data/includee4.xhtml +0 -0
- data/test/data/label.rbl +2 -0
- data/test/data/label2.rbl +2 -0
- data/test/data/sub/includee2.html +1 -0
- data/test/data/sub/includee4.html +0 -0
- data/test/dummy-observer.rb +6 -0
- data/test/dummy.rb +33 -0
- data/test/temp-dir.rb +19 -0
- data/test/test-block-parser.rb +46 -0
- data/test/test-desclist-item.rb +219 -0
- data/test/test-document-element.rb +46 -0
- data/test/test-document-struct.rb +66 -0
- data/test/test-element.rb +46 -0
- data/test/test-headline.rb +80 -0
- data/test/test-inline-parser.rb +46 -0
- data/test/test-list-item.rb +54 -0
- data/test/test-list.rb +53 -0
- data/test/test-methodlist-item.rb +73 -0
- data/test/test-nonterminal-element.rb +170 -0
- data/test/test-nonterminal-inline.rb +33 -0
- data/test/test-output-format-visitor.rb +48 -0
- data/test/test-parser-util.rb +41 -0
- data/test/test-rbl-file.rb +156 -0
- data/test/test-rbl-suite.rb +43 -0
- data/test/test-rd2html-lib.rb +496 -0
- data/test/test-rdtree.rb +17 -0
- data/test/test-rdvisitor.rb +29 -0
- data/test/test-reference-resolver.rb +202 -0
- data/test/test-reference.rb +132 -0
- data/test/test-search-file.rb +22 -0
- data/test/test-terminal-inline.rb +41 -0
- data/test/test-textblock.rb +44 -0
- data/test/test-tree.rb +82 -0
- data/test/test-version.rb +57 -0
- data/test/test-visitor.rb +230 -0
- data/utils/rd-mode.el +425 -0
- metadata +203 -0
data/Gemfile
ADDED
data/HISTORY
ADDED
@@ -0,0 +1,284 @@
|
|
1
|
+
=begin
|
2
|
+
= MANIFEST
|
3
|
+
|
4
|
+
:bin/rdswap.rb (Cle)
|
5
|
+
RD swaping utility.
|
6
|
+
:bin/rd2
|
7
|
+
frontend for RDtool.
|
8
|
+
:lib/rd/tree.rb
|
9
|
+
RDtool Framework document tree part.
|
10
|
+
:lib/rd/rd-struct.rb
|
11
|
+
RD Document Structure.
|
12
|
+
:lib/rd/rdfmt.rb
|
13
|
+
old tree part.(obsolete)
|
14
|
+
:lib/rd/visitor.rb
|
15
|
+
RDtool Framework visitor part.
|
16
|
+
:lib/rd/output-format-visitor.rb
|
17
|
+
abstruct visitor class for formatting visitor.
|
18
|
+
:lib/rd/rd2html-lib.rb
|
19
|
+
library for HTML format output.
|
20
|
+
:lib/rd/rd2man-lib.rb
|
21
|
+
library for roff with man macro output.
|
22
|
+
:lib/rd/rdvisitor.rb
|
23
|
+
old visitor part.(obsolete)
|
24
|
+
:lib/rd/filter.rb
|
25
|
+
filter structure.(obsolete)
|
26
|
+
:lib/rd/dot.rd2rc
|
27
|
+
default RC file.
|
28
|
+
:lib/rd/rdblockparser.ry
|
29
|
+
:lib/rd/rdinlineparser.ry
|
30
|
+
:lib/rd/block-element.rb
|
31
|
+
:lib/rd/complex-list-item.rb
|
32
|
+
:lib/rd/desclist.rb
|
33
|
+
:lib/rd/document-struct.rb
|
34
|
+
:lib/rd/element.rb
|
35
|
+
:lib/rd/inline-element.rb
|
36
|
+
:lib/rd/labeled-element.rb
|
37
|
+
:lib/rd/list.rb
|
38
|
+
:lib/rd/methodlist.rb
|
39
|
+
:lib/rd/rbl-file.rb
|
40
|
+
:lib/rd/rbl-suite.rb
|
41
|
+
:lib/rd/rd-struct.rb
|
42
|
+
:lib/rd/search-file.rb
|
43
|
+
:lib/rd/loose-struct.rb
|
44
|
+
:lib/rd/reference-resolver.rb
|
45
|
+
:lib/rd/version.rb
|
46
|
+
:lib/rd/rd2html-opt.rb
|
47
|
+
non-published parts of RDtool.
|
48
|
+
:lib/rd/rdblockparser.tab.rb
|
49
|
+
:lib/rd/rdinlineparser.tab.rb
|
50
|
+
pre-compiled racc-generated parser. this works without Racc itself.
|
51
|
+
:utils/rd-mode.el (Arai, Tosh)
|
52
|
+
Emacs major mode for RD.
|
53
|
+
:doc/rd-draft.rd(.ja)
|
54
|
+
RD working draft.(obsolete)
|
55
|
+
:makrrdtool.rb
|
56
|
+
script to make Makefile.
|
57
|
+
:README.rd(.ja)
|
58
|
+
README file.
|
59
|
+
:HISTORY
|
60
|
+
this document.(RD format)
|
61
|
+
|
62
|
+
RDtool include files which is copyrighted by somebody elses.
|
63
|
+
* Cle wrote bin/rdswap.rb. it's copyrighted by Cle.
|
64
|
+
* Arai and Tosh wrote utils/rd-mode.el. it's copyrighted by Arai and Tosh.
|
65
|
+
* Watanabe wrote lib/rd/rd2man-lib.rb. it's copyrighted by Watanabe.
|
66
|
+
Please read these files for those lisence info.
|
67
|
+
|
68
|
+
= CHANGES
|
69
|
+
:0.6.21
|
70
|
+
* setup.rb version up -> 3.4.1
|
71
|
+
* fix for Ruby 1.9.
|
72
|
+
:0.6.20
|
73
|
+
* corrected copyright.
|
74
|
+
:0.6.19
|
75
|
+
* corrected file permission.
|
76
|
+
* setup.rb version up -> 3.4.0
|
77
|
+
* remove 'changes'
|
78
|
+
:0.6.18
|
79
|
+
* bin/rd2 UTF-8 support.
|
80
|
+
* support Ruby 1.9.
|
81
|
+
* makerdtools.rb fixed some bugs.
|
82
|
+
* fixed install dot.rd2rc problem
|
83
|
+
* fixed some bugs.
|
84
|
+
:0.6.17
|
85
|
+
* utils/rd-mode.el patch from <shirai@p1jp.com>
|
86
|
+
:0.6.16
|
87
|
+
* utils/rd-mode.el font-face patch from HIRAOKA by MoonWolf <moonwolf@moonwolf.com>
|
88
|
+
:0.6.15
|
89
|
+
* re-packaging by MoonWolf <moonwolf@moonwolf.com>
|
90
|
+
:0.6.14
|
91
|
+
* minor fix for Ruby 1.8.
|
92
|
+
* now rd2man generates better output. (thank you, Sugiura-san.)
|
93
|
+
:0.6.13
|
94
|
+
* now tabs are expanded into spaces.
|
95
|
+
* removed <p> for TextBlock in DescListItem when the TextBlock is only
|
96
|
+
element of ListItem.
|
97
|
+
* a line of `---\n' are now regarded as Verbatim (or TextBlock).
|
98
|
+
* changed style of HTML anchors from `label:' to `label-'.
|
99
|
+
* fixed rd2man for better support of multiple paragraphs.
|
100
|
+
* fixed some bugs.
|
101
|
+
:0.6.12
|
102
|
+
* fixed some bugs.
|
103
|
+
:0.6.11
|
104
|
+
* support Ruby 1.4.6. thanks. > Aoki-san
|
105
|
+
* now `=begin' and `=end' are omitable. thanks. > Nakada-san
|
106
|
+
* changed to omit <p>...</p> for some ListItem.
|
107
|
+
* added `class="foottext"' attribute to <p> element for foottext.
|
108
|
+
thanks. > Kimura-san
|
109
|
+
* bug fix. thanks. > \ay-san, rubikitch-san, Tamura-san
|
110
|
+
* added rd-mode-hook in rd-mode.el. changed key-binding. thanks. > Komiya-san
|
111
|
+
* rd-intelligent-new-line (\M-RET) in rd-mode.el. thanks > Usui-san, Nakada-san
|
112
|
+
|
113
|
+
:0.6.10
|
114
|
+
* fixed the bug that outputed HTML can have conflicted anchor and id.
|
115
|
+
* improved performance.
|
116
|
+
* corrected English of README.rd. thanks. > Robert Gustavsson
|
117
|
+
* fixed DTD declaration of XHTML. thanks. > Narushima
|
118
|
+
* fixed the bug around formatting man page.
|
119
|
+
* separeted (({Visitor#apply_to_Reference})) into
|
120
|
+
(({Visitor#apply_to_Reference_with_*}))s.
|
121
|
+
:0.6.9
|
122
|
+
* fixed the bug that rd/dot.rd2rc isn't installed. thanks. > MUSHA
|
123
|
+
* fixed the bug that module RD don't have class RDElement for backward
|
124
|
+
compatibility.
|
125
|
+
* fixed error occuring in error handler when "false" is the triger of
|
126
|
+
parser error.
|
127
|
+
:0.6.8
|
128
|
+
* version printing.
|
129
|
+
* fixed the bug around Label conflict.
|
130
|
+
* made (({outline-regexp})) buffer-local. thanks. > Yamaguchi
|
131
|
+
* fixed error message for empty RD.
|
132
|
+
* fixed the bug around parsing MethodList, empty Headline.
|
133
|
+
:0.6.7
|
134
|
+
* fixed a bug about method index. thanks. > tam, knu
|
135
|
+
* changed quotation in Reference of rd-mode.el. thanks. > rubikitch
|
136
|
+
* fixed documentation. thanks. > hgs
|
137
|
+
* fixed a bug about temporary file. thanks. > Nakada
|
138
|
+
* changed usage of optparse. thanks. > Nakada
|
139
|
+
* now rd2html-lib.rb output XHTML 1.0 Transitional.
|
140
|
+
* --html-lang option for rd2html-lib.
|
141
|
+
* now inline parser allow (('(('\a\'))')).
|
142
|
+
* fixed a bug of missing '&' escape in URL text.
|
143
|
+
* error messages for syntax error become more useful.
|
144
|
+
* fixed mis-numbering of error messages for Inline syntax error.
|
145
|
+
* now '======' is not regarded as Headline.
|
146
|
+
* come to catch the exception which (({File.expand_path("~")})) throws
|
147
|
+
on Windows.
|
148
|
+
* missing/strscan.rb is removed.(strscan-0.6.x include pure Ruby version
|
149
|
+
of it.)
|
150
|
+
:0.6.6
|
151
|
+
* Comment support.
|
152
|
+
* missing/rd{block,inline}parser.tab.rb -> missing/rd/...
|
153
|
+
* workaroud bug around syntax of quoted strings in Reference.
|
154
|
+
* added the declarations of tokens. (require Racc 1.1.5 or later.)
|
155
|
+
* remove <P> for TextBlock in ListItem if the ListItem has only one
|
156
|
+
Block.
|
157
|
+
* fixed bug around DescList.
|
158
|
+
* remove backtrase from error message when ParserError occured.
|
159
|
+
* fixed bug of (({RDVisitor#method_parse})). thanks. > Knu
|
160
|
+
* fixed bug.((({sort -> sort!}))) thanks. > Knu
|
161
|
+
* fixed rd-mode.el. thanks. > Rubikitch
|
162
|
+
* make install now uses ftools.rb instead of OS-dependent install command.
|
163
|
+
thanks. > Komatsu
|
164
|
+
* made rd2 well-working on DOSISH OS. thanks. > Nagasawa
|
165
|
+
:0.6.5
|
166
|
+
* missing/strscan.rb is added. this is for Win users who cannot compile
|
167
|
+
extlib and install Racc.
|
168
|
+
* rd2man is updated by Watanabe. thanks. > Watanabe
|
169
|
+
* bug fix. thanks. > Rubikitch
|
170
|
+
:0.6.4
|
171
|
+
* Test code for Reference to other file, include Nakada's RMI patch.
|
172
|
+
thanks. > Nakada
|
173
|
+
* Make block level parser exactly line oriented.
|
174
|
+
* Indentation support functions for Verbatim in rd-mode.el.
|
175
|
+
thanks. > Rubikitch
|
176
|
+
* Function (({rd-show-label-list})) is added. thanks. > Rubikitch, Nakada
|
177
|
+
* Bug fix
|
178
|
+
* RDtool should prevent line break in Verb?
|
179
|
+
* Parser should pass empty RD, and warn precisely.(50%)
|
180
|
+
* when Verbatim after Lists with same indent, parse will fail.
|
181
|
+
* implicit FILTER select for --with-part of rd2.(Fixed by Nakada)
|
182
|
+
* an implicit bug(?).(Fixed by Nakada)
|
183
|
+
* default Title of output HTML is empty.(Fixed by Nakada)
|
184
|
+
* rmi2html.rb hasn't "#! /usr/bin/env ruby" as first line.
|
185
|
+
|
186
|
+
:0.6.3
|
187
|
+
* rd/rd2html-lib, rd/rd2html-opt:
|
188
|
+
new commandline options to set HTML Title.
|
189
|
+
* rd/rd2man-lib: bug fix. thanks. > Dave
|
190
|
+
* rd2: come to use /usr/bin/env trick. thanks too. > Dave
|
191
|
+
* rd/rdinlineparser: A workaround for Regexp option change of Ruby 1.5.x.
|
192
|
+
* util/rd-mode.el: code clean up. thanks. > Rubikitch
|
193
|
+
* util/rd-mode.el: come to set indent-tabs-mode to nil.
|
194
|
+
:0.6.2
|
195
|
+
* rd/rdblockparser: RD Include bug fix. thanks. > Arai
|
196
|
+
* rd/rdinlineparser: Reference filename bug fix.
|
197
|
+
* rd/rdvisitor: RMI bug caused by ruby-1.5's change of Symbol is fixed.
|
198
|
+
thanks. > Nakada
|
199
|
+
* util/rd-mode: some utility functions are added. thanks. > Nakada
|
200
|
+
:0.6.1
|
201
|
+
* rd/rd2man-lib: added. thanks! > Watanabe
|
202
|
+
* rd/rdblockparser: textblock rule become neat.
|
203
|
+
* rd/rdblockparser: bug about List parse is fixed.
|
204
|
+
* rd/rdblockparser: come to cut whitelines at the end of Verbatim.
|
205
|
+
* rd/rdvisitor: (({apply_to_Include}))'s bug fixed.
|
206
|
+
* rd/rd2html-lib: <BLOCKQUOTE> for Verbatim is removed.
|
207
|
+
* rd2: change RD into man style.
|
208
|
+
* rd2: option --out-code.
|
209
|
+
* doc/rd-draft.rd: misspellings are fixed. thanks. > Yanagawa, Nakada, Sugihara
|
210
|
+
* doc/rd-draft.rd.ja: added.
|
211
|
+
* util/rd-mode.el: patch marged. thanks. > rubikitch
|
212
|
+
:0.6.0
|
213
|
+
* parser tuning up. thanks for advice. > Aoki
|
214
|
+
* MethodList. thanks. > Arai
|
215
|
+
* error message. thanks. > Aoki
|
216
|
+
* method index.(experimental)
|
217
|
+
* more useful front-end.(come to use OptionParser)
|
218
|
+
* structure is widely changed.
|
219
|
+
* bug fix. thanks. > Nakada
|
220
|
+
* now rdvisitor defines target label (e.g. HTML's anchor) of MethodList
|
221
|
+
more meaningfully.
|
222
|
+
* block parser: R/S conflicts are resolved by Aoki. thanks! > Aoki
|
223
|
+
* inline parser:all Reference feature are covered.
|
224
|
+
* inline parser come to use strscan.so.
|
225
|
+
* inline parser: logic are changed. lexer becomes more simple.
|
226
|
+
* rd2html-lib: <VERB>?? what is it? W3C hasn't defined such a element! ;-p
|
227
|
+
* (({RefToElement})) and (({RefToURL})) disappeared. by now, (({Reference}))
|
228
|
+
represent both type of reference. on the other hand, (({Reference::Label}))
|
229
|
+
and its subclass are defined.
|
230
|
+
* rd2html-lib: temporary disable Index.
|
231
|
+
* rd-draft.rd: up-to-date. thank you for advice. > Hugh
|
232
|
+
* util/rd-mode.el: rd-insert-url patch is marged. thanks. > rubikitch
|
233
|
+
* rdtoolconf.rb is added, and Makefile is removed. thanks. > Takahashi
|
234
|
+
* rd/filter: module (({RD::Filter::FileInclude})). thanks. > Nakada
|
235
|
+
|
236
|
+
:0.5.7
|
237
|
+
* bug fix. thanks. > Nakada
|
238
|
+
:0.5.5
|
239
|
+
* repacked version.
|
240
|
+
:0.5.4
|
241
|
+
* filter.(undocumented)
|
242
|
+
* BLANKLINE |--> WHITELINE
|
243
|
+
* bug fix. thanks. > Arai
|
244
|
+
:0.5.3
|
245
|
+
* Include (RD and target format).
|
246
|
+
* require Racc 0.10.3 or later.
|
247
|
+
* utils/rd-mode.el. thanks. > Arai
|
248
|
+
* doc/rd-draft.rd.
|
249
|
+
:0.5.2
|
250
|
+
* into RD module.
|
251
|
+
* rd2html-mindex.rb experimental release.
|
252
|
+
* apply some patches. thanks. > Arai & Hiwada
|
253
|
+
* bug fix.
|
254
|
+
:0.5.0
|
255
|
+
* reborned for new RD.
|
256
|
+
* \cle's util/rdswap.rb. thanks > \cle
|
257
|
+
:0.2.2 (1999/08/17)
|
258
|
+
* bad LaTeX format is fixed.(rd2latex-lib.rb) thanks > gotoken
|
259
|
+
* bug in parse of Verbatim is fixed.(rdfmt.rb)
|
260
|
+
* bug in parse of term part of DescListItem is fixed.
|
261
|
+
(rdfmt.rb, rd2html-lib.rb, rd2latex-lib.rb)
|
262
|
+
* latex metachar-escape bug is fixed.
|
263
|
+
:0.2.1 (1999/08/15)
|
264
|
+
* Index become available.(rd2html-lib.rb)(EXPERIMENTAL)
|
265
|
+
:0.2.0 (1999/08/15)
|
266
|
+
* script design change.(rdfmt.rb, rd2html)
|
267
|
+
* insert "\n" into the end of line of "<!DOCTYPE ...".(rd2html-lib.rb)
|
268
|
+
* rd2latex is released.(rd2latex, rd2latex-lib.rb)(EXPERIMENTAL)
|
269
|
+
* ex. of "about RD Format" is improved.(rd2html, README.jp)
|
270
|
+
* README.jp char-code fixed (ISO-2022-JP => EUC-JP).(README.jp)
|
271
|
+
:0.1.2 (1999/08/13)
|
272
|
+
* brief English document inside rd2html.(rd2html)
|
273
|
+
* Japanese document is now "README.jp".(README.jp)
|
274
|
+
* HISTORY
|
275
|
+
:0.1.1 (1999/08/13)
|
276
|
+
* patch for HTML format mistake.(rd2html-lib.rb) Thanks > gotoken
|
277
|
+
* fix a mistake of document(rd2html)
|
278
|
+
:0.1.0 (1999/08/12)
|
279
|
+
* first release version
|
280
|
+
|
281
|
+
= ABOUT BUG REPORT
|
282
|
+
If you find a bug in RDtool, please E-mail me
|
283
|
+
((<URL:mailto:moonwolf@moonwolf.com>)).
|
284
|
+
=end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
|
2
|
+
You can redistribute it and/or modify it under either the terms of the GPL
|
3
|
+
(see COPYING.txt file), or the conditions below:
|
4
|
+
|
5
|
+
1. You may make and give away verbatim copies of the source form of the
|
6
|
+
software without restriction, provided that you duplicate all of the
|
7
|
+
original copyright notices and associated disclaimers.
|
8
|
+
|
9
|
+
2. You may modify your copy of the software in any way, provided that
|
10
|
+
you do at least ONE of the following:
|
11
|
+
|
12
|
+
a) place your modifications in the Public Domain or otherwise
|
13
|
+
make them Freely Available, such as by posting said
|
14
|
+
modifications to Usenet or an equivalent medium, or by allowing
|
15
|
+
the author to include your modifications in the software.
|
16
|
+
|
17
|
+
b) use the modified software only within your corporation or
|
18
|
+
organization.
|
19
|
+
|
20
|
+
c) rename any non-standard executables so the names do not conflict
|
21
|
+
with standard executables, which must also be provided.
|
22
|
+
|
23
|
+
d) make other distribution arrangements with the author.
|
24
|
+
|
25
|
+
3. You may distribute the software in object code or executable
|
26
|
+
form, provided that you do at least ONE of the following:
|
27
|
+
|
28
|
+
a) distribute the executables and library files of the software,
|
29
|
+
together with instructions (in the manual page or equivalent)
|
30
|
+
on where to get the original distribution.
|
31
|
+
|
32
|
+
b) accompany the distribution with the machine-readable source of
|
33
|
+
the software.
|
34
|
+
|
35
|
+
c) give non-standard executables non-standard names, with
|
36
|
+
instructions on where to get the original software distribution.
|
37
|
+
|
38
|
+
d) make other distribution arrangements with the author.
|
39
|
+
|
40
|
+
4. You may modify and include the part of the software into any other
|
41
|
+
software (possibly commercial). But some files in the distribution
|
42
|
+
are not written by the author, so that they are not under this terms.
|
43
|
+
|
44
|
+
They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
|
45
|
+
files under the ./missing directory. See each file for the copying
|
46
|
+
condition.
|
47
|
+
|
48
|
+
5. The scripts and library files supplied as input to or produced as
|
49
|
+
output from the software do not automatically fall under the
|
50
|
+
copyright of the software, but belong to whomever generated them,
|
51
|
+
and may be sold commercially, and may be aggregated with this
|
52
|
+
software.
|
53
|
+
|
54
|
+
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
55
|
+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
56
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
57
|
+
PURPOSE.
|
58
|
+
|
data/MANIFEST
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
HISTORY
|
2
|
+
MANIFEST
|
3
|
+
README.html
|
4
|
+
README.ja.html
|
5
|
+
README.rd
|
6
|
+
README.rd.ja
|
7
|
+
bin/rd2
|
8
|
+
bin/rdswap.rb
|
9
|
+
doc/rd-draft.html
|
10
|
+
doc/rd-draft.ja.html
|
11
|
+
doc/rd-draft.rd
|
12
|
+
doc/rd-draft.rd.ja
|
13
|
+
lib/rd/block-element.rb
|
14
|
+
lib/rd/complex-list-item.rb
|
15
|
+
lib/rd/desclist.rb
|
16
|
+
lib/rd/document-struct.rb
|
17
|
+
lib/rd/dot.rd2rc
|
18
|
+
lib/rd/element.rb
|
19
|
+
lib/rd/filter.rb
|
20
|
+
lib/rd/inline-element.rb
|
21
|
+
lib/rd/labeled-element.rb
|
22
|
+
lib/rd/list.rb
|
23
|
+
lib/rd/loose-struct.rb
|
24
|
+
lib/rd/methodlist.rb
|
25
|
+
lib/rd/output-format-visitor.rb
|
26
|
+
lib/rd/package.rb
|
27
|
+
lib/rd/parser-util.rb
|
28
|
+
lib/rd/post-install
|
29
|
+
lib/rd/rbl-file.rb
|
30
|
+
lib/rd/rbl-suite.rb
|
31
|
+
lib/rd/rd-struct.rb
|
32
|
+
lib/rd/rd2html-lib.rb
|
33
|
+
lib/rd/rd2html-opt.rb
|
34
|
+
lib/rd/rd2man-lib.rb
|
35
|
+
lib/rd/rd2rdo-lib.rb
|
36
|
+
lib/rd/rd2rmi-lib.rb
|
37
|
+
lib/rd/rdblockparser.ry
|
38
|
+
lib/rd/rdblockparser.tab.rb
|
39
|
+
lib/rd/rdfmt.rb
|
40
|
+
lib/rd/rdinlineparser.ry
|
41
|
+
lib/rd/rdinlineparser.tab.rb
|
42
|
+
lib/rd/rdvisitor.rb
|
43
|
+
lib/rd/reference-resolver.rb
|
44
|
+
lib/rd/search-file.rb
|
45
|
+
lib/rd/tree.rb
|
46
|
+
lib/rd/version.rb
|
47
|
+
lib/rd/visitor.rb
|
48
|
+
makerdtool.rb
|
49
|
+
setup.rb
|
50
|
+
test.rb
|
51
|
+
test/data/includee1.html
|
52
|
+
test/data/includee2.html
|
53
|
+
test/data/includee3.nothtml
|
54
|
+
test/data/includee4.xhtml
|
55
|
+
test/data/label.rbl
|
56
|
+
test/data/label2.rbl
|
57
|
+
test/data/sub/includee2.html
|
58
|
+
test/data/sub/includee4.html
|
59
|
+
test/dummy-observer.rb
|
60
|
+
test/dummy.rb
|
61
|
+
test/temp-dir.rb
|
62
|
+
test/test-block-parser.rb
|
63
|
+
test/test-desclist-item.rb
|
64
|
+
test/test-document-element.rb
|
65
|
+
test/test-document-struct.rb
|
66
|
+
test/test-element.rb
|
67
|
+
test/test-headline.rb
|
68
|
+
test/test-inline-parser.rb
|
69
|
+
test/test-list-item.rb
|
70
|
+
test/test-list.rb
|
71
|
+
test/test-methodlist-item.rb
|
72
|
+
test/test-nonterminal-element.rb
|
73
|
+
test/test-nonterminal-inline.rb
|
74
|
+
test/test-output-format-visitor.rb
|
75
|
+
test/test-parser-util.rb
|
76
|
+
test/test-rbl-file.rb
|
77
|
+
test/test-rbl-suite.rb
|
78
|
+
test/test-rd2html-lib.rb
|
79
|
+
test/test-rdtree.rb
|
80
|
+
test/test-rdvisitor.rb
|
81
|
+
test/test-reference-resolver.rb
|
82
|
+
test/test-reference.rb
|
83
|
+
test/test-search-file.rb
|
84
|
+
test/test-terminal-inline.rb
|
85
|
+
test/test-textblock.rb
|
86
|
+
test/test-tree.rb
|
87
|
+
test/test-version.rb
|
88
|
+
test/test-visitor.rb
|
89
|
+
utils/rd-mode.el
|
data/README.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<head>
|
7
|
+
<title>README</title>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<h1><a name="label-0" id="label-0">RDtool 0.6.23</a></h1><!-- RDLabel: "RDtool 0.6.23" -->
|
11
|
+
<h2><a name="label-1" id="label-1">What is RDtool</a></h2><!-- RDLabel: "What is RDtool" -->
|
12
|
+
<p>RD is Ruby's POD. RDtool is formatter for RD.</p>
|
13
|
+
<h2><a name="label-2" id="label-2">What is Changed</a></h2><!-- RDLabel: "What is Changed" -->
|
14
|
+
<p>See HISTORY.</p>
|
15
|
+
<h2><a name="label-3" id="label-3">How to Install</a></h2><!-- RDLabel: "How to Install" -->
|
16
|
+
<ol>
|
17
|
+
<li><kbd>su</kbd> if you install into public directories.</li>
|
18
|
+
<li><kbd>ruby setup.rb</kbd></li>
|
19
|
+
<li>If you want to use , utils/rd-mode.el, install it <em>by hand</em>.</li>
|
20
|
+
</ol>
|
21
|
+
<h2><a name="label-4" id="label-4">How to use</a></h2><!-- RDLabel: "How to use" -->
|
22
|
+
<p>Simply,</p>
|
23
|
+
<pre>% rd2 rdfile.rd > outputfile</pre>
|
24
|
+
<p>If you want to indicate format-library, do</p>
|
25
|
+
<pre>% rd2 -r library rdfile.rd > outputfile</pre>
|
26
|
+
<p>Use <kbd> rd2 --help </kbd> for more options.</p>
|
27
|
+
<p>For options depend on format-library, enter <kbd>--help</kbd> after
|
28
|
+
the indication of format-library. For example,</p>
|
29
|
+
<pre>% rd2 -r rd/rd2html-lib.rb --help</pre>
|
30
|
+
<p>rd2 load "${HOME}/.rd2rc" when it runs.</p>
|
31
|
+
<h2><a name="label-5" id="label-5">How to write RD?</a></h2><!-- RDLabel: "How to write RD?" -->
|
32
|
+
<p>Please read doc/rd-draft.rd.</p>
|
33
|
+
<h2><a name="label-6" id="label-6">About bug report</a></h2><!-- RDLabel: "About bug report" -->
|
34
|
+
<p>If you find a bug in RDtool, please E-mail me
|
35
|
+
<a href="mailto:uwabami@gfd-dennou.org"><URL:mailto:uwabami@gfd-dennou.org></a>.</p>
|
36
|
+
<h2><a name="label-7" id="label-7">License</a></h2><!-- RDLabel: "License" -->
|
37
|
+
<p>You can use/re-distribute/change RDtool under Ruby's License or GPL, see
|
38
|
+
LICNESE.txt and COPYING.txt. This distribution of RDtool include files
|
39
|
+
that are copyrighted by somebody else, and these files can be
|
40
|
+
re-distributed under those own license. These files include the
|
41
|
+
condition of those licenses in themselves.</p>
|
42
|
+
|
43
|
+
</body>
|
44
|
+
</html>
|