deplate 0.8 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS.TXT +19 -16
- data/CHANGES.TXT +214 -248
- data/NEWS.TXT +47 -30
- data/README.TXT +0 -1
- data/TODO.TXT +93 -20
- data/VERSION.TXT +1 -1
- data/bin/deplate.exy +192 -0
- data/etc/deplate.ini +70 -9
- data/lib/action_view/helpers/deplate.rb +33 -33
- data/lib/deplate.rb +2 -2
- data/lib/deplate/bib.rb +72 -41
- data/lib/deplate/builtin.rb +1 -1
- data/lib/deplate/cache.rb +1 -1
- data/lib/deplate/commands.rb +161 -102
- data/lib/deplate/common.rb +93 -7
- data/lib/deplate/converter.rb +10 -4
- data/lib/deplate/core.rb +215 -108
- data/lib/deplate/counters.rb +23 -8
- data/lib/deplate/css/article.css +9 -5
- data/lib/deplate/css/deplate.css +37 -3
- data/lib/deplate/css/heading-navbar.css +1 -1
- data/lib/deplate/css/highstep.css +18 -0
- data/lib/deplate/css/htmldoc.css +43 -0
- data/lib/deplate/css/layout-deplate-print.css +1 -1
- data/lib/deplate/css/layout-deplate.css +1 -1
- data/lib/deplate/css/play.css +101 -0
- data/lib/deplate/css/sans-serif.css +1 -1
- data/lib/deplate/css/serif-e.css +1 -1
- data/lib/deplate/css/serif-rel.css +1 -1
- data/lib/deplate/css/serif.css +1 -1
- data/lib/deplate/css/slides.css +1 -1
- data/lib/deplate/css/styles.css +4 -0
- data/lib/deplate/css/tabbar-right.css +54 -8
- data/lib/deplate/css/tabbar-top.css +28 -9
- data/lib/deplate/css/text-sans-serif.css +1 -1
- data/lib/deplate/css/text-serif.css +1 -1
- data/lib/deplate/define.rb +71 -38
- data/lib/deplate/deplate-string.rb +3 -3
- data/lib/deplate/docbook.rb +9 -9
- data/lib/deplate/elements.rb +173 -84
- data/lib/deplate/etc.rb +6 -8
- data/lib/deplate/external.rb +9 -5
- data/lib/deplate/fmt/dbk-article-4.1.2.rb +4 -3
- data/lib/deplate/fmt/dbk-article.rb +9 -8
- data/lib/deplate/fmt/dbk-book.rb +4 -3
- data/lib/deplate/fmt/dbk-ref.rb +5 -4
- data/lib/deplate/fmt/dbk-slides.rb +4 -3
- data/lib/deplate/fmt/dbk-snippet.rb +4 -3
- data/lib/deplate/fmt/html-snippet.rb +1 -1
- data/lib/deplate/fmt/html.rb +186 -46
- data/lib/deplate/fmt/htmlsite.rb +19 -9
- data/lib/deplate/fmt/htmlslides.rb +1 -1
- data/lib/deplate/fmt/htmlwebsite.rb +1 -1
- data/lib/deplate/fmt/latex-dramatist.rb +175 -0
- data/lib/deplate/fmt/latex-snippet.rb +1 -1
- data/lib/deplate/fmt/latex.rb +132 -80
- data/lib/deplate/fmt/null.rb +1 -1
- data/lib/deplate/fmt/php.rb +1 -1
- data/lib/deplate/fmt/phpsite.rb +1 -1
- data/lib/deplate/fmt/plain.rb +16 -9
- data/lib/deplate/fmt/template.rb +1 -1
- data/lib/deplate/fmt/xhtml10t.rb +1 -1
- data/lib/deplate/formatter-snippet.rb +1 -1
- data/lib/deplate/formatter.rb +272 -81
- data/lib/deplate/guesslanguage.rb +57 -0
- data/lib/deplate/input.rb +205 -50
- data/lib/deplate/input/deplate-headings.rb +9 -11
- data/lib/deplate/input/deplate-restricted.rb +3 -23
- data/lib/deplate/input/deplate.rb +1 -1
- data/lib/deplate/input/play.rb +208 -0
- data/lib/deplate/input/rdoc.rb +37 -15
- data/lib/deplate/input/template.rb +6 -11
- data/lib/deplate/lib/Makefile.config +53 -4
- data/lib/deplate/lib/html/parbreak +3 -0
- data/lib/deplate/lib/javascript/StepwiseNextPage.js +8 -0
- data/lib/deplate/lib/javascript/StepwiseNextPage_confirm.js +8 -0
- data/lib/deplate/lib/latex/deplate.sty +36 -0
- data/lib/deplate/lib/latex/parbreak +6 -0
- data/lib/deplate/lib/php/page-comment.inc.php +5 -5
- data/lib/deplate/lib/plain/parbreak +6 -0
- data/lib/deplate/locale/de.latin1 +87 -15
- data/lib/deplate/locale/de.latin1_data +60 -0
- data/lib/deplate/locale/en.latin1_data +46 -0
- data/lib/deplate/locale/fr.latin1_data +74 -0
- data/lib/deplate/locale/ru.koi8-r_data +63 -0
- data/lib/deplate/locale/{zh_cn.gb2312 → zh_CN.GB2312} +0 -0
- data/lib/deplate/macros.rb +106 -32
- data/lib/deplate/messages.rb +22 -8
- data/lib/deplate/metadata.rb +1 -1
- data/lib/deplate/metadata/marshal.rb +1 -1
- data/lib/deplate/metadata/xml.rb +1 -1
- data/lib/deplate/metadata/yaml.rb +1 -1
- data/lib/deplate/mod/anyword.rb +4 -4
- data/lib/deplate/mod/babelfish.rb +1 -1
- data/lib/deplate/mod/code-gvim.rb +14 -8
- data/lib/deplate/mod/code-gvim71.rb +52 -0
- data/lib/deplate/mod/code-highlight.rb +35 -19
- data/lib/deplate/mod/colored-log.rb +1 -1
- data/lib/deplate/mod/endnotes.rb +1 -1
- data/lib/deplate/mod/guesslanguage.rb +75 -0
- data/lib/deplate/mod/html-asciimath.rb +1 -1
- data/lib/deplate/mod/html-deplate-button.rb +1 -1
- data/lib/deplate/mod/html-headings-navbar.rb +1 -1
- data/lib/deplate/mod/html-highstep.rb +43 -0
- data/lib/deplate/mod/html-jsmath.rb +1 -1
- data/lib/deplate/mod/html-obfuscate-email.rb +1 -1
- data/lib/deplate/mod/html-sidebar.rb +1 -1
- data/lib/deplate/mod/iconv.rb +1 -1
- data/lib/deplate/mod/imgurl.rb +1 -1
- data/lib/deplate/mod/inlatex-compound.rb +1 -1
- data/lib/deplate/mod/koma.rb +4 -4
- data/lib/deplate/mod/{de.rb → lang-de.rb} +1 -1
- data/lib/deplate/mod/{en.rb → lang-en.rb} +1 -1
- data/lib/deplate/mod/{ru_koi8-r.rb → lang-ru-koi8-r.rb} +1 -1
- data/lib/deplate/mod/lang-ru.rb +9 -0
- data/lib/deplate/mod/{zh-cn-autospace.rb → lang-zh_CN-autospace.rb} +3 -3
- data/lib/deplate/mod/{zh-cn.rb → lang-zh_CN.rb} +8 -8
- data/lib/deplate/mod/latex-emph-table-head.rb +1 -1
- data/lib/deplate/mod/latex-styles.rb +6 -6
- data/lib/deplate/mod/latex-verbatim-small.rb +1 -1
- data/lib/deplate/mod/linkmap.rb +128 -0
- data/lib/deplate/mod/makefile.rb +23 -22
- data/lib/deplate/mod/mark-external-urls.rb +13 -7
- data/lib/deplate/mod/markup-1-warn.rb +1 -1
- data/lib/deplate/mod/markup-1.rb +1 -1
- data/lib/deplate/mod/navbar-png.rb +5 -4
- data/lib/deplate/mod/noindent.rb +1 -1
- data/lib/deplate/mod/numpara.rb +1 -1
- data/lib/deplate/mod/particle-math.rb +1 -1
- data/lib/deplate/mod/php-extra.rb +1 -1
- data/lib/deplate/mod/pstoedit.rb +1 -1
- data/lib/deplate/mod/recode.rb +1 -1
- data/lib/deplate/mod/smart-dash.rb +1 -1
- data/lib/deplate/mod/smiley.rb +1 -1
- data/lib/deplate/mod/soffice.rb +1 -1
- data/lib/deplate/mod/symbols-latin1.rb +1 -1
- data/lib/deplate/mod/symbols-od-utf-8.rb +1 -1
- data/lib/deplate/mod/symbols-plain.rb +1 -1
- data/lib/deplate/mod/symbols-sgml.rb +1 -1
- data/lib/deplate/mod/symbols-utf-8.rb +1 -1
- data/lib/deplate/mod/symbols-xml.rb +1 -1
- data/lib/deplate/mod/syntax-region-alt.rb +1 -1
- data/lib/deplate/mod/utf8.rb +1 -1
- data/lib/deplate/mod/validate-html.rb +1 -1
- data/lib/deplate/mod/xmlrpc.rb +37 -36
- data/lib/deplate/nukumi2.rb +4 -4
- data/lib/deplate/once-method.rb +1 -1
- data/lib/deplate/output.rb +12 -4
- data/lib/deplate/particles.rb +52 -22
- data/lib/deplate/regions.rb +160 -90
- data/lib/deplate/skeletons.rb +4 -3
- data/lib/deplate/structured.rb +19 -13
- data/lib/deplate/template.rb +17 -9
- data/lib/deplate/templates/html-doc.html +8 -11
- data/lib/deplate/templates/html-tabbar-right.html +1 -1
- data/lib/deplate/templates/html-tabbar-top.html +3 -3
- data/lib/deplate/variables.rb +25 -9
- data/lib/deplate/wiki-markup.rb +14 -3
- data/lib/deplate/xml.rb +3 -4
- data/lib/deplate/{zh-cn.rb → zh_CN.rb} +16 -16
- data/man/man1/deplate.1 +80 -65
- metadata +72 -48
- data/lib/deplate/mod/fr.rb +0 -46
data/AUTHORS.TXT
CHANGED
@@ -1,29 +1,32 @@
|
|
1
1
|
Main Author:
|
2
|
-
Thomas Link
|
2
|
+
- Thomas Link
|
3
3
|
|
4
4
|
Contributors:
|
5
5
|
Jjgod Jiang :: Chinese localization module (zh-cn.rb), idea of page
|
6
|
-
templates, propositions concerning compliance with W3 standards
|
6
|
+
templates, propositions concerning compliance with W3 standards.
|
7
7
|
Maxim Komar :: Russian localization module (ru_koi8-r.rb), debian
|
8
|
-
files
|
8
|
+
files.
|
9
9
|
Kaspar Schiess :: ps2ppm.rb (a rubyfied version of P. Kleiweg's
|
10
10
|
original perl script,
|
11
|
-
http://odur.let.rug.nl/~kleiweg/postscript/#conversion)
|
11
|
+
[[http://odur.let.rug.nl/~kleiweg/postscript/#conversion]]).
|
12
12
|
Fritz Heinrichmeyer :: html-website.rb formatter,
|
13
|
-
htmlslides-navbar-fh module
|
14
|
-
Frederik Eaton :: Suggestions concering inline latex support
|
15
|
-
Csaba Henk :: Nested elements in lists (patch)
|
16
|
-
Andrea Rota :: blosxom plugin, generic textpipe perl module
|
13
|
+
htmlslides-navbar-fh module.
|
14
|
+
Frederik Eaton :: Suggestions concering inline latex support.
|
15
|
+
Csaba Henk :: Nested elements in lists (patch).
|
16
|
+
Andrea Rota :: blosxom plugin, generic textpipe perl module.
|
17
|
+
Chen Shuo :: Posted some modifications on
|
18
|
+
http://blog.csdn.net/Solstice/archive/2006/02/22/606266.aspx that
|
19
|
+
were the basis for several improvements.
|
20
|
+
Lucas Wilcox :: ''dvipng'' support for rendering LaTeX snippets.
|
21
|
+
Jeff Barczewski :: ''linkmap'' module.
|
17
22
|
|
18
23
|
Credits:
|
19
|
-
- The manual-directory contains ASCIIMathML.js by
|
20
|
-
|
21
|
-
-
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
- setup.rb is written by Minero Aoki
|
26
|
-
(http://raa.ruby-lang.org/project/setup/)
|
24
|
+
- The manual-directory contains ASCIIMathML.js by
|
25
|
+
[[http://www.chapman.edu/~jipsen][Peter Jipsen]].
|
26
|
+
- [[http://raa.ruby-lang.org/project/ansicolor/][term.rb]] is
|
27
|
+
written by Florian Frank.
|
28
|
+
- [[http://raa.ruby-lang.org/project/setup/][setup.rb]] is written
|
29
|
+
by Minero Aoki.
|
27
30
|
|
28
31
|
|
29
32
|
% vim: ft=viki:tw=72
|
data/CHANGES.TXT
CHANGED
@@ -1,250 +1,216 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
*
|
8
|
-
|
9
|
-
*
|
10
|
-
|
11
|
-
*
|
12
|
-
|
13
|
-
*
|
14
|
-
|
15
|
-
*
|
16
|
-
*
|
17
|
-
|
18
|
-
|
19
|
-
*
|
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
|
1
|
+
This version contains an incompatible change (with respect to 0.8)
|
2
|
+
concerning the use of arg/ARG and xarg/XARG macros/commands.
|
3
|
+
|
4
|
+
Current issues are listed in TODO.TXT.
|
5
|
+
|
6
|
+
deplate 0.8.1
|
7
|
+
* commands.rb: The INCLUDE command takes skip, tail, and head
|
8
|
+
arguments.
|
9
|
+
* define.rb: INCOMPATIBLE CHANGE: DefRegion and DefCommand type of
|
10
|
+
regions are now passed through the template filter by default (as
|
11
|
+
are other Def* regions); in order to get the old behaviour, set
|
12
|
+
''legacyDefine1'' or pass a ''noTemplate'' argument to the region.
|
13
|
+
* regions.rb: The #Native region now takes a template! argument that
|
14
|
+
makes it handle the body as a template.
|
15
|
+
* html.rb: Allow named keys for nextKey variable.
|
16
|
+
* commands.rb: XARG isn't volatile anymore. (This is due to a
|
17
|
+
problem with using XARG within ''DefRegion'' that may cause a
|
18
|
+
previous paragraph never to be closed/finished).
|
19
|
+
* latex.rb: The priority in task lists wasn't formatted as plain
|
55
20
|
text.
|
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
|
-
|
87
|
-
|
88
|
-
*
|
89
|
-
|
90
|
-
*
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
*
|
96
|
-
|
97
|
-
* core.rb
|
98
|
-
|
99
|
-
*
|
100
|
-
*
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
*
|
106
|
-
|
107
|
-
* core.rb:
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
*
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
*
|
122
|
-
|
123
|
-
|
124
|
-
*
|
125
|
-
|
126
|
-
*
|
127
|
-
|
128
|
-
*
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
*
|
135
|
-
|
136
|
-
* commands.rb: #
|
137
|
-
|
138
|
-
|
139
|
-
*
|
140
|
-
|
141
|
-
*
|
142
|
-
|
143
|
-
*
|
144
|
-
|
145
|
-
*
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
*
|
151
|
-
|
152
|
-
|
153
|
-
*
|
154
|
-
|
155
|
-
*
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
the
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
*
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
*
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
*
|
182
|
-
|
183
|
-
|
184
|
-
*
|
185
|
-
|
186
|
-
*
|
187
|
-
|
188
|
-
*
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
*
|
193
|
-
*
|
194
|
-
*
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
*
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
*
|
204
|
-
|
205
|
-
|
206
|
-
*
|
207
|
-
*
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
*
|
212
|
-
*
|
213
|
-
|
214
|
-
*
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
*
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
*
|
228
|
-
|
229
|
-
|
230
|
-
*
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
*
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
* html.rb
|
240
|
-
|
241
|
-
*
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
*
|
246
|
-
|
247
|
-
*
|
248
|
-
|
21
|
+
* bib.rb: sep (separator from text) & mode argument (np) for the
|
22
|
+
cite macro.
|
23
|
+
* macros.rb: The list macro inserted 'empty' in the output.
|
24
|
+
* latex.rb: Don't search for deplate.sty in the current directory if
|
25
|
+
its the output directory. Display an error message if deplate.sty
|
26
|
+
wasn't found.
|
27
|
+
* action_view/helpers/deplate.rb: Bug fix (thanks to skaar)
|
28
|
+
* commands.rb: #ARG & #XARG didn't handle array variables properly
|
29
|
+
* template.rb: :master wasn't propagated (did this break
|
30
|
+
xmlrpc-reuse?)
|
31
|
+
* guesslanguage.rb: New module: guess a document's language & load
|
32
|
+
the appropriate module.
|
33
|
+
* lang-*.rb: Renamed modules de, en, fr, ru*, zh* to lang-*. Also
|
34
|
+
renamed *zh-cn* to *zh_CN* and *ru_koi* to *ru-koi*.
|
35
|
+
* de/en/ru*_data: Added GPL translations (de, en, ru) as language
|
36
|
+
samples for the guesslanguage module.
|
37
|
+
* core.rb: Fixed problem with clips set in deplate.ini which were
|
38
|
+
processed twice (thanks to Fran�ois Lagarde).
|
39
|
+
* core.rb: Display an error for unrecognized lines in deplate.ini.
|
40
|
+
* bib.rb: cite takes an ip! argument which create citations like
|
41
|
+
''NAME \(YEAR)'' -- this option automatically sets np!. If np! is
|
42
|
+
set, the separator is set to ''.
|
43
|
+
* html-highstep.rb: New module, define a ''{step}'' macro for
|
44
|
+
guiding people through a presentation etc. -- it doesn't work
|
45
|
+
exaclty like this Powerpoint thing but I prefer it this way. PPT
|
46
|
+
behaviour was already partly emulated before.
|
47
|
+
* core.rb, formatter.rb: formatter-dependent options are set in
|
48
|
+
Formatter.set_options_for_file.
|
49
|
+
* core.rb: Make sure #with_formatter also sets formatter-dependent
|
50
|
+
options like the suffix etc. to prevent major troubles with
|
51
|
+
Deplate::Converter#convert_file. (Thanks to CH Swaroop for reporting
|
52
|
+
this problem.)
|
53
|
+
* mark-external-url.rb: If markerInFrontOfURL is set, the image is
|
54
|
+
placed in front of the hyperlink.
|
55
|
+
* code-highlight.rb: Enable for htmlsite, php*, *-snippet output.
|
56
|
+
Hopefully, fixed "DBG e should be an Array. Please report." Modified
|
57
|
+
command line options for highlight > 2.2.9. If the language is
|
58
|
+
German, add -r to the command line arguments.
|
59
|
+
* code-gvim.rb: Enable for php*, html-snippet, xhtml output.
|
60
|
+
* core.rb, formatter.rb: formatter_family_members moved to
|
61
|
+
Deplate::Formatter.
|
62
|
+
* core.rb, commands.rb: Abbreviations are now formatter-sensible and
|
63
|
+
resetted like normal options.
|
64
|
+
* elements.rb: A whitespace line is a valid region delimiter.
|
65
|
+
* regions.rb, elements.rb, define.rb: Deprecated the use of @regNote
|
66
|
+
in regions (use qualified arguments instead). This way we should
|
67
|
+
sooner or later be able to smoothly unify regions and commands.
|
68
|
+
Adequately named arguments will be added later on. For the moment,
|
69
|
+
stick to the old (now deprecated) syntax.
|
70
|
+
* commands.rb: The #INCLUDE command can now set any variable for the
|
71
|
+
included document.
|
72
|
+
* core.rb: The environment variables are accessible from within a
|
73
|
+
deplate document through the env[] variable (a hash).
|
74
|
+
* elements.rb: Enabled the use of hashes & arrays in conditional
|
75
|
+
statements. If '':'' is allowed, options now now take precedence
|
76
|
+
over variables.
|
77
|
+
* html.rb: Support for news feed integration via the ''newsFeed''
|
78
|
+
variable.
|
79
|
+
* particles.rb: If ''useParentSuffix'' is set, use the source files
|
80
|
+
extension when expanding wiki references as fallback strategy.
|
81
|
+
* formatter.rb, external.rb: Applied a patch by Lucas Wilcox for
|
82
|
+
support of dvipng to render inline LaTeX snippets. (Set ''ltxSfx''
|
83
|
+
to png to make this the default.)
|
84
|
+
* screenplay.rb, screenplay.css: Preliminary support for writing
|
85
|
+
screenplays.
|
86
|
+
* core.rb, input.rb: Fixed problem with using many input formats
|
87
|
+
within one document. (Some input classes probably still need some
|
88
|
+
plumbing.)
|
89
|
+
* input.rb: Catch malformed arguments (containing ! or =) that could
|
90
|
+
cause the "parser" to hang.
|
91
|
+
* regions.rb: The #For region is by default passed through the
|
92
|
+
template filter too.
|
93
|
+
* commands.rb: Fixed problem when temporarily setting variables with
|
94
|
+
#INC.
|
95
|
+
* elements.rb, input.rb: If commentsShow is set, display comments in
|
96
|
+
the output.
|
97
|
+
* elements.rb, particles.rb: Commands, regions, and macros now use
|
98
|
+
arguments defined globally in the variable args@NAME[] (a hash).
|
99
|
+
* variables.rb: Variables with upper-case letter names cannot be set
|
100
|
+
by the user.
|
101
|
+
* commands.rb: The #INCLUDE command sets the variable INCLUDED to
|
102
|
+
the command's source file name.
|
103
|
+
* macros.rb: ''{nop}'' macro (a placeholder).
|
104
|
+
* elements.rb: FIX: exception when adding a caption with the #OPT
|
105
|
+
command etc.
|
106
|
+
* particles.rb: FIX: Error for wiki links referring to an interwiki
|
107
|
+
per se.
|
108
|
+
* elements.rb: Accept task lists of the form ''#A'' or ''#3'' for
|
109
|
+
compatibility with vim's viki plugin.
|
110
|
+
* screenplay.rb: Set screenplayStyle for different section styles;
|
111
|
+
currently 2 styles are known, tentatively named: hollywood (which
|
112
|
+
can be used to get output similar to screenplay.tex), austria (which
|
113
|
+
formats section headings like "LOCATION AUSSEN/TAG").
|
114
|
+
* formatter.rb: Improved simple_bibtex_parser().
|
115
|
+
* macros.rb: New ''~''/''mark1st'' macros: mark a text's first
|
116
|
+
occurrence, i.e. put the text in upper case letters.
|
117
|
+
* macros.rb: New macros: downcase, upcase, capitalize
|
118
|
+
* commands.rb: FIX: Problem with word abbreviations that were
|
119
|
+
followed by international word characters (eg umlauts).
|
120
|
+
* input.rb: EXPERIMENTAL: Elements may now have a ''tag''
|
121
|
+
attribute/option (a comma-separated list). You can thus filter
|
122
|
+
elements that should be included in the output by setting the
|
123
|
+
''efilter'' variable (a comma-separated list). ''any'' matches any
|
124
|
+
untagged element. If the variable ''styledTags'' is set, tags will
|
125
|
+
automatically add style attributes (style=''TAG#{tagname}'') too.
|
126
|
+
* commands.rb: In order to further inconsistent naming conventions,
|
127
|
+
#PROP, and #PP are now synonyms for #OPT.
|
128
|
+
* core.rb: Changed the way some string variables are split into a
|
129
|
+
list. As a general rule, most lists now are comma-separated lists.
|
130
|
+
One exception is ''KEYWORDS'', which is separated by semi-colons as
|
131
|
+
many journals follow a ''major, minor'' scheme for keywords.
|
132
|
+
Separators in list elements can be escaped by backslashes. For the
|
133
|
+
moment, deplate tries to be smart and detect old-style separators.
|
134
|
+
* commands.rb: New ''#PUSH'' command, which is basically the same as
|
135
|
+
''#VAR add=,: ...''.
|
136
|
+
* html.rb: INCOMPATIBLE CHANGE: The ''css'' variable now has to be
|
137
|
+
separated by commas.
|
138
|
+
* input.rb: Respect tags defined in the global variable ''tag'' --
|
139
|
+
which, e.g., can be defined as argument to the ''#INCLUDE'' command
|
140
|
+
what would the tag all elements included with this command with the
|
141
|
+
specified tag(s).
|
142
|
+
* common.rb: Arguments for specific types of elements can be stored
|
143
|
+
in a global hash variable.
|
144
|
+
E.g. ''#VAR: $ElementHeading[tag]=heading'' will tag all headings as
|
145
|
+
"heading". The variable name is ''classname.split(/::/)[-2..-1].join''.
|
146
|
+
* macros.rb: New eprop macro. Set container element properties.
|
147
|
+
* input.rb: EXPERIMENTAL: The variable ''pfilter'' can be used to
|
148
|
+
filter particles.
|
149
|
+
* core.rb: #clean_file_name (renamed to #clean_name) now returns a
|
150
|
+
properly encoded filename.
|
151
|
+
* html.rb: FIX: Make sure the labels used in the index are properly
|
152
|
+
encoded.
|
153
|
+
* elements.rb: The text of TODO notes (''+++'') is printed out
|
154
|
+
during conversion.
|
155
|
+
* core.rb: "mod -MODULE" in a deplate.ini file will remove MODULE
|
156
|
+
from the list of (previously) required modules.
|
157
|
+
* regions.rb: ''#Write file=-'' will write/print to STDOUT.
|
158
|
+
* messages.rb: Don't reset document encoding defined as variable.
|
159
|
+
* latex.rb: Define 'book', 'memoir', 'scrbook', 'report', 'scrreprt'
|
160
|
+
as book classes (that use a ''\\chapter{}'' command). Users can use
|
161
|
+
the bookClass variable to define additional book classes or set the
|
162
|
+
variable to true.
|
163
|
+
* screenplay.rb: Dialog lines are automatically tagged with
|
164
|
+
Name_speaks and can be filtered using the efilter variable.
|
165
|
+
* formatter.rb: When wrapping text, a space is added to lines that
|
166
|
+
will be continued on the next line (for compatibility with vim's
|
167
|
+
:set fo+=w).
|
168
|
+
* code-gvim71.rb: Modified version of the code-gvim module that
|
169
|
+
works with newer versions of vim's 2html. (This requires hpricot to
|
170
|
+
be installed.)
|
171
|
+
* play.rb, play.css: Renamed ''screenplay.*'' to ''play.*''.
|
172
|
+
* All files: Changed contact e-mail address.
|
173
|
+
* rdoc.rb, input.rb, template.rb: Unset input-related options in
|
174
|
+
template inherited from the master object in order to make sure the
|
175
|
+
input filter is template.
|
176
|
+
* rdoc.rb: Fixed description class.
|
177
|
+
* latex.rb: Clean style names.
|
178
|
+
* formatter.rb: Load after files for related formatters, too.
|
179
|
+
* messages.rb: Load messages for related formatters, too.
|
180
|
+
* latex-dramatist.rb: Output for the dramatist latex package (should
|
181
|
+
be used with the play input filter).
|
182
|
+
* regions.rb: Run R with ''q(runLast=FALSE)''.
|
183
|
+
* latex.rb: Made typeareaDIV a synonym for DIV (because upper-case
|
184
|
+
variables are considered as constants).
|
185
|
+
* latex.rb: typeareaDIV_, DIV_ set the DIV parameter as document
|
186
|
+
class option; typeareaDIV and DIV as package option
|
187
|
+
* core.rb: Delete excluded elements (via efilter) from listings.
|
188
|
+
They are unprocessed when formatted. (This still doesn't work yet
|
189
|
+
with lists though as lists are still excluded when the last item
|
190
|
+
doesn't match.)
|
191
|
+
* linkmap.rb: New module contributed by Jeff Barczewski.
|
192
|
+
* particles.rb: A $ in extended wiki names sets rel=nofollow
|
193
|
+
\(proposed by by Jeff Barczewski).
|
194
|
+
* plain.rb: List URLs only once; reuse the index if necessary.
|
195
|
+
* core.rb: Use level of a container's top heading not of the
|
196
|
+
container itself. (In some situations, the top heading currently
|
197
|
+
gets lost, though. As a result, some auto-generated index entries
|
198
|
+
may get lost.)
|
199
|
+
* regions.txt: Renamed Deplate::Regions::Doc to
|
200
|
+
Deplate::Regions::Var.
|
201
|
+
* regions.txt: Generic regions.
|
202
|
+
* core.rb, counters.rb, common.rb: When increasing a counter, save a
|
203
|
+
reference to the current element.
|
204
|
+
* html.rb: In the index, always use the headings level.
|
205
|
+
* guesslanguage.rb: Guess only once.
|
206
|
+
* elements.rb, input.rb: When unifying elements, join tag lists.
|
207
|
+
Apply efilter before unification, this solved the problem with lists
|
208
|
+
that were filtered entirely when the last item didn't match.
|
209
|
+
* latex.rb: Escape & in hrefs.
|
210
|
+
* linkmap.rb: Format name as plain text; don't patch classes but
|
211
|
+
replace their entries in the input filter with subclasses.
|
212
|
+
* html.rb: cssInclude option: The contents of the CSS file will be
|
213
|
+
included in the output.
|
214
|
+
|
249
215
|
|
250
|
-
vim: ft=changelog
|
216
|
+
# vim: ft=changelog:tw=72
|