deplate 0.7.3 → 0.8

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 (160) hide show
  1. data/AUTHORS.TXT +3 -0
  2. data/CHANGES.TXT +248 -175
  3. data/LICENSE.TXT +0 -0
  4. data/NEWS.TXT +28 -24
  5. data/README.TXT +0 -0
  6. data/TODO.TXT +174 -88
  7. data/VERSION.TXT +1 -1
  8. data/bin/deplate +0 -0
  9. data/bin/deplate.bat +0 -0
  10. data/etc/deplate.ini +91 -3
  11. data/lib/action_view/helpers/deplate.rb +45 -0
  12. data/lib/deplate.rb +6 -1
  13. data/lib/deplate/abstract-class.rb +0 -0
  14. data/lib/deplate/bib.rb +576 -0
  15. data/lib/deplate/builtin.rb +0 -0
  16. data/lib/deplate/cache.rb +55 -5
  17. data/lib/deplate/commands.rb +346 -183
  18. data/lib/deplate/common.rb +209 -48
  19. data/lib/deplate/converter.rb +12 -6
  20. data/lib/deplate/core.rb +777 -378
  21. data/lib/deplate/counters.rb +254 -0
  22. data/lib/deplate/css/article.css +4 -3
  23. data/lib/deplate/css/deplate.css +121 -5
  24. data/lib/deplate/css/heading-navbar.css +0 -0
  25. data/lib/deplate/css/layout-deplate-print.css +0 -0
  26. data/lib/deplate/css/layout-deplate.css +0 -0
  27. data/lib/deplate/css/sans-serif.css +0 -0
  28. data/lib/deplate/css/serif-e.css +0 -0
  29. data/lib/deplate/css/serif-rel.css +0 -0
  30. data/lib/deplate/css/serif.css +9 -3
  31. data/lib/deplate/css/slides.css +0 -0
  32. data/lib/deplate/css/tabbar-left.css +0 -0
  33. data/lib/deplate/css/tabbar-right-ie.css +3 -9
  34. data/lib/deplate/css/tabbar-right.css +51 -18
  35. data/lib/deplate/css/tabbar-top.css +7 -1
  36. data/lib/deplate/css/tabbar.css +0 -0
  37. data/lib/deplate/css/text-sans-serif.css +0 -0
  38. data/lib/deplate/css/text-serif.css +0 -0
  39. data/lib/deplate/define.rb +183 -177
  40. data/lib/deplate/deplate-string.rb +82 -0
  41. data/lib/deplate/docbook.rb +236 -128
  42. data/lib/deplate/elements.rb +584 -417
  43. data/lib/deplate/etc.rb +163 -101
  44. data/lib/deplate/external.rb +42 -11
  45. data/lib/deplate/fmt/dbk-article-4.1.2.rb +0 -0
  46. data/lib/deplate/fmt/dbk-article.rb +0 -0
  47. data/lib/deplate/fmt/dbk-book.rb +0 -0
  48. data/lib/deplate/fmt/dbk-ref.rb +3 -3
  49. data/lib/deplate/fmt/dbk-slides.rb +0 -0
  50. data/lib/deplate/fmt/dbk-snippet.rb +0 -0
  51. data/lib/deplate/fmt/html-snippet.rb +0 -0
  52. data/lib/deplate/fmt/html.rb +783 -550
  53. data/lib/deplate/fmt/htmlsite.rb +192 -199
  54. data/lib/deplate/fmt/htmlslides.rb +0 -0
  55. data/lib/deplate/fmt/htmlwebsite.rb +3 -3
  56. data/lib/deplate/fmt/latex-snippet.rb +0 -0
  57. data/lib/deplate/fmt/latex.rb +242 -83
  58. data/lib/deplate/fmt/null.rb +32 -0
  59. data/lib/deplate/fmt/php.rb +4 -4
  60. data/lib/deplate/fmt/phpsite.rb +6 -5
  61. data/lib/deplate/fmt/plain.rb +160 -106
  62. data/lib/deplate/fmt/template.rb +0 -0
  63. data/lib/deplate/fmt/xhtml10t.rb +0 -0
  64. data/lib/deplate/formatter-snippet.rb +0 -0
  65. data/lib/deplate/formatter.rb +613 -301
  66. data/lib/deplate/input.rb +202 -142
  67. data/lib/deplate/input/deplate-headings.rb +4 -6
  68. data/lib/deplate/input/deplate-restricted.rb +15 -9
  69. data/lib/deplate/input/deplate.rb +2 -4
  70. data/lib/deplate/input/rdoc.rb +39 -38
  71. data/lib/deplate/input/template.rb +0 -0
  72. data/lib/deplate/lib/Makefile.config +29 -0
  73. data/lib/deplate/lib/latex/deplate.sty +54 -0
  74. data/lib/deplate/lib/latex/highlight-extra.sty +0 -0
  75. data/lib/deplate/lib/latex/highlight-typical.sty +0 -0
  76. data/lib/deplate/lib/php/page-comment.inc.php +216 -0
  77. data/lib/deplate/lib/tabmenu.js +0 -0
  78. data/lib/deplate/locale/de.latin1 +155 -17
  79. data/lib/deplate/locale/ru.koi8-r +0 -0
  80. data/lib/deplate/locale/zh_cn.gb2312 +0 -0
  81. data/lib/deplate/macros.rb +133 -82
  82. data/lib/deplate/messages.rb +6 -4
  83. data/lib/deplate/metadata.rb +0 -0
  84. data/lib/deplate/metadata/marshal.rb +0 -0
  85. data/lib/deplate/metadata/xml.rb +0 -0
  86. data/lib/deplate/metadata/yaml.rb +0 -0
  87. data/lib/deplate/mod/anyword.rb +3 -3
  88. data/lib/deplate/mod/babelfish.rb +4 -4
  89. data/lib/deplate/mod/code-gvim.rb +8 -4
  90. data/lib/deplate/mod/code-highlight.rb +3 -3
  91. data/lib/deplate/mod/colored-log.rb +0 -0
  92. data/lib/deplate/mod/de.rb +2 -2
  93. data/lib/deplate/mod/en.rb +0 -0
  94. data/lib/deplate/mod/endnotes.rb +0 -0
  95. data/lib/deplate/mod/fr.rb +0 -0
  96. data/lib/deplate/mod/html-asciimath.rb +0 -0
  97. data/lib/deplate/mod/html-deplate-button.rb +0 -0
  98. data/lib/deplate/mod/html-headings-navbar.rb +5 -13
  99. data/lib/deplate/mod/html-jsmath.rb +39 -0
  100. data/lib/deplate/mod/html-obfuscate-email.rb +3 -3
  101. data/lib/deplate/mod/html-sidebar.rb +0 -0
  102. data/lib/deplate/mod/htmlslides-navbar-fh.rb +3 -3
  103. data/lib/deplate/mod/iconv.rb +0 -0
  104. data/lib/deplate/mod/imgurl.rb +4 -4
  105. data/lib/deplate/mod/inlatex-compound.rb +7 -10
  106. data/lib/deplate/mod/koma.rb +0 -0
  107. data/lib/deplate/mod/latex-emph-table-head.rb +0 -0
  108. data/lib/deplate/mod/latex-styles.rb +7 -4
  109. data/lib/deplate/mod/latex-verbatim-small.rb +0 -0
  110. data/lib/deplate/mod/makefile.rb +23 -7
  111. data/lib/deplate/mod/mark-external-urls.rb +3 -3
  112. data/lib/deplate/mod/markup-1-warn.rb +10 -10
  113. data/lib/deplate/mod/markup-1.rb +0 -0
  114. data/lib/deplate/mod/navbar-png.rb +24 -8
  115. data/lib/deplate/mod/noindent.rb +0 -0
  116. data/lib/deplate/mod/numpara.rb +0 -0
  117. data/lib/deplate/mod/particle-math.rb +4 -4
  118. data/lib/deplate/mod/php-extra.rb +46 -6
  119. data/lib/deplate/mod/pstoedit.rb +0 -0
  120. data/lib/deplate/mod/recode.rb +0 -0
  121. data/lib/deplate/mod/ru_koi8-r.rb +0 -0
  122. data/lib/deplate/mod/smart-dash.rb +26 -0
  123. data/lib/deplate/mod/smiley.rb +69 -7
  124. data/lib/deplate/mod/soffice.rb +0 -0
  125. data/lib/deplate/mod/symbols-latin1.rb +14 -23
  126. data/lib/deplate/mod/symbols-od-utf-8.rb +5 -3
  127. data/lib/deplate/mod/symbols-plain.rb +5 -35
  128. data/lib/deplate/mod/symbols-sgml.rb +8 -9
  129. data/lib/deplate/mod/symbols-utf-8.rb +8 -9
  130. data/lib/deplate/mod/symbols-xml.rb +5 -9
  131. data/lib/deplate/mod/syntax-region-alt.rb +5 -5
  132. data/lib/deplate/mod/utf8.rb +0 -0
  133. data/lib/deplate/mod/validate-html.rb +0 -0
  134. data/lib/deplate/mod/xmlrpc.rb +0 -0
  135. data/lib/deplate/mod/zh-cn-autospace.rb +18 -20
  136. data/lib/deplate/mod/zh-cn.rb +4 -6
  137. data/lib/deplate/nukumi2.rb +71 -0
  138. data/lib/deplate/once-method.rb +0 -0
  139. data/lib/deplate/output.rb +19 -21
  140. data/lib/deplate/particles.rb +178 -116
  141. data/lib/deplate/regions.rb +99 -58
  142. data/lib/deplate/skeletons.rb +122 -0
  143. data/lib/deplate/structured.rb +164 -106
  144. data/lib/deplate/template.rb +67 -43
  145. data/lib/deplate/templates/html-doc.html +0 -0
  146. data/lib/deplate/templates/html-left-tabbar-js.html +0 -0
  147. data/lib/deplate/templates/html-left-tabbar.html +0 -0
  148. data/lib/deplate/templates/html-tabbar-right-pcomments.php +22 -0
  149. data/lib/deplate/templates/html-tabbar-right-step.html +24 -0
  150. data/lib/deplate/templates/html-tabbar-right-table.html +0 -0
  151. data/lib/deplate/templates/html-tabbar-right.html +2 -4
  152. data/lib/deplate/templates/html-tabbar-top.html +0 -9
  153. data/lib/deplate/templates/html-tabbar.html +0 -0
  154. data/lib/deplate/variables.rb +127 -0
  155. data/lib/deplate/wiki-markup.rb +99 -33
  156. data/lib/deplate/xml.rb +18 -18
  157. data/lib/deplate/zh-cn.rb +0 -0
  158. data/lib/ps2ppm.rb +0 -0
  159. data/man/man1/deplate.1 +564 -474
  160. metadata +201 -186
