metanorma-ribose 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8abab18fdcf1c67e0ef4a8fbb3a070c7f2ec6d1f966df067114f0cd2d247c67
4
- data.tar.gz: 23772d4304458ac1aa2337630dc38ef6750dae613ccd6da2116dae917e68ebcb
3
+ metadata.gz: 1c2ad2590582e7d8e8d4b33f31f27d5f1adc47574fb533beb394f7fd7d17ff24
4
+ data.tar.gz: f3279e051a80d99034662f62460b685a5669dffc84ed96985588ab4cd84c11c3
5
5
  SHA512:
6
- metadata.gz: 2b1948424517d0d984f272351c865e9290ea59560618715727d0ca5469a7dcfd3f44a2dd26265e89a2220c2f1e46f30902b931c2d754000841c08ee84815937f
7
- data.tar.gz: 2c42ae49443af52421e2ee308d9ddd09f5915aeb2ae19ae16a50c993a1607fd8834cbae30e4eef5d3a56dcc228ad424b0d0a02e09bdd0001e583a2a848903a1f
6
+ metadata.gz: 1a5407f7c123ecbfe9a9df7edb17b21c5a7793da74e369dfb39f4da905dcd4a4f66a626aaa78503ee3c6065206ca795078ad78714fbe2607fed31946f7934cf6
7
+ data.tar.gz: eebcade5918f640a514220b61df9ff0c755fa9a748dc14b11bfc93dbb9c80a2f59675224271cf6fe8ac075ae552724f2da4890c28177f5797ae85056ad846dd8
@@ -1548,7 +1548,10 @@
1548
1548
 
1549
1549
  </xsl:attribute-set><xsl:attribute-set name="requirement-style">
1550
1550
 
1551
+
1551
1552
  </xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
1553
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
1554
+
1552
1555
 
1553
1556
  </xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
1554
1557
 
@@ -1648,6 +1651,7 @@
1648
1651
 
1649
1652
 
1650
1653
 
1654
+
1651
1655
 
1652
1656
 
1653
1657
  <xsl:attribute name="font-weight">bold</xsl:attribute>
@@ -2015,7 +2019,8 @@
2015
2019
 
2016
2020
 
2017
2021
 
2018
-
2022
+
2023
+
2019
2024
 
2020
2025
 
2021
2026
 
@@ -2031,6 +2036,7 @@
2031
2036
  </xsl:attribute-set><xsl:attribute-set name="termnote-style">
2032
2037
 
2033
2038
 
2039
+
2034
2040
 
2035
2041
 
2036
2042
 
@@ -2524,7 +2530,10 @@
2524
2530
 
2525
2531
 
2526
2532
 
2527
-
2533
+ <!-- <xsl:if test="$namespace = 'ieee'">
2534
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
2535
+ <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
2536
+ </xsl:if> -->
2528
2537
 
2529
2538
 
2530
2539
 
@@ -3714,80 +3723,88 @@
3714
3723
  </xsl:choose>
3715
3724
  </xsl:variable>
3716
3725
 
3717
- <fo:table keep-with-previous="always">
3718
- <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3719
- <xsl:variable name="name" select="local-name()"/>
3726
+
3727
+ <xsl:variable name="tableWithNotesAndFootnotes">
3728
+
3729
+ <fo:table keep-with-previous="always">
3730
+ <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3731
+ <xsl:variable name="name" select="local-name()"/>
3732
+ <xsl:choose>
3733
+ <xsl:when test="$name = 'border-top'">
3734
+ <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3735
+ </xsl:when>
3736
+ <xsl:when test="$name = 'border'">
3737
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3738
+ <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3739
+ </xsl:when>
3740
+ <xsl:otherwise>
3741
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3742
+ </xsl:otherwise>
3743
+ </xsl:choose>
3744
+ </xsl:for-each>
3745
+
3746
+
3747
+
3720
3748
  <xsl:choose>
3721
- <xsl:when test="$name = 'border-top'">
3722
- <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3723
- </xsl:when>
3724
- <xsl:when test="$name = 'border'">
3725
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3726
- <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3749
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3750
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3751
+ <fo:table-column column-width="{@width}"/>
3752
+ </xsl:for-each>
3727
3753
  </xsl:when>
3728
3754
  <xsl:otherwise>
3729
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3755
+ <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3756
+ <xsl:call-template name="insertTableColumnWidth">
3757
+ <xsl:with-param name="colwidths" select="$colwidths"/>
3758
+ </xsl:call-template>
3730
3759
  </xsl:otherwise>
3731
3760
  </xsl:choose>
