metanorma-iec 2.2.11 → 2.2.12
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/iec/iec.international-standard.xsl +141 -47
- data/lib/metanorma/iec/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: cd8549ad9f88923dcaf3a906ab9b387a2f093e159b15104eae3239e9beb2f7ba
|
4
|
+
data.tar.gz: fb9ff030c0bcb45e56db5e9534c04dc0781932a0e933d6f373c02aa6e4f015f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1377ff85a12247837f825c89e61716ab6a44351ab3ff1a01b5888439e06736e82b12346dabf7402a6a032c9b62ea8ad621422dbb9a61fbaf59cb86ebc5683a0c
|
7
|
+
data.tar.gz: e6eb895d37129a5f673a9dbd3d067faf51e318817f1a226aafa87077e150d24f64c2b1e0dbe8668bee10d166823e42af661e0a2dca5a1591e53cee2c637feffb
|
@@ -3131,6 +3131,14 @@
|
|
3131
3131
|
</xsl:attribute-set> <!-- formula-stem-number-style -->
|
3132
3132
|
<!-- End Formula's styles -->
|
3133
3133
|
|
3134
|
+
<xsl:template name="refine_formula-stem-number-style">
|
3135
|
+
|
3136
|
+
<xsl:if test="ancestor::*[local-name() = 'table']">
|
3137
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
3138
|
+
</xsl:if>
|
3139
|
+
|
3140
|
+
</xsl:template>
|
3141
|
+
|
3134
3142
|
<xsl:attribute-set name="image-style">
|
3135
3143
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
3136
3144
|
|
@@ -3642,13 +3650,13 @@
|
|
3642
3650
|
|
3643
3651
|
<xsl:template name="processPrefaceSectionsDefault_Contents">
|
3644
3652
|
<xsl:variable name="nodes_preface_">
|
3645
|
-
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
|
3653
|
+
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
|
3646
3654
|
<node id="{@id}"/>
|
3647
3655
|
</xsl:for-each>
|
3648
3656
|
</xsl:variable>
|
3649
3657
|
<xsl:variable name="nodes_preface" select="xalan:nodeset($nodes_preface_)"/>
|
3650
3658
|
|
3651
|
-
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
|
3659
|
+
<xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
|
3652
3660
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3653
3661
|
|
3654
3662
|
<!-- process Section's title -->
|
@@ -3682,12 +3690,12 @@
|
|
3682
3690
|
<xsl:apply-templates select="." mode="contents"/>
|
3683
3691
|
</xsl:for-each>
|
3684
3692
|
|
3685
|
-
<xsl:for-each select="/*/*[local-name()='annex']">
|
3693
|
+
<!-- <xsl:for-each select="/*/*[local-name()='annex']">
|
3686
3694
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3687
3695
|
<xsl:apply-templates select="." mode="contents"/>
|
3688
|
-
</xsl:for-each>
|
3696
|
+
</xsl:for-each> -->
|
3689
3697
|
|
3690
|
-
<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]">
|
3698
|
+
<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]">
|
3691
3699
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3692
3700
|
<xsl:apply-templates select="." mode="contents"/>
|
3693
3701
|
</xsl:for-each>
|
@@ -4145,7 +4153,7 @@
|
|
4145
4153
|
<fo:table-row>
|
4146
4154
|
<fo:table-cell column-number="2">
|
4147
4155
|
<xsl:copy-of select="$table-preamble"/>
|
4148
|
-
<fo:block>
|
4156
|
+
<fo:block role="SKIP">
|
4149
4157
|
<xsl:call-template name="setTrackChangesStyles">
|
4150
4158
|
<xsl:with-param name="isAdded" select="$isAdded"/>
|
4151
4159
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
@@ -4193,7 +4201,7 @@
|
|
4193
4201
|
<xsl:param name="continued"/>
|
4194
4202
|
<xsl:if test="normalize-space() != ''">
|
4195
4203
|
|
4196
|
-
<fo:block xsl:use-attribute-sets="table-name-style">
|
4204
|
+
<fo:block xsl:use-attribute-sets="table-name-style" role="SKIP">
|
4197
4205
|
|
4198
4206
|
<xsl:call-template name="refine_table-name-style">
|
4199
4207
|
<xsl:with-param name="continued" select="$continued"/>
|
@@ -4209,10 +4217,10 @@
|
|
4209
4217
|
</xsl:choose>
|
4210
4218
|
|
4211
4219
|
<xsl:if test="$continued = 'true'">
|
4212
|
-
<fo:inline font-weight="bold" font-style="normal">
|
4220
|
+
<fo:inline font-weight="bold" font-style="normal" role="SKIP">
|
4213
4221
|
<fo:retrieve-table-marker retrieve-class-name="table_number"/>
|
4214
4222
|
</fo:inline>
|
4215
|
-
<fo:inline font-weight="normal" font-style="italic">
|
4223
|
+
<fo:inline font-weight="normal" font-style="italic" role="SKIP">
|
4216
4224
|
<xsl:text> </xsl:text>
|
4217
4225
|
<fo:retrieve-table-marker retrieve-class-name="table_continued"/>
|
4218
4226
|
</fo:inline>
|
@@ -4592,8 +4600,8 @@
|
|
4592
4600
|
<xsl:template name="table-header-title">
|
4593
4601
|
<xsl:param name="cols-count"/>
|
4594
4602
|
<!-- row for title -->
|
4595
|
-
<fo:table-row>
|
4596
|
-
<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">
|
4603
|
+
<fo:table-row role="SKIP">
|
4604
|
+
<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">
|
4597
4605
|
|
4598
4606
|
<xsl:call-template name="refine_table-header-title-style"/>
|
4599
4607
|
|
@@ -4602,7 +4610,7 @@
|
|
4602
4610
|
</xsl:apply-templates>
|
4603
4611
|
|
4604
4612
|
<xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='name'])"> <!-- to prevent empty fo:table-cell in case of missing table's name -->
|
4605
|
-
<fo:block/>
|
4613
|
+
<fo:block role="SKIP"/>
|
4606
4614
|
</xsl:if>
|
4607
4615
|
|
4608
4616
|
</fo:table-cell>
|
@@ -4709,7 +4717,7 @@
|
|
4709
4717
|
<!-- fn will be processed inside 'note' processing -->
|
4710
4718
|
|
4711
4719
|
<xsl:if test="../*[local-name()='note']">
|
4712
|
-
<fo:block margin-bottom="6pt"> </fo:block>
|
4720
|
+
<fo:block margin-bottom="6pt" role="SKIP"> </fo:block>
|
4713
4721
|
</xsl:if>
|
4714
4722
|
|
4715
4723
|
<!-- for BSI (not PAS) display Notes before footnotes -->
|
@@ -4809,24 +4817,24 @@
|
|
4809
4817
|
<xsl:variable name="title_start" select="ancestor::*[local-name()='table'][1]/*[local-name()='name']/node()[1][self::text()]"/>
|
4810
4818
|
<xsl:variable name="table_number" select="substring-before($title_start, '—')"/>
|
4811
4819
|
|
4812
|
-
<fo:table-row height="0" keep-with-next.within-page="always">
|
4813
|
-
<fo:table-cell>
|
4820
|
+
<fo:table-row height="0" keep-with-next.within-page="always" role="SKIP">
|
4821
|
+
<fo:table-cell role="SKIP">
|
4814
4822
|
|
4815
4823
|
<fo:marker marker-class-name="table_number"/>
|
4816
4824
|
<fo:marker marker-class-name="table_continued"/>
|
4817
4825
|
|
4818
|
-
<fo:block/>
|
4826
|
+
<fo:block role="SKIP"/>
|
4819
4827
|
</fo:table-cell>
|
4820
4828
|
</fo:table-row>
|
4821
|
-
<fo:table-row height="0" keep-with-next.within-page="always">
|
4822
|
-
<fo:table-cell>
|
4829
|
+
<fo:table-row height="0" keep-with-next.within-page="always" role="SKIP">
|
4830
|
+
<fo:table-cell role="SKIP">
|
4823
4831
|
|
4824
4832
|
<fo:marker marker-class-name="table_number"><xsl:value-of select="normalize-space(translate($table_number, ' ', ' '))"/></fo:marker>
|
4825
4833
|
|
4826
4834
|
<fo:marker marker-class-name="table_continued">
|
4827
4835
|
<xsl:value-of select="$title_continued"/>
|
4828
4836
|
</fo:marker>
|
4829
|
-
<fo:block/>
|
4837
|
+
<fo:block role="SKIP"/>
|
4830
4838
|
</fo:table-cell>
|
4831
4839
|
</fo:table-row>
|
4832
4840
|
|
@@ -4967,7 +4975,7 @@
|
|
4967
4975
|
|
4968
4976
|
<xsl:call-template name="refine_table-header-cell-style"/>
|
4969
4977
|
|
4970
|
-
<fo:block>
|
4978
|
+
<fo:block role="SKIP">
|
4971
4979
|
<xsl:apply-templates/>
|
4972
4980
|
</fo:block>
|
4973
4981
|
</fo:table-cell>
|
@@ -5020,7 +5028,7 @@
|
|
5020
5028
|
<xsl:attribute name="text-align">left</xsl:attribute>
|
5021
5029
|
</xsl:if>
|
5022
5030
|
|
5023
|
-
<fo:block>
|
5031
|
+
<fo:block role="SKIP">
|
5024
5032
|
|
5025
5033
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
5026
5034
|
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
@@ -5895,7 +5903,7 @@
|
|
5895
5903
|
-->
|
5896
5904
|
<fo:table-row>
|
5897
5905
|
<fo:table-cell number-columns-spanned="2">
|
5898
|
-
<fo:block>
|
5906
|
+
<fo:block role="SKIP">
|
5899
5907
|
<xsl:call-template name="note"/>
|
5900
5908
|
</fo:block>
|
5901
5909
|
</fo:table-cell>
|
@@ -5960,7 +5968,7 @@
|
|
5960
5968
|
|
5961
5969
|
<xsl:call-template name="refine_dt-cell-style"/>
|
5962
5970
|
|
5963
|
-
<fo:block xsl:use-attribute-sets="dt-block-style">
|
5971
|
+
<fo:block xsl:use-attribute-sets="dt-block-style" role="SKIP">
|
5964
5972
|
<xsl:copy-of select="@id"/>
|
5965
5973
|
|
5966
5974
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
@@ -5990,7 +5998,7 @@
|
|
5990
5998
|
|
5991
5999
|
<xsl:call-template name="refine_dd-cell-style"/>
|
5992
6000
|
|
5993
|
-
<fo:block>
|
6001
|
+
<fo:block role="SKIP">
|
5994
6002
|
|
5995
6003
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
5996
6004
|
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
@@ -6365,11 +6373,41 @@
|
|
6365
6373
|
|
6366
6374
|
<xsl:template match="text()[ancestor::*[local-name()='smallcap']]">
|
6367
6375
|
<xsl:variable name="text" select="normalize-space(.)"/>
|
6368
|
-
<fo:inline font-size="75%">
|
6376
|
+
<fo:inline font-size="75%" role="SKIP">
|
6369
6377
|
<xsl:if test="string-length($text) > 0">
|
6370
|
-
<xsl:
|
6371
|
-
<xsl:
|
6372
|
-
|
6378
|
+
<xsl:variable name="smallCapsText">
|
6379
|
+
<xsl:call-template name="recursiveSmallCaps">
|
6380
|
+
<xsl:with-param name="text" select="$text"/>
|
6381
|
+
</xsl:call-template>
|
6382
|
+
</xsl:variable>
|
6383
|
+
<!-- merge neighboring fo:inline -->
|
6384
|
+
<xsl:for-each select="xalan:nodeset($smallCapsText)/node()">
|
6385
|
+
<xsl:choose>
|
6386
|
+
<xsl:when test="self::fo:inline and preceding-sibling::node()[1][self::fo:inline]"><!-- <xsl:copy-of select="."/> --></xsl:when>
|
6387
|
+
<xsl:when test="self::fo:inline and @font-size">
|
6388
|
+
<xsl:variable name="curr_pos" select="count(preceding-sibling::node()) + 1"/>
|
6389
|
+
<!-- <curr_pos><xsl:value-of select="$curr_pos"/></curr_pos> -->
|
6390
|
+
<xsl:variable name="next_text_" select="count(following-sibling::node()[not(local-name() = 'inline')][1]/preceding-sibling::node())"/>
|
6391
|
+
<xsl:variable name="next_text">
|
6392
|
+
<xsl:choose>
|
6393
|
+
<xsl:when test="$next_text_ = 0">99999999</xsl:when>
|
6394
|
+
<xsl:otherwise><xsl:value-of select="$next_text_ + 1"/></xsl:otherwise>
|
6395
|
+
</xsl:choose>
|
6396
|
+
</xsl:variable>
|
6397
|
+
<!-- <next_text><xsl:value-of select="$next_text"/></next_text> -->
|
6398
|
+
<fo:inline>
|
6399
|
+
<xsl:copy-of select="@*"/>
|
6400
|
+
<xsl:copy-of select="./node()"/>
|
6401
|
+
<xsl:for-each select="following-sibling::node()[position() < $next_text - $curr_pos]"> <!-- [self::fo:inline] -->
|
6402
|
+
<xsl:copy-of select="./node()"/>
|
6403
|
+
</xsl:for-each>
|
6404
|
+
</fo:inline>
|
6405
|
+
</xsl:when>
|
6406
|
+
<xsl:otherwise>
|
6407
|
+
<xsl:copy-of select="."/>
|
6408
|
+
</xsl:otherwise>
|
6409
|
+
</xsl:choose>
|
6410
|
+
</xsl:for-each>
|
6373
6411
|
</xsl:if>
|
6374
6412
|
</fo:inline>
|
6375
6413
|
</xsl:template>
|
@@ -6381,7 +6419,7 @@
|
|
6381
6419
|
<xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
|
6382
6420
|
<xsl:choose>
|
6383
6421
|
<xsl:when test="$char=$upperCase">
|
6384
|
-
<fo:inline font-size="{100 div 0.75}%">
|
6422
|
+
<fo:inline font-size="{100 div 0.75}%" role="SKIP">
|
6385
6423
|
<xsl:value-of select="$upperCase"/>
|
6386
6424
|
</fo:inline>
|
6387
6425
|
</xsl:when>
|
@@ -6614,6 +6652,10 @@
|
|
6614
6652
|
|
6615
6653
|
<xsl:when test="not(contains($text, $separator))">
|
6616
6654
|
<word>
|
6655
|
+
<xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
|
6656
|
+
<xsl:text>
|
6657
|
+
</xsl:text> <!-- to add distance between dt and dd -->
|
6658
|
+
</xsl:if>
|
6617
6659
|
<xsl:call-template name="enclose_text_in_tags">
|
6618
6660
|
<xsl:with-param name="text" select="normalize-space($text)"/>
|
6619
6661
|
<xsl:with-param name="tags" select="$tags"/>
|
@@ -6622,6 +6664,10 @@
|
|
6622
6664
|
</xsl:when>
|
6623
6665
|
<xsl:otherwise>
|
6624
6666
|
<word>
|
6667
|
+
<xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
|
6668
|
+
<xsl:text>
|
6669
|
+
</xsl:text> <!-- to add distance between dt and dd -->
|
6670
|
+
</xsl:if>
|
6625
6671
|
<xsl:call-template name="enclose_text_in_tags">
|
6626
6672
|
<xsl:with-param name="text" select="normalize-space(substring-before($text, $separator))"/>
|
6627
6673
|
<xsl:with-param name="tags" select="$tags"/>
|
@@ -6805,6 +6851,10 @@
|
|
6805
6851
|
<xsl:template name="getSimpleTable">
|
6806
6852
|
<xsl:param name="id"/>
|
6807
6853
|
|
6854
|
+
<!-- <test0>
|
6855
|
+
<xsl:copy-of select="."/>
|
6856
|
+
</test0> -->
|
6857
|
+
|
6808
6858
|
<xsl:variable name="simple-table">
|
6809
6859
|
|
6810
6860
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
@@ -7850,7 +7900,7 @@
|
|
7850
7900
|
<fo:table-body>
|
7851
7901
|
<fo:table-row>
|
7852
7902
|
<fo:table-cell display-align="center">
|
7853
|
-
<fo:block xsl:use-attribute-sets="formula-stem-block-style">
|
7903
|
+
<fo:block xsl:use-attribute-sets="formula-stem-block-style" role="SKIP">
|
7854
7904
|
|
7855
7905
|
<xsl:call-template name="refine_formula-stem-block-style"/>
|
7856
7906
|
|
@@ -7858,7 +7908,10 @@
|
|
7858
7908
|
</fo:block>
|
7859
7909
|
</fo:table-cell>
|
7860
7910
|
<fo:table-cell display-align="center">
|
7861
|
-
<fo:block xsl:use-attribute-sets="formula-stem-number-style">
|
7911
|
+
<fo:block xsl:use-attribute-sets="formula-stem-number-style" role="SKIP">
|
7912
|
+
|
7913
|
+
<xsl:call-template name="refine_formula-stem-number-style"/>
|
7914
|
+
|
7862
7915
|
<xsl:apply-templates select="../*[local-name() = 'name']"/>
|
7863
7916
|
</fo:block>
|
7864
7917
|
</fo:table-cell>
|
@@ -9383,7 +9436,7 @@
|
|
9383
9436
|
<!-- second td with sourcecode -->
|
9384
9437
|
<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'] -->
|
9385
9438
|
<fo:table-cell>
|
9386
|
-
<fo:block>
|
9439
|
+
<fo:block role="SKIP">
|
9387
9440
|
<xsl:apply-templates/>
|
9388
9441
|
</fo:block>
|
9389
9442
|
</fo:table-cell>
|
@@ -9870,7 +9923,7 @@
|
|
9870
9923
|
|
9871
9924
|
<xsl:call-template name="setTableCellAttributes"/>
|
9872
9925
|
|
9873
|
-
<fo:block>
|
9926
|
+
<fo:block role="SKIP">
|
9874
9927
|
<xsl:apply-templates/>
|
9875
9928
|
</fo:block>
|
9876
9929
|
</fo:table-cell>
|
@@ -9892,7 +9945,7 @@
|
|
9892
9945
|
|
9893
9946
|
<xsl:call-template name="setTableCellAttributes"/>
|
9894
9947
|
|
9895
|
-
<fo:block>
|
9948
|
+
<fo:block role="SKIP">
|
9896
9949
|
<xsl:apply-templates/>
|
9897
9950
|
</fo:block>
|
9898
9951
|
</fo:table-cell>
|
@@ -10672,7 +10725,48 @@
|
|
10672
10725
|
</xsl:choose>
|
10673
10726
|
</xsl:when>
|
10674
10727
|
<xsl:when test="local-name(..) = 'ol' and @label"> <!-- for ordered lists 'ol', and if there is @label, for instance label="1.1.2" -->
|
10675
|
-
|
10728
|
+
|
10729
|
+
<xsl:variable name="label">
|
10730
|
+
|
10731
|
+
<xsl:variable name="type" select="../@type"/>
|
10732
|
+
|
10733
|
+
<xsl:variable name="style_prefix_">
|
10734
|
+
<xsl:if test="$type = 'roman'">
|
10735
|
+
<!-- Example: (i) -->
|
10736
|
+
</xsl:if>
|
10737
|
+
</xsl:variable>
|
10738
|
+
<xsl:variable name="style_prefix" select="normalize-space($style_prefix_)"/>
|
10739
|
+
|
10740
|
+
<xsl:variable name="style_suffix_">
|
10741
|
+
<xsl:choose>
|
10742
|
+
<xsl:when test="$type = 'arabic'">
|
10743
|
+
)
|
10744
|
+
</xsl:when>
|
10745
|
+
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
|
10746
|
+
)
|
10747
|
+
</xsl:when>
|
10748
|
+
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">
|
10749
|
+
.
|
10750
|
+
</xsl:when>
|
10751
|
+
<xsl:when test="$type = 'roman'">
|
10752
|
+
)
|
10753
|
+
</xsl:when>
|
10754
|
+
<xsl:when test="$type = 'roman_upper'">.</xsl:when> <!-- Example: I. -->
|
10755
|
+
</xsl:choose>
|
10756
|
+
</xsl:variable>
|
10757
|
+
<xsl:variable name="style_suffix" select="normalize-space($style_suffix_)"/>
|
10758
|
+
|
10759
|
+
<xsl:if test="$style_prefix != '' and not(starts-with(@label, $style_prefix))">
|
10760
|
+
<xsl:value-of select="$style_prefix"/>
|
10761
|
+
</xsl:if>
|
10762
|
+
<xsl:value-of select="@label"/>
|
10763
|
+
<xsl:if test="not(java:endsWith(java:java.lang.String.new(@label),$style_suffix))">
|
10764
|
+
<xsl:value-of select="$style_suffix"/>
|
10765
|
+
</xsl:if>
|
10766
|
+
</xsl:variable>
|
10767
|
+
|
10768
|
+
<xsl:value-of select="normalize-space($label)"/>
|
10769
|
+
|
10676
10770
|
</xsl:when>
|
10677
10771
|
<xsl:otherwise> <!-- for ordered lists 'ol' -->
|
10678
10772
|
|
@@ -10869,7 +10963,7 @@
|
|
10869
10963
|
<xsl:call-template name="refine_list-item-style"/>
|
10870
10964
|
|
10871
10965
|
<fo:list-item-label end-indent="label-end()">
|
10872
|
-
<fo:block xsl:use-attribute-sets="list-item-label-style">
|
10966
|
+
<fo:block xsl:use-attribute-sets="list-item-label-style" role="SKIP">
|
10873
10967
|
|
10874
10968
|
<xsl:call-template name="refine_list-item-label-style"/>
|
10875
10969
|
|
@@ -10883,7 +10977,7 @@
|
|
10883
10977
|
</fo:block>
|
10884
10978
|
</fo:list-item-label>
|
10885
10979
|
<fo:list-item-body start-indent="body-start()" xsl:use-attribute-sets="list-item-body-style">
|
10886
|
-
<fo:block>
|
10980
|
+
<fo:block role="SKIP">
|
10887
10981
|
|
10888
10982
|
<xsl:call-template name="refine_list-item-body-style"/>
|
10889
10983
|
|
@@ -11162,10 +11256,10 @@
|
|
11162
11256
|
<fo:table-body>
|
11163
11257
|
<fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">
|
11164
11258
|
|
11165
|
-
<fo:table-cell border="1pt solid black"><fo:block>Date</fo:block></fo:table-cell>
|
11166
|
-
<fo:table-cell border="1pt solid black"><fo:block>Type</fo:block></fo:table-cell>
|
11167
|
-
<fo:table-cell border="1pt solid black"><fo:block>Change</fo:block></fo:table-cell>
|
11168
|
-
<fo:table-cell border="1pt solid black"><fo:block>Pages</fo:block></fo:table-cell>
|
11259
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Date</fo:block></fo:table-cell>
|
11260
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Type</fo:block></fo:table-cell>
|
11261
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Change</fo:block></fo:table-cell>
|
11262
|
+
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Pages</fo:block></fo:table-cell>
|
11169
11263
|
</fo:table-row>
|
11170
11264
|
<xsl:apply-templates/>
|
11171
11265
|
</fo:table-body>
|
@@ -11180,7 +11274,7 @@
|
|
11180
11274
|
|
11181
11275
|
<xsl:template match="*[local-name() = 'errata']/*[local-name() = 'row']/*">
|
11182
11276
|
<fo:table-cell border="1pt solid black" padding-left="1mm" padding-top="0.5mm">
|
11183
|
-
<fo:block><xsl:apply-templates/></fo:block>
|
11277
|
+
<fo:block role="SKIP"><xsl:apply-templates/></fo:block>
|
11184
11278
|
</fo:table-cell>
|
11185
11279
|
</xsl:template>
|
11186
11280
|
<!-- ============ -->
|
@@ -11256,8 +11350,8 @@
|
|
11256
11350
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
11257
11351
|
<fo:list-item>
|
11258
11352
|
<fo:list-item-label end-indent="label-end()">
|
11259
|
-
<fo:block>
|
11260
|
-
<fo:inline>
|
11353
|
+
<fo:block role="SKIP">
|
11354
|
+
<fo:inline role="SKIP">
|
11261
11355
|
|
11262
11356
|
<xsl:apply-templates select="*[local-name() = 'biblio-tag']">
|
11263
11357
|
<xsl:with-param name="biblio_tag_part">first</xsl:with-param>
|
@@ -11266,7 +11360,7 @@
|
|
11266
11360
|
</fo:block>
|
11267
11361
|
</fo:list-item-label>
|
11268
11362
|
<fo:list-item-body start-indent="body-start()">
|
11269
|
-
<fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style">
|
11363
|
+
<fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style" role="SKIP">
|
11270
11364
|
<xsl:call-template name="processBibitem">
|
11271
11365
|
<xsl:with-param name="biblio_tag_part">last</xsl:with-param>
|
11272
11366
|
</xsl:call-template>
|
@@ -11488,7 +11582,7 @@
|
|
11488
11582
|
<xsl:for-each select="*[local-name() = 'tab']">
|
11489
11583
|
<xsl:variable name="current_id" select="generate-id()"/>
|
11490
11584
|
<fo:table-cell>
|
11491
|
-
<fo:block line-height-shift-adjustment="disregard-shifts">
|
11585
|
+
<fo:block line-height-shift-adjustment="disregard-shifts" role="SKIP">
|
11492
11586
|
<xsl:call-template name="insert_basic_link">
|
11493
11587
|
<xsl:with-param name="element">
|
11494
11588
|
<fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
|
@@ -11506,7 +11600,7 @@
|
|
11506
11600
|
</xsl:for-each>
|
11507
11601
|
<!-- last column - for page numbers -->
|
11508
11602
|
<fo:table-cell text-align="right" font-size="10pt" font-weight="bold" font-family="Arial">
|
11509
|
-
<fo:block>
|
11603
|
+
<fo:block role="SKIP">
|
11510
11604
|
<xsl:call-template name="insert_basic_link">
|
11511
11605
|
<xsl:with-param name="element">
|
11512
11606
|
<fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
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-iso
|