metanorma-m3aawg 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/lib/isodoc/m3aawg/html/m3d.scss +0 -1
- data/lib/isodoc/m3aawg/html/wordstyle.scss +0 -1
- data/lib/isodoc/m3aawg/m3d.report.xsl +32 -0
- data/lib/metanorma/m3aawg/version.rb +1 -1
- data/metanorma-m3d.gemspec +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e740890023f1b2d52f1f9b7f727a2ba15b8ec87d4d3383a62cddadf58ee0bf49
|
4
|
+
data.tar.gz: 5b4c4e33450c790a84017c370269e6dd8fbd87574addc193e69d87cd76b70e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76ed9c85e2fe5f6d8457d69602a98b224857428d03717a753fd2171ec5dd53aa6142863d25611c51490c542e1f374a010d0068408a5e802ed6e47307b19794e
|
7
|
+
data.tar.gz: fb0b34045ed760b3c93e92e176b611d6853eff2e424edb6c660cc2123c5109bc3211b691ea9667d696c5d4ffc13377a3aaf1906ea457f861a518f17cad727b2e
|
data/Rakefile
CHANGED
@@ -2240,6 +2240,7 @@
|
|
2240
2240
|
<fo:inline padding-right="2mm">
|
2241
2241
|
|
2242
2242
|
|
2243
|
+
|
2243
2244
|
<xsl:variable name="title-note">
|
2244
2245
|
<xsl:call-template name="getTitle">
|
2245
2246
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -3296,4 +3297,35 @@
|
|
3296
3297
|
</xsl:if>
|
3297
3298
|
</xsl:template><xsl:template name="getDocumentId">
|
3298
3299
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
3300
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
3301
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
3302
|
+
<xsl:variable name="XSLNS">
|
3303
|
+
|
3304
|
+
|
3305
|
+
|
3306
|
+
|
3307
|
+
|
3308
|
+
|
3309
|
+
|
3310
|
+
|
3311
|
+
|
3312
|
+
|
3313
|
+
<xsl:value-of select="document('')//*/namespace::m3d"/>
|
3314
|
+
|
3315
|
+
|
3316
|
+
|
3317
|
+
</xsl:variable>
|
3318
|
+
<xsl:if test="$documentNS != $XSLNS">
|
3319
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
3320
|
+
</xsl:if>
|
3321
|
+
</xsl:template><xsl:template name="getLanguage">
|
3322
|
+
<xsl:param name="lang"/>
|
3323
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
3324
|
+
<xsl:choose>
|
3325
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
3326
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
3327
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
3328
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
3329
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
3330
|
+
</xsl:choose>
|
3299
3331
|
</xsl:template></xsl:stylesheet>
|
data/metanorma-m3d.gemspec
CHANGED
@@ -37,9 +37,9 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency "uuidtools"
|
38
38
|
|
39
39
|
spec.add_dependency "metanorma-standoc", "~> 1.4.0"
|
40
|
-
spec.add_dependency "isodoc", "~> 1.1.0"
|
41
40
|
|
42
41
|
spec.add_development_dependency "byebug", "~> 9.1"
|
42
|
+
spec.add_development_dependency "sassc", "~> 2.4.0"
|
43
43
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
44
44
|
spec.add_development_dependency "guard", "~> 2.14"
|
45
45
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-m3aawg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -109,33 +109,33 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.4.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: byebug
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
type: :
|
117
|
+
version: '9.1'
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '9.1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: sassc
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 2.4.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 2.4.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: equivalent-xml
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|