metanorma-cc 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/cc/csd.standard.xsl +32 -0
- data/lib/isodoc/cc/html/_coverpage.scss +2 -0
- data/lib/isodoc/cc/html/wordstyle.scss +0 -1
- data/lib/metanorma/cc/version.rb +1 -1
- data/metanorma-cc.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ccd3c862d1d967d0782115e2319f5d9c41a1346a06b85fa1cbd25626101b939
|
4
|
+
data.tar.gz: 10076bc4151a870b5f219461fa29ffd062bfe6888800daf923ecf4475b1c887a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27ebb897618ae5d5bc58ea3e0e9831435268f509c6dc0cc3920c17e6f66c84b79decb38f57d27b70ef4835fd7c5715224cd488c2d200391e6dd365f417191b31
|
7
|
+
data.tar.gz: 0c4646dd8aaaf21ff10b0f7becf143973566c801dec65bb6b5fa3b8d0f04e6a8a836f7e74ce6116e0467e93abad9ac7a4b2e753310ee96858d44d2a9c449febd
|
data/Rakefile
CHANGED
@@ -2171,6 +2171,7 @@
|
|
2171
2171
|
<fo:inline padding-right="2mm">
|
2172
2172
|
|
2173
2173
|
|
2174
|
+
|
2174
2175
|
<xsl:variable name="title-note">
|
2175
2176
|
<xsl:call-template name="getTitle">
|
2176
2177
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -3225,4 +3226,35 @@
|
|
3225
3226
|
</xsl:if>
|
3226
3227
|
</xsl:template><xsl:template name="getDocumentId">
|
3227
3228
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
3229
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
3230
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
3231
|
+
<xsl:variable name="XSLNS">
|
3232
|
+
|
3233
|
+
|
3234
|
+
|
3235
|
+
|
3236
|
+
|
3237
|
+
|
3238
|
+
|
3239
|
+
|
3240
|
+
|
3241
|
+
<xsl:value-of select="document('')//*/namespace::csd"/>
|
3242
|
+
|
3243
|
+
|
3244
|
+
|
3245
|
+
|
3246
|
+
</xsl:variable>
|
3247
|
+
<xsl:if test="$documentNS != $XSLNS">
|
3248
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
3249
|
+
</xsl:if>
|
3250
|
+
</xsl:template><xsl:template name="getLanguage">
|
3251
|
+
<xsl:param name="lang"/>
|
3252
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
3253
|
+
<xsl:choose>
|
3254
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
3255
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
3256
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
3257
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
3258
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
3259
|
+
</xsl:choose>
|
3228
3260
|
</xsl:template></xsl:stylesheet>
|
data/lib/metanorma/cc/version.rb
CHANGED
data/metanorma-cc.gemspec
CHANGED
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency "isodoc", "~> 1.1.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "byebug", "~> 9.1"
|
35
|
+
spec.add_development_dependency "sassc", "2.4.0"
|
35
36
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
37
|
spec.add_development_dependency "guard", "~> 2.14"
|
37
38
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-cc
|
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: metanorma-standoc
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '9.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sassc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.4.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.4.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: equivalent-xml
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|