metanorma 1.3.0 → 1.3.1
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.
- checksums.yaml +4 -4
- data/lib/metanorma/compile.rb +6 -5
- data/lib/metanorma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e823c389c083ead32851781abb9fa3e28d7744d7fcd3ebacb60b051c118157ed
|
|
4
|
+
data.tar.gz: 6a3ef75f087f322c0fcf317f72cf5d91c52576b3f322c0935c368e9c74fb7e6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b942d2fadf478c4aa4e8f27437a29a75c37d9515541bc1c13aec1fece10c8d81b07ad8d60cdce455341fc8f65b35d1a53b3d20bf6005281753774e21e1130354
|
|
7
|
+
data.tar.gz: f744d5316edcd92e46fcfff79128a20353849b8a5d7037cc808afbc39aeb5c1feecb503d3e47fffad4f5fd175129f152be83c5208dc3f8ca771d748d4deb5736
|
data/lib/metanorma/compile.rb
CHANGED
|
@@ -223,13 +223,14 @@ module Metanorma
|
|
|
223
223
|
@processor.output(nil, presentationxml_name, outfilename, ext, isodoc_options) :
|
|
224
224
|
@processor.output(isodoc, xml_name, outfilename, ext, isodoc_options)
|
|
225
225
|
rescue StandardError => e
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
if e.message.start_with? "mn2pdf"
|
|
227
|
+
@errors << e.message
|
|
228
|
+
else
|
|
229
|
+
puts e.message
|
|
230
|
+
puts e.backtrace.join("\n")
|
|
231
|
+
end
|
|
228
232
|
end
|
|
229
233
|
end
|
|
230
|
-
if ext == :pdf
|
|
231
|
-
# font_locations.unlink
|
|
232
|
-
end
|
|
233
234
|
wrap_html(options, file_extension, outfilename)
|
|
234
235
|
end
|
|
235
236
|
end
|
data/lib/metanorma/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-04-
|
|
11
|
+
date: 2021-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|