metanorma-generic 1.8.2 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/generic/basicdoc.rng +5 -3
- data/lib/asciidoctor/generic/converter.rb +1 -1
- data/lib/asciidoctor/generic/isodoc.rng +3 -0
- data/lib/isodoc/generic/html_convert.rb +2 -2
- data/lib/isodoc/generic/pdf_convert.rb +2 -2
- data/lib/isodoc/generic/word_convert.rb +2 -2
- data/lib/metanorma/generic/version.rb +1 -1
- data/metanorma-generic.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e582ecd8d43de406e8186a479152cf628582ffae80dc6f5430d1e11285457224
|
4
|
+
data.tar.gz: 3bbfbb2e35eee67d57135da7c4f53426ed25c45e9c665300fbfcacf9a506dff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0edb8842be7662c773da294789c4fd0ce1c8d4b6efa653098bf220a3296dd889abf3348bcf77cd215fab4c6b8b28828c55cab82c1ed1033c79738f435f6f9f11
|
7
|
+
data.tar.gz: 30938a4bc5b6e60ebcb7e725a327d69baf0bab6a9694441792a176d7492a64953d0976159471fe6809564097cc8dc622171122e53c5ee77af1a5a3421d869960
|
@@ -729,9 +729,11 @@
|
|
729
729
|
</define>
|
730
730
|
<define name="index">
|
731
731
|
<element name="index">
|
732
|
-
<
|
733
|
-
<
|
734
|
-
|
732
|
+
<optional>
|
733
|
+
<attribute name="to">
|
734
|
+
<data type="IDREF"/>
|
735
|
+
</attribute>
|
736
|
+
</optional>
|
735
737
|
<element name="primary">
|
736
738
|
<oneOrMore>
|
737
739
|
<ref name="PureTextElement"/>
|
@@ -25,11 +25,11 @@ module IsoDoc
|
|
25
25
|
def default_fonts(options)
|
26
26
|
{
|
27
27
|
bodyfont: (
|
28
|
-
options[:script] == "Hans" ? '"
|
28
|
+
options[:script] == "Hans" ? '"Source Han Sans",serif' :
|
29
29
|
configuration.html_bodyfont || '"Overpass",sans-serif'
|
30
30
|
),
|
31
31
|
headerfont: (
|
32
|
-
options[:script] == "Hans" ? '"
|
32
|
+
options[:script] == "Hans" ? '"Source Han Sans",sans-serif' :
|
33
33
|
configuration.html_headerfont || '"Overpass",sans-serif'
|
34
34
|
),
|
35
35
|
monospacefont: configuration.html_monospacefont || '"Space Mono",monospace',
|
@@ -22,9 +22,9 @@ module IsoDoc
|
|
22
22
|
|
23
23
|
def default_fonts(options)
|
24
24
|
{
|
25
|
-
bodyfont: (options[:script] == "Hans" ? '"
|
25
|
+
bodyfont: (options[:script] == "Hans" ? '"Source Han Sans",serif'
|
26
26
|
: configuration.html_bodyfont || '"Overpass",sans-serif'),
|
27
|
-
headerfont: (options[:script] == "Hans" ? '"
|
27
|
+
headerfont: (options[:script] == "Hans" ? '"Source Han Sans",sans-serif' :
|
28
28
|
configuration.html_headerfont || '"Overpass",sans-serif'),
|
29
29
|
monospacefont: configuration.html_monospacefont || '"Space Mono",monospace'
|
30
30
|
}.transform_values { |v| v&.empty? ? nil : v }
|
@@ -24,11 +24,11 @@ module IsoDoc
|
|
24
24
|
def default_fonts(options)
|
25
25
|
{
|
26
26
|
bodyfont: (
|
27
|
-
options[:script] == "Hans" ? '"
|
27
|
+
options[:script] == "Hans" ? '"Source Han Sans",serif' :
|
28
28
|
configuration.word_bodyfont || '"Arial",sans-serif'
|
29
29
|
),
|
30
30
|
headerfont: (
|
31
|
-
options[:script] == "Hans" ? '"
|
31
|
+
options[:script] == "Hans" ? '"Source Han Sans",sans-serif' :
|
32
32
|
configuration.word_headerfont || '"Arial",sans-serif'
|
33
33
|
),
|
34
34
|
monospacefont: configuration.word_monospacefont || '"Courier New",monospace',
|
data/metanorma-generic.gemspec
CHANGED
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
|
|
28
28
|
|
29
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
30
|
spec.add_dependency "ruby-jing"
|
31
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
32
|
-
spec.add_dependency "isodoc", "~> 1.
|
31
|
+
spec.add_dependency "metanorma-standoc", "~> 1.8.0"
|
32
|
+
spec.add_dependency "isodoc", "~> 1.5.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "byebug", "~> 9.1"
|
35
35
|
spec.add_development_dependency "sassc", "2.4.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-generic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.8.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.8.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: isodoc
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.5.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.5.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: byebug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|