metanorma-m3aawg 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: a140b7a0a950c9ad08b12cb6ad184e92d433e5cfbc3b65eb8fa818f5f7092246
4
- data.tar.gz: 308e823f386b55c9f8cb1b1db95371f8b18bcf692ad73fd860644bdaf6bd974a
3
+ metadata.gz: b0a827f1750e6f424a7ea7d9ba33290862379cb58ab65b328d5442541cb22dee
4
+ data.tar.gz: 3531ab5b8d40c718d4c274d727e218e80b1d3fcfbf8941dde44b9ec13ce52a0e
5
5
  SHA512:
6
- metadata.gz: 19966d16987fa693f02983401c899ad43f67ce083e2dbb80ce68230523aa1732287dd2e7af4fa3b80c3e27cbb8172aeef92b64350bd1189643379a4db70db6cd
7
- data.tar.gz: 8d4784625c82fd71cefcb48f983ccb183423dbbd7018167af9a5e668cb52ea99888b9eacf0ab4e7dac01e877e018a1890d0486efc60f143c41d5ee189de4c8fb
6
+ metadata.gz: 6a1326c481432e314c53d138333b4ef49664cdbbf6ddb828d4281ead8b88d3e6458d91a69a7717d77f9609ec2d0ee2d4166182f98e40240c188cc73d9dd7e970
7
+ data.tar.gz: 20bcc693b2e0ddf65cafea8ab7ecff16d8afd51793169a72dcd10065624a7fea3debf4887e500b22264f69565cc59395b662576e3d0e5f32db737122229ae88e
@@ -978,7 +978,10 @@
978
978
 
979
979
  </xsl:attribute-set><xsl:attribute-set name="requirement-style">
980
980
 
981
+
981
982
  </xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
983
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
984
+
982
985
 
983
986
  </xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
984
987
 
@@ -1081,6 +1084,7 @@
1081
1084
 
1082
1085
 
1083
1086
 
1087
+
1084
1088
  <xsl:attribute name="padding-right">1mm</xsl:attribute>
1085
1089
  <xsl:attribute name="font-weight">bold</xsl:attribute>
1086
1090
 
@@ -1416,7 +1420,8 @@
1416
1420
 
1417
1421
 
1418
1422
 
1419
-
1423
+
1424
+
1420
1425
 
1421
1426
 
1422
1427
 
@@ -1432,6 +1437,7 @@
1432
1437
  </xsl:attribute-set><xsl:attribute-set name="termnote-style">
1433
1438
 
1434
1439
 
1440
+
1435
1441
 
1436
1442
 
1437
1443
 
@@ -1863,7 +1869,10 @@
1863
1869
 
1864
1870
 
1865
1871
 
1866
-
1872
+ <!-- <xsl:if test="$namespace = 'ieee'">
1873
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1874
+ <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
1875
+ </xsl:if> -->
1867
1876
 
1868
1877
 
1869
1878
 
@@ -3061,80 +3070,88 @@
3061
3070
  </xsl:choose>
3062
3071
  </xsl:variable>
3063
3072
 
3064
- <fo:table keep-with-previous="always">
3065
- <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3066
- <xsl:variable name="name" select="local-name()"/>
3073
+
3074
+ <xsl:variable name="tableWithNotesAndFootnotes">
3075
+
3076
+ <fo:table keep-with-previous="always">
3077
+ <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3078
+ <xsl:variable name="name" select="local-name()"/>
3079
+ <xsl:choose>
3080
+ <xsl:when test="$name = 'border-top'">
3081
+ <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3082
+ </xsl:when>
3083
+ <xsl:when test="$name = 'border'">
3084
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3085
+ <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3086
+ </xsl:when>
3087
+ <xsl:otherwise>
3088
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3089
+ </xsl:otherwise>
3090
+ </xsl:choose>
3091
+ </xsl:for-each>
3092
+
3093
+
3094
+
3067
3095
  <xsl:choose>
3068
- <xsl:when test="$name = 'border-top'">
3069
- <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3070
- </xsl:when>
3071
- <xsl:when test="$name = 'border'">
3072
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3073
- <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3096
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3097
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3098
+ <fo:table-column column-width="{@width}"/>
3099
+ </xsl:for-each>
3074
3100
  </xsl:when>
