metanorma-iso 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: 5af2d1e84ef187d29c8adb59589006fe83a313db249d03f1b972f2c24f55026e
4
- data.tar.gz: 24e56ffa73fb96734cfb1d9990bd97d404707119714cd4c95541d6b60022e6cb
3
+ metadata.gz: da005628ba019121c2c72d9e74dcfe32dcd01fc555d7cc14d2a9936766375d51
4
+ data.tar.gz: 1e415f917d4d2737ecfad1b15bdcb6f4071d2c35df4b8a91e94926d7434c081d
5
5
  SHA512:
6
- metadata.gz: 771062f88d67f10235c8d23df932c4ce0e55f75df7d090e411739729b5d28291f51b453efd0e0a16490d1fbf18d83d0d1cfea1e3308cdc36d137c30b80f1a141
7
- data.tar.gz: 7a14ad2b9b71991608d0af4ba011c86f1f89bbde21f00e4ee62b6aa975d60c27a9db2cfcbf9701bedfde08f3aeda9b32072c8e39a2c08d4cc8bac8542cf651dc
6
+ metadata.gz: a7d82b3fe97c1e2ed1a078c335d97b32f16f23f0d0640e97d978ec8fb7b99243f023cc8ef9946f0c5f2a425daa0bb657cf14c61691c1f943b6790645901b08e1
7
+ data.tar.gz: faf3e8a9eff4650f60b7a4db80d429e1c7c9b68b9de1e9b708cf0d49030d62b1b62bc2114a581ac09db40c8eae7f97ee81e6f17a8036e3cc0ff62e5067e15dd1
@@ -2469,7 +2469,17 @@
2469
2469
 
2470
2470
  </xsl:attribute-set><xsl:attribute-set name="requirement-style">
2471
2471
 
2472
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
2473
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
2474
+
2475
+
2472
2476
  </xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
2477
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
2478
+
2479
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
2480
+ <xsl:attribute name="text-align">center</xsl:attribute>
2481
+ <xsl:attribute name="margin-bottom">4pt</xsl:attribute>
2482
+
2473
2483
 
2474
2484
  </xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
2475
2485
 
@@ -2582,6 +2592,7 @@
2582
2592
 
2583
2593
  <xsl:attribute name="padding-right">5mm</xsl:attribute>
2584
2594
 
2595
+
2585
2596
 
2586
2597
 
2587
2598
  </xsl:attribute-set><xsl:variable name="table-border_">
@@ -2941,7 +2952,8 @@
2941
2952
 
2942
2953
 
2943
2954
 
2944
-
2955
+
2956
+
2945
2957
 
2946
2958
 
2947
2959
  <xsl:attribute name="margin-top">8pt</xsl:attribute>
@@ -2957,6 +2969,7 @@
2957
2969
  </xsl:attribute-set><xsl:attribute-set name="termnote-style">
2958
2970
 
2959
2971
 
2972
+
2960
2973
 
2961
2974
 
2962
2975
  <xsl:attribute name="font-size">10pt</xsl:attribute>
@@ -3394,7 +3407,10 @@
3394
3407
 
3395
3408
 
3396
3409
 
3397
-
3410
+ <!-- <xsl:if test="$namespace = 'ieee'">
3411
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
3412
+ <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
3413
+ </xsl:if> -->
3398
3414
 
3399
3415
 
3400
3416
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
@@ -4611,80 +4627,88 @@
4611
4627
  </xsl:choose>
4612
4628
  </xsl:variable>
4613
4629
 
4614
- <fo:table keep-with-previous="always">
4615
- <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
4616
- <xsl:variable name="name" select="local-name()"/>
4630
+
4631
+ <xsl:variable name="tableWithNotesAndFootnotes">
4632
+
4633
+ <fo:table keep-with-previous="always">
4634
+ <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
4635
+ <xsl:variable name="name" select="local-name()"/>
4636
+ <xsl:choose>
4637
+ <xsl:when test="$name = 'border-top'">
4638
+ <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
4639
+ </xsl:when>
4640
+ <xsl:when test="$name = 'border'">
4641
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
4642
+ <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
4643
+ </xsl:when>
4644
+ <xsl:otherwise>
4645
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
4646
+ </xsl:otherwise>
4647
+ </xsl:choose>
4648
+ </xsl:for-each>
4649
+
4650
+
4651
+
4617
4652
  <xsl:choose>