3732
- </xsl:for-each>
3733
-
3734
-
3735
-
3736
- <xsl:choose>
3737
- <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3738
- <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3739
- <fo:table-column column-width="{@width}"/>
3740
- </xsl:for-each>
3741
- </xsl:when>
3742
- <xsl:otherwise>
3743
- <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3744
- <xsl:call-template name="insertTableColumnWidth">
3745
- <xsl:with-param name="colwidths" select="$colwidths"/>
3746
- </xsl:call-template>
3747
- </xsl:otherwise>
3748
- </xsl:choose>
3749
-
3750
- <fo:table-body>
3751
- <fo:table-row>
3752
- <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3753
-
3754
-
3761
+
3762
+ <fo:table-body>
3763
+ <fo:table-row>
3764
+ <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3765
+
3766
+
3755
3767
 
3756
-
3757
-
3758
- <!-- fn will be processed inside 'note' processing -->
3759
-
3760
-
3761
-
3762
-
3763
-
3764
-
3765
- <!-- for BSI (not PAS) display Notes before footnotes -->
3766
-
3767
-
3768
- <!-- except gb and bsi -->
3769
-
3770
- <xsl:apply-templates select="../*[local-name()='note']"/>
3771
3768
 
3772
-
3773
-
3774
- <!-- horizontal row separator -->
3775
-
3776
-
3777
- <!-- fn processing -->
3778
-
3779
- <xsl:call-template name="table_fn_display"/>
3780
3769
 
3781
-
3782
-
3783
- <!-- for PAS display Notes after footnotes -->
3784
-
3785
-
3786
- </fo:table-cell>
3787
- </fo:table-row>
3788
- </fo:table-body>
3789
-
3790
- </fo:table>
3770
+ <!-- fn will be processed inside 'note' processing -->
3771
+
3772
+
3773
+
3774
+
3775
+
3776
+
3777
+ <!-- for BSI (not PAS) display Notes before footnotes -->
3778
+
3779
+
3780
+ <!-- except gb and bsi -->
3781
+
3782
+ <xsl:apply-templates select="../*[local-name()='note']"/>
3783
+
3784
+
3785
+
3786
+ <!-- horizontal row separator -->
3787
+
3788
+
3789
+ <!-- fn processing -->
3790
+
3791
+ <xsl:call-template name="table_fn_display"/>
3792
+
3793
+
3794
+
3795
+ <!-- for PAS display Notes after footnotes -->
3796
+
3797
+
3798
+ </fo:table-cell>
3799
+ </fo:table-row>
3800
+ </fo:table-body>
3801
+
3802
+ </fo:table>
3803
+ </xsl:variable>
3804
+
3805
+ <xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
3806
+ <xsl:copy-of select="$tableWithNotesAndFootnotes"/>
3807
+ </xsl:if>
3791
3808
 
3792
3809
 
3793
3810
 
@@ -4086,6 +4103,7 @@
4086
4103
  <xsl:variable name="footnote_inline">
4087
4104
  <fo:inline xsl:use-attribute-sets="fn-num-style">
4088
4105
 
4106
+
4089
4107
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
4090
4108
  <xsl:value-of select="$current_fn_number_text"/>
4091
4109
  </fo:basic-link>
@@ -4107,8 +4125,12 @@
4107
4125
  <fo:block xsl:use-attribute-sets="fn-body-style">
4108
4126
 
4109
4127
 
4128
+
4110
4129
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
4111
4130
 
4131
+
4132
+
4133
+
4112
4134
  <xsl:value-of select="$current_fn_number_text"/>
4113
4135
  </fo:inline>
4114
4136
  <xsl:apply-templates/>
@@ -5804,6 +5826,8 @@
5804
5826
 
5805
5827
 
5806
5828
 
5829
+
5830
+
5807
5831
  <xsl:if test="ancestor::*[local-name() = 'bibitem']">
5808
5832
  <xsl:attribute name="color">black</xsl:attribute>
5809
5833
  <xsl:attribute name="text-decoration">none</xsl:attribute>
@@ -6024,6 +6048,7 @@
6024
6048
 
6025
6049
 
6026
6050
 
6051
+
6027
6052
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
6028
6053
  <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
6029
6054
  <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
@@ -6045,6 +6070,7 @@
6045
6070
  </xsl:when>
6046
6071
  <xsl:otherwise>
6047
6072
 
6073
+
6048
6074
  <xsl:text>:</xsl:text>
6049
6075
 
6050
6076
 
@@ -6064,6 +6090,7 @@
6064
6090
  </xsl:when>
6065
6091
  <xsl:otherwise>
