deplate 0.8 → 0.8.1

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 (163) hide show
  1. data/AUTHORS.TXT +19 -16
  2. data/CHANGES.TXT +214 -248
  3. data/NEWS.TXT +47 -30
  4. data/README.TXT +0 -1
  5. data/TODO.TXT +93 -20
  6. data/VERSION.TXT +1 -1
  7. data/bin/deplate.exy +192 -0
  8. data/etc/deplate.ini +70 -9
  9. data/lib/action_view/helpers/deplate.rb +33 -33
  10. data/lib/deplate.rb +2 -2
  11. data/lib/deplate/bib.rb +72 -41
  12. data/lib/deplate/builtin.rb +1 -1
  13. data/lib/deplate/cache.rb +1 -1
  14. data/lib/deplate/commands.rb +161 -102
  15. data/lib/deplate/common.rb +93 -7
  16. data/lib/deplate/converter.rb +10 -4
  17. data/lib/deplate/core.rb +215 -108
  18. data/lib/deplate/counters.rb +23 -8
  19. data/lib/deplate/css/article.css +9 -5
  20. data/lib/deplate/css/deplate.css +37 -3
  21. data/lib/deplate/css/heading-navbar.css +1 -1
  22. data/lib/deplate/css/highstep.css +18 -0
  23. data/lib/deplate/css/htmldoc.css +43 -0
  24. data/lib/deplate/css/layout-deplate-print.css +1 -1
  25. data/lib/deplate/css/layout-deplate.css +1 -1
  26. data/lib/deplate/css/play.css +101 -0
  27. data/lib/deplate/css/sans-serif.css +1 -1
  28. data/lib/deplate/css/serif-e.css +1 -1
  29. data/lib/deplate/css/serif-rel.css +1 -1
  30. data/lib/deplate/css/serif.css +1 -1
  31. data/lib/deplate/css/slides.css +1 -1
  32. data/lib/deplate/css/styles.css +4 -0
  33. data/lib/deplate/css/tabbar-right.css +54 -8
  34. data/lib/deplate/css/tabbar-top.css +28 -9
  35. data/lib/deplate/css/text-sans-serif.css +1 -1
  36. data/lib/deplate/css/text-serif.css +1 -1
  37. data/lib/deplate/define.rb +71 -38
  38. data/lib/deplate/deplate-string.rb +3 -3
  39. data/lib/deplate/docbook.rb +9 -9
  40. data/lib/deplate/elements.rb +173 -84
  41. data/lib/deplate/etc.rb +6 -8
  42. data/lib/deplate/external.rb +9 -5
  43. data/lib/deplate/fmt/dbk-article-4.1.2.rb +4 -3
  44. data/lib/deplate/fmt/dbk-article.rb +9 -8
  45. data/lib/deplate/fmt/dbk-book.rb +4 -3
  46. data/lib/deplate/fmt/dbk-ref.rb +5 -4
  47. data/lib/deplate/fmt/dbk-slides.rb +4 -3
  48. data/lib/deplate/fmt/dbk-snippet.rb +4 -3
  49. data/lib/deplate/fmt/html-snippet.rb +1 -1
  50. data/lib/deplate/fmt/html.rb +186 -46
  51. data/lib/deplate/fmt/htmlsite.rb +19 -9
  52. data/lib/deplate/fmt/htmlslides.rb +1 -1
  53. data/lib/deplate/fmt/htmlwebsite.rb +1 -1
  54. data/lib/deplate/fmt/latex-dramatist.rb +175 -0
  55. data/lib/deplate/fmt/latex-snippet.rb +1 -1
  56. data/lib/deplate/fmt/latex.rb +132 -80
  57. data/lib/deplate/fmt/null.rb +1 -1
  58. data/lib/deplate/fmt/php.rb +1 -1
  59. data/lib/deplate/fmt/phpsite.rb +1 -1
  60. data/lib/deplate/fmt/plain.rb +16 -9
  61. data/lib/deplate/fmt/template.rb +1 -1
  62. data/lib/deplate/fmt/xhtml10t.rb +1 -1
  63. data/lib/deplate/formatter-snippet.rb +1 -1
  64. data/lib/deplate/formatter.rb +272 -81
  65. data/lib/deplate/guesslanguage.rb +57 -0
  66. data/lib/deplate/input.rb +205 -50
  67. data/lib/deplate/input/deplate-headings.rb +9 -11
  68. data/lib/deplate/input/deplate-restricted.rb +3 -23
  69. data/lib/deplate/input/deplate.rb +1 -1
  70. data/lib/deplate/input/play.rb +208 -0
  71. data/lib/deplate/input/rdoc.rb +37 -15
  72. data/lib/deplate/input/template.rb +6 -11
  73. data/lib/deplate/lib/Makefile.config +53 -4
  74. data/lib/deplate/lib/html/parbreak +3 -0
  75. data/lib/deplate/lib/javascript/StepwiseNextPage.js +8 -0
  76. data/lib/deplate/lib/javascript/StepwiseNextPage_confirm.js +8 -0
  77. data/lib/deplate/lib/latex/deplate.sty +36 -0
  78. data/lib/deplate/lib/latex/parbreak +6 -0
  79. data/lib/deplate/lib/php/page-comment.inc.php +5 -5
  80. data/lib/deplate/lib/plain/parbreak +6 -0
  81. data/lib/deplate/locale/de.latin1 +87 -15
  82. data/lib/deplate/locale/de.latin1_data +60 -0
  83. data/lib/deplate/locale/en.latin1_data +46 -0
  84. data/lib/deplate/locale/fr.latin1_data +74 -0
  85. data/lib/deplate/locale/ru.koi8-r_data +63 -0
  86. data/lib/deplate/locale/{zh_cn.gb2312 → zh_CN.GB2312} +0 -0
  87. data/lib/deplate/macros.rb +106 -32
  88. data/lib/deplate/messages.rb +22 -8
  89. data/lib/deplate/metadata.rb +1 -1
  90. data/lib/deplate/metadata/marshal.rb +1 -1
  91. data/lib/deplate/metadata/xml.rb +1 -1
  92. data/lib/deplate/metadata/yaml.rb +1 -1
  93. data/lib/deplate/mod/anyword.rb +4 -4
  94. data/lib/deplate/mod/babelfish.rb +1 -1
  95. data/lib/deplate/mod/code-gvim.rb +14 -8
  96. data/lib/deplate/mod/code-gvim71.rb +52 -0
  97. data/lib/deplate/mod/code-highlight.rb +35 -19
  98. data/lib/deplate/mod/colored-log.rb +1 -1
  99. data/lib/deplate/mod/endnotes.rb +1 -1
  100. data/lib/deplate/mod/guesslanguage.rb +75 -0
  101. data/lib/deplate/mod/html-asciimath.rb +1 -1
  102. data/lib/deplate/mod/html-deplate-button.rb +1 -1
  103. data/lib/deplate/mod/html-headings-navbar.rb +1 -1
  104. data/lib/deplate/mod/html-highstep.rb +43 -0
  105. data/lib/deplate/mod/html-jsmath.rb +1 -1
  106. data/lib/deplate/mod/html-obfuscate-email.rb +1 -1
  107. data/lib/deplate/mod/html-sidebar.rb +1 -1
  108. data/lib/deplate/mod/iconv.rb +1 -1
  109. data/lib/deplate/mod/imgurl.rb +1 -1
  110. data/lib/deplate/mod/inlatex-compound.rb +1 -1
  111. data/lib/deplate/mod/koma.rb +4 -4
  112. data/lib/deplate/mod/{de.rb → lang-de.rb} +1 -1
  113. data/lib/deplate/mod/{en.rb → lang-en.rb} +1 -1
  114. data/lib/deplate/mod/{ru_koi8-r.rb → lang-ru-koi8-r.rb} +1 -1
  115. data/lib/deplate/mod/lang-ru.rb +9 -0
  116. data/lib/deplate/mod/{zh-cn-autospace.rb → lang-zh_CN-autospace.rb} +3 -3
  117. data/lib/deplate/mod/{zh-cn.rb → lang-zh_CN.rb} +8 -8
  118. data/lib/deplate/mod/latex-emph-table-head.rb +1 -1
  119. data/lib/deplate/mod/latex-styles.rb +6 -6
  120. data/lib/deplate/mod/latex-verbatim-small.rb +1 -1
  121. data/lib/deplate/mod/linkmap.rb +128 -0
  122. data/lib/deplate/mod/makefile.rb +23 -22
  123. data/lib/deplate/mod/mark-external-urls.rb +13 -7
  124. data/lib/deplate/mod/markup-1-warn.rb +1 -1
  125. data/lib/deplate/mod/markup-1.rb +1 -1
  126. data/lib/deplate/mod/navbar-png.rb +5 -4
  127. data/lib/deplate/mod/noindent.rb +1 -1
  128. data/lib/deplate/mod/numpara.rb +1 -1
  129. data/lib/deplate/mod/particle-math.rb +1 -1
  130. data/lib/deplate/mod/php-extra.rb +1 -1
  131. data/lib/deplate/mod/pstoedit.rb +1 -1
  132. data/lib/deplate/mod/recode.rb +1 -1
  133. data/lib/deplate/mod/smart-dash.rb +1 -1
  134. data/lib/deplate/mod/smiley.rb +1 -1
  135. data/lib/deplate/mod/soffice.rb +1 -1
  136. data/lib/deplate/mod/symbols-latin1.rb +1 -1
  137. data/lib/deplate/mod/symbols-od-utf-8.rb +1 -1
  138. data/lib/deplate/mod/symbols-plain.rb +1 -1
  139. data/lib/deplate/mod/symbols-sgml.rb +1 -1
  140. data/lib/deplate/mod/symbols-utf-8.rb +1 -1
  141. data/lib/deplate/mod/symbols-xml.rb +1 -1
  142. data/lib/deplate/mod/syntax-region-alt.rb +1 -1
  143. data/lib/deplate/mod/utf8.rb +1 -1
  144. data/lib/deplate/mod/validate-html.rb +1 -1
  145. data/lib/deplate/mod/xmlrpc.rb +37 -36
  146. data/lib/deplate/nukumi2.rb +4 -4
  147. data/lib/deplate/once-method.rb +1 -1
  148. data/lib/deplate/output.rb +12 -4
  149. data/lib/deplate/particles.rb +52 -22
  150. data/lib/deplate/regions.rb +160 -90
  151. data/lib/deplate/skeletons.rb +4 -3
  152. data/lib/deplate/structured.rb +19 -13
  153. data/lib/deplate/template.rb +17 -9
  154. data/lib/deplate/templates/html-doc.html +8 -11
  155. data/lib/deplate/templates/html-tabbar-right.html +1 -1
  156. data/lib/deplate/templates/html-tabbar-top.html +3 -3
  157. data/lib/deplate/variables.rb +25 -9
  158. data/lib/deplate/wiki-markup.rb +14 -3
  159. data/lib/deplate/xml.rb +3 -4
  160. data/lib/deplate/{zh-cn.rb → zh_CN.rb} +16 -16
  161. data/man/man1/deplate.1 +80 -65
  162. metadata +72 -48
  163. data/lib/deplate/mod/fr.rb +0 -46
@@ -1,29 +1,32 @@
1
1
  Main Author:
2
- Thomas Link, samul AT web.de
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 Peter Jipsen
20
- (http://www.chapman.edu/~jipsen).
21
- - Some images are taken from the QBullet set
22
- (http://www.matterform.com/).
23
- - term.rb is written by Florian Frank
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
+ - 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
@@ -1,250 +1,216 @@
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
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
- * 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}''.
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