metanorma-csa 1.5.1 → 1.5.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/csa/csa.standard.xsl +32 -0
- data/lib/isodoc/csa/html/htmlstyle.scss +0 -1
- data/lib/isodoc/csa/html/wordstyle.scss +0 -1
- data/lib/metanorma/csa/version.rb +1 -1
- data/metanorma-csa.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: fa91c7163ef9be8be7e6b54f09646f317c411b85c2e14b7a2e14c25bbb0abc24
|
4
|
+
data.tar.gz: fe2d261b2105752f2acd4b5f0ef85b6b8120a110f9795ba10ba4b49f3f791d74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faef521ddb8297018d36d7b7305b50ea829e02af39886eaee8eed758833bfcdd3a201f55b46897a98d4371a01b5b9d67f3e7d693abfda3f3fdbf5f10f118dbab
|
7
|
+
data.tar.gz: f7952af6729290612fc4962c49bce0cc1dc5b4af550d637de30c98609753275e479798b407046dd67ee2e1d918b7603741c290688b5fd0c21b10818e3847051c
|
data/Rakefile
CHANGED
@@ -3659,6 +3659,7 @@ JP5/AQYA3Lt5kGz07MoAAAAASUVORK5CYII=
|
|
3659
3659
|
<fo:inline padding-right="2mm">
|
3660
3660
|
|
3661
3661
|
|
3662
|
+
|
3662
3663
|
<xsl:variable name="title-note">
|
3663
3664
|
<xsl:call-template name="getTitle">
|
3664
3665
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -4690,4 +4691,35 @@ JP5/AQYA3Lt5kGz07MoAAAAASUVORK5CYII=
|
|
4690
4691
|
</xsl:if>
|
4691
4692
|
</xsl:template><xsl:template name="getDocumentId">
|
4692
4693
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
4694
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
4695
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
4696
|
+
<xsl:variable name="XSLNS">
|
4697
|
+
|
4698
|
+
|
4699
|
+
|
4700
|
+
|
4701
|
+
|
4702
|
+
|
4703
|
+
|
4704
|
+
|
4705
|
+
<xsl:value-of select="document('')//*/namespace::csa"/>
|
4706
|
+
|
4707
|
+
|
4708
|
+
|
4709
|
+
|
4710
|
+
|
4711
|
+
</xsl:variable>
|
4712
|
+
<xsl:if test="$documentNS != $XSLNS">
|
4713
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
4714
|
+
</xsl:if>
|
4715
|
+
</xsl:template><xsl:template name="getLanguage">
|
4716
|
+
<xsl:param name="lang"/>
|
4717
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
4718
|
+
<xsl:choose>
|
4719
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
4720
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
4721
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
4722
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
4723
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
4724
|
+
</xsl:choose>
|
4693
4725
|
</xsl:template></xsl:stylesheet>
|
data/metanorma-csa.gemspec
CHANGED
@@ -40,6 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_dependency "isodoc", "~> 1.1.0"
|
41
41
|
|
42
42
|
spec.add_development_dependency "byebug", "~> 9.1"
|
43
|
+
spec.add_development_dependency "sassc", "2.4.0"
|
43
44
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
44
45
|
spec.add_development_dependency "guard", "~> 2.14"
|
45
46
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.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
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '9.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sassc
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.4.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.4.0
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: equivalent-xml
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|