6066
6092
 
6093
+
6067
6094
  <xsl:text>:</xsl:text>
6068
6095
 
6069
6096
 
@@ -6842,6 +6869,9 @@
6842
6869
  <fo:block xsl:use-attribute-sets="figure-name-style">
6843
6870
 
6844
6871
 
6872
+
6873
+
6874
+
6845
6875
  <xsl:apply-templates/>
6846
6876
  </fo:block>
6847
6877
  </xsl:if>
@@ -6902,7 +6932,7 @@
6902
6932
  <xsl:apply-templates/>
6903
6933
  </xsl:otherwise>
6904
6934
  </xsl:choose>
6905
- </xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'xref']" mode="contents">
6935
+ </xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'xref'] | *[local-name() = 'eref']" mode="contents">
6906
6936
  <xsl:value-of select="."/>
6907
6937
  </xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
6908
6938
  <xsl:text> </xsl:text>
@@ -6980,6 +7010,9 @@
6980
7010
  <!-- 9 -->
6981
7011
 
6982
7012
 
7013
+ <!-- <xsl:if test="$namespace = 'ieee'">
7014
+ <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7015
+ </xsl:if> -->
6983
7016
 
6984
7017
 
6985
7018
 
@@ -7440,10 +7473,14 @@
7440
7473
  </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
7441
7474
  <xsl:variable name="element">inline
7442
7475
 
7476
+
7443
7477
  </xsl:variable>
7444
7478
  <xsl:choose>
7445
7479
  <xsl:when test="contains($element, 'block')">
7446
7480
  <fo:block xsl:use-attribute-sets="example-p-style">
7481
+
7482
+
7483
+
7447
7484
  <xsl:apply-templates/>
7448
7485
  </fo:block>
7449
7486
  </xsl:when>
@@ -7561,6 +7598,7 @@
7561
7598
  </xsl:if>
7562
7599
  <fo:block xsl:use-attribute-sets="example-p-style">
7563
7600
 
7601
+
7564
7602
  <xsl:apply-templates/>
7565
7603
  </fo:block>
7566
7604
  </fo:block-container>
@@ -7717,6 +7755,8 @@
7717
7755
 
7718
7756
 
7719
7757
 
7758
+
7759
+
7720
7760
  <fo:basic-link fox:alt-text="{@citeas}">
7721
7761
  <xsl:if test="normalize-space(@citeas) = ''">
7722
7762
  <xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
@@ -8130,6 +8170,8 @@
8130
8170
 
8131
8171
 
8132
8172
 
8173
+
8174
+
8133
8175
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
8134
8176
  <xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
8135
8177
  <xsl:call-template name="append_add-style"/>
@@ -8387,7 +8429,7 @@
8387
8429
  </fo:block>
8388
8430
 
8389
8431
 
8390
- </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
8432
+ </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
8391
8433
 
8392
8434
 
8393
8435
  <fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
@@ -8420,6 +8462,7 @@
8420
8462
  </fo:list-item-body>
8421
8463
  </fo:list-item>
8422
8464
  </fo:list-block>
8465
+ <!-- rsd -->
8423
8466
 
8424
8467
 
8425
8468
  </xsl:template><xsl:template name="processBibitem">
@@ -9161,7 +9204,7 @@
9161
9204
  <dc:description>
9162
9205
  <xsl:variable name="abstract">
9163
9206
 
9164
- <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
9207
+ <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
9165
9208
 
9166
9209
  </xsl:variable>
9167
9210
  <xsl:value-of select="normalize-space($abstract)"/>
@@ -69,6 +69,17 @@
69
69
  </zeroOrMore>
70
70
  </element>
71
71
  </define>
72
+ <define name="AdmonitionType">
73
+ <choice>
74
+ <value>warning</value>
75
+ <value>note</value>
76
+ <value>tip</value>
77
+ <value>important</value>
78
+ <value>caution</value>
79
+ <value>statement</value>
80
+ <value>editorial</value>
81
+ </choice>
82
+ </define>
72
83
  <define name="index">
73
84
  <element name="index">
74
85
  <optional>
@@ -116,6 +127,11 @@
116
127
  <data type="boolean"/>
117
128
  </attribute>
118
129
  </optional>
130
+ <optional>
131
+ <attribute name="suppress_identifier">
132
+ <data type="boolean"/>
133
+ </attribute>
134
+ </optional>
119
135
  <ref name="BibliographicItem"/>
120
136
  </element>
121
137
  </define>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.1.3".freeze
3
+ VERSION = "2.1.4".freeze
4
4
  end
5
5
  end
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.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic