deplate 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,31 +1,13 @@
1
- 2008-07-10 Thomas Link (micathom at gmail com)
2
- * core.rb (set_theme): Typo.
1
+ 2008-07-20 Thomas Link (micathom at gmail com)
2
+ * gem, zip: Fixed packaging problem
3
3
 
4
- 2008-07-09 Thomas Link (micathom at gmail com)
5
- * etc.rb (footnote_setup): For inline footnotes, set args[:minor] =
6
- true for all elements.
7
- * latex.rb (format_paragraph): Respect args[:minor].
8
- * formatter.rb (wrap_text): If a line matches /^\s+$/, push nil in
9
- order to avoid additional linebreaks.
10
- * latex.rb (format_footnote): The footnote body is surrounded by
11
- linebreaks in the latex output.
12
- * latex.rb (format_environment): rstrip the body.
13
- * formatter.rb (wrap_text): strscan-based word wrap.
14
-
15
- 2008-07-08 Thomas Link (micathom at gmail com)
16
- * html.rb (format_list_item): List items have an additional
17
- "#{type}-#{level}" class
18
- * formatter.rb (break_line): Removed
19
- * formatter.rb (wrap_text): Rewrite. wrapMarginInner became
20
- wrapMargin; wrapMarginInner is gone
21
- * latex.rb (format_list_item): Adapted for new wrap_text algorithm
22
- * elements.rb (Deplate::Element::Command.accumulate): Optional bang
23
- "!" for commands
24
- * elements.rb (Deplate::Element::Region#setup): Optional bang "!"
25
- for regions
26
- * commands.rb (Deplate::Command::CAP): "#CAP!" is equivalent to
27
- ''extended!''. There is a chance though this results in incorrect output
28
- with, e.g., the docbook formatter
4
+ 2008-07-18 Thomas Link (micathom at gmail com)
5
+ * html.rb (head_css): When the css was defined as in "FILE|MEDIA"
6
+ the ".css" suffix was added to the media.
7
+ * html.rb (head_css): Limit split in FILE|MEDIA to 2
29
8
 
9
+ 2008-07-16 Thomas Link (micathom at gmail com)
10
+ * guesslanguage.rb (guesslanguage): Don't set the language, if the
11
+ lang variable is already set.
30
12
 
31
13
  # vim: ft=changelog:tw=72
@@ -1 +1 @@
1
- 0.8.3final-3107
1
+ 0.8.4final-3109
@@ -4,7 +4,7 @@
4
4
  # @Website: http://deplate.sf.net/
5
5
  # @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
6
6
  # @Created: 24-Feb-2004.
7
- # @Last Change: 2007-04-14.
7
+ # @Last Change: 2008-07-20.
8
8
 
9
9
  require 'profile' if ARGV[0] == '--profile'
10
10
 
@@ -3,7 +3,7 @@
3
3
  # @Website: http://deplate.sf.net/
4
4
  # @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
5
5
  # @Created: 24-Feb-2004.
6
- # @Last Change: 2008-07-10.
6
+ # @Last Change: 2008-07-20.
7
7
 
8
8
  require 'uri'
9
9
  require 'optparse'
@@ -26,10 +26,10 @@ module Deplate; end
26
26
  class Deplate::Core
27
27
  extend Forwardable
28
28
 
29
- Version = '0.8.3'
29
+ Version = '0.8.4'
30
30
  # VersionSfx = 'a'
31
31
  VersionSfx = 'final'
32
- MicroRev = '3107'
32
+ MicroRev = '3109'
33
33
 
34
34
  if ENV['HOME']
35
35
  CfgDir = File.join(ENV['HOME'].gsub(/\\/, '/'), '.deplate')
@@ -1,8 +1,8 @@
1
1
  /* Layout and decoration */
2
2
  /* @Author: Thomas Link (micathom AT gmail com) */
3
3
  /* @Created: 13-Apr-2004. */
4
- /* @Last Change: 2007-09-28. */
5
- /* @Revision: 0.1233 */
4
+ /* @Last Change: 2008-07-19. */
5
+ /* @Revision: 0.1353 */
6
6
 
7
7
  body {
8
8
  padding: 1px;
@@ -72,32 +72,65 @@ h1 {
72
72
  margin-bottom: 20px;
73
73
  padding-top: 10px;
74
74
  padding-bottom: 10px;
75
- border-left:10px solid #ffe590;
75
+ /* border:1px solid #ffe590; */
76
+ border-top: 1px solid #ffe590;
77
+ border-right: 2px solid #ffe590;
78
+ border-left: 1px solid #ffe590;
76
79
  background-color: #fff3d0;
80
+ -webkit-border-top-left-radius: 15px;
81
+ -webkit-border-top-right-radius: 15px;
82
+ -moz-border-radius-topleft: 15px;
83
+ -moz-border-radius-topright: 15px;
84
+ -khtml-border-top-left-radius: 15px;
85
+ -khtml-border-top-right-radius: 15px;
86
+ border-top-left-radius: 15px;
87
+ border-top-right-radius: 15px;
77
88
  }
78
89
  h2 {
79
90
  margin-top: 30px;
80
91
  margin-bottom: 10px;
81
- border-left:10px solid #ffe590;
92
+ padding-top: 5px;
93
+ /* border-left:2px solid #ffe590; */
94
+ /* border-right:3px solid #ffe590; */
95
+ /* border-top:2px solid #ffe590; */
96
+ /* -webkit-border-top-left-radius: 15px; */
97
+ /* -webkit-border-top-right-radius: 15px; */
98
+ /* -moz-border-radius-topleft: 15px; */
99
+ /* -moz-border-radius-topright: 15px; */
100
+ /* -khtml-border-top-left-radius: 15px; */
101
+ /* -khtml-border-top-right-radius: 15px; */
102
+ /* border-top-left-radius: 15px; */
103
+ /* border-top-right-radius: 15px; */
82
104
  }
83
105
  h3 {
84
- border-left:10px solid #ffe590;
85
- margin-top: 20px;
86
- margin-bottom: 10px;
106
+ margin-top: 20px;
107
+ margin-bottom: 10px;
108
+ padding-top: 5px;
109
+ /* border-left:1px solid #ffe590; */
110
+ /* border-right:2px solid #ffe590; */
111
+ /* border-top:1px solid #ffe590; */
112
+ /* -webkit-border-top-left-radius: 15px; */
113
+ /* -webkit-border-top-right-radius: 15px; */
114
+ /* -moz-border-radius-topleft: 15px; */
115
+ /* -moz-border-radius-topright: 15px; */
116
+ /* -khtml-border-top-left-radius: 15px; */
117
+ /* -khtml-border-top-right-radius: 15px; */
118
+ /* border-top-left-radius: 15px; */
119
+ /* border-top-right-radius: 15px; */
87
120
  }
88
121
  h4 {
89
122
  border-left:10px solid #ffe590;
90
- margin-top: 10px;
91
- margin-bottom: 10px;
123
+ margin-top: 10px;
124
+ margin-bottom: 10px;
92
125
  }
93
126
  h5 {
94
127
  border-left:10px solid #ffe590;
95
- margin-top: 10px;
96
- margin-bottom: 5px;
128
+ margin-top: 10px;
129
+ margin-bottom: 5px;
97
130
  }
98
131
  h6 {
99
132
  border-left:10px solid #ffe590;
100
- margin-top: 10px;
133
+ margin-top: 10px;
101
134
  }
102
135
 
103
136
  em {
@@ -193,8 +226,13 @@ pre {
193
226
  }
194
227
 
195
228
  pre.verbatim {
196
- background-color: #eaeaea;
197
- border-left: 5px solid #efefef;
229
+ /* background-color: #eaeaea; */
230
+ /* background-color: #f5f4eb; */
231
+ /* border: 1px solid #ebf2f5; */
232
+ /* border-left: 5px solid #efefef; */
233
+ border-top: 1px solid #aaaaaa;
234
+ border-left: 1px solid #aaaaaa;
235
+ border-right: 1px solid #eeeeee;
198
236
  }
199
237
 
200
238
  div.code {
@@ -211,7 +249,8 @@ div.tableNote {
211
249
  }
212
250
  table, tr, th, td {
213
251
  border-style: none;
214
- background-color:#eaeaea;
252
+ /* background-color: #fff6f0; */
253
+ /* border: 1px solid #fef0ff; */
215
254
  border-spacing: 0;
216
255
  color : black;
217
256
  }
@@ -220,14 +259,17 @@ table {
220
259
  /* border-right: 10px solid #ffffff; */
221
260
  /* margin: 0 10px 0 10px; */
222
261
  margin: 0;
262
+ border: 1px solid #aaaaaa;
263
+ /* border-top: 1px solid #aaaaaa; */
264
+ /* border-bottom: 1px solid #aaaaaa; */
223
265
  }
224
266
  thead {
225
267
  }
226
268
  tfoot {
227
269
  }
228
270
  tr, th, td {
229
- padding: 2px;
230
- border: 1px solid #ffffff;
271
+ padding: 3px;
272
+ /* border: 1px solid #ffffff; */
231
273
  }
232
274
  tr {
233
275
  }
@@ -238,6 +280,7 @@ tr.foot {
238
280
  tr.high {
239
281
  }
240
282
  th {
283
+ border-bottom: 1px solid #aaaaaa;
241
284
  }
242
285
  td {
243
286
  }
@@ -256,7 +299,7 @@ td.high {
256
299
  .footnotesize {
257
300
  }
258
301
 
259
- .grid {
302
+ table.grid, td.grid, th.grid, tr.grid {
260
303
  background-color:#ffffff;
261
304
  border-collapse: collapse;
262
305
  }
@@ -268,7 +311,7 @@ th.grid, td.grid {
268
311
  padding: 2px;
269
312
  }
270
313
 
271
- .formal {
314
+ table.formal, tr.formal, td.formal, th.formal {
272
315
  background-color:#ffffff;
273
316
  }
274
317
  div.formal {
@@ -299,7 +342,7 @@ td.formal[class~="foot"] {
299
342
  border-top: 1px solid #000000;
300
343
  }
301
344
 
302
- .box {
345
+ table.box, tr.box, th.box, td.box {
303
346
  background-color:#ffffff;
304
347
  }
305
348
  div.box {
@@ -326,7 +369,7 @@ td.box[class~="high"] {
326
369
  border-right: 1px solid #000000;
327
370
  }
328
371
 
329
- .overlay {
372
+ table.overlay, tr.overlay, th.overlay, td.overlay {
330
373
  background-color:#ffffff;
331
374
  }
332
375
  div.overlay {
@@ -436,11 +479,16 @@ div.title {
436
479
  text-align: left;
437
480
  padding: 20px;
438
481
  margin: 20px 0 20px 0;
482
+ /* border: 1px solid #ffe590; */
439
483
  border-top: 1px solid #ffe590;
440
- border-right: 10px solid #ffe590;
484
+ border-right: 2px solid #ffe590;
441
485
  border-left: 1px solid #ffe590;
442
- border-bottom: 5px solid #ffe590;
486
+ border-bottom: 2px solid #ffe590;
443
487
  background-color: #fff3d0;
488
+ -webkit-border-radius: 15px;
489
+ -moz-border-radius: 15px;
490
+ -khtml-border-top: 15px;
491
+ border-radius: 15px;
444
492
  }
445
493
  p.title, p.author, p.authornote, p.date {
446
494
  margin: 0;
@@ -522,11 +570,19 @@ p.example {
522
570
  font-weight: bold;
523
571
  }
524
572
  .example-output {
525
- padding: 20px 5px 20px 5px;
526
- margin: 20px 0 20px 0;
527
- border-left: 10px solid #eaeaea;
528
- border-right: 10px solid #eaeaea;
529
- /* background-color: #fff3d0; */
573
+ /* padding: 20px 5px 20px 5px; */
574
+ /* margin: 20px 0 20px 0; */
575
+ /* border-left: 10px solid #eaeaea; */
576
+ /* border-right: 10px solid #eaeaea; */
577
+ margin-left: 40px;
578
+ margin-right: 40px;
579
+ padding: 5px;
580
+ /* border-left: 5px solid #efefef; */
581
+ /* border: 1px solid #ebf2f5; */
582
+ /* background-color: #eff5eb; */
583
+ border-bottom: 1px solid #aaaaaa;
584
+ border-right: 1px solid #aaaaaa;
585
+ border-left: 1px solid #eeeeee;
530
586
  }
531
587
 
532
588
  /* Mini Table of Contents */
@@ -1,8 +1,8 @@
1
1
  /* Layout and decoration */
2
2
  /* @Author: Thomas Link (samul AT web.de) */
3
3
  /* @Created: 13-Apr-2004. */
4
- /* @Last Change: 2008-07-06. */
5
- /* @Revision: 0.1202 */
4
+ /* @Last Change: 2008-07-10. */
5
+ /* @Revision: 0.1217 */
6
6
 
7
7
  body {
8
8
  padding: 1px;
@@ -189,8 +189,10 @@ pre.verbatim {
189
189
  }
190
190
 
191
191
  div.code {
192
- background-color: #fffff0;
193
- border: 1px double #fff0f0;
192
+ /* background-color: #f0f0f0; */
193
+ /* background-color: #eaeaea; */
194
+ /* border: 1px double #96e6e6; */
195
+ padding: 5px 20px 5px 20px;
194
196
  }
195
197
 
196
198
  /* Tables */
@@ -0,0 +1,19 @@
1
+ /* CSS definition file generated by highlight 2.2-8, http://www.andre-simon.de/ */
2
+
3
+ /* Highlighting theme definition: */
4
+
5
+ /* body { background-color:#ffffff; } */
6
+ /* pre { color:#000000; background-color:#ffffff; font-size:10pt; font-family:Courier;} */
7
+ .num { color:#a900a9; }
8
+ .esc { color:#C42DA8; }
9
+ .str { color:#ff0000; }
10
+ .dstr { color:#ff0000; }
11
+ .slc { color:#666666; font-style:italic; }
12
+ .com { color:#666666; font-style:italic; }
13
+ .dir { color:#00b800; }
14
+ .sym { color:#ff0000; }
15
+ .line { color:#666666; }
16
+ .kwa { color:#0000ff; font-weight:bold; }
17
+ .kwb { color:#0000ff; }
18
+ .kwc { color:#ec7f15; }
19
+
@@ -1,10 +1,21 @@
1
+ body {
2
+ /* font-family: Georgia, Bookman, Times, Serif; */
3
+ font-family: Georgia, Minion Web, Palatino, "Book Antiqua", Utopia, "Times New Roman", serif;
4
+ /* font-size-adjust: .5; */
5
+ font-size: 14px;
6
+ /* line-height: 1.36em */
7
+ }
8
+
1
9
  span.steppreview {
2
- background-color: #f9f9f9;
3
- border: 1px solid #e0e0e0;
10
+ background-color: #f5f5f5;
11
+ /* padding: 1px; */
12
+ /* border: 1px solid #e0e0e0; */
13
+ border: 1px solid #f0f0f0;
4
14
  }
5
15
 
6
16
  span.stephighlight {
7
- background-color: #ffff90;
17
+ background-color: #ffff60;
18
+ /* padding: 1px; */
8
19
  border: 1px solid #e0e0e0;
9
20
  }
10
21
 
@@ -2,8 +2,9 @@
2
2
 
3
3
  body {
4
4
  /* background-color: #d9e0f0; */
5
- background-color: #e4e8f0;
6
- background-image: url(grad_blue.jpg);
5
+ /* background-color: #e4e8f0; */
6
+ background-color: #ebebf0;
7
+ /* background-image: url(grad_blue.jpg); */
7
8
  background-repeat: repeat-x;
8
9
  }
9
10
 
@@ -26,9 +27,11 @@ body {
26
27
  margin-top: 0;
27
28
  padding: 10px;
28
29
  /* border: 1px dashed #cae0ea; */
29
- border: 1px solid #cae0ea;
30
- border-radius: 15px;
30
+ /* border: 1px solid #cae0ea; */
31
+ -webkit-border-radius: 15px;
31
32
  -moz-border-radius: 15px;
33
+ -khtml-border-top: 15px;
34
+ border-radius: 15px;
32
35
  }
33
36
 
34
37
  div.pageicons {
@@ -0,0 +1,209 @@
1
+ /* Text style: sans-serif */
2
+ /* @Author: Thomas Link (samul AT web.de) */
3
+ /* @Created: 13-Apr-2004. */
4
+ /* @Last Change: 2008-07-08. */
5
+ /* @Revision: 0.637 */
6
+
7
+ body, table, div {
8
+ /* font-family: Georgia, Bookman, Times, Serif; */
9
+ font-family: Georgia, Minion Web, Palatino, "Book Antiqua", Utopia, "Times New Roman", serif;
10
+ /* font-size-adjust: .5; */
11
+ font-size: 28px;
12
+ /* line-height: 1.3em */
13
+ }
14
+
15
+ big {
16
+ font-weight: bolder;
17
+ }
18
+
19
+ h1, h2, h3, h4, h5, h6 {
20
+ /* font-family : Georgia, Bookman, Times, Serif; */
21
+ /* font-family : Verdana, Monaco, Sans-Serif; */
22
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
23
+ font-weight: bold;
24
+ }
25
+ h1 {
26
+ font-size: 56px;
27
+ }
28
+ h2 {
29
+ font-size: 48px;
30
+ }
31
+ h3 {
32
+ font-size: 40px;
33
+ }
34
+ h4 {
35
+ font-size: 36px;
36
+ }
37
+ h5 {
38
+ font-size: 32px;
39
+ }
40
+ h6 {
41
+ font-size: 32px;
42
+ }
43
+
44
+ tr.head, tr.foot, tr.high, th, td.foot, td.high {
45
+ font-weight: bold;
46
+ }
47
+ td[class~="head"], td[class~="foot"] {
48
+ font-weight: bold;
49
+ }
50
+ div.tableNote {
51
+ font-size: 24px;
52
+ font-style: italic;
53
+ }
54
+ .small {
55
+ font-size: 22px;
56
+ }
57
+ .scriptsize {
58
+ font-size: 20px;
59
+ }
60
+ .footnotesize {
61
+ font-size: 18px;
62
+ }
63
+
64
+ blockquote {
65
+ font-family: Sans-Serif;
66
+ }
67
+ blockquote.quote {
68
+ }
69
+ blockquote.longquote {
70
+ }
71
+ blockquote.abstract {
72
+ font-style: italic;
73
+ }
74
+
75
+ li.Itemize-1 {
76
+ list-style-type : none;
77
+ }
78
+ dt {
79
+ font-weight: bold;
80
+ }
81
+
82
+ code, pre {
83
+ font-family: 'Monotype.com', "Courier New", Courier, Monospace;
84
+ font-size-adjust: -.5;
85
+ }
86
+ /* pre { */
87
+ /* font-size: 24px; */
88
+ /* } */
89
+
90
+
91
+ /* htmlnavigation: Usage note */
92
+
93
+
94
+ /* Navigation bar */
95
+ a:link.navbar, a:visited.navbar, a:link.navbarUrl, a:visited.navbarUrl {
96
+ text-decoration: none;
97
+ font-size: 24px;
98
+ }
99
+ select.navmenu {
100
+ font-size:18px;
101
+ }
102
+ p.navgo {
103
+ font-size:18px;
104
+ }
105
+
106
+
107
+ /* Figure */
108
+
109
+
110
+ /* Caption */
111
+ caption, p.caption {
112
+ font-weight: bold;
113
+ }
114
+
115
+ /* Title */
116
+ p.title, p.author, p.authornote, p.date {
117
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
118
+ font-weight: bold;
119
+ }
120
+ p.title {
121
+ font-size: 56px;
122
+ }
123
+ p.author {
124
+ font-size: 48px;
125
+ }
126
+ p.authornote {
127
+ font-size: 36px;
128
+ }
129
+ p.date {
130
+ font-size: 36px;
131
+ }
132
+
133
+
134
+ /* Table of Contents etc. */
135
+
136
+
137
+ /* Mini Table of Contents */
138
+
139
+
140
+ /* Footnotes */
141
+ a:link.footnote, a:visited.footnote {
142
+ font-size: 18px;
143
+ text-decoration: none;
144
+ }
145
+ p.footnotes, ol.footnotes, li.footnotes {
146
+ font-size: 24px;
147
+ }
148
+ p.footnotes {
149
+ font-weight: bold;
150
+ }
151
+
152
+
153
+ /* OpenOffice compatible footnotes */
154
+ .sdfootnoteanc {
155
+ font-size: 18px;
156
+ }
157
+ .sdfootnotesym, .sdfootnote {
158
+ font-size: 24px;
159
+ }
160
+
161
+
162
+ /* Bibliography */
163
+
164
+
165
+ /* Index */
166
+
167
+
168
+ /* Marker */
169
+ div.note, div.warning, div.caution, div.important {
170
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
171
+ font-size: 24px;
172
+ }
173
+
174
+
175
+ /* Header, Footer */
176
+ .header, .footer {
177
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
178
+ font-size: 18px;
179
+ }
180
+
181
+
182
+ /* Validate HTML */
183
+
184
+
185
+ /* TabBar */
186
+ .tabBarLeft, .tabBarRight, .tabBarTop, .tabBarBottom {
187
+ font-size: 20px;
188
+ }
189
+ a.tabBarEntry {
190
+ text-decoration: none;
191
+ font-family: Verdana, "Myriad Web", Syntax, sans-serif;
192
+ }
193
+
194
+ /* ProgressBar */
195
+ span.progress {
196
+ font-size: 20px;
197
+ }
198
+
199
+ input, textarea {
200
+ font-family: Georgia, Minion Web, Palatino, "Book Antiqua", Utopia, "Times New Roman", serif;
201
+ font-size: 90%;
202
+ line-height: 135%;
203
+ }
204
+
205
+
206
+ p.comments {
207
+ font-size: 20px;
208
+ }
209
+