data/README.TXT CHANGED
File without changes
data/TODO.TXT CHANGED
@@ -1,68 +1,162 @@
1
1
  * Problems & issues
2
- ** Current
3
- #A _ Apply CH's patch, prepare the source to better support his changes
4
- #A _ A "notice" within a list breaks the list in two -- this shouldn't be
5
- the case (CH's patch should solve this)
6
- #A _ International characters in simple wiki names do not work properly
7
- #B _ check for potential code injection (when using eval)
8
- #B _ Use Deplate::Cache for ''Deplate::Regions::DefElement''
9
- #C _ Handling of backslashes in ''DefMacro''
10
- #D _ ''#DefElement'' & ''#DefParticle'': Does it work with strange
11
- characters? Are the Rx properly escaped etc.?
12
- #D _ Misplaced hyperlinks in "BibTeX-files"
13
-
14
- *** Docbook
15
- #C _ check for invalid xreflabels
16
-
17
- *** HTML
18
- #C _ bibliography & html output: @incollection; @misc without author/editor
19
-
20
- *** LaTeX
2
+ #A2 _ ''[[#textpipe][TextPipe]]'' generates wrong link when splitting
3
+ output (''[[integration#textpipe][TextPipe]]'' is okay though)
4
+ #A4 _ Find a way to respect whitespace at the beginning of a macro's
5
+ argument, e.g.
6
+ - ''{text: \ bla}'' -> currently generates a non-breakable space
7
+ - ''{text exact!: bla}''
8
+ - ''{text:: bla}''
9
+
10
+ #A5 _ #INC: look in the directory of the input file first
11
+ #A7 _ Wrong numbering when defining a heading as an example's title
12
+ (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
+ #A9 _ Duplicate anchors
16
+ - Regions.html: - r_geyser 914, 917
17
+ - dot_example 906, 909
18
+ - \InlatexExample 1036, 1037
19
+ - InlatexExampleXY 1040, 1043
20
+ - The Bib
21
+ - mynona__p1 158
22
+ - mass4 159
23
+ #A9 _ The ref macro inserts a heading number even if ''headings'' is set
24
+ to "plain"; running numbers are also used in auto-generated labels which
25
+ is wrong.
26
+
27
+ #B1 _ Disable #Native in templates (why/when was it enabled?)
28
+ #B1 _ Handling of multi-file output is still a mess
29
+ #B1 _ Check for potential code injection (when using eval &
30
+ Deplate::Cache)
31
+ - check if we can use Deplate::Cache without evaluating strings
32
+ - places where user input finds its way into the output
33
+ navbar-png.rb :: variables['buttonsColour'],
34
+ variables['buttonsFileFormat']
35
+ - this calls for a general validation framework, I'd say
36
+ #B3 _ All File.open & File.exists should be replaced with wrapper
37
+ functions; depending on some allow flags these functions should restrict
38
+ access to:
39
+ 1. the directory of auxiliary files
40
+ 2. || $PWD + subdirectories
41
+ 3. || the current input file's directory || the output directory
42
+ 4. || any directory
43
+ #B5 _ Further checks if international characters in simple wiki names now
44
+ really work
45
+ #B5 _ ''#DefElement'' & ''#DefParticle'': Does it work with strange
46
+ characters? Are the Rx properly escaped etc.?
47
+ #B7 _ Check if calling "services" from the document (not the template)
48
+ works (most likely not)
49
+ - this should probably be renamed to something like template
50
+ function/helper and restricted to templates
51
+
52
+ #C2 _ Do we still need @dest? @dest vs. @options.out vs.
53
+ @output.destination: One should be enough.
54
+ #C4 _ Skeletons vs. services vs. #INC: this is kind of redundant
55
+ #C5 _ Currently, deplate converts a document in three steps; this is wrong
56
+ because it introduces too much complexity just to avoid running deplate
57
+ three times � la LaTeX; there should be only one step and the
58
+ saved/cached metadata should be used for setting references and the
59
+ like. Basically, running a single-step deplate two times should be
60
+ sufficient to get everything right.
61
+ - deplate should be able to automatically check if the newly created
62
+ metadata and the previous one converge and stop if they do or if a
63
+ certain threshold was surpassed (can't converge error).
64
+ #C7 _ Improved support for symbols: input vs. output encoding
65
+ #C7 _ Symbols & locales: The conversion table should be contained in the
66
+ DATA section, not in some extra file
67
+ #C8 _ lists: don't tranform list items to structs but accumulate the items
68
+ right away
69
+ #C9 _ HTML: use entities for special characters (e.g. ü instead of
70
+ �) -- the problem with this currently is, that we have to know the input
71
+ encoding in order to compile a conversion list; an alternative approach
72
+ 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
74
+ default ruby installation)
75
+
76
+ #E3 _ #Math region (similar to \{math\} macro but at the block/element
77
+ level)
78
+ #E4 _ {var} ~~ {arg: var} || {get: var}
79
+ #E4 _ {val:} vs. {var:} vs. {arg:} vs. {xarg:} vs. {get:} vs. {opt:}
80
+ #E4 _ variables vs. clips
81
+ #E4 _ Check if an #IF command finishes an element
82
+ #E4 _ {cite an!: xxx} -> X & Y~(2000)
83
+ #E4 _ citation styles
84
+ - numbered � la uniform medical submission requirements ...
85
+ - implementations: prefixed (=style) methdos:
86
+ - eg: apa_cite
87
+ - if ''STYLE_method'' doesn't exist -> Fallback:
88
+ ''default_method'' or simply ''method''?
89
+ #E4 _ #MAKEBIB -> #LIST: bib
90
+ #E4 _ #Style -> Mark text in region with style attribute
91
+
92
+ #F3 _ chaining formatter; reimplement the way particles are formatted
93
+ #F5 _ check how inlatex-compound can be made more robust (and make it the
94
+ default for dealing with inline latex bits)
95
+ #F9 _ Regions should be handled differently so that nested regions can use
96
+ \#End.
97
+
98
+ ** Docbook
99
+ #A _ deplate complains about a malformed list (toc, lot, lof?) or internal
100
+ error when compiling the manual
101
+ #C _ docbook support for styles (e.g. for task lists) (well, how? role?)
102
+ #D _ docbook support for custom lists
103
+
104
+ ** HTML
105
+ #A _ If an indexed word is moved to a list (#LIST), then the index points
106
+ to the wrong position.
107
+ #B _ The #AUTOIDX command should not create an index entry for itself.
108
+ (Wasn't this already fixed?)
109
+ #F _ Option to insert line numbers as labels
110
+
111
+ ** LaTeX
112
+
113
+ ** PHP
114
+ #B _ Propagate the get arguments -> Base url should be a format string.
115
+
116
+ ** Plain text
21
117
 
22
118
  ** Other
23
- #C _ relative/absolute file names & urls in the \{img\} and #IMG: define
24
- proper behaviour
25
- #C _ plain headers mustn't increase the heading index
26
- - but this currently interferes with some other mechanisms (I'm not
27
- sure if this is still true)
119
+ #B _ plain headers mustn't increase the heading index
120
+ - but this currently interferes with some other mechanisms (this was a
121
+ problem in the past, I'm not sure if this is still true)
28
122
  #C _ define how convert_string should work when invoked repeatedly (with
29
- respect to #IDX, #ABBREV, ...)
30
- #C _ manual-sf: I don't understand what causes: "Index: Neither file nor
31
- level defined: dropping: idx001"
123
+ respect to #IDX, #ABBREV, ...)
124
+ #F _ custom names for labels/refs (html output)
125
+ - or use extended wiki names instead
126
+ #F _ relative/absolute file names & urls in the \{img\} and #IMG: define
127
+ proper behaviour
128
+ - general solution or formatter specific (as it is now)?
129
+
130
+
131
+ ** Tests for ...
132
+ - Test cases for file handling (in, out, stdin, stdout)
133
+ - "services"
32
134
 
33
135
 
34
136
  * TODO
35
- ** 0.7.4
36
- - Every element should know its original indentation level (if it doesn't
37
- already)
137
+ ** 0.09
138
+ - test output to sciposter (or similar) for LaTeX output
139
+ - define a way to create a slot from within a deplate document
140
+ - \FreeMind output
141
+ - \OpenDocument or RTF output (if rtf.rb can be used for this)
38
142
  - Method/attribute naming: indentation vs. level (heading)
39
- - Rethink the way lists work (prepare generalized solution for: embedded
40
- elements la CH's patch; priority lists � la emacs-planner)
41
- - Incorporate Csaba Henk's patch
42
- - emacs-planner style task lists (as module because of a slight ambiguity
43
- with the markup of commands)
44
-
45
- ** 0.8
46
- - #VAR should set the variable during #process & #print too, so that
47
- variable handling is more intuitive
48
- - unify region & command
49
- - don't forget/skip creating test cases
143
+ - Metadata-related stuff should be re-implemented (and made more useful)
144
+ - Two-pass single-step redesign
50
145
  - citation & bibliography styles
51
- - HTML: make indexed words be hyperlinked to the index (~~tag cloud)
52
- - module inlatex-compound.rb: Inlatex, ltx, math: all latex bits are
53
- collected in one file, compiled in one big dvi file and then separated
54
- into graphical output (partially done but not fully working yet)
55
146
  - the output stuff has to be managed by the formatter class alone
56
- - a null formatter that doesn't generate any output at all (to be used in
57
- conjunction with modules that generate/scan metadata and do nothing
58
- else)
147
+ - HTML: make indexed words be hyperlinked to the index (~~tag cloud)
148
+ - HTML: bib entries should have backlinks to where an author was cited
149
+ - PHP: mysql backend for the comment facility (per page, element)
59
150
 
60
- ** 0.9
61
- - Metadata-related stuff should be re-implemented (and made more useful)
62
- - ''if'', ''ifelse'' macros
63
- - fully document the code
64
- - define a way to create a slot from within a deplate document
151
+ ** 0.10
152
+ - unify region & command & anchor
153
+ - unify region & command
154
+ - if it isn't a region/command, check if it could be an anchor
155
+ - make it case insensitive
156
+ - or leave it the way it is
65
157
  - allow addressing slots by name only
158
+ - make slots "relative" so that something like begin+5 and end-6 can
159
+ never overlap.
66
160
  - make autoidx a particle of its own with a volatile rx saved in the
67
161
  current instance of Deplate::Core (don't create new classes) -- the rx
68
162
  should be a property of Deplate::Core though
@@ -72,15 +166,11 @@
72
166
  - clean up deplate.rb (handling of @sources, \--each, \--many is ...
73
167
  suboptimal)
74
168
  - reconsider the way indexes & clips & footnotes etc. work
75
- - make a nice slides css/template that can be used for presentations
76
- - test output to sciposter (or similar) for LaTeX output
77
169
  - text blocks that can be freely placed on a page (at least for HTML &
78
170
  LaTeX)
79
171
 
80
172
  ** 1.0
81
- - check doc variables/parameters for consistent naming
82
- - in automatically inserted Text, words in \CamelCase mustn't be translated
83
- to wiki names?
173
+ - check variables for consistent naming; define synonyms if necessary
84
174
  - LaTeX
85
175
  - dense08: decrease the line spacing too
86
176
  - longtable
@@ -92,8 +182,7 @@
92
182
  - HTML + LaTeX: wrap text around floats (tables, figures)
93
183
 
94
184
  * Additional classes for improved functionality
95
- - "Priority lists" ( la planner mode)
96
- - Widgets: Calender, Forms (HTML only?)
185
+ - Widgets: Calender, Forms (HTML/PHP only?)
97
186
 
98
187
  * Additional classes for better support of other wiki markups
99
188
  - bold
@@ -109,19 +198,13 @@
109
198
  - other text styles: underline, strike through ...
110
199
 
111
200
  * Other ideas
112
- - additional markup classes
113
- - support for additional wiki markups
114
- - make the xmlrpc module handle files in subdirectories???; actually test
115
- it
116
- - make a php-based wiki that uses deplate via xmlrpc
117
- - command line options
118
- --cfg :: load a custom configuration file
119
- --local-cfg :: allow a directory local configuration file tree
120
- - htmlsite: make it possible break output at level 2,3... headings too
121
- - generalize the concept of captions & table of contents; make it possible
122
- to define arbitrary tables/lists
123
- - #CAPTION class=NAME: TITLE
124
- - #LIST: NAME
201
+ - ''if'', ''ifelse'' macros (or define a region (e.g., #Particle) that
202
+ evaluates its body as template and parses the result as inline text,
203
+ yielding some particles which are appended to the previous element's
204
+ body).
205
+ - plain text: ascii representation for images
206
+ - support for more formatters (eg aalib) & find a pure ruby solution
207
+ - find a way to convert vector based formats
125
208
  - #A, #ANCHOR command
126
209
  - integrate with ctags
127
210
  - #ACRONYM ... Glossar and acronyms
@@ -130,17 +213,13 @@
130
213
  already the default?)
131
214
  - #Filter ... (general region) filter region through an external program,
132
215
  insert result as verbatim, image, table etc.
133
- - String patch Deplate::String ("bla".to_html)
134
216
  - html: backreferences from the bibliography to the citation
135
217
  - html: citation/bibliography styles?
136
- - are 3 passes necessary? 2 would probably be sufficient and make things
137
- easier.
138
218
  - a way to define page layouts (it should at least be possible to make
139
219
  posters/slides using a html/latex/context formatter)
140
220
  - Define styles in deplate
141
- - poor man's static blog: put articles in folders (YEAR/MONTH/DAY/ID/);
142
- generate main page (incl menu) + rss with the newest articles; static
143
- calender (or use \JavaScript?)
221
+ - colours (or maybe not; abstract styles are probably better)
222
+ - Use classes in html, colours in other output formats
144
223
  - rss somehow?
145
224
  - Mod: rss-item. Erzeugt Region ''#RssItem title=TITLE, desc=@body''.
146
225
  Die Items werden mit erstmaligen Datum + Url (im Text hinterlassen
@@ -154,25 +233,26 @@
154
233
  interpretiert.
155
234
  - Nachteil, dass man genaue URLs angeben muss, wo das RSS Item
156
235
  hinzeigt.
236
+ - Mod: rss-auto: Maintain a list of sections + date; determine
237
+ automatically, which sections are new/have changed
157
238
  - The syntax of regions vs. commands vs. macros is stupid -> unify!
158
239
  (problem of the use of # for anchors, commands, and regions, which could
159
240
  be solved by disallowing text/comments following an anchor or by
160
241
  defining a #A command)
161
- - colours (or maybe not; abstract styles are probably better)
162
242
  - Option to keep/convert comments
163
- - region: Hash
164
- - Like a description list, but the content is saved as a hash doc option
165
- (or use XML, YAML, or plain ruby syntax instead?)
166
- - region: \ListAsTable
167
- - 1 level items = rows: head, body, foot
168
- - 2 level items = cells
169
- ??? Or do it like phpwiki's definition list tables?
170
243
  - better markup for tables (yet unseen/unknown)
244
+ - eg region: \ListAsTable
245
+ - 1 level items = rows: head, body, foot
246
+ - 2 level items = cells
247
+ ??? Or do it like phpwiki's definition list tables?
171
248
  - formatter "state": block/element - inline/particle, mathematical - text
249
+ - make the xmlrpc module handle files in subdirectories???; actually test
250
+ it
251
+ - make a php-based wiki that uses deplate via xmlrpc
172
252
  - write a wiki server or a deplate plugin for some existing wiki
173
253
  - write a general source code documentation tool that uses deplate markup
174
254
  -- or bend rdoc to do so
175
- - markup for math stuff
255
+ - markup for math stuff (� la ASCIIMath but for all output formats)
176
256
 
177
257
  * Support for additional formats (in & out)
178
258
  ** In
@@ -184,9 +264,12 @@
184
264
  - rd
185
265
  - markdown
186
266
  - textile
267
+ - xml
268
+ - \FreeMind
187
269
 
188
270
  ** Out
189
271
  - \OpenDocument
272
+ - \FreeMind
190
273
  - direct pdf output via the pdf-writer library
191
274
  - rtf formatter (only if it can be done better than docbook+jade does and
192
275
  if it is easier to implement than an \OpenDocument formatter)
@@ -194,6 +277,9 @@
194
277
  a roundtrip like deplate -> latex -> deplate doesn't produce too much
195
278
  noise)
196
279
 
280
+ ** Etc.
281
+ - Text_Wiki::Deplate class (in php, yuk)
282
+
197
283
 
198
284
  % @Last Change: 07-J�n-2005.
199
285
  % vi: ft=viki:tw=78
@@ -1 +1 @@
1
- 0.7.3-2132
1
+ 0.8final-2711
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  ; % * deplate.ini
2
2
 
3
- ; % This is the ini file for deplate. It doesn't adhere to the section
3
+ ; % This is the ini file for ''deplate''. It doesn't adhere to the section
4
4
  ; % format usually used in ini-files. Instead it consists of simple
5
5
  ; % commands or variable definitions. If you need to do something more
6
6
  ; % sensible like making a variable's value dependent of the computer
@@ -35,13 +35,36 @@
35
35
  ; autoindex :: Enable automatically adding entries to index (BOOLEAN,
36
36
  ; default: false)
37
37
 
38
+ ; autoBaseName :: In multi-file output, deduce the output filename
39
+ ; from the current input file (BOOLEAN, default: false)
40
+
38
41
  ; autoFileNames :: Enable automatic generation of file names based on
39
42
  ; the top heading for multi-file output (BOOLEAN, default: false)
40
43
 
44
+ ; auxiliaryDir :: If defined, auxiliary files will be put into
45
+ ; this subdirectory (STRING)
46
+
41
47
  ; auxiliaryDirSuffix :: If defined, auxiliary files will be put into
42
48
  ; a subdirectory named after the base name of the root file plus this
43
49
  ; suffix (STRING)
44
50
 
51
+ ; bibClickableCitation :: Whether citations (eg in HTML output) are
52
+ ; clickable hyperlinks (BOOLEAN, default=false)
53
+
54
+ ; bibStyle :: Default bibliography style (STRING)
55
+
56
+ ; bibSepAuthors :: The separator for author names (STRING,
57
+ ; default="; ")
58
+
59
+ ; bibSepLastAuthor :: The separator for the last author name (STRING,
60
+ ; default="; ")
61
+
62
+ ; bibSepTwoAuthors :: The separator between two author names (STRING,
63
+ ; default="; ")
64
+
65
+ ; bibSepName :: The separator between prename and surname (STRING,
66
+ ; default=", ")
67
+
45
68
  ; class :: The document class; used in LaTeX (= document class) or
46
69
  ; HTML output (= CSS) (STRING)
47
70
 
@@ -54,6 +77,10 @@
54
77
 
55
78
  ; docBasename :: The base name of the output document (STRING)
56
79
 
80
+ ; elementStyle :: If set to 'block', the markup of styles changes. For
81
+ ; LaTeX output, this make ''deplate'' use regions. You can set this
82
+ ; for single elements too. (STRING)
83
+
57
84
  ; embeddedTextRx :: A regular expression matching embedded text
58
85
  ; (submatch $1) (REGULAR EXPRESSION)
59
86
 
@@ -65,12 +92,29 @@
65
92
  ; LaTeX :: latin1
66
93
  ; XML :: UTF-8
67
94
 
95
+ ; figureNumbering :: How figures should be numbered (STRING)
96
+ ; flat, document :: One counter for all figures
97
+ ; none :: No numbering
98
+ ; section (DEFAULT) :: Per section
99
+
68
100
  ; floatAlign :: The default alignment of floats; dependent on the
69
101
  ; output format (STRING)
70
102
 
71
103
  ; headings :: The headings style (STRING)
72
104
  ; plain :: Don't number headings
73
105
 
106
+ ; homeIndex :: The heading index that should be the home page in
107
+ ; multi-file output (INTEGER; default: 0)
108
+
109
+ ; hyperHeading :: If set and a heading has an ''url'' option
110
+ ; attached, turn the heading into a hyperlink; if set to "full", then
111
+ ; heading is used as link text, which may result in invalid output;
112
+ ; otherwise a button is attached to the heading (BOOLEAN or
113
+ ; STRING){lab: hyperHeading}
114
+
115
+ ; hyperHeadingButton :: The text for hyperlinked headings (STRING;
116
+ ; default: =>)
117
+
74
118
  ; imgSfx :: The default suffix for images (STRING, default: png)
75
119
 
76
120
  ; indexwiki :: If "no", don't autoindex extended wiki links (STRING)
@@ -82,6 +126,10 @@
82
126
  ; inlatexHeight, inlineLatexHeight :: Define the ''h'' parameter of
83
127
  ; images generated by an inline LaTeX snippet (NUMBER)
84
128
 
129
+ ; ltxPointsize :: The pointsize used for LaTeX snippets; this can be
130
+ ; overridden by a per-element 'pointsize' argument; see also
131
+ ; [[#ps2imgRes][ps2imgRes]] (NUMBER, default: 10)
132
+
85
133
  ; ltxSfx :: The suffix of images generated by an inline LaTeX snippet
86
134
  ; (STRING, default: dependent on the output format)
87
135
 
@@ -93,16 +141,27 @@
93
141
  ; ltxPrelude :: Like ''inlatexPrelude'' but used for the ''ltx''
94
142
  ; macro only
95
143
 
144
+ ; mandatoryID :: If set, elements that create auxiliary files must
145
+ ; have an ID (BOOLEAN)
146
+
96
147
  ; mathPrelude :: Like ''inlatexPrelude'' but used for the ''math''
97
148
  ; macro only
98
149
 
99
150
  ; noExplicitNumbering :: Ignore the explicit numbering in lists (BOOLEAN)
100
151
 
152
+ ; particleStyle :: If set to 'span', the markup of styles changes.
153
+ ; For LaTeX output, this make ''deplate'' use proper commands. You
154
+ ; can set this for single particles too. (STRING)
155
+
101
156
  ; pdfOutput :: Automatically set when using pdf output (the ''--pdf''
102
157
  ; command line switch) (BOOLEAN)
103
158
 
159
+ ; prefixID :: Prefix autogenerated names for auxiliary files with
160
+ ; this string; if not defined, use the current document's base
161
+ ; name (STRING)
162
+
104
163
  ; ps2imgRes :: The resolution used for converting postscript files to
105
- ; bitmaps, e.g., by ps2ppm (NUMBER, default: 96)
164
+ ; bitmaps, e.g., by ps2ppm (NUMBER, default: 120){lab: ps2imgRes}
106
165
 
107
166
  ; refButton :: String to be used to represent the wiki references
108
167
  ; (STRING)
@@ -120,6 +179,11 @@
120
179
  ; referenced by wiki names (STRING)
121
180
  ; - <+TBD+>This will be subject of change
122
181
 
182
+ ; tableNumbering :: How tables should be numbered (STRING)
183
+ ; flat, document :: One counter for all figures
184
+ ; none :: No numbering
185
+ ; section (DEFAULT) :: Per section
186
+
123
187
  ; tableStyle :: The default style for tables (STRING)
124
188
 
125
189
  ; tabwidth :: The tab width used when expanding whitespace (NUMBER,
@@ -135,6 +199,7 @@
135
199
 
136
200
  ; *** Output Format
137
201
  ; **** HTML
202
+
138
203
  ; baseUrl :: The document's base url (STRING)
139
204
 
140
205
  ; baseUrlStripDir :: Number of directories to remove when adding a
@@ -159,6 +224,9 @@
159
224
  ; homeButton :: The "home" button in the navigation bar
160
225
  ; (STRING, default: [-])
161
226
 
227
+ ; htmlAuxUrl, htmlCssUrl, htmlImgUrl :: Format string that defines the
228
+ ; URLs for images, CSS etc. (STRING)
229
+
162
230
  ; metaDataExtra :: Other HTML code to be inserted
163
231
  ; at head position (STRING or ARRAY OF STRINGS)
164
232
 
@@ -193,11 +261,23 @@
193
261
 
194
262
  ; shortcutIcon :: The shortcut icon tag (STRING)
195
263
 
264
+ ; stepwiseDisplay :: Whether to display a page step by step (BOOLEAN,
265
+ ; default: false)
266
+
267
+ ; stepwiseBegin :: Number of initially visible elements (INTEGER, default:
268
+ ; 1){lab: stepwiseBegin}
269
+
270
+ ; stepwiseContinous :: Automatically move to the next page if all elements
271
+ ; are displayed (BOOLEAN, default: false)
272
+
273
+ ; stepwiseKey :: Key code for revealing the next element (COMMA-SEPARATED
274
+ ; LIST; default: 78 = 'n'){lab: stepwiseKey}
275
+
196
276
  ; styleExtra :: Some extra CSS information that will be wrapped in a
197
277
  ; style tag (STRING or ARRAY OF STRINGS)
198
278
 
199
279
  ; subToC :: Print a table of contents for the current section after
200
- ; level 1 headings (BOOLEAN, default: false)
280
+ ; top level headings (BOOLEAN, default: false)
201
281
 
202
282
  ; tabBar :: Items in the navigation bar (ARRAY OF STRINGS,
203
283
  ; default: ["[auto]"])
@@ -263,6 +343,12 @@
263
343
  ; tableFrame :: The frame parameter for tables (STRING,
264
344
  ; default: topbot)
265
345
 
346
+ ; **** Plain Text
347
+ ; asciiArt :: Use jave to convert images to ascii representations;
348
+ ; possible values: currently only jave (STRING, default: jave)
349
+
350
+ ; imgAlt :: Fallback display name for images (STRING)
351
+
266
352
 
267
353
  ; *** Module
268
354
  ; **** Anyword
@@ -318,6 +404,8 @@
318
404
 
319
405
  ; buttonsFileFormat :: The image suffix (STRING, default: png)
320
406
 
407
+ ; buttonsHighlight :: Use a rollover effect (BOOLEAN, default: false)
408
+
321
409
 
322
410
  ; **** Obfuscate E-Mail
323
411
  ; noObfuscatedNoscript :: If true, put only the name into the