deplate 0.8.3 → 0.8.4
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.
- data/CHANGES.TXT +9 -27
- data/VERSION.TXT +1 -1
- data/lib/deplate.rb +1 -1
- data/lib/deplate/core.rb +3 -3
- data/lib/deplate/css/deplate.css +84 -28
- data/lib/deplate/css/doc.css +6 -4
- data/lib/deplate/css/highlight.css +19 -0
- data/lib/deplate/css/highstep.css +14 -3
- data/lib/deplate/css/htmldoc.css +7 -4
- data/lib/deplate/css/presentation.css +209 -0
- data/lib/deplate/css/presentation_highstep.css +29 -0
- data/lib/deplate/css/presentation_website.css +281 -0
- data/lib/deplate/css/screenplay.css +95 -0
- data/lib/deplate/css/tabbar-right.css +23 -17
- data/lib/deplate/css/tabbar-top.css +18 -9
- data/lib/deplate/css/websitary.css +88 -0
- data/lib/deplate/css/website.css +281 -0
- data/lib/deplate/fmt/html.rb +5 -7
- data/lib/deplate/input.rb +3 -3
- data/lib/deplate/locale/de.latin1 +3 -0
- data/lib/deplate/mod/guesslanguage.rb +7 -2
- data/lib/deplate/particles.rb +3 -3
- data/lib/deplate/template.rb +2 -2
- metadata +10 -3
data/lib/deplate/input.rb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
# @Website: http://deplate.sf.net/
|
4
4
|
# @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
|
5
5
|
# @Created: 10-M�r-2005.
|
6
|
-
# @Last Change: 2008-
|
7
|
-
# @Revision: 0.
|
6
|
+
# @Last Change: 2008-07-20.
|
7
|
+
# @Revision: 0.827
|
8
8
|
#
|
9
9
|
# = Description
|
10
10
|
# = Usage
|
@@ -553,7 +553,7 @@ class Deplate::Input < Deplate::CommonObject
|
|
553
553
|
for p in excluded
|
554
554
|
case p
|
555
555
|
when Proc
|
556
|
-
particles.delete_if
|
556
|
+
particles.delete_if(&p)
|
557
557
|
else
|
558
558
|
particles.delete(p)
|
559
559
|
end
|
@@ -876,6 +876,9 @@ Erzeuge Dateikatalog
|
|
876
876
|
Old file cache
|
877
877
|
Dateikatalog ist m�glicherweise obsolet
|
878
878
|
|
879
|
+
Variable already set
|
880
|
+
Variable bereits gesetzt
|
881
|
+
|
879
882
|
We shouldn't be here. If you can track down when this happens, please send an example to the author.
|
880
883
|
Das sollte nicht sein. Wenn du herausfinden kannst, unter welchen Bedingungen diese Meldung erscheint, lass es mich bitte wissen.
|
881
884
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
# @Author: Thomas Link (micathom AT gmail com)
|
3
3
|
# @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
|
4
4
|
# @Created: 2006-12-29.
|
5
|
-
# @Last Change: 2008-07-
|
6
|
-
# @Revision: 0.1.
|
5
|
+
# @Last Change: 2008-07-16.
|
6
|
+
# @Revision: 0.1.77
|
7
7
|
|
8
8
|
require 'deplate/guesslanguage'
|
9
9
|
|
@@ -23,6 +23,11 @@ class Deplate::Core
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def guesslanguage(text)
|
26
|
+
if @variables['lang']
|
27
|
+
log(['Guesslanguage', 'Variable already set', 'lang'])
|
28
|
+
@options.guesslanguage_once = true
|
29
|
+
return
|
30
|
+
end
|
26
31
|
unless text.empty? or @formatter.kind_of?(Deplate::Formatter::Template)
|
27
32
|
text0 = text.gsub(/^\s*#.*$|^\s*%.*$|\{.*?\}/, '')
|
28
33
|
if text0 =~ /\w/
|
data/lib/deplate/particles.rb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
# @Website: http://deplate.sf.net/
|
4
4
|
# @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
|
5
5
|
# @Created: 24-M�r-2004.
|
6
|
-
# @Last Change: 2008-07-
|
7
|
-
# @Revision: 0.
|
6
|
+
# @Last Change: 2008-07-20.
|
7
|
+
# @Revision: 0.1927
|
8
8
|
|
9
9
|
require "uri"
|
10
10
|
require "deplate/common"
|
@@ -319,7 +319,7 @@ class Deplate::Particle::Symbol < Deplate::Particle
|
|
319
319
|
sym = @@symbols_table.assoc(@match[1])[1]
|
320
320
|
case sym
|
321
321
|
when ::Proc
|
322
|
-
@elt = instance_eval
|
322
|
+
@elt = instance_eval(&sym)
|
323
323
|
when ::Symbol
|
324
324
|
@elt = @deplate.formatter.send(sym, self)
|
325
325
|
when ::String
|
data/lib/deplate/template.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Link
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-20 00:00:00 +02:00
|
13
13
|
default_executable: deplate
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -51,12 +51,17 @@ files:
|
|
51
51
|
- lib/deplate/css/deplate.css
|
52
52
|
- lib/deplate/css/doc.css
|
53
53
|
- lib/deplate/css/heading-navbar.css
|
54
|
+
- lib/deplate/css/highlight.css
|
54
55
|
- lib/deplate/css/highstep.css
|
55
56
|
- lib/deplate/css/htmldoc.css
|
56
57
|
- lib/deplate/css/layout-deplate-print.css
|
57
58
|
- lib/deplate/css/layout-deplate.css
|
58
59
|
- lib/deplate/css/play.css
|
60
|
+
- lib/deplate/css/presentation.css
|
61
|
+
- lib/deplate/css/presentation_highstep.css
|
62
|
+
- lib/deplate/css/presentation_website.css
|
59
63
|
- lib/deplate/css/sans-serif.css
|
64
|
+
- lib/deplate/css/screenplay.css
|
60
65
|
- lib/deplate/css/serif-e.css
|
61
66
|
- lib/deplate/css/serif-rel.css
|
62
67
|
- lib/deplate/css/serif.css
|
@@ -69,6 +74,8 @@ files:
|
|
69
74
|
- lib/deplate/css/tabbar.css
|
70
75
|
- lib/deplate/css/text-sans-serif.css
|
71
76
|
- lib/deplate/css/text-serif.css
|
77
|
+
- lib/deplate/css/websitary.css
|
78
|
+
- lib/deplate/css/website.css
|
72
79
|
- lib/deplate/define.rb
|
73
80
|
- lib/deplate/deplate-string.rb
|
74
81
|
- lib/deplate/docbook.rb
|
@@ -268,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
275
|
requirements: []
|
269
276
|
|
270
277
|
rubyforge_project: deplategem
|
271
|
-
rubygems_version: 1.
|
278
|
+
rubygems_version: 1.1.1
|
272
279
|
signing_key:
|
273
280
|
specification_version: 2
|
274
281
|
summary: Convert wiki-like markup to latex, docbook, html, or html-slides
|