metanorma-ribose 2.2.10 → 2.2.11
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/isodoc/ribose/ribose.standard.xsl +130 -35
- data/lib/metanorma/ribose/boilerplate.adoc +39 -0
- data/lib/metanorma/ribose/version.rb +1 -1
- data/metanorma.yml +1 -0
- metadata +3 -3
- data/lib/metanorma/ribose/boilerplate.xml +0 -47
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de1b7b4d819ecf4191da99de7f00b9dfbfbc73f02c26abbdee4ef9d4274c73d3
|
|
4
|
+
data.tar.gz: 4ba0a78c55a12df977d40e247b6f5c29b20f1edc19882722f3d962802eb9d797
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4646478457e5708c1d83eb408e8ea77d06e1574e47e390df2240c681811afb71e02e5e85cef5f2e3f7b2ba225974184c8e65a9b5b06466c68af110ec9ba777a7
|
|
7
|
+
data.tar.gz: 6bee01be652e3c07a9b43445cc01ced533e6321c5bbb967f02acd79ccad660cc06dd01b8ac6346afe27a65e5656c987b218c5d086a5b30a09a6ff4272e67159a
|
|
@@ -2274,6 +2274,10 @@
|
|
|
2274
2274
|
</xsl:attribute-set> <!-- formula-stem-number-style -->
|
|
2275
2275
|
<!-- End Formula's styles -->
|
|
2276
2276
|
|
|
2277
|
+
<xsl:template name="refine_formula-stem-number-style">
|
|
2278
|
+
|
|
2279
|
+
</xsl:template>
|
|
2280
|
+
|
|
2277
2281
|
<xsl:attribute-set name="image-style">
|
|
2278
2282
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
|
2279
2283
|
|
|
@@ -2794,13 +2798,13 @@
|
|
|
2794
2798
|
|
|
2795
2799
|
<xsl:template name="processPrefaceSectionsDefault_Contents">
|
|
2796
2800
|
<xsl:variable name="nodes_preface_">
|
|
2797
|
-
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
|
|
2801
|
+
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
|
|
2798
2802
|
<node id="{@id}"/>
|
|
2799
2803
|
</xsl:for-each>
|
|
2800
2804
|
</xsl:variable>
|
|
2801
2805
|
<xsl:variable name="nodes_preface" select="xalan:nodeset($nodes_preface_)"/>
|
|
2802
2806
|
|
|
2803
|
-
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
|
|
2807
|
+
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
|
|
2804
2808
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
2805
2809
|
|
|
2806
2810
|
<!-- process Section's title -->
|
|
@@ -2834,12 +2838,12 @@
|
|
|
2834
2838
|
<xsl:apply-templates select="." mode="contents"/>
|
|
2835
2839
|
</xsl:for-each>
|
|
2836
2840
|
|
|
2837
|
-
<xsl:for-each select="/*/*[local-name()='annex']">
|
|
2841
|
+
<!-- <xsl:for-each select="/*/*[local-name()='annex']">
|
|
2838
2842
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
2839
2843
|
<xsl:apply-templates select="." mode="contents"/>
|
|
2840
|
-
</xsl:for-each>
|
|
2844
|
+
</xsl:for-each> -->
|
|
2841
2845
|
|
|
2842
|
-
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) > 0] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) > 0]">
|
|
2846
|
+
<xsl:for-each select="/*/*[local-name()='annex'] | /*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) > 0] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) > 0]">
|
|
2843
2847
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
2844
2848
|
<xsl:apply-templates select="." mode="contents"/>
|
|
2845
2849
|
</xsl:for-each>
|
|
@@ -3297,7 +3301,7 @@
|
|
|
3297
3301
|
<fo:table-row>
|
|
3298
3302
|
<fo:table-cell column-number="2">
|
|
3299
3303
|
<xsl:copy-of select="$table-preamble"/>
|
|
3300
|
-
<fo:block>
|
|
3304
|
+
<fo:block role="SKIP">
|
|
3301
3305
|
<xsl:call-template name="setTrackChangesStyles">
|
|
3302
3306
|
<xsl:with-param name="isAdded" select="$isAdded"/>
|
|
3303
3307
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
|
@@ -3340,7 +3344,7 @@
|
|
|
3340
3344
|
<xsl:param name="continued"/>
|
|
3341
3345
|
<xsl:if test="normalize-space() != ''">
|
|
3342
3346
|
|
|
3343
|
-
<fo:block xsl:use-attribute-sets="table-name-style">
|
|
3347
|
+
<fo:block xsl:use-attribute-sets="table-name-style" role="SKIP">
|
|
3344
3348
|
|
|
3345
3349
|
<xsl:call-template name="refine_table-name-style">
|
|
3346
3350
|
<xsl:with-param name="continued" select="$continued"/>
|
|
@@ -3725,8 +3729,8 @@
|
|
|
3725
3729
|
<xsl:template name="table-header-title">
|
|
3726
3730
|
<xsl:param name="cols-count"/>
|
|
3727
3731
|
<!-- row for title -->
|
|
3728
|
-
<fo:table-row>
|
|
3729
|
-
<fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black">
|
|
3732
|
+
<fo:table-row role="SKIP">
|
|
3733
|
+
<fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black" role="SKIP">
|
|
3730
3734
|
|
|
3731
3735
|
<xsl:call-template name="refine_table-header-title-style"/>
|
|
3732
3736
|
|
|
@@ -3735,7 +3739,7 @@
|
|
|
3735
3739
|
</xsl:apply-templates>
|
|
3736
3740
|
|
|
3737
3741
|
<xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='name'])"> <!-- to prevent empty fo:table-cell in case of missing table's name -->
|
|
3738
|
-
<fo:block/>
|
|
3742
|
+
<fo:block role="SKIP"/>
|
|
3739
3743
|
</xsl:if>
|
|
3740
3744
|
|
|
3741
3745
|
</fo:table-cell>
|
|
@@ -4046,7 +4050,7 @@
|
|
|
4046
4050
|
|
|
4047
4051
|
<xsl:call-template name="refine_table-header-cell-style"/>
|
|
4048
4052
|
|
|
4049
|
-
<fo:block>
|
|
4053
|
+
<fo:block role="SKIP">
|
|
4050
4054
|
<xsl:apply-templates/>
|
|
4051
4055
|
</fo:block>
|
|
4052
4056
|
</fo:table-cell>
|
|
@@ -4099,7 +4103,7 @@
|
|
|
4099
4103
|
<xsl:attribute name="text-align">left</xsl:attribute>
|
|
4100
4104
|
</xsl:if>
|
|
4101
4105
|
|
|
4102
|
-
<fo:block>
|
|
4106
|
+
<fo:block role="SKIP">
|
|
4103
4107
|
|
|
4104
4108
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
|
4105
4109
|
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
|
@@ -4965,7 +4969,7 @@
|
|
|
4965
4969
|
-->
|
|
4966
4970
|
<fo:table-row>
|
|
4967
4971
|
<fo:table-cell number-columns-spanned="2">
|
|
4968
|
-
<fo:block>
|
|
4972
|
+
<fo:block role="SKIP">
|
|
4969
4973
|
<xsl:call-template name="note"/>
|
|
4970
4974
|
</fo:block>
|
|
4971
4975
|
</fo:table-cell>
|
|
@@ -5030,7 +5034,7 @@
|
|
|
5030
5034
|
|
|
5031
5035
|
<xsl:call-template name="refine_dt-cell-style"/>
|
|
5032
5036
|
|
|
5033
|
-
<fo:block xsl:use-attribute-sets="dt-block-style">
|
|
5037
|
+
<fo:block xsl:use-attribute-sets="dt-block-style" role="SKIP">
|
|
5034
5038
|
<xsl:copy-of select="@id"/>
|
|
5035
5039
|
|
|
5036
5040
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
|
@@ -5060,7 +5064,7 @@
|
|
|
5060
5064
|
|
|
5061
5065
|
<xsl:call-template name="refine_dd-cell-style"/>
|
|
5062
5066
|
|
|
5063
|
-
<fo:block>
|
|
5067
|
+
<fo:block role="SKIP">
|
|
5064
5068
|
|
|
5065
5069
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
|
5066
5070
|
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
|
@@ -5202,10 +5206,15 @@
|
|
|
5202
5206
|
<!-- ========================= -->
|
|
5203
5207
|
<xsl:template match="*[local-name()='em']">
|
|
5204
5208
|
<fo:inline font-style="italic">
|
|
5209
|
+
<xsl:call-template name="refine_italic_style"/>
|
|
5205
5210
|
<xsl:apply-templates/>
|
|
5206
5211
|
</fo:inline>
|
|
5207
5212
|
</xsl:template>
|
|
5208
5213
|
|
|
5214
|
+
<xsl:template name="refine_italic_style">
|
|
5215
|
+
|
|
5216
|
+
</xsl:template>
|
|
5217
|
+
|
|
5209
5218
|
<xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
|
|
5210
5219
|
<xsl:param name="split_keep-within-line"/>
|
|
5211
5220
|
<fo:inline font-weight="bold">
|
|
@@ -5438,11 +5447,41 @@
|
|
|
5438
5447
|
|
|
5439
5448
|
<xsl:template match="text()[ancestor::*[local-name()='smallcap']]">
|
|
5440
5449
|
<xsl:variable name="text" select="normalize-space(.)"/>
|
|
5441
|
-
<fo:inline font-size="75%">
|
|
5450
|
+
<fo:inline font-size="75%" role="SKIP">
|
|
5442
5451
|
<xsl:if test="string-length($text) > 0">
|
|
5443
|
-
<xsl:
|
|
5444
|
-
<xsl:
|
|
5445
|
-
|
|
5452
|
+
<xsl:variable name="smallCapsText">
|
|
5453
|
+
<xsl:call-template name="recursiveSmallCaps">
|
|
5454
|
+
<xsl:with-param name="text" select="$text"/>
|
|
5455
|
+
</xsl:call-template>
|
|
5456
|
+
</xsl:variable>
|
|
5457
|
+
<!-- merge neighboring fo:inline -->
|
|
5458
|
+
<xsl:for-each select="xalan:nodeset($smallCapsText)/node()">
|
|
5459
|
+
<xsl:choose>
|
|
5460
|
+
<xsl:when test="self::fo:inline and preceding-sibling::node()[1][self::fo:inline]"><!-- <xsl:copy-of select="."/> --></xsl:when>
|
|
5461
|
+
<xsl:when test="self::fo:inline and @font-size">
|
|
5462
|
+
<xsl:variable name="curr_pos" select="count(preceding-sibling::node()) + 1"/>
|
|
5463
|
+
<!-- <curr_pos><xsl:value-of select="$curr_pos"/></curr_pos> -->
|
|
5464
|
+
<xsl:variable name="next_text_" select="count(following-sibling::node()[not(local-name() = 'inline')][1]/preceding-sibling::node())"/>
|
|
5465
|
+
<xsl:variable name="next_text">
|
|
5466
|
+
<xsl:choose>
|
|
5467
|
+
<xsl:when test="$next_text_ = 0">99999999</xsl:when>
|
|
5468
|
+
<xsl:otherwise><xsl:value-of select="$next_text_ + 1"/></xsl:otherwise>
|
|
5469
|
+
</xsl:choose>
|
|
5470
|
+
</xsl:variable>
|
|
5471
|
+
<!-- <next_text><xsl:value-of select="$next_text"/></next_text> -->
|
|
5472
|
+
<fo:inline>
|
|
5473
|
+
<xsl:copy-of select="@*"/>
|
|
5474
|
+
<xsl:copy-of select="./node()"/>
|
|
5475
|
+
<xsl:for-each select="following-sibling::node()[position() < $next_text - $curr_pos]"> <!-- [self::fo:inline] -->
|
|
5476
|
+
<xsl:copy-of select="./node()"/>
|
|
5477
|
+
</xsl:for-each>
|
|
5478
|
+
</fo:inline>
|
|
5479
|
+
</xsl:when>
|
|
5480
|
+
<xsl:otherwise>
|
|
5481
|
+
<xsl:copy-of select="."/>
|
|
5482
|
+
</xsl:otherwise>
|
|
5483
|
+
</xsl:choose>
|
|
5484
|
+
</xsl:for-each>
|
|
5446
5485
|
</xsl:if>
|
|
5447
5486
|
</fo:inline>
|
|
5448
5487
|
</xsl:template>
|
|
@@ -5454,7 +5493,7 @@
|
|
|
5454
5493
|
<xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
|
|
5455
5494
|
<xsl:choose>
|
|
5456
5495
|
<xsl:when test="$char=$upperCase">
|
|
5457
|
-
<fo:inline font-size="{100 div 0.75}%">
|
|
5496
|
+
<fo:inline font-size="{100 div 0.75}%" role="SKIP">
|
|
5458
5497
|
<xsl:value-of select="$upperCase"/>
|
|
5459
5498
|
</fo:inline>
|
|
5460
5499
|
</xsl:when>
|
|
@@ -5616,6 +5655,10 @@
|
|
|
5616
5655
|
|
|
5617
5656
|
<xsl:when test="not(contains($text, $separator))">
|
|
5618
5657
|
<word>
|
|
5658
|
+
<xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
|
|
5659
|
+
<xsl:text>
|
|
5660
|
+
</xsl:text> <!-- to add distance between dt and dd -->
|
|
5661
|
+
</xsl:if>
|
|
5619
5662
|
<xsl:call-template name="enclose_text_in_tags">
|
|
5620
5663
|
<xsl:with-param name="text" select="normalize-space($text)"/>
|
|
5621
5664
|
<xsl:with-param name="tags" select="$tags"/>
|
|
@@ -5624,6 +5667,10 @@
|
|
|
5624
5667
|
</xsl:when>
|
|
5625
5668
|
<xsl:otherwise>
|
|
5626
5669
|
<word>
|
|
5670
|
+
<xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
|
|
5671
|
+
<xsl:text>
|
|
5672
|
+
</xsl:text> <!-- to add distance between dt and dd -->
|
|
5673
|
+
</xsl:if>
|
|
5627
5674
|
<xsl:call-template name="enclose_text_in_tags">
|
|
5628
5675
|
<xsl:with-param name="text" select="normalize-space(substring-before($text, $separator))"/>
|
|
5629
5676
|
<xsl:with-param name="tags" select="$tags"/>
|
|
@@ -5807,6 +5854,10 @@
|
|
|
5807
5854
|
<xsl:template name="getSimpleTable">
|
|
5808
5855
|
<xsl:param name="id"/>
|
|
5809
5856
|
|
|
5857
|
+
<!-- <test0>
|
|
5858
|
+
<xsl:copy-of select="."/>
|
|
5859
|
+
</test0> -->
|
|
5860
|
+
|
|
5810
5861
|
<xsl:variable name="simple-table">
|
|
5811
5862
|
|
|
5812
5863
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
@@ -6852,7 +6903,7 @@
|
|
|
6852
6903
|
<fo:table-body>
|
|
6853
6904
|
<fo:table-row>
|
|
6854
6905
|
<fo:table-cell display-align="center">
|
|
6855
|
-
<fo:block xsl:use-attribute-sets="formula-stem-block-style">
|
|
6906
|
+
<fo:block xsl:use-attribute-sets="formula-stem-block-style" role="SKIP">
|
|
6856
6907
|
|
|
6857
6908
|
<xsl:call-template name="refine_formula-stem-block-style"/>
|
|
6858
6909
|
|
|
@@ -6860,7 +6911,10 @@
|
|
|
6860
6911
|
</fo:block>
|
|
6861
6912
|
</fo:table-cell>
|
|
6862
6913
|
<fo:table-cell display-align="center">
|
|
6863
|
-
<fo:block xsl:use-attribute-sets="formula-stem-number-style">
|
|
6914
|
+
<fo:block xsl:use-attribute-sets="formula-stem-number-style" role="SKIP">
|
|
6915
|
+
|
|
6916
|
+
<xsl:call-template name="refine_formula-stem-number-style"/>
|
|
6917
|
+
|
|
6864
6918
|
<xsl:apply-templates select="../*[local-name() = 'name']"/>
|
|
6865
6919
|
</fo:block>
|
|
6866
6920
|
</fo:table-cell>
|
|
@@ -8378,7 +8432,7 @@
|
|
|
8378
8432
|
<!-- second td with sourcecode -->
|
|
8379
8433
|
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']/*[local-name()='td'][preceding-sibling::*]" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] -->
|
|
8380
8434
|
<fo:table-cell>
|
|
8381
|
-
<fo:block>
|
|
8435
|
+
<fo:block role="SKIP">
|
|
8382
8436
|
<xsl:apply-templates/>
|
|
8383
8437
|
</fo:block>
|
|
8384
8438
|
</fo:table-cell>
|
|
@@ -8865,7 +8919,7 @@
|
|
|
8865
8919
|
|
|
8866
8920
|
<xsl:call-template name="setTableCellAttributes"/>
|
|
8867
8921
|
|
|
8868
|
-
<fo:block>
|
|
8922
|
+
<fo:block role="SKIP">
|
|
8869
8923
|
<xsl:apply-templates/>
|
|
8870
8924
|
</fo:block>
|
|
8871
8925
|
</fo:table-cell>
|
|
@@ -8887,7 +8941,7 @@
|
|
|
8887
8941
|
|
|
8888
8942
|
<xsl:call-template name="setTableCellAttributes"/>
|
|
8889
8943
|
|
|
8890
|
-
<fo:block>
|
|
8944
|
+
<fo:block role="SKIP">
|
|
8891
8945
|
<xsl:apply-templates/>
|
|
8892
8946
|
</fo:block>
|
|
8893
8947
|
</fo:table-cell>
|
|
@@ -9663,7 +9717,48 @@
|
|
|
9663
9717
|
</xsl:choose>
|
|
9664
9718
|
</xsl:when>
|
|
9665
9719
|
<xsl:when test="local-name(..) = 'ol' and @label"> <!-- for ordered lists 'ol', and if there is @label, for instance label="1.1.2" -->
|
|
9666
|
-
|
|
9720
|
+
|
|
9721
|
+
<xsl:variable name="label">
|
|
9722
|
+
|
|
9723
|
+
<xsl:variable name="type" select="../@type"/>
|
|
9724
|
+
|
|
9725
|
+
<xsl:variable name="style_prefix_">
|
|
9726
|
+
<xsl:if test="$type = 'roman'">
|
|
9727
|
+
<!-- Example: (i) -->
|
|
9728
|
+
</xsl:if>
|
|
9729
|
+
</xsl:variable>
|
|
9730
|
+
<xsl:variable name="style_prefix" select="normalize-space($style_prefix_)"/>
|
|
9731
|
+
|
|
9732
|
+
<xsl:variable name="style_suffix_">
|
|
9733
|
+
<xsl:choose>
|
|
9734
|
+
<xsl:when test="$type = 'arabic'">
|
|
9735
|
+
.
|
|
9736
|
+
</xsl:when>
|
|
9737
|
+
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
|
|
9738
|
+
.
|
|
9739
|
+
</xsl:when>
|
|
9740
|
+
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">
|
|
9741
|
+
.
|
|
9742
|
+
</xsl:when>
|
|
9743
|
+
<xsl:when test="$type = 'roman'">
|
|
9744
|
+
.
|
|
9745
|
+
</xsl:when>
|
|
9746
|
+
<xsl:when test="$type = 'roman_upper'">.</xsl:when> <!-- Example: I. -->
|
|
9747
|
+
</xsl:choose>
|
|
9748
|
+
</xsl:variable>
|
|
9749
|
+
<xsl:variable name="style_suffix" select="normalize-space($style_suffix_)"/>
|
|
9750
|
+
|
|
9751
|
+
<xsl:if test="$style_prefix != '' and not(starts-with(@label, $style_prefix))">
|
|
9752
|
+
<xsl:value-of select="$style_prefix"/>
|
|
9753
|
+
</xsl:if>
|
|
9754
|
+
<xsl:value-of select="@label"/>
|
|
9755
|
+
<xsl:if test="not(java:endsWith(java:java.lang.String.new(@label),$style_suffix))">
|
|
9756
|
+
<xsl:value-of select="$style_suffix"/>
|
|
9757
|
+
</xsl:if>
|
|
9758
|
+
</xsl:variable>
|
|
9759
|
+
|
|
9760
|
+
<xsl:value-of select="normalize-space($label)"/>
|
|
9761
|
+
|
|
9667
9762
|
</xsl:when>
|
|
9668
9763
|
<xsl:otherwise> <!-- for ordered lists 'ol' -->
|
|
9669
9764
|
|
|
@@ -9856,7 +9951,7 @@
|
|
|
9856
9951
|
<xsl:call-template name="refine_list-item-style"/>
|
|
9857
9952
|
|
|
9858
9953
|
<fo:list-item-label end-indent="label-end()">
|
|
9859
|
-
<fo:block xsl:use-attribute-sets="list-item-label-style">
|
|
9954
|
+
<fo:block xsl:use-attribute-sets="list-item-label-style" role="SKIP">
|
|
9860
9955
|
|
|
9861
9956
|
<xsl:call-template name="refine_list-item-label-style"/>
|
|
9862
9957
|
|
|
@@ -9870,7 +9965,7 @@
|
|
|
9870
9965
|
</fo:block>
|
|
9871
9966
|
</fo:list-item-label>
|
|
9872
9967
|
<fo:list-item-body start-indent="body-start()" xsl:use-attribute-sets="list-item-body-style">
|
|
9873
|
-
<fo:block>
|
|
9968
|
+
<fo:block role="SKIP">
|
|
9874
9969
|
|
|
9875
9970
|
<xsl:call-template name="refine_list-item-body-style"/>
|
|
9876
9971
|
|
|
@@ -10149,10 +10244,10 @@
|
|
|
10149
10244
|
<fo:table-body>
|
|
10150
10245
|
<fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">
|
|
10151
10246
|
|
|
10152
|
-
<fo:table-cell border="1pt solid black"><fo:block>Date</fo:block></fo:table-cell>
|
|
10153
|
-
<fo:table-cell border="1pt solid black"><fo:block>Type</fo:block></fo:table-cell>
|
|
10154
|
-
<fo:table-cell border="1pt solid black"><fo:block>Change</fo:block></fo:table-cell>
|
|
10155
|
-
<fo:table-cell border="1pt solid black"><fo:block>Pages</fo:block></fo:table-cell>
|
|
10247
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Date</fo:block></fo:table-cell>
|
|
10248
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Type</fo:block></fo:table-cell>
|
|
10249
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Change</fo:block></fo:table-cell>
|
|
10250
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Pages</fo:block></fo:table-cell>
|
|
10156
10251
|
</fo:table-row>
|
|
10157
10252
|
<xsl:apply-templates/>
|
|
10158
10253
|
</fo:table-body>
|
|
@@ -10167,7 +10262,7 @@
|
|
|
10167
10262
|
|
|
10168
10263
|
<xsl:template match="*[local-name() = 'errata']/*[local-name() = 'row']/*">
|
|
10169
10264
|
<fo:table-cell border="1pt solid black" padding-left="1mm" padding-top="0.5mm">
|
|
10170
|
-
<fo:block><xsl:apply-templates/></fo:block>
|
|
10265
|
+
<fo:block role="SKIP"><xsl:apply-templates/></fo:block>
|
|
10171
10266
|
</fo:table-cell>
|
|
10172
10267
|
</xsl:template>
|
|
10173
10268
|
<!-- ============ -->
|
|
@@ -10466,7 +10561,7 @@
|
|
|
10466
10561
|
<xsl:for-each select="*[local-name() = 'tab']">
|
|
10467
10562
|
<xsl:variable name="current_id" select="generate-id()"/>
|
|
10468
10563
|
<fo:table-cell>
|
|
10469
|
-
<fo:block line-height-shift-adjustment="disregard-shifts">
|
|
10564
|
+
<fo:block line-height-shift-adjustment="disregard-shifts" role="SKIP">
|
|
10470
10565
|
<xsl:call-template name="insert_basic_link">
|
|
10471
10566
|
<xsl:with-param name="element">
|
|
10472
10567
|
<fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
|
|
@@ -10484,7 +10579,7 @@
|
|
|
10484
10579
|
</xsl:for-each>
|
|
10485
10580
|
<!-- last column - for page numbers -->
|
|
10486
10581
|
<fo:table-cell text-align="right" font-size="10pt" font-weight="bold" font-family="Arial">
|
|
10487
|
-
<fo:block>
|
|
10582
|
+
<fo:block role="SKIP">
|
|
10488
10583
|
<xsl:call-template name="insert_basic_link">
|
|
10489
10584
|
<xsl:with-param name="element">
|
|
10490
10585
|
<fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
== copyright-statement
|
|
2
|
+
=== {blank}
|
|
3
|
+
© {{ publisher }} {{ docyear }}
|
|
4
|
+
|
|
5
|
+
{% if unpublished %}
|
|
6
|
+
== license-statement
|
|
7
|
+
=== Warning for Drafts
|
|
8
|
+
|
|
9
|
+
This document is not a Ribose Standard. It is distributed for review and
|
|
10
|
+
comment, and is subject to change without notice and may not be referred to as
|
|
11
|
+
a Standard. Recipients of this draft are invited to submit, with their
|
|
12
|
+
comments, notification of any relevant patent rights of which they are aware
|
|
13
|
+
and to provide supporting documentation.
|
|
14
|
+
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
== legal-statement
|
|
18
|
+
=== {blank}
|
|
19
|
+
All rights reserved. Unless otherwise specified, no part of this
|
|
20
|
+
publication may be reproduced or utilized otherwise in any form or by any
|
|
21
|
+
means, electronic or mechanical, including photocopying, or posting on the
|
|
22
|
+
internet or an intranet, without prior written permission. Permission can
|
|
23
|
+
be requested from the address below.
|
|
24
|
+
|
|
25
|
+
== feedback-statement
|
|
26
|
+
=== {blank}
|
|
27
|
+
[[boilerplate-name]]
|
|
28
|
+
[align="left"]
|
|
29
|
+
{% if publisher %}{{ publisher }}{% else %}Ribose Group Inc.{% endif %}
|
|
30
|
+
|
|
31
|
+
[[boilerplate-address]]
|
|
32
|
+
[align="left"]
|
|
33
|
+
{% if pub_address %}{{ pub_address }}{% else %}Suite 1, 8/F, New Henry House +
|
|
34
|
+
10 Ice House Street +
|
|
35
|
+
Central +
|
|
36
|
+
Hong Kong{% endif %} +
|
|
37
|
+
+
|
|
38
|
+
{% if pub_email %}{{ pub_email }}{% else %}copyright@ribose.com{% endif %} +
|
|
39
|
+
{% if pub_uri %}{{ pub_uri }}{% else %}https://www.ribose.com[www.ribose.com]{% endif %}
|
data/metanorma.yml
CHANGED
|
@@ -15,6 +15,7 @@ html_monospacefont: '"Source Code Pro",monospace'
|
|
|
15
15
|
html_normalfontsize: "15px"
|
|
16
16
|
html_footnotefontsize: "0.9em"
|
|
17
17
|
html_monospacefontsize: "12px"
|
|
18
|
+
boilerplate: lib/metanorma/ribose/boilerplate.adoc
|
|
18
19
|
scripts: lib/isodoc/ribose/html/scripts.html
|
|
19
20
|
scripts_pdf: lib/isodoc/ribose/html/scripts.pdf.html
|
|
20
21
|
standardstylesheet: lib/isodoc/ribose/html/rsd.scss
|
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.2.
|
|
4
|
+
version: 2.2.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-06-
|
|
11
|
+
date: 2023-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-generic
|
|
@@ -212,7 +212,7 @@ files:
|
|
|
212
212
|
- lib/metanorma/ribose/basicdoc.rng
|
|
213
213
|
- lib/metanorma/ribose/biblio-standoc.rng
|
|
214
214
|
- lib/metanorma/ribose/biblio.rng
|
|
215
|
-
- lib/metanorma/ribose/boilerplate.
|
|
215
|
+
- lib/metanorma/ribose/boilerplate.adoc
|
|
216
216
|
- lib/metanorma/ribose/converter.rb
|
|
217
217
|
- lib/metanorma/ribose/isodoc.rng
|
|
218
218
|
- lib/metanorma/ribose/processor.rb
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<boilerplate>
|
|
2
|
-
<copyright-statement>
|
|
3
|
-
<clause>
|
|
4
|
-
<p> © {{ publisher }} {{ docyear }}</p>
|
|
5
|
-
</clause>
|
|
6
|
-
</copyright-statement>
|
|
7
|
-
{% if unpublished %}
|
|
8
|
-
<license-statement>
|
|
9
|
-
<clause>
|
|
10
|
-
<title>Warning for Drafts</title>
|
|
11
|
-
|
|
12
|
-
<p>This document is not a Ribose Standard. It is distributed for review and
|
|
13
|
-
comment, and is subject to change without notice and may not be referred to as
|
|
14
|
-
a Standard. Recipients of this draft are invited to submit, with their
|
|
15
|
-
comments, notification of any relevant patent rights of which they are aware
|
|
16
|
-
and to provide supporting documentation.
|
|
17
|
-
</p>
|
|
18
|
-
</clause>
|
|
19
|
-
</license-statement>
|
|
20
|
-
{% endif %}
|
|
21
|
-
<legal-statement>
|
|
22
|
-
<clause>
|
|
23
|
-
<p>All rights reserved. Unless otherwise specified, no part of this
|
|
24
|
-
publication may be reproduced or utilized otherwise in any form or by any
|
|
25
|
-
means, electronic or mechanical, including photocopying, or posting on the
|
|
26
|
-
internet or an intranet, without prior written permission. Permission can
|
|
27
|
-
be requested from the address below.
|
|
28
|
-
</p>
|
|
29
|
-
</clause>
|
|
30
|
-
</legal-statement>
|
|
31
|
-
<feedback-statement>
|
|
32
|
-
<clause>
|
|
33
|
-
<p align="left" id="boilerplate-name">
|
|
34
|
-
{% if publisher %}{{ publisher }}{% else %}Ribose Group Inc.{% endif %}
|
|
35
|
-
</p>
|
|
36
|
-
<p align="left" id="boilerplate-address">{% if pub_address %}{{ pub_address }}{% else %}Suite 1, 8/F, New Henry House<br/>
|
|
37
|
-
10 Ice House Street<br/>
|
|
38
|
-
Central<br/>
|
|
39
|
-
Hong Kong{% endif %}<br/>
|
|
40
|
-
<br />
|
|
41
|
-
{% if pub_email %}<link target="mailto:{{ pub_email }}">{{ pub_email }}</link>{% else %}<link target="mailto:copyright@ribose.com">copyright@ribose.com</link>{% endif %}<br />
|
|
42
|
-
{% if pub_uri %}<link target="{{ pub_uri }}">{{ pub_uri }}</link>{% else %}<link target="https://www.ribose.com">www.ribose.com</link>{% endif %}
|
|
43
|
-
</p>
|
|
44
|
-
</clause>
|
|
45
|
-
</feedback-statement>
|
|
46
|
-
</boilerplate>
|
|
47
|
-
|