3075
3101
  <xsl:otherwise>
3076
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3102
+ <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3103
+ <xsl:call-template name="insertTableColumnWidth">
3104
+ <xsl:with-param name="colwidths" select="$colwidths"/>
3105
+ </xsl:call-template>
3077
3106
  </xsl:otherwise>
3078
3107
  </xsl:choose>
3079
- </xsl:for-each>
3080
-
3081
-
3082
-
3083
- <xsl:choose>
3084
- <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3085
- <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3086
- <fo:table-column column-width="{@width}"/>
3087
- </xsl:for-each>
3088
- </xsl:when>
3089
- <xsl:otherwise>
3090
- <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3091
- <xsl:call-template name="insertTableColumnWidth">
3092
- <xsl:with-param name="colwidths" select="$colwidths"/>
3093
- </xsl:call-template>
3094
- </xsl:otherwise>
3095
- </xsl:choose>
3096
-
3097
- <fo:table-body>
3098
- <fo:table-row>
3099
- <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3100
-
3101
-
3108
+
3109
+ <fo:table-body>
3110
+ <fo:table-row>
3111
+ <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3112
+
3113
+
3102
3114
 
3103
-
3104
-
3105
- <!-- fn will be processed inside 'note' processing -->
3106
-
3107
-
3108
-
3109
-
3110
-
3111
-
3112
- <!-- for BSI (not PAS) display Notes before footnotes -->
3113
-
3114
-
3115
- <!-- except gb and bsi -->
3116
-
3117
- <xsl:apply-templates select="../*[local-name()='note']"/>
3118
3115
 
3119
-
3120
-
3121
- <!-- horizontal row separator -->
3122
-
3123
-
3124
- <!-- fn processing -->
3125
-
3126
- <xsl:call-template name="table_fn_display"/>
3127
3116
 
3128
-
3129
-
3130
- <!-- for PAS display Notes after footnotes -->
3131
-
3132
-
3133
- </fo:table-cell>
3134
- </fo:table-row>
3135
- </fo:table-body>
3136
-
3137
- </fo:table>
3117
+ <!-- fn will be processed inside 'note' processing -->
3118
+
3119
+
3120
+
3121
+
3122
+
3123
+
3124
+ <!-- for BSI (not PAS) display Notes before footnotes -->
3125
+
3126
+
3127
+ <!-- except gb and bsi -->
3128
+
3129
+ <xsl:apply-templates select="../*[local-name()='note']"/>
3130
+
3131
+
3132
+
3133
+ <!-- horizontal row separator -->
3134
+
3135
+
3136
+ <!-- fn processing -->
3137
+
3138
+ <xsl:call-template name="table_fn_display"/>
3139
+
3140
+
3141
+
3142
+ <!-- for PAS display Notes after footnotes -->
3143
+
3144
+
3145
+ </fo:table-cell>
3146
+ </fo:table-row>
3147
+ </fo:table-body>
3148
+
3149
+ </fo:table>
3150
+ </xsl:variable>
3151
+
3152
+ <xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
3153
+ <xsl:copy-of select="$tableWithNotesAndFootnotes"/>
3154
+ </xsl:if>
3138
3155
 
3139
3156
 
3140
3157
 
@@ -3428,6 +3445,7 @@
3428
3445
  <xsl:variable name="footnote_inline">
3429
3446
  <fo:inline xsl:use-attribute-sets="fn-num-style">
3430
3447
 
3448
+
3431
3449
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
3432
3450
  <xsl:value-of select="$current_fn_number_text"/>
3433
3451
  </fo:basic-link>
@@ -3449,8 +3467,12 @@
3449
3467
  <fo:block xsl:use-attribute-sets="fn-body-style">
3450
3468
 
3451
3469
 
3470
+
3452
3471
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
3453
3472
 
3473
+
3474
+
3475
+
3454
3476
  <xsl:value-of select="$current_fn_number_text"/>
3455
3477
  </fo:inline>
3456
3478
  <xsl:apply-templates/>
@@ -5140,6 +5162,8 @@
5140
5162
 
