deplate 0.7.3 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS.TXT +3 -0
- data/CHANGES.TXT +248 -175
- data/LICENSE.TXT +0 -0
- data/NEWS.TXT +28 -24
- data/README.TXT +0 -0
- data/TODO.TXT +174 -88
- data/VERSION.TXT +1 -1
- data/bin/deplate +0 -0
- data/bin/deplate.bat +0 -0
- data/etc/deplate.ini +91 -3
- data/lib/action_view/helpers/deplate.rb +45 -0
- data/lib/deplate.rb +6 -1
- data/lib/deplate/abstract-class.rb +0 -0
- data/lib/deplate/bib.rb +576 -0
- data/lib/deplate/builtin.rb +0 -0
- data/lib/deplate/cache.rb +55 -5
- data/lib/deplate/commands.rb +346 -183
- data/lib/deplate/common.rb +209 -48
- data/lib/deplate/converter.rb +12 -6
- data/lib/deplate/core.rb +777 -378
- data/lib/deplate/counters.rb +254 -0
- data/lib/deplate/css/article.css +4 -3
- data/lib/deplate/css/deplate.css +121 -5
- data/lib/deplate/css/heading-navbar.css +0 -0
- data/lib/deplate/css/layout-deplate-print.css +0 -0
- data/lib/deplate/css/layout-deplate.css +0 -0
- data/lib/deplate/css/sans-serif.css +0 -0
- data/lib/deplate/css/serif-e.css +0 -0
- data/lib/deplate/css/serif-rel.css +0 -0
- data/lib/deplate/css/serif.css +9 -3
- data/lib/deplate/css/slides.css +0 -0
- data/lib/deplate/css/tabbar-left.css +0 -0
- data/lib/deplate/css/tabbar-right-ie.css +3 -9
- data/lib/deplate/css/tabbar-right.css +51 -18
- data/lib/deplate/css/tabbar-top.css +7 -1
- data/lib/deplate/css/tabbar.css +0 -0
- data/lib/deplate/css/text-sans-serif.css +0 -0
- data/lib/deplate/css/text-serif.css +0 -0
- data/lib/deplate/define.rb +183 -177
- data/lib/deplate/deplate-string.rb +82 -0
- data/lib/deplate/docbook.rb +236 -128
- data/lib/deplate/elements.rb +584 -417
- data/lib/deplate/etc.rb +163 -101
- data/lib/deplate/external.rb +42 -11
- data/lib/deplate/fmt/dbk-article-4.1.2.rb +0 -0
- data/lib/deplate/fmt/dbk-article.rb +0 -0
- data/lib/deplate/fmt/dbk-book.rb +0 -0
- data/lib/deplate/fmt/dbk-ref.rb +3 -3
- data/lib/deplate/fmt/dbk-slides.rb +0 -0
- data/lib/deplate/fmt/dbk-snippet.rb +0 -0
- data/lib/deplate/fmt/html-snippet.rb +0 -0
- data/lib/deplate/fmt/html.rb +783 -550
- data/lib/deplate/fmt/htmlsite.rb +192 -199
- data/lib/deplate/fmt/htmlslides.rb +0 -0
- data/lib/deplate/fmt/htmlwebsite.rb +3 -3
- data/lib/deplate/fmt/latex-snippet.rb +0 -0
- data/lib/deplate/fmt/latex.rb +242 -83
- data/lib/deplate/fmt/null.rb +32 -0
- data/lib/deplate/fmt/php.rb +4 -4
- data/lib/deplate/fmt/phpsite.rb +6 -5
- data/lib/deplate/fmt/plain.rb +160 -106
- data/lib/deplate/fmt/template.rb +0 -0
- data/lib/deplate/fmt/xhtml10t.rb +0 -0
- data/lib/deplate/formatter-snippet.rb +0 -0
- data/lib/deplate/formatter.rb +613 -301
- data/lib/deplate/input.rb +202 -142
- data/lib/deplate/input/deplate-headings.rb +4 -6
- data/lib/deplate/input/deplate-restricted.rb +15 -9
- data/lib/deplate/input/deplate.rb +2 -4
- data/lib/deplate/input/rdoc.rb +39 -38
- data/lib/deplate/input/template.rb +0 -0
- data/lib/deplate/lib/Makefile.config +29 -0
- data/lib/deplate/lib/latex/deplate.sty +54 -0
- data/lib/deplate/lib/latex/highlight-extra.sty +0 -0
- data/lib/deplate/lib/latex/highlight-typical.sty +0 -0
- data/lib/deplate/lib/php/page-comment.inc.php +216 -0
- data/lib/deplate/lib/tabmenu.js +0 -0
- data/lib/deplate/locale/de.latin1 +155 -17
- data/lib/deplate/locale/ru.koi8-r +0 -0
- data/lib/deplate/locale/zh_cn.gb2312 +0 -0
- data/lib/deplate/macros.rb +133 -82
- data/lib/deplate/messages.rb +6 -4
- data/lib/deplate/metadata.rb +0 -0
- data/lib/deplate/metadata/marshal.rb +0 -0
- data/lib/deplate/metadata/xml.rb +0 -0
- data/lib/deplate/metadata/yaml.rb +0 -0
- data/lib/deplate/mod/anyword.rb +3 -3
- data/lib/deplate/mod/babelfish.rb +4 -4
- data/lib/deplate/mod/code-gvim.rb +8 -4
- data/lib/deplate/mod/code-highlight.rb +3 -3
- data/lib/deplate/mod/colored-log.rb +0 -0
- data/lib/deplate/mod/de.rb +2 -2
- data/lib/deplate/mod/en.rb +0 -0
- data/lib/deplate/mod/endnotes.rb +0 -0
- data/lib/deplate/mod/fr.rb +0 -0
- data/lib/deplate/mod/html-asciimath.rb +0 -0
- data/lib/deplate/mod/html-deplate-button.rb +0 -0
- data/lib/deplate/mod/html-headings-navbar.rb +5 -13
- data/lib/deplate/mod/html-jsmath.rb +39 -0
- data/lib/deplate/mod/html-obfuscate-email.rb +3 -3
- data/lib/deplate/mod/html-sidebar.rb +0 -0
- data/lib/deplate/mod/htmlslides-navbar-fh.rb +3 -3
- data/lib/deplate/mod/iconv.rb +0 -0
- data/lib/deplate/mod/imgurl.rb +4 -4
- data/lib/deplate/mod/inlatex-compound.rb +7 -10
- data/lib/deplate/mod/koma.rb +0 -0
- data/lib/deplate/mod/latex-emph-table-head.rb +0 -0
- data/lib/deplate/mod/latex-styles.rb +7 -4
- data/lib/deplate/mod/latex-verbatim-small.rb +0 -0
- data/lib/deplate/mod/makefile.rb +23 -7
- data/lib/deplate/mod/mark-external-urls.rb +3 -3
- data/lib/deplate/mod/markup-1-warn.rb +10 -10
- data/lib/deplate/mod/markup-1.rb +0 -0
- data/lib/deplate/mod/navbar-png.rb +24 -8
- data/lib/deplate/mod/noindent.rb +0 -0
- data/lib/deplate/mod/numpara.rb +0 -0
- data/lib/deplate/mod/particle-math.rb +4 -4
- data/lib/deplate/mod/php-extra.rb +46 -6
- data/lib/deplate/mod/pstoedit.rb +0 -0
- data/lib/deplate/mod/recode.rb +0 -0
- data/lib/deplate/mod/ru_koi8-r.rb +0 -0
- data/lib/deplate/mod/smart-dash.rb +26 -0
- data/lib/deplate/mod/smiley.rb +69 -7
- data/lib/deplate/mod/soffice.rb +0 -0
- data/lib/deplate/mod/symbols-latin1.rb +14 -23
- data/lib/deplate/mod/symbols-od-utf-8.rb +5 -3
- data/lib/deplate/mod/symbols-plain.rb +5 -35
- data/lib/deplate/mod/symbols-sgml.rb +8 -9
- data/lib/deplate/mod/symbols-utf-8.rb +8 -9
- data/lib/deplate/mod/symbols-xml.rb +5 -9
- data/lib/deplate/mod/syntax-region-alt.rb +5 -5
- data/lib/deplate/mod/utf8.rb +0 -0
- data/lib/deplate/mod/validate-html.rb +0 -0
- data/lib/deplate/mod/xmlrpc.rb +0 -0
- data/lib/deplate/mod/zh-cn-autospace.rb +18 -20
- data/lib/deplate/mod/zh-cn.rb +4 -6
- data/lib/deplate/nukumi2.rb +71 -0
- data/lib/deplate/once-method.rb +0 -0
- data/lib/deplate/output.rb +19 -21
- data/lib/deplate/particles.rb +178 -116
- data/lib/deplate/regions.rb +99 -58
- data/lib/deplate/skeletons.rb +122 -0
- data/lib/deplate/structured.rb +164 -106
- data/lib/deplate/template.rb +67 -43
- data/lib/deplate/templates/html-doc.html +0 -0
- data/lib/deplate/templates/html-left-tabbar-js.html +0 -0
- data/lib/deplate/templates/html-left-tabbar.html +0 -0
- data/lib/deplate/templates/html-tabbar-right-pcomments.php +22 -0
- data/lib/deplate/templates/html-tabbar-right-step.html +24 -0
- data/lib/deplate/templates/html-tabbar-right-table.html +0 -0
- data/lib/deplate/templates/html-tabbar-right.html +2 -4
- data/lib/deplate/templates/html-tabbar-top.html +0 -9
- data/lib/deplate/templates/html-tabbar.html +0 -0
- data/lib/deplate/variables.rb +127 -0
- data/lib/deplate/wiki-markup.rb +99 -33
- data/lib/deplate/xml.rb +18 -18
- data/lib/deplate/zh-cn.rb +0 -0
- data/lib/ps2ppm.rb +0 -0
- data/man/man1/deplate.1 +564 -474
- metadata +201 -186
data/AUTHORS.TXT
CHANGED
@@ -13,6 +13,7 @@ Contributors:
|
|
13
13
|
htmlslides-navbar-fh module
|
14
14
|
Frederik Eaton :: Suggestions concering inline latex support
|
15
15
|
Csaba Henk :: Nested elements in lists (patch)
|
16
|
+
Andrea Rota :: blosxom plugin, generic textpipe perl module
|
16
17
|
|
17
18
|
Credits:
|
18
19
|
- The manual-directory contains ASCIIMathML.js by Peter Jipsen
|
@@ -21,6 +22,8 @@ Credits:
|
|
21
22
|
(http://www.matterform.com/).
|
22
23
|
- term.rb is written by Florian Frank
|
23
24
|
(http://raa.ruby-lang.org/project/ansicolor/)
|
25
|
+
- setup.rb is written by Minero Aoki
|
26
|
+
(http://raa.ruby-lang.org/project/setup/)
|
24
27
|
|
25
28
|
|
26
29
|
% vim: ft=viki:tw=72
|
data/CHANGES.TXT
CHANGED
@@ -1,177 +1,250 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
9
|
-
|
10
|
-
|
11
|
-
*
|
12
|
-
|
13
|
-
*
|
14
|
-
|
15
|
-
*
|
16
|
-
|
17
|
-
*
|
18
|
-
*
|
19
|
-
|
20
|
-
|
21
|
-
*
|
22
|
-
|
23
|
-
*
|
24
|
-
*
|
25
|
-
|
26
|
-
*
|
27
|
-
|
28
|
-
|
29
|
-
*
|
30
|
-
*
|
31
|
-
|
32
|
-
|
33
|
-
*
|
34
|
-
*
|
35
|
-
*
|
36
|
-
|
37
|
-
*
|
38
|
-
|
39
|
-
*
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
*
|
44
|
-
|
45
|
-
|
46
|
-
*
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
*
|
55
|
-
|
56
|
-
*
|
57
|
-
|
58
|
-
*
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
*
|
66
|
-
*
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
*
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
*
|
78
|
-
*
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
*
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
* regions.rb:
|
87
|
-
the
|
88
|
-
*
|
89
|
-
|
90
|
-
|
91
|
-
*
|
92
|
-
|
93
|
-
*
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
*
|
100
|
-
|
101
|
-
*
|
102
|
-
|
103
|
-
*
|
104
|
-
|
105
|
-
*
|
106
|
-
|
107
|
-
|
108
|
-
*
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
*
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
*
|
121
|
-
* common.rb, elements.rb
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
''
|
127
|
-
|
128
|
-
*
|
129
|
-
*
|
130
|
-
|
131
|
-
*
|
132
|
-
|
133
|
-
*
|
134
|
-
*
|
135
|
-
|
136
|
-
|
137
|
-
*
|
138
|
-
|
139
|
-
*
|
140
|
-
|
141
|
-
*
|
142
|
-
|
143
|
-
*
|
144
|
-
|
145
|
-
*
|
146
|
-
*
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
*
|
151
|
-
|
152
|
-
|
153
|
-
* makefile.rb:
|
154
|
-
|
155
|
-
*
|
156
|
-
|
157
|
-
|
158
|
-
*
|
159
|
-
|
160
|
-
*
|
161
|
-
|
162
|
-
*
|
163
|
-
|
164
|
-
|
165
|
-
*
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
*
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
1
|
+
deplate 0.8
|
2
|
+
* external.rb: With ruby-mswin, add .exe to the name of an external
|
3
|
+
application (if not specified).
|
4
|
+
* common.rb: moved @accum from \CommonElement to Element.
|
5
|
+
* elements.rb: @accum defaults to [].
|
6
|
+
* commands.rb: PAGE command (same as ''---8<---'').
|
7
|
+
* elements.rb (do_accumulate): set indentation.
|
8
|
+
* common.rb: class attributes.
|
9
|
+
* elements.rb, html.rb, latex.rb, structures.rb: Embedded elements in
|
10
|
+
lists.
|
11
|
+
* input.rb: FIX: boolean variables.
|
12
|
+
* plain.rb: If ansiColor is defined, some text styles are used.
|
13
|
+
* docbook.rb, structured.rb: Fix: indentation of verbatim region, headings
|
14
|
+
etc.
|
15
|
+
* setup.rb: Updated to 3.4.1
|
16
|
+
* html.rb: In a mailto url, the protocol is removed from the name.
|
17
|
+
* html.rb: Support for task lists (html, plain text, latex).
|
18
|
+
* input.rb: If embeddedVerbatim is empty, the text will be swallowed.
|
19
|
+
* core.rb, commands.rb: The handling of the search path has changed; css &
|
20
|
+
templates are searched in $PWD/deplate.rc too.
|
21
|
+
* core.rb: If an unknown language is set (using #LANG), try to load a
|
22
|
+
module of the same name (if the allow flags contain 'l').
|
23
|
+
* htmlsite.rb: The page body is wrapped in a div.
|
24
|
+
* html.rb, latex.rb, structured.rb: include_image and macros/commands
|
25
|
+
depending on it, accept a file argument.
|
26
|
+
* elements.rb: FIX: numbering of tables/figures (created by #Table).
|
27
|
+
* html.rb: FIX: nextKey (jump between pages of multi html output by single
|
28
|
+
key press) didn't work.
|
29
|
+
* html.rb: html_navigation_buttons service.
|
30
|
+
* html.rb: FIX: inconsistent handling of html classes.
|
31
|
+
* particles.rb: Allow interwiki names for extended wiki names, e.g
|
32
|
+
''[[WIKI::FooBar#a][Foo and Bar]]''. \(experimental)
|
33
|
+
* region.rb: #Ins alias for #Native.
|
34
|
+
* macros.rb: Output of the ruby macro gets formatted by default.
|
35
|
+
* input.rb: FIX: comments in regions were removed by the input handler.
|
36
|
+
* elements.rb, ...: Renamed list: Numbered -> Ordered
|
37
|
+
* formatter.rb, html.rb, latex.rb: Generalized handling of the style
|
38
|
+
attribute/option.
|
39
|
+
* elements.rb, particles.rb, formatter.rb ...: Refactoring: more use of
|
40
|
+
home-grown class attributes.
|
41
|
+
* formatter.rb, html.rb, plain.rb: Generalized listings, counters (html,
|
42
|
+
plain text, latex).
|
43
|
+
* commands.rb: New: #DEFLIST, #REGISTER commands.
|
44
|
+
* elements.rb: Chaining formatters for elements: set_formatter accepts
|
45
|
+
arrays. \(experimental)
|
46
|
+
* commands.rb: #ARG: accept default argument
|
47
|
+
* html.rb: FIX: The value argument in explicitly numbered lists was
|
48
|
+
invalid.
|
49
|
+
* code-gvim.rb: Replace <font> tags with <span> so that the output is
|
50
|
+
valid 4.1t html.
|
51
|
+
* regions.rb: FIX: Labelling of #Foreach generated output was wrong.
|
52
|
+
* latex.rb: elementStyle and particleStyle options (for different markup
|
53
|
+
of styles). (obsolete)
|
54
|
+
* macros.rb: The text macro can be used to attach a style to some inline
|
55
|
+
text.
|
56
|
+
* elements.rb, common.rb: Generate most get_* methods by way of def_get.
|
57
|
+
* macro.rb: New counter macro.
|
58
|
+
* core.rb: Some adjustments for use of counters.
|
59
|
+
* core.rb: Use counters for toc.
|
60
|
+
* core.rb: FIX: bug #1363959.
|
61
|
+
* elements.rb: FIX: Exception when a clip was empty.
|
62
|
+
* input.rb, elements.rb: Improved handling of ''if'' arguments.
|
63
|
+
* define.rb: Consistent use of Deplate::Cache.
|
64
|
+
* symbols-*.rb, xml.rb ...: Revamped symbols code.
|
65
|
+
* htmlsite.rb, output.rb: Got rid of the @idx counter.
|
66
|
+
* core.rb, output.rb: Removed Deplate::Core#current_top (this was a
|
67
|
+
leftover from experiments with setting the output already during the first
|
68
|
+
pass).
|
69
|
+
* core.rb, html.rb, htmlsite.rb: Use def_service to define & register
|
70
|
+
services.
|
71
|
+
* core.rb, etc.rb, elements.rb: Counters are now transparently
|
72
|
+
hierarchical. The use of the variable ''#{entity}Numbering'' has changed.
|
73
|
+
If it is set to 0, the numbering is flat. If it is 1, the chapter number
|
74
|
+
is prepended to the element's number. Sooner or later, higher values will
|
75
|
+
yield useful results too.
|
76
|
+
* core.rb: @counters and @listings moved to @options.
|
77
|
+
* latex.rb: FIX: Can't include remote images (use the basename instead)
|
78
|
+
* docbook.rb: FIX: Close headings when in "included" mode (put closing
|
79
|
+
tags in the main body).
|
80
|
+
* docbook.rb: FIX: Inadvertent hyperlinks in bib entries; other problem
|
81
|
+
with MAKEBIB.
|
82
|
+
* macros.rb, commands.rb: The (x)val macros and (X)VAL commands know some
|
83
|
+
new options: sub, tr, upcase, downcase, capitalize.
|
84
|
+
* particles.rb: Try to be a little bit smarter when selecting opening or
|
85
|
+
closing quotes.
|
86
|
+
* regions.rb: #Write region: Write an expanded template to a file
|
87
|
+
\(requires the w or W allow flags to be set).
|
88
|
+
* etc.rb, elements.rb, core.rb: Counters can depend on other (parent)
|
89
|
+
counters.
|
90
|
+
* core.rb: FIX: Make the object() service work.
|
91
|
+
* macros.rb, etc.rb, core.rb: ''.'' allow flag; make something like
|
92
|
+
''{arg: obj[method]}'' work.
|
93
|
+
* elements.rb: The default value for date related commands/macros is
|
94
|
+
"today".
|
95
|
+
* elements.rb: FIX: In some cases a label pointed to an obsolete objects,
|
96
|
+
which were unified with another object
|
97
|
+
* core.rb: FIX: allow=x,X was ignored
|
98
|
+
* elements.rb: Table rows are accumulated right away.
|
99
|
+
* deplate-string.rb: NEW: ''DeplateString'' convenience class.
|
100
|
+
* variables.rb, counters.rb: Extract from etc.rb.
|
101
|
+
* core.rb, converter.rb: FIX: to_xhtml10t didn't work.
|
102
|
+
* commmands.rb: Allow ''#VAR id=var: value''.
|
103
|
+
* converter.rb: Missing methods are forwarded to the instance of
|
104
|
+
Deplate::Core.
|
105
|
+
* nukumi2.rb: NEW: Experimental hack for using deplate with nukumi2
|
106
|
+
(v0.5).
|
107
|
+
* core.rb: NEW: ''auxiliaryDir'' and ''mandatoryID'' variables.
|
108
|
+
* commands.rb: NEW: KEYWORDS command (a simple wrapper for ''#VAR
|
109
|
+
id=keywords'').
|
110
|
+
* wiki-markup.rb: FIX: to_be_continued? in
|
111
|
+
Deplate::Input::Wiki::ParagraphIndentedVerbatim
|
112
|
+
* macro.rb: FIX: ''var'' macro.
|
113
|
+
* core.rb: prefixID variable; if not defined, prefix autogenerated
|
114
|
+
auxiliary files with the current document's base name.
|
115
|
+
* core.rb, particles.rb: autoindexed elements are now registered in
|
116
|
+
@deplate.options.
|
117
|
+
* elements.rb: The ''#REGISTER'' command is volatile, which could result
|
118
|
+
in a different result from ''{counter}'' when used in the registered
|
119
|
+
element.
|
120
|
+
* macros.rb: Disabled the byId argument for the ''ref'' macro.
|
121
|
+
* common.rb, elements.rb: Elements have a ''volatile'' class attribute.
|
122
|
+
* input.rb, particles.rb: Simple Wiki names now check for the surrounding
|
123
|
+
text, which should avoid some problem with international characters.
|
124
|
+
* html.rb, latex.rb, plain.rb, structured.rb: The ref macro can take a
|
125
|
+
''prefix'' argument (default: nonbreaking space).
|
126
|
+
* formatter.rb, latex.rb: New ''bibStyle'' variable (can be set instead of
|
127
|
+
passing an argument to #MAKEBIB)
|
128
|
+
* macros.rb: The ''cite'' macro allows names to be separated by [ ,;].
|
129
|
+
* formatter.rb: Improved formatting & bibtex-compatibility of the
|
130
|
+
bibliography. Handle @string entries.
|
131
|
+
* core.rb, input.rb: Boolean variables where not properly set when defined
|
132
|
+
on the command line (-D).
|
133
|
+
* core.rb: --list-modules, --list-css command line options.
|
134
|
+
* core.rb: Create the directory given in the -d command line option if
|
135
|
+
necessary.
|
136
|
+
* commands.rb: #MAKEBIB sets the ''bibStyle'' variable if not already set
|
137
|
+
* core.rb: allow 'r' flag to enable the deplate.rc hierarchy (only
|
138
|
+
partially supported yet); if set, config.rb is loaded from deplate.rc too.
|
139
|
+
* core.rb: Allow command line options in deplate.ini; add ''allow''
|
140
|
+
directive for deplate.ini.
|
141
|
+
* latex.rb: Set DIV in class document options, not as argument to the
|
142
|
+
typearea package.
|
143
|
+
* plain.rb: FIX: #Abstract and #Quote regions were word wrapped twice
|
144
|
+
which resulted in malformed output.
|
145
|
+
* elements.rb: Avoid multiple whitespace.
|
146
|
+
* plain.rb, external.rb: Use jave to convert images to ascii
|
147
|
+
representations (requires the ''asciiArt'' variable to be set).
|
148
|
+
* core.rb: Variables in deplate.ini weren't set according to the canonic
|
149
|
+
rules.
|
150
|
+
* plain.rb: Changed the suffix to ".text"
|
151
|
+
* smiley.rb: Ignore imgSfx, smileySfx; use the formatter's default suffix
|
152
|
+
rules.
|
153
|
+
* makefile.rb: The module now searches the library for a Makefile.config
|
154
|
+
template.
|
155
|
+
* elements.rb: If a heading has an url option attached, it is turned into
|
156
|
+
a hyperlink (experimental; inspired by a hack by Chen Shou:
|
157
|
+
http://blog.csdn.net/Solstice/archive/2006/02/22/606266.aspx)
|
158
|
+
* html.rb: CSS files defined via the css variable are copied to the
|
159
|
+
destination too.
|
160
|
+
* core.rb, html.rb, htmlsite.rb: ''--split-level'' command line option;
|
161
|
+
split files at any level (experimental; based on a hack by Chen Shou)
|
162
|
+
* core.rb: The numbering of auto-numbered file names has slightly changed;
|
163
|
+
the first file is named 'basename.suffix', the next one
|
164
|
+
'basename00001.suffix' and so on (before, all files were numbered).
|
165
|
+
* core.rb: A ''homeIndex'' variable was introduced to help ''deplate''
|
166
|
+
determine the heading level of the first page in multi-file output (which
|
167
|
+
is otherwise assumed to be 0 but this is wrong in some situations).
|
168
|
+
* core.rb: A ''autoBaseName'' variable was introduced to deduce the output
|
169
|
+
file name from the current input file. (based on a hack by Chen Shou)
|
170
|
+
* particles.rb: Defined how to disable certain particles or symbols.
|
171
|
+
* formatter.rb: Restricted LaTeX: Remove blacklisted commands from LaTeX
|
172
|
+
code (based on class.latexrender.php by Benjamin Zeiss & Steve Mayer:
|
173
|
+
http://www.mayer.dial.pipex.com/tex.htm#latexrender) unless the allow
|
174
|
+
flags contain ''t''.
|
175
|
+
* external.rb: Default value for ps2imgRes was changed to 120.
|
176
|
+
* formatter.rb: Default value for ltxPointsize was changed to 10.
|
177
|
+
* commands.rb: The handling of backslashes in the #ABBREV command has
|
178
|
+
slightly changed. (experimental)
|
179
|
+
* html.rb: New htmlCssUrl and htmlImgUrl variables (the value should be a
|
180
|
+
format string); these are used for formatting image and css paths.
|
181
|
+
* deplate-restricted.rb, input.rb: In restricted mode #VAR may only set
|
182
|
+
variables beginning with an underscore (_).
|
183
|
+
* htmlsite.rb: Changed css class for tabBar*Active/Inactive.
|
184
|
+
* html-jsmath.rb: Support for jsMath for setting mathematical stuff in
|
185
|
+
html output (similar to asciimath).
|
186
|
+
* deplate-restricted.rb: Disabled macros were still accessible.
|
187
|
+
* html.rb: More general solution for handling key presses via javascript.
|
188
|
+
* html.rb: Added some javascript magic to display page contents step by
|
189
|
+
step (this should be sufficient for doing presentations for Powerpoint
|
190
|
+
conditioned people). This can be enabled by putting something like ''#ARG:
|
191
|
+
stepwiseDisplay()'' into the template.
|
192
|
+
* core.rb, html.rb, htmlsite.rb: "Services" are now formatter specific.
|
193
|
+
* smart-dash.rb: New module.
|
194
|
+
* variables.rb: Make this :option notation generally known.
|
195
|
+
* core.rb: Allow flags can be set (''+x,x'') and removed (''-x'').
|
196
|
+
* regions.rb, html.rb, latex.rb, plain.rb, structured.rb: Footnotes now
|
197
|
+
contain block elements (eg lists etc.).
|
198
|
+
* html.rb: The image tag's classes were joined with commas.
|
199
|
+
* core.rb: Work-around for some original idiocy in the handling of
|
200
|
+
multi-file output.
|
201
|
+
* formatter.rb: Lists containing elements weren't properly closed in some
|
202
|
+
situations.
|
203
|
+
* html.rb: Any image can have a ''hi'' attribute for roll-over effect.
|
204
|
+
* formatter.rb: outputFilename() and outputBasename() services.
|
205
|
+
* macros.rb: New msg macro (insert localized messages).
|
206
|
+
* template.rb: Enable msg macro for templates.
|
207
|
+
* php-extra.rb, page-comment.inc.php: Poor people's page comments (file
|
208
|
+
based, requires a writeable directory).
|
209
|
+
* html.rb: Quotations may have a source argument (at the moment HTML
|
210
|
+
only).
|
211
|
+
* core.rb: Set homeIndex to the first non-empty output.
|
212
|
+
* html.rb, htmlsite.rb: Escape references in automatically generated
|
213
|
+
hyperlinks.
|
214
|
+
* particles.rb: Deplate::Particle.build_rx() has changed and moved to
|
215
|
+
Deplate::Rx.
|
216
|
+
* skeletons.rb: Pre-processing, string-based micro-template/skeleton
|
217
|
+
expansion: skeleton (foo: ''Foo is {arg: @body}'') + input (''{{foo:
|
218
|
+
bar}}'') = new input (''Foo is bar'').
|
219
|
+
* elements.rb: Elements have an embedable attribute.
|
220
|
+
* commands.rb: #NOP command -- can be used to split lists.
|
221
|
+
* macros.rb: ''{unknown}'' will be to a clip or variable's value if such a
|
222
|
+
clip or variable is defined (older yet undocumented change).
|
223
|
+
* variables.rb: ''arg'' & ''var'' type of macros can have ''join'',
|
224
|
+
''values'', ''keys'' arguments to deal with hashes and array.
|
225
|
+
* elements.rb: Problem with task lists containing percents as completion
|
226
|
+
index.
|
227
|
+
* deplate.sty: This is now handled as a template. On the long run, all
|
228
|
+
files in the lib subdirectory should be templates and/or valid deplate
|
229
|
+
input files.
|
230
|
+
* particles.rb: Pass ''{}'' through.
|
231
|
+
* html.rb, elements.rb: The #DATE command accepts a ''none'' argument,
|
232
|
+
that prevents deplate from including a timestamp in the document's meta
|
233
|
+
data (HTML output).
|
234
|
+
* skeletons.rb: The use of a dedicated skeletons directory was removed;
|
235
|
+
skeletons are now looked for in the lib subdirectory (as does the ''#INC''
|
236
|
+
command). The difference is that skeletons are expanded at load-time but
|
237
|
+
the #INC command at run-time, so to say.
|
238
|
+
* skeletons.rb: Skeletons are properly indented.
|
239
|
+
* html.rb, structured.rb, latex.rb, plain.rb ...: Image related commands
|
240
|
+
now take a noGuess argument that makes deplate use the filename as given.
|
241
|
+
* common.rb: ''@args[:id]'' doesn't get accidentally overridden -> solves
|
242
|
+
some problems with docbook output.
|
243
|
+
* common.rb: output_file_name() returns '' if the output file is the
|
244
|
+
current (element's) one.
|
245
|
+
* docbook.rb, structured.rb: Fixed wiki & ref formatting.
|
246
|
+
* docbook.rb: Fixed formatting of footnotes & custom lists.
|
247
|
+
* input.rb: Macros also take an ''else'' argument in addition to the
|
248
|
+
''if'' argument, e.g. ''{text if=cat else=Chirp: Meow}''.
|
176
249
|
|
177
250
|
vim: ft=changelog
|
data/LICENSE.TXT
CHANGED
File without changes
|
data/NEWS.TXT
CHANGED
@@ -1,29 +1,33 @@
|
|
1
|
-
* deplate 0.
|
1
|
+
* deplate 0.8
|
2
2
|
|
3
|
-
This release contains many small changes
|
3
|
+
This release contains many small changes and fixes. The main user-visible improvements are: better support for bibliographies, embedded elements in lists, task lists, a general style attribute, custom listings, hierarchical counters, load-time-expanded skeletons etc.
|
4
4
|
|
5
|
-
|
5
|
+
- Custom listings and hierarchical counters (toc, lof & lot are now implemented this way)
|
6
|
+
- Skeletons were introduced; skeletons are expanded at load-time before the document is parsed
|
7
|
+
- Improved support for bibliographies
|
8
|
+
- Improved lists:
|
9
|
+
- Enable nested/embedded elements in lists
|
10
|
+
- Some support for task lists
|
11
|
+
- Remove blacklisted LaTeX commands from input (unless allow=t is set)
|
12
|
+
- Support for a general style attribute (support for styled LaTeX and HTML output; not supported for DocBook output)
|
13
|
+
- Extended wiki names my include interwikis (e.g. [[WIKI::FooBar#a][Foo and Bar]])
|
14
|
+
- Slightly improved support for international characters in camel-case type wiki names
|
15
|
+
- More commands were made volatile (i.e. they don't close elements)
|
16
|
+
- Experimental hack for nukumi2 (v0.5)
|
17
|
+
- Support for jsMath
|
18
|
+
- A php hack was included to provide cheap/unsafe per-page user comments
|
19
|
+
- A javascript hack was included to provided step-by-step display of HTML pages
|
20
|
+
- Footnotes now contain block elements
|
21
|
+
- New commands: #PAGE, #DEFLIST, #REGISTER, #KEYWORDS, #NOP
|
22
|
+
- New regions: #Write
|
23
|
+
- New macros: counter, msg
|
24
|
+
- New variables: auxiliaryDir, mandatoryID, prefixID, bibStyle
|
25
|
+
- New services: outputFilename(), outputBasename()
|
26
|
+
- New classes: DeplateString convenience class
|
27
|
+
- New command line options: --list-modules, --list-css command
|
6
28
|
|
7
|
-
|
8
|
-
- The #Html, #Latex shortcuts for #Native were disabled.
|
9
|
-
- Template formatter can be used from the command line.
|
10
|
-
- Module for LaTeX like ($\math$) math markup.
|
11
|
-
- deplate can be fully localized.
|
12
|
-
- Variables can be hashes & array; improved support for boolean variables.
|
13
|
-
- Auxiliary files can be putted in a subdirectory (e.g., FILENAME_files).
|
14
|
-
- Improved utf8 support. On-the-fly transcoding via iconv (if available).
|
15
|
-
- Read user setting from ~/deplate/deplate.ini (which should make ruby hacking obsolete for most users).
|
16
|
-
- Php output (basically the same as HTML).
|
17
|
-
- In extended wiki links, both arguments get fully parsed (i.e., they may contain macros).
|
18
|
-
- Improved support for rdoc
|
19
|
-
- New elements, particles can be defined in the source document, no ruby hacking requires (experimental).
|
20
|
-
- Text can be embedded in comments.
|
21
|
-
- Can mix input formats (currently, only the inclusion of rdoc documents in deplate documents is supported).
|
22
|
-
- Improved xmlrpc server.
|
23
|
-
- Formatters for small text snippets.
|
24
|
-
- Improved support for bibtex files.
|
25
|
-
- Run "deplate -m makefile INPUT FILES" to create a standard Makefile.
|
29
|
+
NOTE: The way files are automatically numbered with multi-file output (e.g. when using the htmlsite formatter) has changed which may result in a different numbering under certain conditions.
|
26
30
|
|
27
|
-
For other changes please see the
|
31
|
+
For other changes please see the CHANGES.TXT.
|
28
32
|
|
29
|
-
% vi: ft=
|
33
|
+
% vi: ft=text:tw=0:ts=4
|