deplate 0.8 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: deplate
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.8"
7
- date: 2006-06-10 00:00:00 +02:00
6
+ version: 0.8.1
7
+ date: 2007-11-01 00:00:00 +01:00
8
8
  summary: Convert wiki-like markup to latex, docbook, html, or html-slides
9
9
  require_paths:
10
10
  - lib
11
- email: samul AT web.de?subject=deplate
11
+ email: micathom AT gmail com?subject=deplate
12
12
  homepage: http://deplate.sourceforge.net
13
13
  rubyforge_project:
14
14
  description: deplate is a ruby based tool for converting documents written in an unobtrusive, wiki-like markup to LaTeX, HTML, "HTML slides", or docbook. It supports page templates, embedded LaTeX code, footnotes, citations, bibliographies, automatic generation of an index, table of contents etc. It can be used to create web pages and (via LaTeX or Docbook) high-quality printouts from the same source. deplate probably isn't suited for highly technical documents or documents that require a sophisticated graphical layout. For other purposes it should work fine. deplate aims to be modular and easily extensible. It is the accompanying converter for the Vim viki plugin. In the family of wiki engines, the choice of markup originated from the emacs-wiki.
@@ -25,20 +25,20 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - Thomas Link
30
31
  files:
31
32
  - bin/deplate
32
33
  - bin/deplate.bat
34
+ - bin/deplate.exy
33
35
  - etc/deplate.ini
34
36
  - man/man1
35
37
  - man/man1/deplate.1
36
38
  - lib/action_view
37
- - lib/deplate
38
- - lib/deplate.rb
39
- - lib/ps2ppm.rb
40
39
  - lib/action_view/helpers
41
40
  - lib/action_view/helpers/deplate.rb
41
+ - lib/deplate
42
42
  - lib/deplate/abstract-class.rb
43
43
  - lib/deplate/bib.rb
44
44
  - lib/deplate/builtin.rb
@@ -49,47 +49,20 @@ files:
49
49
  - lib/deplate/core.rb
50
50
  - lib/deplate/counters.rb
51
51
  - lib/deplate/css
52
- - lib/deplate/define.rb
53
- - lib/deplate/deplate-string.rb
54
- - lib/deplate/docbook.rb
55
- - lib/deplate/elements.rb
56
- - lib/deplate/etc.rb
57
- - lib/deplate/external.rb
58
- - lib/deplate/fmt
59
- - lib/deplate/formatter-snippet.rb
60
- - lib/deplate/formatter.rb
61
- - lib/deplate/input
62
- - lib/deplate/input.rb
63
- - lib/deplate/lib
64
- - lib/deplate/locale
65
- - lib/deplate/macros.rb
66
- - lib/deplate/messages.rb
67
- - lib/deplate/metadata
68
- - lib/deplate/metadata.rb
69
- - lib/deplate/mod
70
- - lib/deplate/nukumi2.rb
71
- - lib/deplate/once-method.rb
72
- - lib/deplate/output.rb
73
- - lib/deplate/particles.rb
74
- - lib/deplate/regions.rb
75
- - lib/deplate/skeletons.rb
76
- - lib/deplate/structured.rb
77
- - lib/deplate/template.rb
78
- - lib/deplate/templates
79
- - lib/deplate/variables.rb
80
- - lib/deplate/wiki-markup.rb
81
- - lib/deplate/xml.rb
82
- - lib/deplate/zh-cn.rb
83
52
  - lib/deplate/css/article.css
84
53
  - lib/deplate/css/deplate.css
85
54
  - lib/deplate/css/heading-navbar.css
55
+ - lib/deplate/css/highstep.css
56
+ - lib/deplate/css/htmldoc.css
86
57
  - lib/deplate/css/layout-deplate-print.css
87
58
  - lib/deplate/css/layout-deplate.css
59
+ - lib/deplate/css/play.css
88
60
  - lib/deplate/css/sans-serif.css
89
61
  - lib/deplate/css/serif-e.css
90
62
  - lib/deplate/css/serif-rel.css
91
63
  - lib/deplate/css/serif.css
92
64
  - lib/deplate/css/slides.css
65
+ - lib/deplate/css/styles.css
93
66
  - lib/deplate/css/tabbar-left.css
94
67
  - lib/deplate/css/tabbar-right-ie.css
95
68
  - lib/deplate/css/tabbar-right.css
@@ -97,6 +70,13 @@ files:
97
70
  - lib/deplate/css/tabbar.css
98
71
  - lib/deplate/css/text-sans-serif.css
99
72
  - lib/deplate/css/text-serif.css