5141
5163
 
5142
5164
 
5165
+
5166
+
5143
5167
  <xsl:choose>
5144
5168
  <xsl:when test="$target_text = ''">
5145
5169
  <xsl:apply-templates/>
@@ -5347,6 +5371,7 @@
5347
5371
 
5348
5372
 
5349
5373
 
5374
+
5350
5375
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
5351
5376
  <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
5352
5377
  <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
@@ -5368,6 +5393,7 @@
5368
5393
  </xsl:when>
5369
5394
  <xsl:otherwise>
5370
5395
 
5396
+
5371
5397
  <xsl:text>:</xsl:text>
5372
5398
 
5373
5399
 
@@ -5388,6 +5414,7 @@
5388
5414
  <xsl:otherwise>
5389
5415
 
5390
5416
 
5417
+
5391
5418
  </xsl:otherwise>
5392
5419
  </xsl:choose>
5393
5420
  </xsl:variable>
@@ -6167,6 +6194,9 @@
6167
6194
  <fo:block xsl:use-attribute-sets="figure-name-style">
6168
6195
 
6169
6196
 
6197
+
6198
+
6199
+
6170
6200
  <xsl:apply-templates/>
6171
6201
  </fo:block>
6172
6202
  </xsl:if>
@@ -6227,7 +6257,7 @@
6227
6257
  <xsl:apply-templates/>
6228
6258
  </xsl:otherwise>
6229
6259
  </xsl:choose>
6230
- </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">
6260
+ </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">
6231
6261
  <xsl:value-of select="."/>
6232
6262
  </xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
6233
6263
  <xsl:text> </xsl:text>
@@ -6303,6 +6333,9 @@
6303
6333
  <!-- 9 -->
6304
6334
 
6305
6335
 
6336
+ <!-- <xsl:if test="$namespace = 'ieee'">
6337
+ <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6338
+ </xsl:if> -->
6306
6339
 
6307
6340
 
6308
6341
 
@@ -6747,10 +6780,14 @@
6747
6780
  </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
6748
6781
  <xsl:variable name="element">inline
6749
6782
 
6783
+
6750
6784
  </xsl:variable>
6751
6785
  <xsl:choose>
6752
6786
  <xsl:when test="contains($element, 'block')">
6753
6787
  <fo:block xsl:use-attribute-sets="example-p-style">
6788
+
6789
+
6790
+
6754
6791
  <xsl:apply-templates/>
6755
6792
  </fo:block>
6756
6793
  </xsl:when>
@@ -6858,6 +6895,7 @@
6858
6895
  </xsl:if>
6859
6896
  <fo:block xsl:use-attribute-sets="example-p-style">
6860
6897
 
6898
+
6861
6899
  <xsl:apply-templates/>
6862
6900
  </fo:block>
6863
6901
  </fo:block-container>
@@ -7016,6 +7054,8 @@
7016
7054
 
7017
7055
 
7018
7056
 
7057
+
7058
+
7019
7059
  <fo:basic-link fox:alt-text="{@citeas}">
7020
7060
  <xsl:if test="normalize-space(@citeas) = ''">
7021
7061
  <xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
@@ -7441,6 +7481,8 @@
7441
7481
 
7442
7482
 
7443
7483
 
7484
+
7485
+
7444
7486
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
7445
7487
  <xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
7446
7488
  <xsl:call-template name="append_add-style"/>
@@ -7705,7 +7747,7 @@
7705
7747
  </fo:block>
7706
7748
 
7707
7749
 
7708
- </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
7750
+ </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
7709
7751
 
7710
7752
  <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
7711
7753
  $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
@@ -7718,9 +7760,7 @@
7718
7760
 
7719
7761
  <xsl:value-of select="*[local-name()='docidentifier'][@type = 'metanorma-ordinal']"/>
7720
7762
  <xsl:if test="not(*[local-name()='docidentifier'][@type = 'metanorma-ordinal'])">
7721
-
7722
- <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
7723
-
7763
+ <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
7724
7764
  </xsl:if>
7725
7765
 
7726
7766
  </fo:inline>
@@ -8475,7 +8515,7 @@
8475
8515
  <dc:description>