4618
- <xsl:when test="$name = 'border-top'">
4619
- <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
4620
- </xsl:when>
4621
- <xsl:when test="$name = 'border'">
4622
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
4623
- <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
4653
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
4654
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
4655
+ <fo:table-column column-width="{@width}"/>
4656
+ </xsl:for-each>
4624
4657
  </xsl:when>
4625
4658
  <xsl:otherwise>
4626
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
4659
+ <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
4660
+ <xsl:call-template name="insertTableColumnWidth">
4661
+ <xsl:with-param name="colwidths" select="$colwidths"/>
4662
+ </xsl:call-template>
4627
4663
  </xsl:otherwise>
4628
4664
  </xsl:choose>
4629
- </xsl:for-each>
4630
-
4631
-
4632
-
4633
- <xsl:choose>
4634
- <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
4635
- <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
4636
- <fo:table-column column-width="{@width}"/>
4637
- </xsl:for-each>
4638
- </xsl:when>
4639
- <xsl:otherwise>
4640
- <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
4641
- <xsl:call-template name="insertTableColumnWidth">
4642
- <xsl:with-param name="colwidths" select="$colwidths"/>
4643
- </xsl:call-template>
4644
- </xsl:otherwise>
4645
- </xsl:choose>
4646
-
4647
- <fo:table-body>
4648
- <fo:table-row>
4649
- <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
4650
-
4651
-
4665
+
4666
+ <fo:table-body>
4667
+ <fo:table-row>
4668
+ <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
4669
+
4670
+
4652
4671
 
4653
-
4654
-
4655
- <!-- fn will be processed inside 'note' processing -->
4656
-
4657
-
4658
-
4659
-
4660
-
4661
-
4662
- <!-- for BSI (not PAS) display Notes before footnotes -->
4663
-
4664
-
4665
- <!-- except gb and bsi -->
4666
-
4667
- <xsl:apply-templates select="../*[local-name()='note']"/>
4668
4672
 
4669
-
4670
-
4671
- <!-- horizontal row separator -->
4672
-
4673
-
4674
- <!-- fn processing -->
4675
-
4676
- <xsl:call-template name="table_fn_display"/>
4677
4673
 
4678
-
4679
-
4680
- <!-- for PAS display Notes after footnotes -->
4681
-
4682
-
4683
- </fo:table-cell>
4684
- </fo:table-row>
4685
- </fo:table-body>
4686
-
4687
- </fo:table>
4674
+ <!-- fn will be processed inside 'note' processing -->
4675
+
4676
+
4677
+
4678
+
4679
+
4680
+
4681
+ <!-- for BSI (not PAS) display Notes before footnotes -->
4682
+
4683
+
4684
+ <!-- except gb and bsi -->
4685
+
4686
+ <xsl:apply-templates select="../*[local-name()='note']"/>
4687
+
4688
+
4689
+
4690
+ <!-- horizontal row separator -->
4691
+
4692
+
4693
+ <!-- fn processing -->
4694
+
4695
+ <xsl:call-template name="table_fn_display"/>
4696
+
4697
+
4698
+
4699
+ <!-- for PAS display Notes after footnotes -->
4700
+
4701
+
4702
+ </fo:table-cell>
4703
+ </fo:table-row>
4704
+ </fo:table-body>
4705
+
4706
+ </fo:table>
4707
+ </xsl:variable>
4708
+
4709
+ <xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
4710
+ <xsl:copy-of select="$tableWithNotesAndFootnotes"/>
4711
+ </xsl:if>
4688
4712
 
4689
4713
 
4690
4714
 
@@ -5040,6 +5064,7 @@
5040
5064
  <xsl:variable name="footnote_inline">
5041
5065
  <fo:inline xsl:use-attribute-sets="fn-num-style">
5042
5066
 
5067
+
5043
5068
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
5044
5069
  <xsl:value-of select="$current_fn_number_text"/>
5045
5070
  </fo:basic-link>
@@ -5061,8 +5086,12 @@
5061
5086
  <fo:block xsl:use-attribute-sets="fn-body-style">
5062
5087
 
5063
5088
 
5089
+
5064
5090
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
5065
5091
 
5092
+
5093
+
5094
+
5066
5095
  <xsl:value-of select="$current_fn_number_text"/>
5067
5096
  </fo:inline>
5068
5097
  <xsl:apply-templates/>
@@ -6777,6 +6806,8 @@
6777
6806
 
6778
6807
 
6779
6808
 
6809
+
6810
+
6780
6811
  <xsl:choose>
6781
6812
  <xsl:when test="$target_text = ''">
6782
6813
  <xsl:apply-templates/>