73
+ - lib/deplate/define.rb
74
+ - lib/deplate/deplate-string.rb
75
+ - lib/deplate/docbook.rb
76
+ - lib/deplate/elements.rb
77
+ - lib/deplate/etc.rb
78
+ - lib/deplate/external.rb
79
+ - lib/deplate/fmt
100
80
  - lib/deplate/fmt/dbk-article-4.1.2.rb
101
81
  - lib/deplate/fmt/dbk-article.rb
102
82
  - lib/deplate/fmt/dbk-book.rb
@@ -108,6 +88,7 @@ files:
108
88
  - lib/deplate/fmt/htmlsite.rb
109
89
  - lib/deplate/fmt/htmlslides.rb
110
90
  - lib/deplate/fmt/htmlwebsite.rb
91
+ - lib/deplate/fmt/latex-dramatist.rb
111
92
  - lib/deplate/fmt/latex-snippet.rb
112
93
  - lib/deplate/fmt/latex.rb
113
94
  - lib/deplate/fmt/null.rb
@@ -116,38 +97,62 @@ files:
116
97
  - lib/deplate/fmt/plain.rb
117
98
  - lib/deplate/fmt/template.rb
118
99
  - lib/deplate/fmt/xhtml10t.rb
100
+ - lib/deplate/formatter-snippet.rb
101
+ - lib/deplate/formatter.rb
102
+ - lib/deplate/guesslanguage.rb
103
+ - lib/deplate/input
119
104
  - lib/deplate/input/deplate-headings.rb
120
105
  - lib/deplate/input/deplate-restricted.rb
121
106
  - lib/deplate/input/deplate.rb
107
+ - lib/deplate/input/play.rb
122
108
  - lib/deplate/input/rdoc.rb
123
109
  - lib/deplate/input/template.rb
110
+ - lib/deplate/input.rb
111
+ - lib/deplate/lib
124
112
  - lib/deplate/lib/html
113
+ - lib/deplate/lib/html/parbreak
114
+ - lib/deplate/lib/javascript
115
+ - lib/deplate/lib/javascript/StepwiseNextPage.js
116
+ - lib/deplate/lib/javascript/StepwiseNextPage_confirm.js
125
117
  - lib/deplate/lib/latex
126
- - lib/deplate/lib/Makefile.config
127
- - lib/deplate/lib/php
128
- - lib/deplate/lib/tabmenu.js
129
118
  - lib/deplate/lib/latex/deplate.sty
130
119
  - lib/deplate/lib/latex/highlight-extra.sty
131
120
  - lib/deplate/lib/latex/highlight-typical.sty
121
+ - lib/deplate/lib/latex/parbreak
122
+ - lib/deplate/lib/Makefile.config
123
+ - lib/deplate/lib/php
132
124
  - lib/deplate/lib/php/page-comment.inc.php
125
+ - lib/deplate/lib/plain
126
+ - lib/deplate/lib/plain/parbreak
127
+ - lib/deplate/lib/tabmenu.js
128
+ - lib/deplate/locale
133
129
  - lib/deplate/locale/de.latin1
130
+ - lib/deplate/locale/de.latin1_data
131
+ - lib/deplate/locale/en.latin1_data
132
+ - lib/deplate/locale/fr.latin1_data
134
133
  - lib/deplate/locale/ru.koi8-r
135
- - lib/deplate/locale/zh_cn.gb2312
134
+ - lib/deplate/locale/ru.koi8-r_data
135
+ - lib/deplate/locale/zh_CN.GB2312
136
+ - lib/deplate/macros.rb
137
+ - lib/deplate/messages.rb
138
+ - lib/deplate/metadata
136
139
  - lib/deplate/metadata/marshal.rb
137
140
  - lib/deplate/metadata/xml.rb
138
141
  - lib/deplate/metadata/yaml.rb
142
+ - lib/deplate/metadata.rb
143
+ - lib/deplate/mod
139
144
  - lib/deplate/mod/anyword.rb
140
145
  - lib/deplate/mod/babelfish.rb
141
146
  - lib/deplate/mod/code-gvim.rb
147
+ - lib/deplate/mod/code-gvim71.rb
142
148
  - lib/deplate/mod/code-highlight.rb
143
149
  - lib/deplate/mod/colored-log.rb
144
- - lib/deplate/mod/de.rb
145
- - lib/deplate/mod/en.rb
146
150
  - lib/deplate/mod/endnotes.rb
147
- - lib/deplate/mod/fr.rb
151
+ - lib/deplate/mod/guesslanguage.rb
148
152
  - lib/deplate/mod/html-asciimath.rb
149
153
  - lib/deplate/mod/html-deplate-button.rb
150
154
  - lib/deplate/mod/html-headings-navbar.rb
155
+ - lib/deplate/mod/html-highstep.rb
151
156
  - lib/deplate/mod/html-jsmath.rb
152
157
  - lib/deplate/mod/html-obfuscate-email.rb
