metanorma-itu 1.1.1 → 1.1.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/itu/html/_coverpage.scss +2 -0
- data/lib/isodoc/itu/html/itu.scss +0 -1
- data/lib/isodoc/itu/html/wordstyle.scss +0 -1
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +32 -0
- data/lib/isodoc/itu/itu.recommendation.xsl +32 -0
- data/lib/isodoc/itu/itu.resolution.xsl +32 -0
- data/lib/metanorma/itu/version.rb +1 -1
- data/metanorma-itu.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: 7c860fb375c12e21bf639732bb67da38c2939cbec214bbba162f4d773d7d530f
|
4
|
+
data.tar.gz: 56b4e3f438505bde466d3fd5a4f80e9f041128ddedce299a29904c0adf2209b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d25adca47938c84b4bebea5e090648d0d337529b6266e858c09353337a1079aad4092f4fc95039cb1fd81b60a23c84063b34288561360beeb49bafacf919f472
|
7
|
+
data.tar.gz: b884cce668cc56da6dd132074686fabc166ea20ffb2dd0694594bf0e9014842e443d22084a6f2cfd4f45d1cd11e55d96fcbe4f571924558afde3e5ec9259645c
|
data/Rakefile
CHANGED
@@ -3259,6 +3259,7 @@
|
|
3259
3259
|
<fo:inline padding-right="2mm">
|
3260
3260
|
|
3261
3261
|
|
3262
|
+
|
3262
3263
|
<xsl:variable name="title-note">
|
3263
3264
|
<xsl:call-template name="getTitle">
|
3264
3265
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -4355,4 +4356,35 @@
|
|
4355
4356
|
</xsl:if>
|
4356
4357
|
</xsl:template><xsl:template name="getDocumentId">
|
4357
4358
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
4359
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
4360
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
4361
|
+
<xsl:variable name="XSLNS">
|
4362
|
+
|
4363
|
+
|
4364
|
+
|
4365
|
+
<xsl:value-of select="document('')//*/namespace::itu"/>
|
4366
|
+
|
4367
|
+
|
4368
|
+
|
4369
|
+
|
4370
|
+
|
4371
|
+
|
4372
|
+
|
4373
|
+
|
4374
|
+
|
4375
|
+
|
4376
|
+
</xsl:variable>
|
4377
|
+
<xsl:if test="$documentNS != $XSLNS">
|
4378
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
4379
|
+
</xsl:if>
|
4380
|
+
</xsl:template><xsl:template name="getLanguage">
|
4381
|
+
<xsl:param name="lang"/>
|
4382
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
4383
|
+
<xsl:choose>
|
4384
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
4385
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
4386
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
4387
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
4388
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
4389
|
+
</xsl:choose>
|
4358
4390
|
</xsl:template></xsl:stylesheet>
|
@@ -3259,6 +3259,7 @@
|
|
3259
3259
|
<fo:inline padding-right="2mm">
|
3260
3260
|
|
3261
3261
|
|
3262
|
+
|
3262
3263
|
<xsl:variable name="title-note">
|
3263
3264
|
<xsl:call-template name="getTitle">
|
3264
3265
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -4355,4 +4356,35 @@
|
|
4355
4356
|
</xsl:if>
|
4356
4357
|
</xsl:template><xsl:template name="getDocumentId">
|
4357
4358
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
4359
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
4360
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
4361
|
+
<xsl:variable name="XSLNS">
|
4362
|
+
|
4363
|
+
|
4364
|
+
|
4365
|
+
<xsl:value-of select="document('')//*/namespace::itu"/>
|
4366
|
+
|
4367
|
+
|
4368
|
+
|
4369
|
+
|
4370
|
+
|
4371
|
+
|
4372
|
+
|
4373
|
+
|
4374
|
+
|
4375
|
+
|
4376
|
+
</xsl:variable>
|
4377
|
+
<xsl:if test="$documentNS != $XSLNS">
|
4378
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
4379
|
+
</xsl:if>
|
4380
|
+
</xsl:template><xsl:template name="getLanguage">
|
4381
|
+
<xsl:param name="lang"/>
|
4382
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
4383
|
+
<xsl:choose>
|
4384
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
4385
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
4386
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
4387
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
4388
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
4389
|
+
</xsl:choose>
|
4358
4390
|
</xsl:template></xsl:stylesheet>
|
@@ -3259,6 +3259,7 @@
|
|
3259
3259
|
<fo:inline padding-right="2mm">
|
3260
3260
|
|
3261
3261
|
|
3262
|
+
|
3262
3263
|
<xsl:variable name="title-note">
|
3263
3264
|
<xsl:call-template name="getTitle">
|
3264
3265
|
<xsl:with-param name="name" select="'title-note'"/>
|
@@ -4355,4 +4356,35 @@
|
|
4355
4356
|
</xsl:if>
|
4356
4357
|
</xsl:template><xsl:template name="getDocumentId">
|
4357
4358
|
<xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
|
4359
|
+
</xsl:template><xsl:template name="namespaceCheck">
|
4360
|
+
<xsl:variable name="documentNS" select="namespace-uri(/*)"/>
|
4361
|
+
<xsl:variable name="XSLNS">
|
4362
|
+
|
4363
|
+
|
4364
|
+
|
4365
|
+
<xsl:value-of select="document('')//*/namespace::itu"/>
|
4366
|
+
|
4367
|
+
|
4368
|
+
|
4369
|
+
|
4370
|
+
|
4371
|
+
|
4372
|
+
|
4373
|
+
|
4374
|
+
|
4375
|
+
|
4376
|
+
</xsl:variable>
|
4377
|
+
<xsl:if test="$documentNS != $XSLNS">
|
4378
|
+
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
4379
|
+
</xsl:if>
|
4380
|
+
</xsl:template><xsl:template name="getLanguage">
|
4381
|
+
<xsl:param name="lang"/>
|
4382
|
+
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
4383
|
+
<xsl:choose>
|
4384
|
+
<xsl:when test="$language = 'en'">English</xsl:when>
|
4385
|
+
<xsl:when test="$language = 'fr'">French</xsl:when>
|
4386
|
+
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
4387
|
+
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
4388
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
4389
|
+
</xsl:choose>
|
4358
4390
|
</xsl:template></xsl:stylesheet>
|
data/metanorma-itu.gemspec
CHANGED
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency "isodoc", "~> 1.1.0"
|
31
31
|
|
32
32
|
spec.add_development_dependency "byebug", "~> 9.1"
|
33
|
+
spec.add_development_dependency "sassc", "2.4.0"
|
33
34
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
34
35
|
spec.add_development_dependency "guard", "~> 2.14"
|
35
36
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.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
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '9.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sassc
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.4.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.4.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: equivalent-xml
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|