@@ -6984,6 +7015,7 @@
6984
7015
 
6985
7016
 
6986
7017
 
7018
+
6987
7019
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
6988
7020
  <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
6989
7021
  <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
@@ -7006,6 +7038,7 @@
7006
7038
  <xsl:otherwise>
7007
7039
 
7008
7040
 
7041
+
7009
7042
  </xsl:otherwise>
7010
7043
  </xsl:choose>
7011
7044
  </xsl:variable>
@@ -7022,6 +7055,7 @@
7022
7055
  </xsl:when>
7023
7056
  <xsl:otherwise>
7024
7057
 
7058
+
7025
7059
  <xsl:text>:</xsl:text>
7026
7060
 
7027
7061
 
@@ -7802,6 +7836,9 @@
7802
7836
  <fo:block xsl:use-attribute-sets="figure-name-style">
7803
7837
 
7804
7838
 
7839
+
7840
+
7841
+
7805
7842
  <xsl:apply-templates/>
7806
7843
  </fo:block>
7807
7844
  </xsl:if>
@@ -7862,7 +7899,7 @@
7862
7899
  <xsl:apply-templates/>
7863
7900
  </xsl:otherwise>
7864
7901
  </xsl:choose>
7865
- </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">
7902
+ </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">
7866
7903
  <xsl:value-of select="."/>
7867
7904
  </xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
7868
7905
  <xsl:text> </xsl:text>
@@ -7938,6 +7975,9 @@
7938
7975
  inherit<!-- 9 -->
7939
7976
 
7940
7977
 
7978
+ <!-- <xsl:if test="$namespace = 'ieee'">
7979
+ <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7980
+ </xsl:if> -->
7941
7981
 
7942
7982
 
7943
7983
 
@@ -8216,6 +8256,8 @@
8216
8256
 
8217
8257
  <xsl:apply-templates/>
8218
8258
 
8259
+ <xsl:text>:</xsl:text>
8260
+
8219
8261
  </fo:block>
8220
8262
  </xsl:if>
8221
8263
  </xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'label']">
@@ -8382,10 +8424,14 @@
8382
8424
  </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
8383
8425
  <xsl:variable name="element">inline
8384
8426
 
8427
+
8385
8428
  </xsl:variable>
8386
8429
  <xsl:choose>
8387
8430
  <xsl:when test="contains($element, 'block')">
8388
8431
  <fo:block xsl:use-attribute-sets="example-p-style">
8432
+
8433
+
8434
+
8389
8435
  <xsl:apply-templates/>
8390
8436
  </fo:block>
8391
8437
  </xsl:when>
@@ -8498,6 +8544,7 @@
8498
8544
  </xsl:if>
8499
8545
  <fo:block xsl:use-attribute-sets="example-p-style">
8500
8546
 
8547
+
8501
8548
  <xsl:apply-templates/>
8502
8549
  </fo:block>
8503
8550
  </fo:block-container>
@@ -8654,6 +8701,8 @@
8654
8701
 
8655
8702
 
8656
8703
 
8704
+
8705
+
8657
8706
  <fo:basic-link fox:alt-text="{@citeas}">
8658
8707
  <xsl:if test="normalize-space(@citeas) = ''">
8659
8708
  <xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
@@ -9070,6 +9119,8 @@
9070
9119
 
9071
9120
 
9072
9121
 
9122
+
9123
+
9073
9124
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
9074
9125
  <xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
9075
9126
  <xsl:call-template name="append_add-style"/>
@@ -9327,7 +9378,7 @@
9327
9378
  </fo:block>
9328
9379
 
9329
9380
 
9330
- </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
9381
+ </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
9331
9382
 
9332
9383
  <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
9333
9384
  $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
@@ -9340,9 +9391,7 @@
9340
9391
 
9341
9392
  <xsl:value-of select="*[local-name()='docidentifier'][@type = 'metanorma-ordinal']"/>
9342
9393
  <xsl:if test="not(*[local-name()='docidentifier'][@type = 'metanorma-ordinal'])">
9343
-
9344
- <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
9345
-
9394
+ <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
9346
9395
  </xsl:if>
9347
9396
 
9348
9397
  </fo:inline>
@@ -10213,7 +10262,7 @@
10213
10262
  <dc:description>
10214
10263
  <xsl:variable name="abstract">
10215
10264
 
10216
- <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
10265
+ <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
10217
10266
 
10218
10267
  </xsl:variable>
10219
10268
  <xsl:value-of select="normalize-space($abstract)"/>