8476
8516
  <xsl:variable name="abstract">
8477
8517
 
8478
- <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
8518
+ <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
8479
8519
 
8480
8520
  </xsl:variable>
8481
8521
  <xsl:value-of select="normalize-space($abstract)"/>
@@ -978,7 +978,10 @@
978
978
 
979
979
  </xsl:attribute-set><xsl:attribute-set name="requirement-style">
980
980
 
981
+
981
982
  </xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
983
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
984
+
982
985
 
983
986
  </xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
984
987
 
@@ -1081,6 +1084,7 @@
1081
1084
 
1082
1085
 
1083
1086
 
1087
+
1084
1088
  <xsl:attribute name="padding-right">1mm</xsl:attribute>
1085
1089
  <xsl:attribute name="font-weight">bold</xsl:attribute>
1086
1090
 
@@ -1416,7 +1420,8 @@
1416
1420
 
1417
1421
 
1418
1422
 
1419
-
1423
+
1424
+
1420
1425
 
1421
1426
 
1422
1427
 
@@ -1432,6 +1437,7 @@
1432
1437
  </xsl:attribute-set><xsl:attribute-set name="termnote-style">
1433
1438
 
1434
1439
 
1440
+
1435
1441
 
1436
1442
 
1437
1443
 
@@ -1863,7 +1869,10 @@
1863
1869
 
1864
1870
 
1865
1871
 
1866
-
1872
+ <!-- <xsl:if test="$namespace = 'ieee'">
1873
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1874
+ <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
1875
+ </xsl:if> -->
1867
1876
 
1868
1877
 
1869
1878
 
@@ -3061,80 +3070,88 @@
3061
3070
  </xsl:choose>
3062
3071
  </xsl:variable>
3063
3072
 
3064
- <fo:table keep-with-previous="always">
3065
- <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3066
- <xsl:variable name="name" select="local-name()"/>
3073
+
3074
+ <xsl:variable name="tableWithNotesAndFootnotes">
3075
+
3076
+ <fo:table keep-with-previous="always">
3077
+ <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
3078
+ <xsl:variable name="name" select="local-name()"/>
3079
+ <xsl:choose>
3080
+ <xsl:when test="$name = 'border-top'">
3081
+ <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3082
+ </xsl:when>
3083
+ <xsl:when test="$name = 'border'">
3084
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3085
+ <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3086
+ </xsl:when>
3087
+ <xsl:otherwise>
3088
+ <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3089
+ </xsl:otherwise>
3090
+ </xsl:choose>
3091
+ </xsl:for-each>
3092
+
3093
+
3094
+
3067
3095
  <xsl:choose>
3068
- <xsl:when test="$name = 'border-top'">
3069
- <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
3070
- </xsl:when>
3071
- <xsl:when test="$name = 'border'">
3072
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3073
- <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
3096
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3097
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3098
+ <fo:table-column column-width="{@width}"/>
3099
+ </xsl:for-each>
3074
3100
  </xsl:when>
3075
3101
  <xsl:otherwise>
3076
- <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
3102
+ <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3103
+ <xsl:call-template name="insertTableColumnWidth">
3104
+ <xsl:with-param name="colwidths" select="$colwidths"/>
3105
+ </xsl:call-template>
3077
3106
  </xsl:otherwise>
3078
3107
  </xsl:choose>
3079
- </xsl:for-each>
3080
-
3081
-
3082
-
3083
- <xsl:choose>
3084
- <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
3085
- <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
3086
- <fo:table-column column-width="{@width}"/>
3087
- </xsl:for-each>
3088
- </xsl:when>
3089
- <xsl:otherwise>
3090
- <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
3091
- <xsl:call-template name="insertTableColumnWidth">
3092
- <xsl:with-param name="colwidths" select="$colwidths"/>
3093
- </xsl:call-template>
3094
- </xsl:otherwise>
3095
- </xsl:choose>
3096
-
3097
- <fo:table-body>
3098
- <fo:table-row>
3099
- <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3100
-
3101
-
3108
+
3109
+ <fo:table-body>
3110
+ <fo:table-row>
3111
+ <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
3112
+
3113
+
3102
3114
 
