metanorma-ribose 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ribose/ribose.standard.xsl +44 -6
- 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: 3d825402f962fe09dcaf1ed2da73bea3ee01caa2f54f6d6018a8a803f26570b8
|
4
|
+
data.tar.gz: d2511c4b57dd5b2480cdaede2c2c5230b96800bdda243bace2af5ce5897c3ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3ae9cecaeb3156b425a736a3d42f130530fc92bed574076ec7c249fae2777fc6528a8c4176066b0edc24922de238334db29ceed8b82655cff43f581f9a00465
|
7
|
+
data.tar.gz: 1dba76ff265355a56d478c78e67c13d41f97f7871852cbfe7426f21d8ba64a3db97f2d1d9efe64a5d07fc70dde90fb7c4eb1734748559e4e1015700d8cc1c94a
|
@@ -1753,6 +1753,10 @@
|
|
1753
1753
|
|
1754
1754
|
</xsl:attribute-set>
|
1755
1755
|
|
1756
|
+
<xsl:template name="refine_termexample-style">
|
1757
|
+
|
1758
|
+
</xsl:template>
|
1759
|
+
|
1756
1760
|
<xsl:attribute-set name="example-style">
|
1757
1761
|
|
1758
1762
|
<xsl:attribute name="margin-top">12pt</xsl:attribute>
|
@@ -2928,6 +2932,36 @@
|
|
2928
2932
|
</xsl:for-each>
|
2929
2933
|
</xsl:template>
|
2930
2934
|
|
2935
|
+
<xsl:template name="processMainSectionsDefault_flatxml">
|
2936
|
+
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
|
2937
|
+
<xsl:sort select="@displayorder" data-type="number"/>
|
2938
|
+
<xsl:variable name="flatxml">
|
2939
|
+
<xsl:apply-templates select="." mode="flatxml"/>
|
2940
|
+
</xsl:variable>
|
2941
|
+
<!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
|
2942
|
+
<xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
|
2943
|
+
|
2944
|
+
</xsl:for-each>
|
2945
|
+
|
2946
|
+
<xsl:for-each select="/*/*[local-name()='annex']">
|
2947
|
+
<xsl:sort select="@displayorder" data-type="number"/>
|
2948
|
+
<xsl:variable name="flatxml">
|
2949
|
+
<xsl:apply-templates select="." mode="flatxml"/>
|
2950
|
+
</xsl:variable>
|
2951
|
+
<!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
|
2952
|
+
<xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
|
2953
|
+
</xsl:for-each>
|
2954
|
+
|
2955
|
+
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
|
2956
|
+
<xsl:sort select="@displayorder" data-type="number"/>
|
2957
|
+
<xsl:variable name="flatxml">
|
2958
|
+
<xsl:apply-templates select="." mode="flatxml"/>
|
2959
|
+
</xsl:variable>
|
2960
|
+
<!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
|
2961
|
+
<xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
|
2962
|
+
</xsl:for-each>
|
2963
|
+
</xsl:template>
|
2964
|
+
|
2931
2965
|
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
2932
2966
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
|
2933
2967
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
|
@@ -5009,13 +5043,13 @@
|
|
5009
5043
|
<tr>
|
5010
5044
|
<td>
|
5011
5045
|
<xsl:attribute name="id">
|
5012
|
-
<xsl:value-of select="concat($id,'
|
5046
|
+
<xsl:value-of select="concat($id,'@',$row_number,'_1')"/>
|
5013
5047
|
</xsl:attribute>
|
5014
5048
|
<xsl:apply-templates/>
|
5015
5049
|
</td>
|
5016
5050
|
<td>
|
5017
5051
|
<xsl:attribute name="id">
|
5018
|
-
<xsl:value-of select="concat($id,'
|
5052
|
+
<xsl:value-of select="concat($id,'@',$row_number,'_2')"/>
|
5019
5053
|
</xsl:attribute>
|
5020
5054
|
|
5021
5055
|
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]">
|
@@ -5634,6 +5668,10 @@
|
|
5634
5668
|
<fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
|
5635
5669
|
</xsl:template>
|
5636
5670
|
|
5671
|
+
<xsl:template match="*[local-name() = 'span'][contains(@style, 'text-transform:none')]//text()" priority="5">
|
5672
|
+
<xsl:value-of select="."/>
|
5673
|
+
</xsl:template>
|
5674
|
+
|
5637
5675
|
<!-- ========================= -->
|
5638
5676
|
<!-- END Rich text formatting -->
|
5639
5677
|
<!-- ========================= -->
|
@@ -6264,7 +6302,7 @@
|
|
6264
6302
|
</xsl:choose>
|
6265
6303
|
</xsl:variable>
|
6266
6304
|
<xsl:attribute name="id">
|
6267
|
-
<xsl:value-of select="concat($id,'
|
6305
|
+
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_',$divide)"/>
|
6268
6306
|
</xsl:attribute>
|
6269
6307
|
|
6270
6308
|
<xsl:for-each select="*[local-name() = 'p']">
|
@@ -6272,7 +6310,7 @@
|
|
6272
6310
|
<xsl:copy-of select="@*"/>
|
6273
6311
|
<xsl:variable name="p_num" select="count(preceding-sibling::*[local-name() = 'p']) + 1"/>
|
6274
6312
|
<xsl:attribute name="id">
|
6275
|
-
<xsl:value-of select="concat($id,'
|
6313
|
+
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
|
6276
6314
|
</xsl:attribute>
|
6277
6315
|
|
6278
6316
|
<!-- <xsl:copy-of select="node()" /> -->
|
@@ -6336,7 +6374,7 @@
|
|
6336
6374
|
<xsl:variable name="num" select="count(preceding-sibling::word) + 1"/>
|
6337
6375
|
<xsl:copy>
|
6338
6376
|
<xsl:attribute name="id">
|
6339
|
-
<xsl:value-of select="concat($id,'
|
6377
|
+
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
|
6340
6378
|
</xsl:attribute>
|
6341
6379
|
<xsl:copy-of select="node()"/>
|
6342
6380
|
</xsl:copy>
|
@@ -9145,7 +9183,7 @@
|
|
9145
9183
|
<!-- ====== -->
|
9146
9184
|
<xsl:template match="*[local-name() = 'termexample']">
|
9147
9185
|
<fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
|
9148
|
-
|
9186
|
+
<xsl:call-template name="refine_termexample-style"/>
|
9149
9187
|
<xsl:call-template name="setBlockSpanAll"/>
|
9150
9188
|
|
9151
9189
|
<xsl:apply-templates select="*[local-name()='name']"/>
|
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: 2.4.
|
4
|
+
version: 2.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: 2024-02-
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|