metanorma-cc 2.2.11 → 2.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/cc/cc.standard.xsl +209 -94
- data/lib/isodoc/cc/html/_coverpage.css +7 -3
- data/lib/isodoc/cc/html/htmlstyle.css +17 -9
- data/lib/isodoc/cc/html/htmlstyle.scss +3 -3
- data/lib/isodoc/cc/i18n-en.yaml +1 -1
- data/lib/metanorma/cc/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: be02166f761818223e01176f6722d2104e3c839dbcb40cda104ee117fbf98942
|
4
|
+
data.tar.gz: 60e0f9d9f3330f86a04b11552b817f9c9b457d0dba3cd12cd209ddfae6b10338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 588407c54d6785cdf22f4b824c50d8fbcf0c5ccb1a13144bcce2f8d018dbae191a72868fae8ea4d4c3f41d8945443debfdda92d110a42423ed6b03d95d8e70c5
|
7
|
+
data.tar.gz: 5264ee9f84a1c8cb07d7e1fdc0b28d2e8f3254693017f4cfc6abf75d6a64e92b3d9c3194768367d41b9f5e2b04104b055b1b8ce00988fcfb5a0272e847b722a1
|
@@ -713,21 +713,32 @@
|
|
713
713
|
<xsl:variable name="titles_">
|
714
714
|
|
715
715
|
<!-- These titles of Table of contents renders different than determined in localized-strings -->
|
716
|
-
<title-toc lang="en">
|
717
|
-
|
716
|
+
<!-- <title-toc lang="en">
|
717
|
+
<xsl:if test="$namespace = 'csd' or $namespace = 'ieee' or $namespace = 'iho' or $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'unece-rec'">
|
718
718
|
<xsl:text>Contents</xsl:text>
|
719
|
-
|
720
|
-
|
721
|
-
|
719
|
+
</xsl:if>
|
720
|
+
<xsl:if test="$namespace = 'csa' or $namespace = 'm3d' or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper'">
|
721
|
+
<xsl:text>Table of Contents</xsl:text>
|
722
|
+
</xsl:if>
|
723
|
+
<xsl:if test="$namespace = 'gb'">
|
724
|
+
<xsl:text>Table of contents</xsl:text>
|
725
|
+
</xsl:if>
|
726
|
+
</title-toc> -->
|
727
|
+
<title-toc lang="en">Table of contents</title-toc>
|
728
|
+
<!-- <title-toc lang="fr">
|
722
729
|
<xsl:text>Sommaire</xsl:text>
|
723
|
-
</title-toc>
|
724
|
-
<title-toc lang="zh">
|
725
|
-
|
730
|
+
</title-toc> -->
|
731
|
+
<!-- <title-toc lang="zh">
|
732
|
+
<xsl:choose>
|
733
|
+
<xsl:when test="$namespace = 'gb'">
|
734
|
+
<xsl:text>目次</xsl:text>
|
735
|
+
</xsl:when>
|
736
|
+
<xsl:otherwise>
|
726
737
|
<xsl:text>Contents</xsl:text>
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
<title-
|
738
|
+
</xsl:otherwise>
|
739
|
+
</xsl:choose>
|
740
|
+
</title-toc> -->
|
741
|
+
<title-toc lang="zh">目次</title-toc>
|
731
742
|
|
732
743
|
<title-part lang="en">
|
733
744
|
|
@@ -743,20 +754,6 @@
|
|
743
754
|
<title-subpart lang="en">Sub-part #</title-subpart>
|
744
755
|
<title-subpart lang="fr">Partie de sub #</title-subpart>
|
745
756
|
|
746
|
-
<title-list-tables lang="en">List of Tables</title-list-tables>
|
747
|
-
|
748
|
-
<title-list-figures lang="en">List of Figures</title-list-figures>
|
749
|
-
|
750
|
-
<title-table-figures lang="en">Table of Figures</title-table-figures>
|
751
|
-
|
752
|
-
<title-list-recommendations lang="en">List of Recommendations</title-list-recommendations>
|
753
|
-
|
754
|
-
<title-summary lang="en">Summary</title-summary>
|
755
|
-
|
756
|
-
<title-continued lang="ru">(продолжение)</title-continued>
|
757
|
-
<title-continued lang="en">(continued)</title-continued>
|
758
|
-
<title-continued lang="fr">(continué)</title-continued>
|
759
|
-
|
760
757
|
</xsl:variable>
|
761
758
|
<xsl:variable name="titles" select="xalan:nodeset($titles_)"/>
|
762
759
|
|
@@ -764,8 +761,8 @@
|
|
764
761
|
<xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']"/>
|
765
762
|
<xsl:value-of select="$toc_table_title"/>
|
766
763
|
<xsl:if test="normalize-space($toc_table_title) = ''">
|
767
|
-
<xsl:call-template name="
|
768
|
-
<xsl:with-param name="
|
764
|
+
<xsl:call-template name="getLocalizedString">
|
765
|
+
<xsl:with-param name="key">toc_tables</xsl:with-param>
|
769
766
|
</xsl:call-template>
|
770
767
|
</xsl:if>
|
771
768
|
</xsl:variable>
|
@@ -774,8 +771,8 @@
|
|
774
771
|
<xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']"/>
|
775
772
|
<xsl:value-of select="$toc_figure_title"/>
|
776
773
|
<xsl:if test="normalize-space($toc_figure_title) = ''">
|
777
|
-
<xsl:call-template name="
|
778
|
-
<xsl:with-param name="
|
774
|
+
<xsl:call-template name="getLocalizedString">
|
775
|
+
<xsl:with-param name="key">toc_figures</xsl:with-param>
|
779
776
|
</xsl:call-template>
|
780
777
|
</xsl:if>
|
781
778
|
</xsl:variable>
|
@@ -784,8 +781,8 @@
|
|
784
781
|
<xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='requirement']/*[local-name() = 'title']"/>
|
785
782
|
<xsl:value-of select="$toc_requirement_title"/>
|
786
783
|
<xsl:if test="normalize-space($toc_requirement_title) = ''">
|
787
|
-
<xsl:call-template name="
|
788
|
-
<xsl:with-param name="
|
784
|
+
<xsl:call-template name="getLocalizedString">
|
785
|
+
<xsl:with-param name="key">toc_recommendations</xsl:with-param>
|
789
786
|
</xsl:call-template>
|
790
787
|
</xsl:if>
|
791
788
|
</xsl:variable>
|
@@ -1507,6 +1504,7 @@
|
|
1507
1504
|
</xsl:attribute-set>
|
1508
1505
|
|
1509
1506
|
<xsl:attribute-set name="figure-block-style">
|
1507
|
+
<xsl:attribute name="role">SKIP</xsl:attribute>
|
1510
1508
|
|
1511
1509
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1512
1510
|
|
@@ -1517,6 +1515,7 @@
|
|
1517
1515
|
</xsl:attribute-set>
|
1518
1516
|
|
1519
1517
|
<xsl:attribute-set name="figure-name-style">
|
1518
|
+
<xsl:attribute name="role">Caption</xsl:attribute>
|
1520
1519
|
|
1521
1520
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1522
1521
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
@@ -1564,6 +1563,7 @@
|
|
1564
1563
|
</xsl:template>
|
1565
1564
|
|
1566
1565
|
<xsl:attribute-set name="image-style">
|
1566
|
+
<xsl:attribute name="role">SKIP</xsl:attribute>
|
1567
1567
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
1568
1568
|
|
1569
1569
|
</xsl:attribute-set>
|
@@ -1821,6 +1821,11 @@
|
|
1821
1821
|
|
1822
1822
|
</xsl:attribute-set> <!-- bibitem-non-normative-list-style -->
|
1823
1823
|
|
1824
|
+
<xsl:attribute-set name="bibitem-non-normative-list-item-style">
|
1825
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1826
|
+
|
1827
|
+
</xsl:attribute-set>
|
1828
|
+
|
1824
1829
|
<!-- bibitem in bibliography section (references/@normative="false"), list body -->
|
1825
1830
|
<xsl:attribute-set name="bibitem-normative-list-body-style">
|
1826
1831
|
|
@@ -2212,14 +2217,14 @@
|
|
2212
2217
|
<xsl:value-of select="$sep"/><xsl:value-of select="$zero_width_space"/>
|
2213
2218
|
</xsl:when>
|
2214
2219
|
<xsl:otherwise>
|
2215
|
-
<fo:inline keep-together.within-line="always"><xsl:apply-templates/></fo:inline>
|
2220
|
+
<fo:inline keep-together.within-line="always" role="SKIP"><xsl:apply-templates/></fo:inline>
|
2216
2221
|
</xsl:otherwise>
|
2217
2222
|
</xsl:choose>
|
2218
2223
|
</xsl:for-each>
|
2219
2224
|
</xsl:when>
|
2220
2225
|
|
2221
2226
|
<xsl:otherwise>
|
2222
|
-
<fo:inline keep-together.within-line="always"><xsl:apply-templates/></fo:inline>
|
2227
|
+
<fo:inline keep-together.within-line="always" role="SKIP"><xsl:apply-templates/></fo:inline>
|
2223
2228
|
</xsl:otherwise>
|
2224
2229
|
|
2225
2230
|
</xsl:choose>
|
@@ -2229,7 +2234,7 @@
|
|
2229
2234
|
<!-- Preface boilerplate sections processing -->
|
2230
2235
|
<!-- ================================= -->
|
2231
2236
|
<xsl:template match="*[local-name()='copyright-statement']">
|
2232
|
-
<fo:block xsl:use-attribute-sets="copyright-statement-style">
|
2237
|
+
<fo:block xsl:use-attribute-sets="copyright-statement-style" role="SKIP">
|
2233
2238
|
<xsl:apply-templates/>
|
2234
2239
|
</fo:block>
|
2235
2240
|
</xsl:template> <!-- copyright-statement -->
|
@@ -2399,7 +2404,7 @@
|
|
2399
2404
|
</xsl:choose>
|
2400
2405
|
</xsl:variable>
|
2401
2406
|
|
2402
|
-
<fo:block-container xsl:use-attribute-sets="table-container-style">
|
2407
|
+
<fo:block-container xsl:use-attribute-sets="table-container-style" role="SKIP">
|
2403
2408
|
|
2404
2409
|
<xsl:call-template name="refine_table-container-style">
|
2405
2410
|
<xsl:with-param name="margin-side" select="$margin-side"/>
|
@@ -3432,7 +3437,7 @@
|
|
3432
3437
|
</xsl:choose>
|
3433
3438
|
</xsl:variable>
|
3434
3439
|
<xsl:variable name="footnote_inline">
|
3435
|
-
<fo:inline>
|
3440
|
+
<fo:inline role="Reference">
|
3436
3441
|
|
3437
3442
|
<xsl:variable name="fn_styles">
|
3438
3443
|
<xsl:choose>
|
@@ -3455,7 +3460,7 @@
|
|
3455
3460
|
|
3456
3461
|
<xsl:call-template name="insert_basic_link">
|
3457
3462
|
<xsl:with-param name="element">
|
3458
|
-
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
|
3463
|
+
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}" role="Lbl">
|
3459
3464
|
<xsl:copy-of select="$current_fn_number_text"/>
|
3460
3465
|
</fo:basic-link>
|
3461
3466
|
</xsl:with-param>
|
@@ -3468,17 +3473,17 @@
|
|
3468
3473
|
<xsl:copy-of select="$footnote_inline"/>
|
3469
3474
|
</xsl:when>
|
3470
3475
|
<xsl:when test="$p_fn//fn[@gen_id = $gen_id] or normalize-space(@skip_footnote_body) = 'false'">
|
3471
|
-
<fo:footnote xsl:use-attribute-sets="fn-style">
|
3476
|
+
<fo:footnote xsl:use-attribute-sets="fn-style" role="SKIP">
|
3472
3477
|
<xsl:copy-of select="$footnote_inline"/>
|
3473
|
-
<fo:footnote-body>
|
3478
|
+
<fo:footnote-body role="Note">
|
3474
3479
|
|
3475
|
-
<fo:block-container xsl:use-attribute-sets="fn-container-body-style">
|
3480
|
+
<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
|
3476
3481
|
|
3477
|
-
<fo:block xsl:use-attribute-sets="fn-body-style">
|
3482
|
+
<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
|
3478
3483
|
|
3479
3484
|
<xsl:call-template name="refine_fn-body-style"/>
|
3480
3485
|
|
3481
|
-
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
|
3486
|
+
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
|
3482
3487
|
|
3483
3488
|
<xsl:call-template name="refine_fn-body-num-style"/>
|
3484
3489
|
|
@@ -3740,11 +3745,11 @@
|
|
3740
3745
|
</xsl:template>
|
3741
3746
|
|
3742
3747
|
<xsl:template match="*[local-name()='fn']/text()[normalize-space() != '']">
|
3743
|
-
<fo:inline><xsl:value-of select="."/></fo:inline>
|
3748
|
+
<fo:inline role="SKIP"><xsl:value-of select="."/></fo:inline>
|
3744
3749
|
</xsl:template>
|
3745
3750
|
|
3746
3751
|
<xsl:template match="*[local-name()='fn']//*[local-name()='p']">
|
3747
|
-
<fo:inline>
|
3752
|
+
<fo:inline role="P">
|
3748
3753
|
<xsl:apply-templates/>
|
3749
3754
|
</fo:inline>
|
3750
3755
|
</xsl:template>
|
@@ -3759,7 +3764,7 @@
|
|
3759
3764
|
<xsl:variable name="isAdded" select="@added"/>
|
3760
3765
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
3761
3766
|
<!-- <dl><xsl:copy-of select="."/></dl> -->
|
3762
|
-
<fo:block-container xsl:use-attribute-sets="dl-block-style">
|
3767
|
+
<fo:block-container xsl:use-attribute-sets="dl-block-style" role="SKIP">
|
3763
3768
|
|
3764
3769
|
<xsl:call-template name="setBlockSpanAll"/>
|
3765
3770
|
|
@@ -3794,7 +3799,7 @@
|
|
3794
3799
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
3795
3800
|
</xsl:call-template>
|
3796
3801
|
|
3797
|
-
<fo:block-container margin-left="0mm">
|
3802
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
3798
3803
|
|
3799
3804
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
3800
3805
|
|
@@ -3859,7 +3864,7 @@
|
|
3859
3864
|
|
3860
3865
|
<!-- a few components -->
|
3861
3866
|
<xsl:if test="$onlyOneComponent = 'false'">
|
3862
|
-
<fo:block>
|
3867
|
+
<fo:block role="SKIP">
|
3863
3868
|
|
3864
3869
|
<xsl:call-template name="refine_multicomponent_style"/>
|
3865
3870
|
|
@@ -3867,7 +3872,7 @@
|
|
3867
3872
|
<xsl:attribute name="margin-top">0</xsl:attribute>
|
3868
3873
|
</xsl:if>
|
3869
3874
|
|
3870
|
-
<fo:block>
|
3875
|
+
<fo:block role="SKIP">
|
3871
3876
|
|
3872
3877
|
<xsl:call-template name="refine_multicomponent_block_style"/>
|
3873
3878
|
|
@@ -4462,6 +4467,9 @@
|
|
4462
4467
|
|
4463
4468
|
<xsl:template name="refine_strong_style">
|
4464
4469
|
|
4470
|
+
<xsl:if test="ancestor::*['preferred']">
|
4471
|
+
<xsl:attribute name="role">SKIP</xsl:attribute>
|
4472
|
+
</xsl:if>
|
4465
4473
|
</xsl:template>
|
4466
4474
|
|
4467
4475
|
<xsl:template match="*[local-name()='padding']">
|
@@ -4509,7 +4517,7 @@
|
|
4509
4517
|
<xsl:variable name="regex_url_start">^(http://|https://|www\.)?(.*)</xsl:variable>
|
4510
4518
|
<xsl:template match="*[local-name()='tt']/text()" priority="2">
|
4511
4519
|
<xsl:choose>
|
4512
|
-
<xsl:when test="java:replaceAll(java:java.lang.String.new(.),
|
4520
|
+
<xsl:when test="java:replaceAll(java:java.lang.String.new(.), $regex_url_start, '$2') != ''">
|
4513
4521
|
<!-- url -->
|
4514
4522
|
<xsl:call-template name="add-zero-spaces-link-java"/>
|
4515
4523
|
</xsl:when>
|
@@ -4971,10 +4979,13 @@
|
|
4971
4979
|
</xsl:choose>
|
4972
4980
|
</xsl:variable>
|
4973
4981
|
|
4982
|
+
<!-- replace sequence #x200B to one ​ -->
|
4983
|
+
<xsl:variable name="text10" select="java:replaceAll(java:java.lang.String.new($text9), '\u200b{2,}', '')"/>
|
4984
|
+
|
4974
4985
|
<!-- replace sequence #x200B and space TO space -->
|
4975
|
-
<xsl:variable name="
|
4986
|
+
<xsl:variable name="text11" select="java:replaceAll(java:java.lang.String.new($text10), '\u200b ', ' ')"/>
|
4976
4987
|
|
4977
|
-
<xsl:value-of select="$
|
4988
|
+
<xsl:value-of select="$text11"/>
|
4978
4989
|
</xsl:template>
|
4979
4990
|
|
4980
4991
|
<xsl:template name="add-zero-spaces-link-java">
|
@@ -4984,8 +4995,12 @@
|
|
4984
4995
|
<xsl:variable name="url_continue" select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$2')"/>
|
4985
4996
|
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space, comma, slash, @ -->
|
4986
4997
|
<xsl:variable name="url" select="java:replaceAll(java:java.lang.String.new($url_continue),'(-|\.|:|=|_|—| |,|/|@)','$1')"/>
|
4998
|
+
|
4999
|
+
<!-- replace sequence #x200B to one ​ -->
|
5000
|
+
<xsl:variable name="url2" select="java:replaceAll(java:java.lang.String.new($url), '\u200b{2,}', '')"/>
|
5001
|
+
|
4987
5002
|
<!-- remove zero-width space at the end -->
|
4988
|
-
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($
|
5003
|
+
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($url2), '$', '')"/>
|
4989
5004
|
</xsl:template>
|
4990
5005
|
|
4991
5006
|
<!-- add zero space after dash character (for table's entries) -->
|
@@ -5396,6 +5411,18 @@
|
|
5396
5411
|
</xsl:copy>
|
5397
5412
|
</xsl:template>
|
5398
5413
|
|
5414
|
+
<xsl:variable name="font_main_root_style">
|
5415
|
+
<root-style xsl:use-attribute-sets="root-style">
|
5416
|
+
</root-style>
|
5417
|
+
</xsl:variable>
|
5418
|
+
<xsl:variable name="font_main_root_style_font_family" select="xalan:nodeset($font_main_root_style)/root-style/@font-family"/>
|
5419
|
+
<xsl:variable name="font_main">
|
5420
|
+
<xsl:choose>
|
5421
|
+
<xsl:when test="contains($font_main_root_style_font_family, ',')"><xsl:value-of select="substring-before($font_main_root_style_font_family, ',')"/></xsl:when>
|
5422
|
+
<xsl:otherwise><xsl:value-of select="$font_main_root_style_font_family"/></xsl:otherwise>
|
5423
|
+
</xsl:choose>
|
5424
|
+
</xsl:variable>
|
5425
|
+
|
5399
5426
|
<xsl:template match="*[local-name()='th' or local-name()='td']" mode="simple-table-id">
|
5400
5427
|
<xsl:param name="id"/>
|
5401
5428
|
<xsl:copy>
|
@@ -5434,6 +5461,33 @@
|
|
5434
5461
|
|
5435
5462
|
<!-- td_text='<xsl:copy-of select="$td_text"/>' -->
|
5436
5463
|
|
5464
|
+
<xsl:variable name="words_with_width">
|
5465
|
+
<!-- calculate width for 'word' which contain text only (without formatting tags inside) -->
|
5466
|
+
<xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != ''][not(*)]">
|
5467
|
+
<xsl:copy>
|
5468
|
+
<xsl:copy-of select="@*"/>
|
5469
|
+
<xsl:attribute name="width">
|
5470
|
+
<xsl:value-of select="java:org.metanorma.fop.Util.getStringWidth(., $font_main)"/> <!-- Example: 'Times New Roman' -->
|
5471
|
+
</xsl:attribute>
|
5472
|
+
<xsl:copy-of select="node()"/>
|
5473
|
+
</xsl:copy>
|
5474
|
+
</xsl:for-each>
|
5475
|
+
</xsl:variable>
|
5476
|
+
|
5477
|
+
<xsl:variable name="words_with_width_sorted">
|
5478
|
+
<xsl:for-each select="xalan:nodeset($words_with_width)//*[local-name() = 'word']">
|
5479
|
+
<xsl:sort select="@width" data-type="number" order="descending"/>
|
5480
|
+
<!-- select word maximal width only -->
|
5481
|
+
<xsl:if test="position() = 1">
|
5482
|
+
<xsl:copy-of select="."/>
|
5483
|
+
</xsl:if>
|
5484
|
+
</xsl:for-each>
|
5485
|
+
<!-- add 'word' with formatting tags inside -->
|
5486
|
+
<xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != ''][*]">
|
5487
|
+
<xsl:copy-of select="."/>
|
5488
|
+
</xsl:for-each>
|
5489
|
+
</xsl:variable>
|
5490
|
+
|
5437
5491
|
<xsl:variable name="words">
|
5438
5492
|
<xsl:for-each select=".//*[local-name() = 'image' or local-name() = 'stem']">
|
5439
5493
|
<word>
|
@@ -5441,9 +5495,12 @@
|
|
5441
5495
|
</word>
|
5442
5496
|
</xsl:for-each>
|
5443
5497
|
|
5444
|
-
<xsl:for-each select="xalan:nodeset($
|
5498
|
+
<xsl:for-each select="xalan:nodeset($words_with_width_sorted)//*[local-name() = 'word'][normalize-space() != '']">
|
5445
5499
|
<xsl:copy-of select="."/>
|
5446
5500
|
</xsl:for-each>
|
5501
|
+
<!-- <xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != '']">
|
5502
|
+
<xsl:copy-of select="."/>
|
5503
|
+
</xsl:for-each> -->
|
5447
5504
|
|
5448
5505
|
</xsl:variable>
|
5449
5506
|
|
@@ -5904,10 +5961,10 @@
|
|
5904
5961
|
<xsl:copy>
|
5905
5962
|
<xsl:apply-templates select="@*" mode="mathml"/>
|
5906
5963
|
<xsl:if test="not(@lspace)">
|
5907
|
-
<xsl:attribute name="lspace">0.
|
5964
|
+
<xsl:attribute name="lspace">0.2em</xsl:attribute>
|
5908
5965
|
</xsl:if>
|
5909
|
-
<xsl:if test="not(@rspace)">
|
5910
|
-
<xsl:attribute name="rspace">0.
|
5966
|
+
<xsl:if test="not(@rspace) and not(following-sibling::*[1][self::mathml:mo and normalize-space(text()) = '|'])">
|
5967
|
+
<xsl:attribute name="rspace">0.2em</xsl:attribute>
|
5911
5968
|
</xsl:if>
|
5912
5969
|
<xsl:apply-templates mode="mathml"/>
|
5913
5970
|
</xsl:copy>
|
@@ -5924,6 +5981,27 @@
|
|
5924
5981
|
</xsl:copy>
|
5925
5982
|
</xsl:template>
|
5926
5983
|
|
5984
|
+
<!-- increase space before '(' -->
|
5985
|
+
<xsl:template match="mathml:mo[normalize-space(text()) = '(']" mode="mathml">
|
5986
|
+
<xsl:copy>
|
5987
|
+
<xsl:apply-templates select="@*" mode="mathml"/>
|
5988
|
+
<xsl:if test="(preceding-sibling::* and not(preceding-sibling::*[1][self::mathml:mo])) or (../preceding-sibling::* and not(../preceding-sibling::*[1][self::mathml:mo]))">
|
5989
|
+
<xsl:if test="not(@lspace)">
|
5990
|
+
<xsl:attribute name="lspace">0.4em</xsl:attribute>
|
5991
|
+
<xsl:choose>
|
5992
|
+
<xsl:when test="preceding-sibling::*[1][self::mathml:mi or self::mathml:mstyle]">
|
5993
|
+
<xsl:attribute name="lspace">0.2em</xsl:attribute>
|
5994
|
+
</xsl:when>
|
5995
|
+
<xsl:when test="../preceding-sibling::*[1][self::mathml:mi or self::mathml:mstyle]">
|
5996
|
+
<xsl:attribute name="lspace">0.2em</xsl:attribute>
|
5997
|
+
</xsl:when>
|
5998
|
+
</xsl:choose>
|
5999
|
+
</xsl:if>
|
6000
|
+
</xsl:if>
|
6001
|
+
<xsl:apply-templates mode="mathml"/>
|
6002
|
+
</xsl:copy>
|
6003
|
+
</xsl:template>
|
6004
|
+
|
5927
6005
|
<!-- Examples:
|
5928
6006
|
<stem type="AsciiMath">x = 1</stem>
|
5929
6007
|
<stem type="AsciiMath"><asciimath>x = 1</asciimath></stem>
|
@@ -6083,7 +6161,7 @@
|
|
6083
6161
|
<!-- formula -->
|
6084
6162
|
<!-- ====== -->
|
6085
6163
|
<xsl:template match="*[local-name() = 'formula']" name="formula">
|
6086
|
-
<fo:block-container margin-left="0mm">
|
6164
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
6087
6165
|
<xsl:if test="parent::*[local-name() = 'note']">
|
6088
6166
|
<xsl:attribute name="margin-left">
|
6089
6167
|
<xsl:choose>
|
@@ -6093,7 +6171,7 @@
|
|
6093
6171
|
</xsl:attribute>
|
6094
6172
|
|
6095
6173
|
</xsl:if>
|
6096
|
-
<fo:block-container margin-left="0mm">
|
6174
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
6097
6175
|
<fo:block id="{@id}">
|
6098
6176
|
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/> <!-- formula's number will be process in 'stem' template -->
|
6099
6177
|
</fo:block>
|
@@ -6173,19 +6251,19 @@
|
|
6173
6251
|
|
6174
6252
|
<xsl:template match="*[local-name() = 'note']" name="note">
|
6175
6253
|
|
6176
|
-
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style">
|
6254
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style" role="SKIP">
|
6177
6255
|
|
6178
6256
|
<xsl:call-template name="setBlockSpanAll"/>
|
6179
6257
|
|
6180
6258
|
<xsl:call-template name="refine_note-style"/>
|
6181
6259
|
|
6182
|
-
<fo:block-container margin-left="0mm" margin-right="0mm">
|
6260
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
6183
6261
|
|
6184
6262
|
<fo:block>
|
6185
6263
|
|
6186
6264
|
<xsl:call-template name="refine_note_block_style"/>
|
6187
6265
|
|
6188
|
-
<fo:inline xsl:use-attribute-sets="note-name-style">
|
6266
|
+
<fo:inline xsl:use-attribute-sets="note-name-style" role="SKIP">
|
6189
6267
|
|
6190
6268
|
<xsl:call-template name="refine_note-name-style"/>
|
6191
6269
|
|
@@ -6222,12 +6300,12 @@
|
|
6222
6300
|
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
6223
6301
|
<xsl:choose>
|
6224
6302
|
<xsl:when test="$num = 1"> <!-- display first NOTE's paragraph in the same line with label NOTE -->
|
6225
|
-
<fo:inline xsl:use-attribute-sets="note-p-style">
|
6303
|
+
<fo:inline xsl:use-attribute-sets="note-p-style" role="SKIP">
|
6226
6304
|
<xsl:apply-templates/>
|
6227
6305
|
</fo:inline>
|
6228
6306
|
</xsl:when>
|
6229
6307
|
<xsl:otherwise>
|
6230
|
-
<fo:block xsl:use-attribute-sets="note-p-style">
|
6308
|
+
<fo:block xsl:use-attribute-sets="note-p-style" role="SKIP">
|
6231
6309
|
<xsl:apply-templates/>
|
6232
6310
|
</fo:block>
|
6233
6311
|
</xsl:otherwise>
|
@@ -6341,12 +6419,13 @@
|
|
6341
6419
|
|
6342
6420
|
<xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']">
|
6343
6421
|
<xsl:if test="normalize-space() != ''">
|
6344
|
-
<xsl:variable name="level">
|
6422
|
+
<!-- <xsl:variable name="level">
|
6345
6423
|
<xsl:call-template name="getLevelTermName"/>
|
6346
6424
|
</xsl:variable>
|
6347
6425
|
<fo:inline role="H{$level}">
|
6348
|
-
<xsl:apply-templates/>
|
6349
|
-
</fo:inline>
|
6426
|
+
<xsl:apply-templates />
|
6427
|
+
</fo:inline> -->
|
6428
|
+
<xsl:apply-templates/>
|
6350
6429
|
</xsl:if>
|
6351
6430
|
</xsl:template>
|
6352
6431
|
<!-- ====== -->
|
@@ -6370,7 +6449,7 @@
|
|
6370
6449
|
<!-- Example: Dimensions in millimeters -->
|
6371
6450
|
<xsl:apply-templates select="*[local-name() = 'note'][@type = 'units']"/>
|
6372
6451
|
|
6373
|
-
<fo:block xsl:use-attribute-sets="figure-style">
|
6452
|
+
<fo:block xsl:use-attribute-sets="figure-style" role="SKIP">
|
6374
6453
|
<xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note' and @type = 'units')]"/>
|
6375
6454
|
</fo:block>
|
6376
6455
|
<xsl:for-each select="*[local-name() = 'note'][not(@type = 'units')]">
|
@@ -7506,7 +7585,7 @@
|
|
7506
7585
|
</xsl:when>
|
7507
7586
|
|
7508
7587
|
<xsl:otherwise>
|
7509
|
-
<fo:block-container xsl:use-attribute-sets="sourcecode-container-style">
|
7588
|
+
<fo:block-container xsl:use-attribute-sets="sourcecode-container-style" role="SKIP">
|
7510
7589
|
|
7511
7590
|
<xsl:if test="not(ancestor::*[local-name() = 'li']) or ancestor::*[local-name() = 'example']">
|
7512
7591
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
@@ -7527,7 +7606,7 @@
|
|
7527
7606
|
</xsl:attribute>
|
7528
7607
|
|
7529
7608
|
</xsl:if>
|
7530
|
-
<fo:block-container margin-left="0mm">
|
7609
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
7531
7610
|
|
7532
7611
|
<fo:block xsl:use-attribute-sets="sourcecode-style">
|
7533
7612
|
|
@@ -8073,11 +8152,11 @@
|
|
8073
8152
|
<!-- requirement, recommendation, permission table -->
|
8074
8153
|
<!-- ========== -->
|
8075
8154
|
<xsl:template match="*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
|
8076
|
-
<fo:block-container margin-left="0mm" margin-right="0mm" margin-bottom="12pt">
|
8155
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" margin-bottom="12pt" role="SKIP">
|
8077
8156
|
<xsl:if test="ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
|
8078
8157
|
<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
|
8079
8158
|
</xsl:if>
|
8080
|
-
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8159
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
8081
8160
|
<fo:table id="{@id}" table-layout="fixed" width="100%"> <!-- border="1pt solid black" -->
|
8082
8161
|
<xsl:if test="ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
|
8083
8162
|
<!-- <xsl:attribute name="border">0.5pt solid black</xsl:attribute> -->
|
@@ -8239,7 +8318,7 @@
|
|
8239
8318
|
-->
|
8240
8319
|
<xsl:template match="*[local-name() = 'example']">
|
8241
8320
|
|
8242
|
-
<fo:block-container id="{@id}" xsl:use-attribute-sets="example-style">
|
8321
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">
|
8243
8322
|
|
8244
8323
|
<xsl:call-template name="setBlockSpanAll"/>
|
8245
8324
|
|
@@ -8250,7 +8329,7 @@
|
|
8250
8329
|
block
|
8251
8330
|
</xsl:variable>
|
8252
8331
|
|
8253
|
-
<fo:block-container margin-left="0mm">
|
8332
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
8254
8333
|
|
8255
8334
|
<xsl:choose>
|
8256
8335
|
|
@@ -8263,8 +8342,8 @@
|
|
8263
8342
|
</xsl:apply-templates>
|
8264
8343
|
</fo:block>
|
8265
8344
|
|
8266
|
-
<fo:block-container xsl:use-attribute-sets="example-body-style">
|
8267
|
-
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8345
|
+
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
8346
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
8268
8347
|
<xsl:apply-templates select="node()[not(local-name() = 'name')]">
|
8269
8348
|
<xsl:with-param name="fo_element" select="$fo_element"/>
|
8270
8349
|
</xsl:apply-templates>
|
@@ -8317,8 +8396,8 @@
|
|
8317
8396
|
|
8318
8397
|
<xsl:if test="*[not(local-name() = 'name')][position() > 1]">
|
8319
8398
|
<!-- display further elements in blocks -->
|
8320
|
-
<fo:block-container xsl:use-attribute-sets="example-body-style">
|
8321
|
-
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8399
|
+
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
8400
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
8322
8401
|
<xsl:apply-templates select="*[not(local-name() = 'name')][position() > 1]">
|
8323
8402
|
<xsl:with-param name="fo_element" select="'block'"/>
|
8324
8403
|
</xsl:apply-templates>
|
@@ -8371,7 +8450,7 @@
|
|
8371
8450
|
</xsl:variable>
|
8372
8451
|
<xsl:choose>
|
8373
8452
|
<xsl:when test="starts-with(normalize-space($element), 'block')">
|
8374
|
-
<fo:block-container>
|
8453
|
+
<fo:block-container role="SKIP">
|
8375
8454
|
<xsl:if test="ancestor::*[local-name() = 'li'] and contains(normalize-space($fo_element), 'block')">
|
8376
8455
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
8377
8456
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
@@ -8512,7 +8591,7 @@
|
|
8512
8591
|
<!-- author -->
|
8513
8592
|
<!-- ====== -->
|
8514
8593
|
<xsl:template match="*[local-name() = 'quote']">
|
8515
|
-
<fo:block-container margin-left="0mm">
|
8594
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
8516
8595
|
|
8517
8596
|
<xsl:call-template name="setBlockSpanAll"/>
|
8518
8597
|
|
@@ -8522,12 +8601,12 @@
|
|
8522
8601
|
</xsl:if>
|
8523
8602
|
</xsl:if>
|
8524
8603
|
|
8525
|
-
<fo:block-container margin-left="0mm">
|
8526
|
-
<fo:block-container xsl:use-attribute-sets="quote-style">
|
8604
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
8605
|
+
<fo:block-container xsl:use-attribute-sets="quote-style" role="SKIP">
|
8527
8606
|
|
8528
8607
|
<xsl:call-template name="refine_quote-style"/>
|
8529
8608
|
|
8530
|
-
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8609
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
8531
8610
|
<fo:block role="BlockQuote">
|
8532
8611
|
<xsl:apply-templates select="./node()[not(local-name() = 'author') and not(local-name() = 'source')]"/> <!-- process all nested nodes, except author and source -->
|
8533
8612
|
</fo:block>
|
@@ -8687,10 +8766,10 @@
|
|
8687
8766
|
|
8688
8767
|
<xsl:choose>
|
8689
8768
|
<xsl:when test="$lang = 'zh'">
|
8690
|
-
<fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
|
8769
|
+
<fo:inline role="SKIP"><xsl:value-of select="$tab_zh"/></fo:inline>
|
8691
8770
|
</xsl:when>
|
8692
8771
|
<xsl:when test="../../@inline-header = 'true'">
|
8693
|
-
<fo:inline font-size="90%">
|
8772
|
+
<fo:inline font-size="90%" role="SKIP">
|
8694
8773
|
<xsl:call-template name="insertNonBreakSpaces">
|
8695
8774
|
<xsl:with-param name="count" select="$padding-right"/>
|
8696
8775
|
</xsl:call-template>
|
@@ -8698,7 +8777,7 @@
|
|
8698
8777
|
</xsl:when>
|
8699
8778
|
<xsl:otherwise>
|
8700
8779
|
<xsl:variable name="direction"><xsl:if test="$lang = 'ar'"><xsl:value-of select="$RLM"/></xsl:if></xsl:variable>
|
8701
|
-
<fo:inline padding-right="{$padding-right}mm"><xsl:value-of select="$direction"/></fo:inline>
|
8780
|
+
<fo:inline padding-right="{$padding-right}mm" role="SKIP"><xsl:value-of select="$direction"/></fo:inline>
|
8702
8781
|
</xsl:otherwise>
|
8703
8782
|
</xsl:choose>
|
8704
8783
|
|
@@ -8733,12 +8812,12 @@
|
|
8733
8812
|
<fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="preferred-block-style">
|
8734
8813
|
|
8735
8814
|
<xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'preferred'])"> <!-- if first preffered in term, then display term's name -->
|
8736
|
-
<fo:block xsl:use-attribute-sets="term-name-style">
|
8815
|
+
<fo:block xsl:use-attribute-sets="term-name-style" role="SKIP">
|
8737
8816
|
<xsl:apply-templates select="ancestor::*[local-name() = 'term'][1]/*[local-name() = 'name']"/>
|
8738
8817
|
</fo:block>
|
8739
8818
|
</xsl:if>
|
8740
8819
|
|
8741
|
-
<fo:block xsl:use-attribute-sets="preferred-term-style">
|
8820
|
+
<fo:block xsl:use-attribute-sets="preferred-term-style" role="SKIP">
|
8742
8821
|
<xsl:call-template name="setStyle_preferred"/>
|
8743
8822
|
<xsl:apply-templates/>
|
8744
8823
|
</fo:block>
|
@@ -8779,7 +8858,7 @@
|
|
8779
8858
|
<!-- definition -->
|
8780
8859
|
<!-- ========== -->
|
8781
8860
|
<xsl:template match="*[local-name() = 'definition']">
|
8782
|
-
<fo:block xsl:use-attribute-sets="definition-style">
|
8861
|
+
<fo:block xsl:use-attribute-sets="definition-style" role="SKIP">
|
8783
8862
|
<xsl:apply-templates/>
|
8784
8863
|
</fo:block>
|
8785
8864
|
</xsl:template>
|
@@ -8827,6 +8906,10 @@
|
|
8827
8906
|
|
8828
8907
|
<xsl:template match="*[local-name() = 'clause']">
|
8829
8908
|
<fo:block>
|
8909
|
+
<xsl:if test="parent::*[local-name() = 'copyright-statement']">
|
8910
|
+
<xsl:attribute name="role">SKIP</xsl:attribute>
|
8911
|
+
</xsl:if>
|
8912
|
+
|
8830
8913
|
<xsl:call-template name="setId"/>
|
8831
8914
|
|
8832
8915
|
<xsl:call-template name="setBlockSpanAll"/>
|
@@ -9063,7 +9146,7 @@
|
|
9063
9146
|
<xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
9064
9147
|
<xsl:choose>
|
9065
9148
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
9066
|
-
<fo:block-container>
|
9149
|
+
<fo:block-container role="SKIP">
|
9067
9150
|
<xsl:attribute name="margin-left">
|
9068
9151
|
<xsl:choose>
|
9069
9152
|
<xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
|
@@ -9073,7 +9156,7 @@
|
|
9073
9156
|
|
9074
9157
|
<xsl:call-template name="refine_list_container_style"/>
|
9075
9158
|
|
9076
|
-
<fo:block-container margin-left="0mm">
|
9159
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
9077
9160
|
<fo:block>
|
9078
9161
|
<xsl:apply-templates select="." mode="list"/>
|
9079
9162
|
</fo:block>
|
@@ -9082,7 +9165,7 @@
|
|
9082
9165
|
</xsl:when>
|
9083
9166
|
<xsl:otherwise>
|
9084
9167
|
|
9085
|
-
<fo:block>
|
9168
|
+
<fo:block role="SKIP">
|
9086
9169
|
<xsl:apply-templates select="." mode="list"/>
|
9087
9170
|
</fo:block>
|
9088
9171
|
|
@@ -9500,7 +9583,10 @@
|
|
9500
9583
|
<!-- Reference sections (Normative References and Bibliography) -->
|
9501
9584
|
<!-- ========================================================== -->
|
9502
9585
|
<xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/>
|
9503
|
-
<xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"
|
9586
|
+
<xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3">
|
9587
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/>
|
9588
|
+
|
9589
|
+
</xsl:template>
|
9504
9590
|
<!-- don't display bibitem with @id starts with '_hidden', that was introduced for references integrity -->
|
9505
9591
|
<xsl:template match="*[local-name() = 'bibitem'][starts-with(@id, 'hidden_bibitem_')]" priority="3"/>
|
9506
9592
|
|
@@ -9549,7 +9635,7 @@
|
|
9549
9635
|
|
9550
9636
|
<!-- Bibliography (non-normative references) -->
|
9551
9637
|
<xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
|
9552
|
-
|
9638
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
9553
9639
|
<!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
9554
9640
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
9555
9641
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
@@ -9577,6 +9663,35 @@
|
|
9577
9663
|
|
9578
9664
|
</xsl:template> <!-- references[not(@normative='true')]/bibitem -->
|
9579
9665
|
|
9666
|
+
<xsl:template name="insertListItem_Bibitem">
|
9667
|
+
<xsl:choose>
|
9668
|
+
<xsl:when test="@hidden = 'true'"><!-- skip --></xsl:when>
|
9669
|
+
<xsl:otherwise>
|
9670
|
+
<fo:list-item id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-item-style">
|
9671
|
+
<fo:list-item-label end-indent="label-end()">
|
9672
|
+
<fo:block role="SKIP">
|
9673
|
+
<fo:inline role="SKIP">
|
9674
|
+
<xsl:apply-templates select="*[local-name() = 'biblio-tag']">
|
9675
|
+
<xsl:with-param name="biblio_tag_part">first</xsl:with-param>
|
9676
|
+
</xsl:apply-templates>
|
9677
|
+
</fo:inline>
|
9678
|
+
</fo:block>
|
9679
|
+
</fo:list-item-label>
|
9680
|
+
<fo:list-item-body start-indent="body-start()">
|
9681
|
+
<fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style" role="SKIP">
|
9682
|
+
<xsl:call-template name="processBibitem">
|
9683
|
+
<xsl:with-param name="biblio_tag_part">last</xsl:with-param>
|
9684
|
+
</xsl:call-template>
|
9685
|
+
</fo:block>
|
9686
|
+
</fo:list-item-body>
|
9687
|
+
</fo:list-item>
|
9688
|
+
</xsl:otherwise>
|
9689
|
+
</xsl:choose>
|
9690
|
+
<xsl:apply-templates select="following-sibling::*[1][local-name() = 'bibitem']">
|
9691
|
+
<xsl:with-param name="skip">false</xsl:with-param>
|
9692
|
+
</xsl:apply-templates>
|
9693
|
+
</xsl:template>
|
9694
|
+
|
9580
9695
|
<xsl:template name="processBibitem">
|
9581
9696
|
<xsl:param name="biblio_tag_part">both</xsl:param>
|
9582
9697
|
|
@@ -90,7 +90,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
90
90
|
|
91
91
|
blockquote, q {
|
92
92
|
quotes: none; }
|
93
|
-
blockquote
|
93
|
+
blockquote::before, blockquote::after, q::before, q::after {
|
94
94
|
content: '';
|
95
95
|
content: none; }
|
96
96
|
|
@@ -113,14 +113,18 @@ b, strong {
|
|
113
113
|
div.document-stage-band, div.document-type-band {
|
114
114
|
background-color: #333333; }
|
115
115
|
|
116
|
-
a.FootnoteRef + a.FootnoteRef
|
116
|
+
a.FootnoteRef + a.FootnoteRef::before {
|
117
117
|
content: ", ";
|
118
118
|
vertical-align: super; }
|
119
119
|
|
120
|
-
a.TableFootnoteRef + a.TableFootnoteRef
|
120
|
+
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
121
121
|
content: ", ";
|
122
122
|
vertical-align: super; }
|
123
123
|
|
124
|
+
a.TableFootnoteRef, span.TableFootnoteRef,
|
125
|
+
a.FootnoteRef, span.FootnoteRef {
|
126
|
+
vertical-align: super; }
|
127
|
+
|
124
128
|
.addition {
|
125
129
|
color: blue; }
|
126
130
|
|
@@ -90,7 +90,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
90
90
|
|
91
91
|
blockquote, q {
|
92
92
|
quotes: none; }
|
93
|
-
blockquote
|
93
|
+
blockquote::before, blockquote::after, q::before, q::after {
|
94
94
|
content: '';
|
95
95
|
content: none; }
|
96
96
|
|
@@ -113,14 +113,18 @@ b, strong {
|
|
113
113
|
div.document-stage-band, div.document-type-band {
|
114
114
|
background-color: #333333; }
|
115
115
|
|
116
|
-
a.FootnoteRef + a.FootnoteRef
|
116
|
+
a.FootnoteRef + a.FootnoteRef::before {
|
117
117
|
content: ", ";
|
118
118
|
vertical-align: super; }
|
119
119
|
|
120
|
-
a.TableFootnoteRef + a.TableFootnoteRef
|
120
|
+
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
121
121
|
content: ", ";
|
122
122
|
vertical-align: super; }
|
123
123
|
|
124
|
+
a.TableFootnoteRef, span.TableFootnoteRef,
|
125
|
+
a.FootnoteRef, span.FootnoteRef {
|
126
|
+
vertical-align: super; }
|
127
|
+
|
124
128
|
.addition {
|
125
129
|
color: blue; }
|
126
130
|
|
@@ -351,7 +355,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
351
355
|
|
352
356
|
blockquote, q {
|
353
357
|
quotes: none; }
|
354
|
-
blockquote
|
358
|
+
blockquote::before, blockquote::after, q::before, q::after {
|
355
359
|
content: '';
|
356
360
|
content: none; }
|
357
361
|
|
@@ -374,14 +378,18 @@ b, strong {
|
|
374
378
|
div.document-stage-band, div.document-type-band {
|
375
379
|
background-color: #333333; }
|
376
380
|
|
377
|
-
a.FootnoteRef + a.FootnoteRef
|
381
|
+
a.FootnoteRef + a.FootnoteRef::before {
|
378
382
|
content: ", ";
|
379
383
|
vertical-align: super; }
|
380
384
|
|
381
|
-
a.TableFootnoteRef + a.TableFootnoteRef
|
385
|
+
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
382
386
|
content: ", ";
|
383
387
|
vertical-align: super; }
|
384
388
|
|
389
|
+
a.TableFootnoteRef, span.TableFootnoteRef,
|
390
|
+
a.FootnoteRef, span.FootnoteRef {
|
391
|
+
vertical-align: super; }
|
392
|
+
|
385
393
|
.addition {
|
386
394
|
color: blue; }
|
387
395
|
|
@@ -742,7 +750,7 @@ nav #toc {
|
|
742
750
|
|
743
751
|
#toc li, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li {
|
744
752
|
list-style-type: none; }
|
745
|
-
#toc li
|
753
|
+
#toc li::before, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li::before {
|
746
754
|
content: " " !important;
|
747
755
|
display: none; }
|
748
756
|
|
@@ -894,7 +902,7 @@ ul {
|
|
894
902
|
list-style: none;
|
895
903
|
padding-left: 1.2em; }
|
896
904
|
|
897
|
-
ul > li
|
905
|
+
ul > li::before {
|
898
906
|
content: "\2014";
|
899
907
|
position: absolute;
|
900
908
|
left: 0; }
|
@@ -907,7 +915,7 @@ main li {
|
|
907
915
|
p.Biblio, p.NormRef {
|
908
916
|
margin-top: 1em; }
|
909
917
|
|
910
|
-
p.Biblio
|
918
|
+
p.Biblio::before, p.NormRef::before {
|
911
919
|
content: "\2014";
|
912
920
|
padding-right: 1em; }
|
913
921
|
|
@@ -66,7 +66,7 @@ nav {
|
|
66
66
|
li {
|
67
67
|
list-style-type: none;
|
68
68
|
|
69
|
-
|
69
|
+
&::before {
|
70
70
|
content: " " !important;
|
71
71
|
display: none;
|
72
72
|
}
|
@@ -184,7 +184,7 @@ ul {
|
|
184
184
|
padding-left: 1.2em;
|
185
185
|
}
|
186
186
|
|
187
|
-
ul > li
|
187
|
+
ul > li::before {
|
188
188
|
content: "\2014";
|
189
189
|
position: absolute;
|
190
190
|
left: 0;
|
@@ -202,7 +202,7 @@ p.Biblio, p.NormRef {
|
|
202
202
|
margin-top: 1em;
|
203
203
|
}
|
204
204
|
|
205
|
-
p.Biblio
|
205
|
+
p.Biblio::before, p.NormRef::before {
|
206
206
|
content: "\2014";
|
207
207
|
padding-right: 1em;
|
208
208
|
}
|
data/lib/isodoc/cc/i18n-en.yaml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
annex: Appendix
|
2
|
-
|
2
|
+
table_of_contents: Contents
|
data/lib/metanorma/cc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-cc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.13
|
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-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|