3103
-
3104
-
3105
- <!-- fn will be processed inside 'note' processing -->
3106
-
3107
-
3108
-
3109
-
3110
-
3111
-
3112
- <!-- for BSI (not PAS) display Notes before footnotes -->
3113
-
3114
-
3115
- <!-- except gb and bsi -->
3116
-
3117
- <xsl:apply-templates select="../*[local-name()='note']"/>
3118
3115
 
3119
-
3120
-
3121
- <!-- horizontal row separator -->
3122
-
3123
-
3124
- <!-- fn processing -->
3125
-
3126
- <xsl:call-template name="table_fn_display"/>
3127
3116
 
3128
-
3129
-
3130
- <!-- for PAS display Notes after footnotes -->
3131
-
3132
-
3133
- </fo:table-cell>
3134
- </fo:table-row>
3135
- </fo:table-body>
3136
-
3137
- </fo:table>
3117
+ <!-- fn will be processed inside 'note' processing -->
3118
+
3119
+
3120
+
3121
+
3122
+
3123
+
3124
+ <!-- for BSI (not PAS) display Notes before footnotes -->
3125
+
3126
+
3127
+ <!-- except gb and bsi -->
3128
+
3129
+ <xsl:apply-templates select="../*[local-name()='note']"/>
3130
+
3131
+
3132
+
3133
+ <!-- horizontal row separator -->
3134
+
3135
+
3136
+ <!-- fn processing -->
3137
+
3138
+ <xsl:call-template name="table_fn_display"/>
3139
+
3140
+
3141
+
3142
+ <!-- for PAS display Notes after footnotes -->
3143
+
3144
+
3145
+ </fo:table-cell>
3146
+ </fo:table-row>
3147
+ </fo:table-body>
3148
+
3149
+ </fo:table>
3150
+ </xsl:variable>
3151
+
3152
+ <xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
3153
+ <xsl:copy-of select="$tableWithNotesAndFootnotes"/>
3154
+ </xsl:if>
3138
3155
 
3139
3156
 
3140
3157
 
@@ -3428,6 +3445,7 @@
3428
3445
  <xsl:variable name="footnote_inline">
3429
3446
  <fo:inline xsl:use-attribute-sets="fn-num-style">
3430
3447
 
3448
+
3431
3449
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
3432
3450
  <xsl:value-of select="$current_fn_number_text"/>
3433
3451
  </fo:basic-link>
@@ -3449,8 +3467,12 @@
3449
3467
  <fo:block xsl:use-attribute-sets="fn-body-style">
3450
3468
 
3451
3469
 
3470
+
3452
3471
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
3453
3472
 
3473
+
3474
+
3475
+
3454
3476
  <xsl:value-of select="$current_fn_number_text"/>
3455
3477
  </fo:inline>
3456
3478
  <xsl:apply-templates/>
@@ -5140,6 +5162,8 @@
5140
5162
 
5141
5163
 
5142
5164
 
5165
+
5166
+
5143
5167
  <xsl:choose>
5144
5168
  <xsl:when test="$target_text = ''">
5145
5169
  <xsl:apply-templates/>
@@ -5347,6 +5371,7 @@
5347
5371
 
5348
5372
 
5349
5373
 
5374
+
5350
5375
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
5351
5376
  <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
5352
5377
  <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
@@ -5368,6 +5393,7 @@
5368
5393
  </xsl:when>
5369
5394
  <xsl:otherwise>
5370
5395
 
5396
+
5371
5397
  <xsl:text>:</xsl:text>
5372
5398
 
5373
5399
 
@@ -5388,6 +5414,7 @@
5388
5414
  <xsl:otherwise>
5389
5415
 
5390
5416
 
5417
+
5391
5418
  </xsl:otherwise>
5392
5419
  </xsl:choose>
5393
5420
  </xsl:variable>
@@ -6167,6 +6194,9 @@
6167
6194
  <fo:block xsl:use-attribute-sets="figure-name-style">
6168
6195
 
6169
6196
 
6197
+
6198
+
6199
+
6170
6200
  <xsl:apply-templates/>
6171
6201
  </fo:block>
6172
6202
  </xsl:if>
