metanorma-gb 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/gb/converter.rb +1 -1
- data/lib/asciidoctor/gb/isodoc.rng +3 -0
- data/lib/asciidoctor/gb/section_input.rb +1 -0
- data/lib/isodoc/gb/html/htmlcompliantstyle.scss +5 -0
- data/lib/isodoc/gb/html/htmlstyle.scss +5 -0
- data/lib/isodoc/gb/html/wordstyle.scss +103 -0
- data/lib/metanorma/gb/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: 0fa00c3a02c9d6753b8771b41e21597463f2818a51b46d13d06ae363218d7294
|
4
|
+
data.tar.gz: 8f1e3e91f1ff42b55c486500ae9fd0f607162a7e80b51a4bf6492acdaf7d203a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d276c1646f6725dee680b78f68ea8cdfbab98e768d75bd8974f84e9541bfa7eef519ae9c01328a9dddf33a0737bcb725cc99a49e3cdc1f36ca7fcb9b072e33c7
|
7
|
+
data.tar.gz: ce876766862afa463e1b8c145faf10ea78fdd3f7fde03a2b1515519f482ad702b2a2b85c9514ca7c4a9061ef74c9075003bfc11ec6d72f426c6499bd70a055d8
|
@@ -26,7 +26,7 @@ module Asciidoctor
|
|
26
26
|
result << noko { |ixml| front node, ixml }
|
27
27
|
result << noko { |ixml| middle node, ixml }
|
28
28
|
result << "</gb-standard>"
|
29
|
-
result = textcleanup(result
|
29
|
+
result = textcleanup(result)
|
30
30
|
ret1 = cleanup(Nokogiri::XML(result))
|
31
31
|
validate(ret1)
|
32
32
|
ret1.root.add_namespace(nil, GB_NAMESPACE)
|
@@ -12,6 +12,7 @@ module Asciidoctor
|
|
12
12
|
return clause_parse(attrs, xml, node) if node.role == "nonterm"
|
13
13
|
sub = node.find_by(context: :section) {|s| s.level == node.level + 1 }
|
14
14
|
sub.empty? || (return term_def_parse(attrs, xml, node, false))
|
15
|
+
# TODO allow breakup of "symbols", "abbreviated terms"
|
15
16
|
(node.title.downcase == "symbols and abbreviated terms" ||
|
16
17
|
node.title == "符号、代号和缩略语") &&
|
17
18
|
(return symbols_parse(attrs, xml, node))
|
@@ -2082,6 +2082,109 @@ ol li li li, ol li li li p, ol li li li div, ol li li li .MsoNormal
|
|
2082
2082
|
mso-level-number-position:right;
|
2083
2083
|
margin-left:209.95pt;
|
2084
2084
|
text-indent:-20.95pt;}
|
2085
|
+
|
2086
|
+
p.ListContLevel1, li.ListContLevel1, div.ListContLevel1
|
2087
|
+
{mso-style-priority:34;
|
2088
|
+
margin-top:0cm;
|
2089
|
+
margin-left:41.65pt;
|
2090
|
+
margin-right:0cm;
|
2091
|
+
margin-bottom:12.0pt;
|
2092
|
+
mso-pagination:widow-orphan;
|
2093
|
+
font-size:11.0pt;
|
2094
|
+
font-family:$bodyfont;
|
2095
|
+
mso-ansi-language:EN-AU;
|
2096
|
+
mso-fareast-language:EN-US;}
|
2097
|
+
p.ListContLevel2, li.ListContLevel2, div.ListContLevel2
|
2098
|
+
{mso-style-priority:34;
|
2099
|
+
margin-top:0cm;
|
2100
|
+
margin-left:63.2pt;
|
2101
|
+
margin-right:0cm;
|
2102
|
+
margin-bottom:12.0pt;
|
2103
|
+
mso-pagination:widow-orphan;
|
2104
|
+
font-size:11.0pt;
|
2105
|
+
font-family:$bodyfont;
|
2106
|
+
mso-ansi-language:EN-AU;
|
2107
|
+
mso-fareast-language:EN-US;}
|
2108
|
+
p.ListContLevel3, li.ListContLevel3, div.ListContLevel3
|
2109
|
+
{mso-style-priority:34;
|
2110
|
+
margin-top:0cm;
|
2111
|
+
margin-left:83.9pt;
|
2112
|
+
margin-right:0cm;
|
2113
|
+
margin-bottom:12.0pt;
|
2114
|
+
mso-pagination:widow-orphan;
|
2115
|
+
font-size:11.0pt;
|
2116
|
+
font-family:$bodyfont;
|
2117
|
+
mso-ansi-language:EN-AU;
|
2118
|
+
mso-fareast-language:EN-US;}
|
2119
|
+
p.ListContLevel4, li.ListContLevel4, div.ListContLevel4
|
2120
|
+
{mso-style-priority:34;
|
2121
|
+
margin-top:0cm;
|
2122
|
+
margin-left:94.2pt;
|
2123
|
+
margin-right:0cm;
|
2124
|
+
margin-bottom:12.0pt;
|
2125
|
+
mso-pagination:widow-orphan;
|
2126
|
+
font-size:11.0pt;
|
2127
|
+
font-family:$bodyfont;
|
2128
|
+
mso-ansi-language:EN-AU;
|
2129
|
+
mso-fareast-language:EN-US;}
|
2130
|
+
p.ListContLevel5, li.ListContLevel5, div.ListContLevel5
|
2131
|
+
{mso-style-priority:34;
|
2132
|
+
margin-top:0cm;
|
2133
|
+
margin-left:109.8pt;
|
2134
|
+
margin-right:0cm;
|
2135
|
+
margin-bottom:12.0pt;
|
2136
|
+
mso-pagination:widow-orphan;
|
2137
|
+
font-size:11.0pt;
|
2138
|
+
font-family:$bodyfont;
|
2139
|
+
mso-ansi-language:EN-AU;
|
2140
|
+
mso-fareast-language:EN-US;}
|
2141
|
+
p.ListContLevel6, li.ListContLevel6, div.ListContLevel6
|
2142
|
+
{mso-style-priority:34;
|
2143
|
+
margin-top:0cm;
|
2144
|
+
margin-left:125.4pt;
|
2145
|
+
margin-right:0cm;
|
2146
|
+
margin-bottom:12.0pt;
|
2147
|
+
mso-pagination:widow-orphan;
|
2148
|
+
font-size:11.0pt;
|
2149
|
+
font-family:$bodyfont;
|
2150
|
+
mso-ansi-language:EN-AU;
|
2151
|
+
mso-fareast-language:EN-US;}
|
2152
|
+
p.ListContLevel7, li.ListContLevel7, div.ListContLevel7
|
2153
|
+
{mso-style-priority:34;
|
2154
|
+
margin-top:0cm;
|
2155
|
+
margin-left:141.0pt;
|
2156
|
+
margin-right:0cm;
|
2157
|
+
margin-bottom:12.0pt;
|
2158
|
+
mso-pagination:widow-orphan;
|
2159
|
+
font-size:11.0pt;
|
2160
|
+
font-family:$bodyfont;
|
2161
|
+
mso-ansi-language:EN-AU;
|
2162
|
+
mso-fareast-language:EN-US;}
|
2163
|
+
p.ListContLevel8, li.ListContLevel8, div.ListContLevel8
|
2164
|
+
{mso-style-priority:34;
|
2165
|
+
margin-top:0cm;
|
2166
|
+
margin-left:156.6pt;
|
2167
|
+
margin-right:0cm;
|
2168
|
+
margin-bottom:12.0pt;
|
2169
|
+
mso-pagination:widow-orphan;
|
2170
|
+
font-size:11.0pt;
|
2171
|
+
font-family:$bodyfont;
|
2172
|
+
mso-ansi-language:EN-AU;
|
2173
|
+
mso-fareast-language:EN-US;}
|
2174
|
+
p.ListContLevel9, li.ListContLevel9, div.ListContLevel9
|
2175
|
+
{mso-style-priority:34;
|
2176
|
+
margin-top:0cm;
|
2177
|
+
margin-left:172.2pt;
|
2178
|
+
margin-right:0cm;
|
2179
|
+
margin-bottom:12.0pt;
|
2180
|
+
mso-pagination:widow-orphan;
|
2181
|
+
font-size:11.0pt;
|
2182
|
+
font-family:$bodyfont;
|
2183
|
+
mso-ansi-language:EN-AU;
|
2184
|
+
mso-fareast-language:EN-US;}
|
2185
|
+
|
2186
|
+
|
2187
|
+
|
2085
2188
|
p.standard_number, li.standard_number, div.standard_number
|
2086
2189
|
{mso-style-name:封面标准号2; // NAME: Cover page Standard Number 2
|
2087
2190
|
mso-style-unhide:no;
|
data/lib/metanorma/gb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|