metanorma-ribose 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ribose/isodoc.rng +12 -1
- data/lib/isodoc/ribose/ribose.standard.xsl +25 -9
- data/lib/metanorma/ribose/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: e14900c0c35f275f27141edb40d206f712011f59cd70594fa10581b41476a34a
|
|
4
|
+
data.tar.gz: d7515001fa48bfab517c89180b53a5ee3495fb07746fdb9ed3f30b8b4a20eabd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e47b2ffe0e41caf3678f5ac613c47bfc3364c99f0dd210d8a438a3393cf87a792026c02464cf1638cf569709fb0aa66261153444d39ec2c30ca15f01fd46299b
|
|
7
|
+
data.tar.gz: 8c8ad48b490c279dc94777e3b197a182e5cff626779dd40aa7377ba3406d5037879a76c42744a11d32a16d2a64270e3b93714e936f7e3033d6730c5e85760615
|
|
@@ -2063,7 +2063,12 @@
|
|
|
2063
2063
|
<define name="verbaldefinition">
|
|
2064
2064
|
<element name="verbaldefinition">
|
|
2065
2065
|
<oneOrMore>
|
|
2066
|
-
<
|
|
2066
|
+
<choice>
|
|
2067
|
+
<ref name="paragraph"/>
|
|
2068
|
+
<ref name="dl"/>
|
|
2069
|
+
<ref name="ol"/>
|
|
2070
|
+
<ref name="ul"/>
|
|
2071
|
+
</choice>
|
|
2067
2072
|
</oneOrMore>
|
|
2068
2073
|
<zeroOrMore>
|
|
2069
2074
|
<ref name="termsource"/>
|
|
@@ -2163,6 +2168,12 @@
|
|
|
2163
2168
|
<value>modified</value>
|
|
2164
2169
|
</choice>
|
|
2165
2170
|
</attribute>
|
|
2171
|
+
<attribute name="type">
|
|
2172
|
+
<choice>
|
|
2173
|
+
<value>authoritative</value>
|
|
2174
|
+
<value>lineage</value>
|
|
2175
|
+
</choice>
|
|
2176
|
+
</attribute>
|
|
2166
2177
|
<ref name="origin"/>
|
|
2167
2178
|
<optional>
|
|
2168
2179
|
<ref name="modification"/>
|
|
@@ -1100,7 +1100,7 @@
|
|
|
1100
1100
|
<xsl:if test="preceding-sibling::*[1][self::rsd:name]">
|
|
1101
1101
|
<xsl:attribute name="space-before">11mm</xsl:attribute>
|
|
1102
1102
|
<fo:inline padding-right="1mm">
|
|
1103
|
-
<xsl:apply-templates select="ancestor::rsd:term/rsd:name" mode="presentation"/>
|
|
1103
|
+
<xsl:apply-templates select="ancestor::rsd:term[1]/rsd:name" mode="presentation"/>
|
|
1104
1104
|
</fo:inline>
|
|
1105
1105
|
</xsl:if>
|
|
1106
1106
|
|
|
@@ -3538,6 +3538,7 @@
|
|
|
3538
3538
|
<fo:table-cell>
|
|
3539
3539
|
|
|
3540
3540
|
<fo:block margin-top="6pt">
|
|
3541
|
+
<xsl:copy-of select="@id"/>
|
|
3541
3542
|
|
|
3542
3543
|
|
|
3543
3544
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
|
@@ -4400,14 +4401,18 @@
|
|
|
4400
4401
|
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
|
|
4401
4402
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
|
4402
4403
|
</xsl:template><xsl:template match="*[local-name() = 'terms']">
|
|
4404
|
+
<!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
|
|
4403
4405
|
<fo:block id="{@id}">
|
|
4404
4406
|
<xsl:apply-templates/>
|
|
4405
4407
|
</fo:block>
|
|
4406
4408
|
</xsl:template><xsl:template match="*[local-name() = 'term']">
|
|
4409
|
+
<!-- <xsl:message>'term' <xsl:number/> processing, name=<xsl:value-of select="iso:name"/>, preferred=<xsl:value-of select="iso:preferred"/>...</xsl:message> -->
|
|
4407
4410
|
<fo:block id="{@id}" xsl:use-attribute-sets="term-style">
|
|
4408
4411
|
|
|
4409
4412
|
|
|
4410
|
-
|
|
4413
|
+
<xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">
|
|
4414
|
+
|
|
4415
|
+
</xsl:if>
|
|
4411
4416
|
<xsl:apply-templates/>
|
|
4412
4417
|
</fo:block>
|
|
4413
4418
|
</xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']" mode="presentation">
|
|
@@ -5409,7 +5414,8 @@
|
|
|
5409
5414
|
</fo:block>
|
|
5410
5415
|
</fo:table-cell>
|
|
5411
5416
|
</xsl:template><xsl:template match="*[local-name() = 'p'][@class='RecommendationTitle' or @class = 'RecommendationTestTitle']" priority="2">
|
|
5412
|
-
<fo:block font-size="11pt"
|
|
5417
|
+
<fo:block font-size="11pt">
|
|
5418
|
+
|
|
5413
5419
|
<xsl:apply-templates/>
|
|
5414
5420
|
</fo:block>
|
|
5415
5421
|
</xsl:template><xsl:template match="*[local-name() = 'p2'][ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']]">
|
|
@@ -5535,11 +5541,13 @@
|
|
|
5535
5541
|
<!-- <xsl:apply-templates /> -->
|
|
5536
5542
|
<xsl:copy-of select="$termsource_text"/>
|
|
5537
5543
|
</xsl:when>
|
|
5538
|
-
<xsl:otherwise>
|
|
5544
|
+
<xsl:otherwise>
|
|
5545
|
+
|
|
5539
5546
|
|
|
5540
5547
|
<!-- <xsl:apply-templates /> -->
|
|
5541
5548
|
<xsl:copy-of select="$termsource_text"/>
|
|
5542
5549
|
|
|
5550
|
+
|
|
5543
5551
|
</xsl:otherwise>
|
|
5544
5552
|
</xsl:choose>
|
|
5545
5553
|
</fo:block>
|
|
@@ -5622,12 +5630,20 @@
|
|
|
5622
5630
|
</xsl:template><xsl:template match="*[local-name() = 'author']">
|
|
5623
5631
|
<xsl:text>— </xsl:text>
|
|
5624
5632
|
<xsl:apply-templates/>
|
|
5625
|
-
</xsl:template><xsl:
|
|
5633
|
+
</xsl:template><xsl:variable name="bibitem_hidden_">
|
|
5634
|
+
<xsl:for-each select="//*[local-name() = 'bibitem'][@hidden='true']">
|
|
5635
|
+
<xsl:copy-of select="."/>
|
|
5636
|
+
</xsl:for-each>
|
|
5637
|
+
<xsl:for-each select="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem']">
|
|
5638
|
+
<xsl:copy-of select="."/>
|
|
5639
|
+
</xsl:for-each>
|
|
5640
|
+
</xsl:variable><xsl:variable name="bibitem_hidden" select="xalan:nodeset($bibitem_hidden_)"/><xsl:template match="*[local-name() = 'eref']">
|
|
5626
5641
|
|
|
5627
5642
|
<xsl:variable name="bibitemid">
|
|
5628
5643
|
<xsl:choose>
|
|
5629
|
-
<xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"
|
|
5630
|
-
<xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"
|
|
5644
|
+
<!-- <xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"></xsl:when>
|
|
5645
|
+
<xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"></xsl:when> -->
|
|
5646
|
+
<xsl:when test="$bibitem_hidden/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"/>
|
|
5631
5647
|
<xsl:otherwise><xsl:value-of select="@bibitemid"/></xsl:otherwise>
|
|
5632
5648
|
</xsl:choose>
|
|
5633
5649
|
</xsl:variable>
|
|
@@ -5711,10 +5727,10 @@
|
|
|
5711
5727
|
</xsl:choose>
|
|
5712
5728
|
</xsl:variable>
|
|
5713
5729
|
|
|
5714
|
-
<xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
|
|
5730
|
+
<!-- <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/> -->
|
|
5715
5731
|
|
|
5716
5732
|
<xsl:choose>
|
|
5717
|
-
<xsl:when test="$
|
|
5733
|
+
<xsl:when test="$lang = 'zh'">
|
|
5718
5734
|
<fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
|
|
5719
5735
|
</xsl:when>
|
|
5720
5736
|
<xsl:when test="../../@inline-header = 'true'">
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-ribose
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.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: 2021-
|
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-generic
|