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
data/NEWS.TXT CHANGED
@@ -1,33 +1,50 @@
1
- * deplate 0.8
2
-
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
-
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
28
-
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.
1
+ * deplate 0.8.1
2
+
3
+ This release incorporates the usual set of bugfixes, some general improvements, and support for dvipng. The way how ARG/XARG commands/macros work has changed.
4
+
5
+ Incompatible changes:
6
+ - deplate currently is slightly instable. This is related to a change of how ARG and XARG type of commands/macros work within #Def... regions, which are now passed through the template filter. In order to retain the old behaviour, set the legacyDefine1 variable.
7
+ - the locale-related modules were renamed to lang-* (in some cases underscores and dashes were transposed)
8
+ - most lists (e.g. css variable) are now comma-separated lists
9
+ - many regions (e.g. #For, #Def*) are first processed by the template filter before being actually expanded
10
+ - The use of @regNote (the part after the colon) will be deprecated in some future version; deplate currently displays a warning message that isn't always useful/correct and should currently be ignored in certain cases
11
+
12
+ Improvements:
13
+ - dvipng support (by Lucas Wilcox)
14
+ - Preliminary support for writing plays (stage, screen).
15
+ - A whitespace line is a valid region delimiter.
16
+ - The {step} macro allows to stepwise highlight text on a HTML page, which could be useful for doing HTML-based presentations.
17
+ - #INCLUDE is much more versatile now.
18
+ - #Native now takes an optional template! argument so that the body gets processed by the template filter.
19
+ - The {cite} now knows a few extra arguments.
20
+ - The environment variables are accessible from within a deplate document through the env[] variable (a hash).
21
+ - ''$ClassName[property]'' variable to set properties for all elements of a certain class.
22
+ - Can filter elements or particles according to the ''tag'' property by setting the efilter and/or pfilter variables.
23
+ - The #INCLUDE command can set variables for the included document.
24
+ - A whitespace line can be a valid region delimiter
25
+
26
+ New input format:
27
+ - play
28
+
29
+ New output format:
30
+ - latex-dramatist
31
+
32
+ New commands:
33
+ - #PUSH
34
+ - #PP, #PROP (synonyms for #OPT)
35
+
36
+ New macros:
37
+ - mark1st, ~
38
+ - downcase, upcase, capitalize
39
+ - eprop
40
+
41
+ New modules:
42
+ - code-gvim71
43
+ - guesslanguage (guess the input document's language)
44
+ - html-highstep (''step'' macro)
45
+ - linkmap (Jeff Barczewski): markdown-like hyperlinks
30
46
 
31
47
  For other changes please see the CHANGES.TXT.
32
48
 
33
- % vi: ft=text:tw=0:ts=4
49
+
50
+ % vi: ft=viki:tw=0:ts=4
data/README.TXT CHANGED
@@ -17,7 +17,6 @@ along with this program; if not, write to the Free Software
17
17
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18
18
  USA
19
19
 
20
- ---
21
20
 
22
21
  = Install
23
22
 
data/TODO.TXT CHANGED
@@ -1,17 +1,51 @@
1
1
  * Problems & issues
2
+ #A1 _ Generation of the win32 executable is currently broken (I don't have
3
+ the time to adapt the exr file for the current version of exerb)
4
+ #A1 _ arg vs xarg: definition, switch them?
5
+ #A1 _ parse error: {cite n=aus\: p=11: kaiser83}
6
+ !!! n="aus:" should work though
7
+ #A2 _ Wrong line numbers in the log for regions defined with
8
+ ''#DefRegion'' etc.
2
9
  #A2 _ ''[[#textpipe][TextPipe]]'' generates wrong link when splitting
3
10
  output (''[[integration#textpipe][TextPipe]]'' is okay though)
11
+ #A3 _ LaTeX output for task lists that are embedded in lists throws an
12
+ error: ''! LaTeX Error: Too deeply nested.''
13
+ - This is most likely a proplem with deplate per se but deplate should
14
+ at least display a warning or similar.
4
15
  #A4 _ Find a way to respect whitespace at the beginning of a macro's
5
16
  argument, e.g.
6
17
  - ''{text: \ bla}'' -> currently generates a non-breakable space
7
18
  - ''{text exact!: bla}''
8
19
  - ''{text:: bla}''
20
+ - ''{text @body=" bla"}'' (this one would integrate well with the
21
+ existing basis)
22
+ #A4 All regions & macros should take a template argument that makes the
23
+ body be passed through the template filter.
24
+ #A4 For whatever reason there has to be a blank line in the following
25
+ example; also, it's annoying having to escape #COMMENTS which shouldn't
26
+ be necessary as the command isn't allowed in templates anyway:
27
+ #Verb <<---------
28
+ #DefRegion id=Slide <<--
29
+ * {xarg: title}
30
+ \#OPT: id={xarg: id}
31
+ \#COMMENTS: {xarg: n}
9
32
 
33
+ #XARG: @body
34
+ --
35
+ ---------
36
+ !!! I'm not sure if this wasn't already solved by making #XARG
37
+ non-volatile.
38
+ #A4 When passing a block on initialization of deplate/converter, newly
39
+ listed modules in options.modules should be automatically loaded.
40
+
41
+ #A5 _ Interviki names defined as format strings
42
+ #A5 _ parbox macro (latex)
43
+ - or rather an inline macro that takes a clip or the contents of a
44
+ variable and formats it as (inline) particle (ie wrap it up in a
45
+ parbox, div ...)
10
46
  #A5 _ #INC: look in the directory of the input file first
11
47
  #A7 _ Wrong numbering when defining a heading as an example's title
12
48
  (level_as_string gets lost somehow or is not updated right in time)
13
- #A7 _ Latin-1 umlauts are sometimes translated to utf-8, when including a
14
- document-- I have no idea what is causing this
15
49
  #A9 _ Duplicate anchors
16
50
  - Regions.html: - r_geyser 914, 917
17
51
  - dot_example 906, 909
@@ -24,6 +58,14 @@
24
58
  to "plain"; running numbers are also used in auto-generated labels which
25
59
  is wrong.
26
60
 
61
+ #B1 _ New Command #PARAM, #PN (or something like that), that works like
62
+ \#PP but on the following elements. It should actually define a list of
63
+ properties that are automatically tagged on following elements right
64
+ when processing the input.
65
+ !!! This can currently be done by setting $ElementName[VAR]=VALUE.
66
+ #B1 _ Support for output via latex-screenplay
67
+ #B1 _ Enable filtering of dialog lines according to speaker
68
+ #B1 _ Enable filtering of scenes according to characters and place
27
69
  #B1 _ Disable #Native in templates (why/when was it enabled?)
28
70
  #B1 _ Handling of multi-file output is still a mess
29
71
  #B1 _ Check for potential code injection (when using eval &
@@ -32,7 +74,7 @@
32
74
  - places where user input finds its way into the output
33
75
  navbar-png.rb :: variables['buttonsColour'],
34
76
  variables['buttonsFileFormat']
35
- - this calls for a general validation framework, I'd say
77
+ - this calls for a general validation framework for variables, I'd say
36
78
  #B3 _ All File.open & File.exists should be replaced with wrapper
37
79
  functions; depending on some allow flags these functions should restrict
38
80
  access to:
@@ -49,9 +91,21 @@
49
91
  - this should probably be renamed to something like template
50
92
  function/helper and restricted to templates
51
93
 
94
+ #C2 _ The arguments need different rules
95
+ - Good
96
+ - foo=1 bar="bla bla" x=(1 2 3) z=[1; 3; 4]
97
+ - foo! bar=true var=false x=\true y="true"
98
+ - var=bla\ bla y="[1 2 3]"
99
+ - Bad
100
+ - foo=bar=1 bar=bla bla x=y!z
52
101
  #C2 _ Do we still need @dest? @dest vs. @options.out vs.
53
102
  @output.destination: One should be enough.
54
103
  #C4 _ Skeletons vs. services vs. #INC: this is kind of redundant
104
+ #C5 _ Microformats http://microformats.org/wiki/Main_Page
105
+ - Use index for <a rel="tag"></a> http://microformats.org/wiki/rel-tag
106
+ - rel="license"
107
+ - rel="friend" http://www.gmpg.org/xfn/
108
+ - Task lists -> http://microformats.org/wiki/hcalendar
55
109
  #C5 _ Currently, deplate converts a document in three steps; this is wrong
56
110
  because it introduces too much complexity just to avoid running deplate
57
111
  three times � la LaTeX; there should be only one step and the
@@ -63,18 +117,24 @@
63
117
  certain threshold was surpassed (can't converge error).
64
118
  #C7 _ Improved support for symbols: input vs. output encoding
65
119
  #C7 _ Symbols & locales: The conversion table should be contained in the
66
- DATA section, not in some extra file
120
+ source file's DATA section, not in some extra file
121
+ #C7 _ Guesslanguage: Temporarily switch languages
122
+ #C7 _ citations: allow something like {cite: author#page}
67
123
  #C8 _ lists: don't tranform list items to structs but accumulate the items
68
124
  right away
69
125
  #C9 _ HTML: use entities for special characters (e.g. &uuml; instead of
70
126
  �) -- the problem with this currently is, that we have to know the input
71
127
  encoding in order to compile a conversion list; an alternative approach
72
128
  would be to convert everything to utf8 internally but this whould rely
73
- on iconv which is not available on all platforms (at least not in the
129
+ on iconv which is not available on all platforms (at least not with the
74
130
  default ruby installation)
75
131
 
132
+ #E2 _ guesslanguage: Use best guess for most of the input document.
133
+ #E2 _ Output themes (style + template): (1) collect files in directories
134
+ or (2) define theme in a metafile that refers to the styles and templates
135
+ to be used.
76
136
  #E3 _ #Math region (similar to \{math\} macro but at the block/element
77
- level)
137
+ level)
78
138
  #E4 _ {var} ~~ {arg: var} || {get: var}
79
139
  #E4 _ {val:} vs. {var:} vs. {arg:} vs. {xarg:} vs. {get:} vs. {opt:}
80
140
  #E4 _ variables vs. clips
@@ -82,26 +142,31 @@
82
142
  #E4 _ {cite an!: xxx} -> X & Y~(2000)
83
143
  #E4 _ citation styles
84
144
  - numbered � la uniform medical submission requirements ...
85
- - implementations: prefixed (=style) methdos:
145
+ - implementations: prefixed (=style) methods:
86
146
  - eg: apa_cite
87
147
  - if ''STYLE_method'' doesn't exist -> Fallback:
88
- ''default_method'' or simply ''method''?
148
+ ''default_method'' or simply ''method''?
89
149
  #E4 _ #MAKEBIB -> #LIST: bib
90
150
  #E4 _ #Style -> Mark text in region with style attribute
91
151
 
92
152
  #F3 _ chaining formatter; reimplement the way particles are formatted
93
153
  #F5 _ check how inlatex-compound can be made more robust (and make it the
94
- default for dealing with inline latex bits)
154
+ default for dealing with inline latex bits)
95
155
  #F9 _ Regions should be handled differently so that nested regions can use
96
- \#End.
156
+ \#End -- or completely remove this alternative markup for regions.
97
157
 
98
158
  ** Docbook
159
+ #A1 _ Author names like "{foo bar}" are parsed and formatted first and
160
+ rearranged later on. As a consequence, Deplate complains about unknown
161
+ macros. The solution would be to have a simplified latex input filter.
162
+ In the meanwhile, we disable macros when parsing the text.
99
163
  #A _ deplate complains about a malformed list (toc, lot, lof?) or internal
100
164
  error when compiling the manual
101
165
  #C _ docbook support for styles (e.g. for task lists) (well, how? role?)
102
166
  #D _ docbook support for custom lists
103
167
 
104
168
  ** HTML
169
+ #A _ Make the tabbar use ul/li tags instead of a table.
105
170
  #A _ If an indexed word is moved to a list (#LIST), then the index points
106
171
  to the wrong position.
107
172
  #B _ The #AUTOIDX command should not create an index entry for itself.
@@ -111,7 +176,8 @@
111
176
  ** LaTeX
112
177
 
113
178
  ** PHP
114
- #B _ Propagate the get arguments -> Base url should be a format string.
179
+ #B _ Make internal wiki links propagate the get arguments -> Base url
180
+ should be a format string.
115
181
 
116
182
  ** Plain text
117
183
 
@@ -122,10 +188,10 @@
122
188
  #C _ define how convert_string should work when invoked repeatedly (with
123
189
  respect to #IDX, #ABBREV, ...)
124
190
  #F _ custom names for labels/refs (html output)
125
- - or use extended wiki names instead
191
+ - or use extended wiki names instead
126
192
  #F _ relative/absolute file names & urls in the \{img\} and #IMG: define
127
193
  proper behaviour
128
- - general solution or formatter specific (as it is now)?
194
+ - general solution or formatter specific (as it is now)?
129
195
 
130
196
 
131
197
  ** Tests for ...
@@ -135,20 +201,27 @@
135
201
 
136
202
  * TODO
137
203
  ** 0.09
138
- - test output to sciposter (or similar) for LaTeX output
204
+ - Metadata-related stuff should be re-implemented (and made more useful)
205
+ - Two/n-pass single-step redesign (there really is no use in implementing
206
+ more features before this was done)
207
+ - Prepare the Deplate::Input for non-line-based format like latex.
139
208
  - define a way to create a slot from within a deplate document
209
+ - basic support for:
210
+ - textile input
211
+ - markdown input
212
+ - wikipedia input
213
+ - TEI output
214
+ - sciposter output (or similar)
140
215
  - \FreeMind output
141
216
  - \OpenDocument or RTF output (if rtf.rb can be used for this)
142
217
  - Method/attribute naming: indentation vs. level (heading)
143
- - Metadata-related stuff should be re-implemented (and made more useful)
144
- - Two-pass single-step redesign
145
218
  - citation & bibliography styles
146
219
  - the output stuff has to be managed by the formatter class alone
147
220
  - HTML: make indexed words be hyperlinked to the index (~~tag cloud)
148
221
  - HTML: bib entries should have backlinks to where an author was cited
149
222
  - PHP: mysql backend for the comment facility (per page, element)
150
223
 
151
- ** 0.10
224
+ ** 0.??
152
225
  - unify region & command & anchor
153
226
  - unify region & command
154
227
  - if it isn't a region/command, check if it could be an anchor
@@ -265,11 +338,11 @@
265
338
  - markdown
266
339
  - textile
267
340
  - xml
268
- - \FreeMind
341
+ - FreeMind
269
342
 
270
343
  ** Out
271
- - \OpenDocument
272
- - \FreeMind
344
+ - OpenDocument
345
+ - FreeMind
273
346
  - direct pdf output via the pdf-writer library
274
347
  - rtf formatter (only if it can be done better than docbook+jade does and
275
348
  if it is easier to implement than an \OpenDocument formatter)
@@ -1 +1 @@
1
- 0.8final-2711
1
+ 0.8.1final-2965
@@ -0,0 +1,192 @@
1
+ # Generated by mkexy
2
+ # on 2007-07-16 18:52
3
+
4
+ general:
5
+ startup: bin/deplate
6
+ core: cui
7
+ kcode: none
8
+
9
+ file:
10
+ bin/deplate:
11
+ rbconfig.rb:
12
+ file: /usr/lib/ruby/1.8/i386-cygwin/rbconfig.rb
13
+ rubygems/rubygems_version.rb:
14
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/rubygems_version.rb
15
+ thread.rb:
16
+ file: /usr/lib/ruby/1.8/thread.rb
17
+ rbconfig/datadir.rb:
18
+ file: /usr/lib/ruby/site_ruby/1.8/rbconfig/datadir.rb
19
+ rubygems/user_interaction.rb:
20
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb
21
+ socket.so:
22
+ file: /usr/lib/ruby/1.8/i386-cygwin/socket.so
23
+ type: extension-library
24
+ timeout.rb:
25
+ file: /usr/lib/ruby/1.8/timeout.rb
26
+ net/protocol.rb:
27
+ file: /usr/lib/ruby/1.8/net/protocol.rb
28
+ uri/common.rb:
29
+ file: /usr/lib/ruby/1.8/uri/common.rb
30
+ uri/generic.rb:
31
+ file: /usr/lib/ruby/1.8/uri/generic.rb
32
+ uri/ftp.rb:
33
+ file: /usr/lib/ruby/1.8/uri/ftp.rb
34
+ uri/http.rb:
35
+ file: /usr/lib/ruby/1.8/uri/http.rb
36
+ uri/https.rb:
37
+ file: /usr/lib/ruby/1.8/uri/https.rb
38
+ uri/ldap.rb:
39
+ file: /usr/lib/ruby/1.8/uri/ldap.rb
40
+ uri/mailto.rb:
41
+ file: /usr/lib/ruby/1.8/uri/mailto.rb
42
+ uri.rb:
43
+ file: /usr/lib/ruby/1.8/uri.rb
44
+ net/http.rb:
45
+ file: /usr/lib/ruby/1.8/net/http.rb
46
+ stringio.so:
47
+ file: /usr/lib/ruby/1.8/i386-cygwin/stringio.so
48
+ type: extension-library
49
+ yaml/error.rb:
50
+ file: /usr/lib/ruby/1.8/yaml/error.rb
51
+ syck.so:
52
+ file: /usr/lib/ruby/1.8/i386-cygwin/syck.so
53
+ type: extension-library
54
+ yaml/ypath.rb:
55
+ file: /usr/lib/ruby/1.8/yaml/ypath.rb
56
+ yaml/basenode.rb:
57
+ file: /usr/lib/ruby/1.8/yaml/basenode.rb
58
+ yaml/syck.rb:
59
+ file: /usr/lib/ruby/1.8/yaml/syck.rb
60
+ yaml/tag.rb:
61
+ file: /usr/lib/ruby/1.8/yaml/tag.rb
62
+ yaml/stream.rb:
63
+ file: /usr/lib/ruby/1.8/yaml/stream.rb
64
+ yaml/constants.rb:
65
+ file: /usr/lib/ruby/1.8/yaml/constants.rb
66
+ rational.rb:
67
+ file: /usr/lib/ruby/1.8/rational.rb
68
+ date/format.rb:
69
+ file: /usr/lib/ruby/1.8/date/format.rb
70
+ date.rb:
71
+ file: /usr/lib/ruby/1.8/date.rb
72
+ yaml/rubytypes.rb:
73
+ file: /usr/lib/ruby/1.8/yaml/rubytypes.rb
74
+ yaml/types.rb:
75
+ file: /usr/lib/ruby/1.8/yaml/types.rb
76
+ yaml.rb:
77
+ file: /usr/lib/ruby/1.8/yaml.rb
78
+ zlib.so:
79
+ file: /usr/lib/ruby/1.8/i386-cygwin/zlib.so
80
+ type: extension-library
81
+ rubygems/remote_fetcher.rb:
82
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb
83
+ digest.so:
84
+ file: /usr/lib/ruby/1.8/i386-cygwin/digest.so
85
+ type: extension-library
86
+ digest/sha2.so:
87
+ file: /usr/lib/ruby/1.8/i386-cygwin/digest/sha2.so
88
+ type: extension-library
89
+ rubygems/digest/digest_adapter.rb:
90
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/digest/digest_adapter.rb
91
+ rubygems/digest/sha2.rb:
92
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/digest/sha2.rb
93
+ forwardable.rb:
94
+ file: /usr/lib/ruby/1.8/forwardable.rb
95
+ parsedate.rb:
96
+ file: /usr/lib/ruby/1.8/parsedate.rb
97
+ time.rb:
98
+ file: /usr/lib/ruby/1.8/time.rb
99
+ rubygems/source_index.rb:
100
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb
101
+ rubygems/version.rb:
102
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/version.rb
103
+ rubygems/specification.rb:
104
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb
105
+ openssl.so:
106
+ file: /usr/lib/ruby/1.8/i386-cygwin/openssl.so
107
+ type: extension-library
108
+ openssl/bn.rb:
109
+ file: /usr/lib/ruby/1.8/openssl/bn.rb
110
+ openssl/cipher.rb:
111
+ file: /usr/lib/ruby/1.8/openssl/cipher.rb
112
+ openssl/digest.rb:
113
+ file: /usr/lib/ruby/1.8/openssl/digest.rb
114
+ openssl/buffering.rb:
115
+ file: /usr/lib/ruby/1.8/openssl/buffering.rb
116
+ fcntl.so:
117
+ file: /usr/lib/ruby/1.8/i386-cygwin/fcntl.so
118
+ type: extension-library
119
+ openssl/ssl.rb:
120
+ file: /usr/lib/ruby/1.8/openssl/ssl.rb
121
+ openssl/x509.rb:
122
+ file: /usr/lib/ruby/1.8/openssl/x509.rb
123
+ openssl.rb:
124
+ file: /usr/lib/ruby/1.8/openssl.rb
125
+ rubygems/gem_openssl.rb:
126
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/gem_openssl.rb
127
+ rubygems/security.rb:
128
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/security.rb
129
+ rubygems/custom_require.rb:
130
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
131
+ rubygems.rb:
132
+ file: /usr/lib/ruby/site_ruby/1.8/rubygems.rb
133
+ ubygems.rb:
134
+ file: /usr/lib/ruby/site_ruby/1.8/ubygems.rb
135
+ optparse.rb:
136
+ file: /usr/lib/ruby/1.8/optparse.rb
137
+ ostruct.rb:
138
+ file: /usr/lib/ruby/1.8/ostruct.rb
139
+ ftools.rb:
140
+ file: /usr/lib/ruby/1.8/ftools.rb
141
+ pathname.rb:
142
+ file: /usr/lib/ruby/1.8/pathname.rb
143
+ deplate/core.rb:
144
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/core.rb
145
+ deplate/common.rb:
146
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/common.rb
147
+ deplate/input.rb:
148
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/input.rb
149
+ deplate/metadata.rb:
150
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/metadata.rb
151
+ deplate/output.rb:
152
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/output.rb
153
+ deplate/cache.rb:
154
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/cache.rb
155
+ deplate/variables.rb:
156
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/variables.rb
157
+ deplate/counters.rb:
158
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/counters.rb
159
+ deplate/etc.rb:
160
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/etc.rb
161
+ deplate/abstract-class.rb:
162
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/abstract-class.rb
163
+ deplate/elements.rb:
164
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/elements.rb
165
+ deplate/regions.rb:
166
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/regions.rb
167
+ deplate/commands.rb:
168
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/commands.rb
169
+ deplate/macros.rb:
170
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/macros.rb
171
+ deplate/particles.rb:
172
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/particles.rb
173
+ deplate/define.rb:
174
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/define.rb
175
+ deplate/formatter.rb:
176
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/formatter.rb
177
+ deplate/fmt/template.rb:
178
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/fmt/template.rb
179
+ deplate/template.rb:
180
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/template.rb
181
+ deplate/skeletons.rb:
182
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/skeletons.rb
183
+ deplate/bib.rb:
184
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/bib.rb
185
+ getopts.rb:
186
+ file: /usr/lib/ruby/1.8/getopts.rb
187
+ ps2ppm.rb:
188
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/ps2ppm.rb
189
+ deplate/external.rb:
190
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate/external.rb
191
+ deplate.rb:
192
+ file: /cygdrive/f/ext/Ruby/tml/deplate/lib/deplate.rb