153
158
  - lib/deplate/mod/html-sidebar.rb
@@ -156,9 +161,16 @@ files:
156
161
  - lib/deplate/mod/imgurl.rb
157
162
  - lib/deplate/mod/inlatex-compound.rb
158
163
  - lib/deplate/mod/koma.rb
164
+ - lib/deplate/mod/lang-de.rb
165
+ - lib/deplate/mod/lang-en.rb
166
+ - lib/deplate/mod/lang-ru-koi8-r.rb
167
+ - lib/deplate/mod/lang-ru.rb
168
+ - lib/deplate/mod/lang-zh_CN-autospace.rb
169
+ - lib/deplate/mod/lang-zh_CN.rb
159
170
  - lib/deplate/mod/latex-emph-table-head.rb
160
171
  - lib/deplate/mod/latex-styles.rb
161
172
  - lib/deplate/mod/latex-verbatim-small.rb
173
+ - lib/deplate/mod/linkmap.rb
162
174
  - lib/deplate/mod/makefile.rb
163
175
  - lib/deplate/mod/mark-external-urls.rb
164
176
  - lib/deplate/mod/markup-1-warn.rb
@@ -170,7 +182,6 @@ files:
170
182
  - lib/deplate/mod/php-extra.rb
171
183
  - lib/deplate/mod/pstoedit.rb
172
184
  - lib/deplate/mod/recode.rb
173
- - lib/deplate/mod/ru_koi8-r.rb
174
185
  - lib/deplate/mod/smart-dash.rb
175
186
  - lib/deplate/mod/smiley.rb
176
187
  - lib/deplate/mod/soffice.rb
@@ -184,8 +195,15 @@ files:
184
195
  - lib/deplate/mod/utf8.rb
185
196
  - lib/deplate/mod/validate-html.rb
186
197
  - lib/deplate/mod/xmlrpc.rb
187
- - lib/deplate/mod/zh-cn-autospace.rb
188
- - lib/deplate/mod/zh-cn.rb
198
+ - lib/deplate/nukumi2.rb
199
+ - lib/deplate/once-method.rb
200
+ - lib/deplate/output.rb
201
+ - lib/deplate/particles.rb
202
+ - lib/deplate/regions.rb
203
+ - lib/deplate/skeletons.rb
204
+ - lib/deplate/structured.rb
205
+ - lib/deplate/template.rb
206
+ - lib/deplate/templates
189
207
  - lib/deplate/templates/html-doc.html
190
208
  - lib/deplate/templates/html-left-tabbar-js.html
191
209
  - lib/deplate/templates/html-left-tabbar.html
@@ -195,6 +213,12 @@ files:
195
213
  - lib/deplate/templates/html-tabbar-right.html
196
214
  - lib/deplate/templates/html-tabbar-top.html
197
215
  - lib/deplate/templates/html-tabbar.html
216
+ - lib/deplate/variables.rb
217
+ - lib/deplate/wiki-markup.rb
218
+ - lib/deplate/xml.rb
219
+ - lib/deplate/zh_CN.rb
220
+ - lib/deplate.rb
221
+ - lib/ps2ppm.rb
198
222
  - README.TXT
199
223
  - AUTHORS.TXT
200
224
  - NEWS.TXT
@@ -1,46 +0,0 @@
1
- # mod-en.rb -- Standard messages
2
- # @Author: Thomas Link (samul AT web.de)
3
- # @Website: http://deplate.sf.net/
4
- # @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
5
- # @Created: 07-Mai-2004.
6
- # @Last Change: 23-Okt-2005.
7
- # @Revision: 0.24
8
-
9
- # Description:
10
- #
11
- # Usage:
12
- #
13
- # TODO:
14
- #
15
- # CHANGES:
16
- #
17
-
18
- module Deplate::Messages #{{{1
19
- LANG = "de"
20
- CATALOG = {
21
- "Bibliography" => "Bibliographie",
22
- "Figure" => "Abbildung",
23
- "Footnotes" => "Notes",
24
- "Index" => "Register",
25
- "List of Figures" => "Abbildungsverzeichnis",
26
- "List of Tables" => "Tabellenverzeichnis",
27
- "p.\\ " => "p.\\ ",
28
- "Table of Contents" => "Table de Mati�re",
29
- "Contents" => "Inhalt",
30
- "Table" => "Tabelle",
31
- }
32
- end
33
-
34
- if Deplate::Formatter.matches?("latex")
35
- module Deplate::Formatter #{{{1
36
- class << self
37
- alias :prepare_re_fr :prepare
38
- def prepare(deplate)
39
- prepare_re_fr deplate
40
- deplate.add_at(:pre, :mod_packages, "\\usepackage[francais]{babel}")
41
- end
42
- end
43
- end
44
- end
45
-
46
- # vim: ff=unix