bergamasco 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/bergamasco/pandoc.rb +5 -3
- data/lib/bergamasco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 945bd3854bba6cc9504370a73c52f1ea8cb3bd1f
|
4
|
+
data.tar.gz: 234740b428bcfe53759ef9f9d536dd7e9bed4132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc3607eca3a2f04baf81390dff3183c35c668dbe8bbd06a8b75ed4ad17c1f7ec26fd338da6acc88f26e9053e791552d961187ce4fb0738a20ce65a3c3df6d1d
|
7
|
+
data.tar.gz: 77e10d2d3ea74e9b79cebc09eb1ac71732eb072f504c8c4f3061cbde437585c37e01f08b1799eeab17a829c2cfeb2f09104ff67d007e2cca7c601c7981702649
|
data/Gemfile.lock
CHANGED
data/lib/bergamasco/pandoc.rb
CHANGED
@@ -34,9 +34,11 @@ module Bergamasco
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.convert_to_jats(text, options={})
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
template = File.expand_path("../../../templates/default.jats", __FILE__)
|
38
|
+
to = File.expand_path("../jats.lua", __FILE__)
|
39
|
+
csl = File.expand_path("../jats.csl", __FILE__)
|
40
|
+
|
41
|
+
options = options.merge(template: template, to: to, csl: csl)
|
40
42
|
options = options.merge(metadata: options[:metadata]) if options[:metadata].present?
|
41
43
|
|
42
44
|
convert(text, options)
|
data/lib/bergamasco/version.rb
CHANGED