@@ -6227,7 +6257,7 @@
6227
6257
  <xsl:apply-templates/>
6228
6258
  </xsl:otherwise>
6229
6259
  </xsl:choose>
6230
- </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">
6260
+ </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">
6231
6261
  <xsl:value-of select="."/>
6232
6262
  </xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
6233
6263
  <xsl:text> </xsl:text>
@@ -6303,6 +6333,9 @@
6303
6333
  <!-- 9 -->
6304
6334
 
6305
6335
 
6336
+ <!-- <xsl:if test="$namespace = 'ieee'">
6337
+ <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6338
+ </xsl:if> -->
6306
6339
 
6307
6340
 
6308
6341
 
@@ -6747,10 +6780,14 @@
6747
6780
  </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
6748
6781
  <xsl:variable name="element">inline
6749
6782
 
6783
+
6750
6784
  </xsl:variable>
6751
6785
  <xsl:choose>
6752
6786
  <xsl:when test="contains($element, 'block')">
6753
6787
  <fo:block xsl:use-attribute-sets="example-p-style">
6788
+
6789
+
6790
+
6754
6791
  <xsl:apply-templates/>
6755
6792
  </fo:block>
6756
6793
  </xsl:when>
@@ -6858,6 +6895,7 @@
6858
6895
  </xsl:if>
6859
6896
  <fo:block xsl:use-attribute-sets="example-p-style">
6860
6897
 
6898
+
6861
6899
  <xsl:apply-templates/>
6862
6900
  </fo:block>
6863
6901
  </fo:block-container>
@@ -7016,6 +7054,8 @@
7016
7054
 
7017
7055
 
7018
7056
 
7057
+
7058
+
7019
7059
  <fo:basic-link fox:alt-text="{@citeas}">
7020
7060
  <xsl:if test="normalize-space(@citeas) = ''">
7021
7061
  <xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
@@ -7441,6 +7481,8 @@
7441
7481
 
7442
7482
 
7443
7483
 
7484
+
7485
+
7444
7486
  <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
7445
7487
  <xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
7446
7488
  <xsl:call-template name="append_add-style"/>
@@ -7705,7 +7747,7 @@
7705
7747
  </fo:block>
7706
7748
 
7707
7749
 
7708
- </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
7750
+ </xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
7709
7751
 
7710
7752
  <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
7711
7753
  $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
@@ -7718,9 +7760,7 @@
7718
7760
 
7719
7761
  <xsl:value-of select="*[local-name()='docidentifier'][@type = 'metanorma-ordinal']"/>
7720
7762
  <xsl:if test="not(*[local-name()='docidentifier'][@type = 'metanorma-ordinal'])">
7721
-
7722
- <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
7723
-
7763
+ <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
7724
7764
  </xsl:if>
7725
7765
 
7726
7766
  </fo:inline>
@@ -8475,7 +8515,7 @@
8475
8515
  <dc:description>
8476
8516
  <xsl:variable name="abstract">
8477
8517
 
8478
- <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
8518
+ <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
8479
8519
 
8480
8520
  </xsl:variable>
8481
8521
  <xsl:value-of select="normalize-space($abstract)"/>
@@ -69,6 +69,17 @@
69
69
  </zeroOrMore>
70
70
  </element>
71
71
  </define>
72
+ <define name="AdmonitionType">
73
+ <choice>
74
+ <value>warning</value>
75
+ <value>note</value>
76
+ <value>tip</value>
77
+ <value>important</value>
78
+ <value>caution</value>
79
+ <value>statement</value>
80
+ <value>editorial</value>
81
+ </choice>
82
+ </define>
72
83
  <define name="index">
73
84
  <element name="index">
74
85
  <optional>
@@ -116,6 +127,11 @@
116
127
  <data type="boolean"/>
117
128
  </attribute>
118
129
  </optional>
130
+ <optional>
131
+ <attribute name="suppress_identifier">
132
+ <data type="boolean"/>
133
+ </attribute>
134
+ </optional>
119
135
  <ref name="BibliographicItem"/>
120
136
  </element>
121
137
  </define>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3AAWG
3
- VERSION = "2.1.3".freeze
3
+ VERSION = "2.1.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-m3aawg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities