metanorma-m3aawg 2.1.4 → 2.1.5

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: b0a827f1750e6f424a7ea7d9ba33290862379cb58ab65b328d5442541cb22dee
4
- data.tar.gz: 3531ab5b8d40c718d4c274d727e218e80b1d3fcfbf8941dde44b9ec13ce52a0e
3
+ metadata.gz: 912ba75b914852dabb7bf88e2809c3befc6e76eac969d5bb2dce78004e46ea80
4
+ data.tar.gz: 063ea414f659866e4c0852f2b11331cf9dbc80dc9d8b1fd470ca89b66c77cbea
5
5
  SHA512:
6
- metadata.gz: 6a1326c481432e314c53d138333b4ef49664cdbbf6ddb828d4281ead8b88d3e6458d91a69a7717d77f9609ec2d0ee2d4166182f98e40240c188cc73d9dd7e970
7
- data.tar.gz: 20bcc693b2e0ddf65cafea8ab7ecff16d8afd51793169a72dcd10065624a7fea3debf4887e500b22264f69565cc59395b662576e3d0e5f32db737122229ae88e
6
+ metadata.gz: f1f9379087ff134a00bf2c89884524e55c53909f2d66cdcaae64c934bd5ade076ddda85901ec21a880a3d56827b6f3ebd4c329dd092f59fd9541b22b7a8fcbca
7
+ data.tar.gz: 50f388a7f2abe3b551e4dd3b0059baf4cd85d20a20393b3eb851825dd6b8830671751a7da6134bd27720c987fc31f33993f230e77e199fd85b307865b90fa19e
@@ -1903,10 +1903,12 @@
1903
1903
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
1904
1904
 
1905
1905
 
1906
+
1906
1907
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
1907
1908
 
1908
1909
 
1909
1910
 
1911
+
1910
1912
  <xsl:attribute name="text-align">justify</xsl:attribute>
1911
1913
 
1912
1914
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
@@ -2541,6 +2543,14 @@
2541
2543
 
2542
2544
 
2543
2545
 
2546
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
2547
+ <fo:block keep-with-previous="always" line-height="0.1">
2548
+ <xsl:for-each select="*[local-name()='bookmark']">
2549
+ <xsl:call-template name="bookmark"/>
2550
+ </xsl:for-each>
2551
+ </fo:block>
2552
+ </xsl:if>
2553
+
2544
2554
  </fo:block-container>
2545
2555
  </xsl:variable>
2546
2556
 
@@ -6334,7 +6344,7 @@
6334
6344
 
6335
6345
 
6336
6346
  <!-- <xsl:if test="$namespace = 'ieee'">
6337
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6347
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6338
6348
  </xsl:if> -->
6339
6349
 
6340
6350
 
@@ -7667,7 +7677,7 @@
7667
7677
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
7668
7678
  <!-- to split by '_' and other chars -->
7669
7679
  <xsl:call-template name="add-zero-spaces-java"/>
7670
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7680
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7671
7681
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
7672
7682
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
7673
7683
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -8446,6 +8456,7 @@
8446
8456
  </xsl:call-template>
8447
8457
  </xsl:template><xsl:template name="insertKeywords">
8448
8458
  <xsl:param name="sorting" select="'true'"/>
8459
+ <xsl:param name="meta" select="'false'"/>
8449
8460
  <xsl:param name="charAtEnd" select="'.'"/>
8450
8461
  <xsl:param name="charDelim" select="', '"/>
8451
8462
  <xsl:choose>
@@ -8453,6 +8464,7 @@
8453
8464
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8454
8465
  <xsl:sort data-type="text" order="ascending"/>
8455
8466
  <xsl:call-template name="insertKeyword">
8467
+ <xsl:with-param name="meta" select="$meta"/>
8456
8468
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8457
8469
  <xsl:with-param name="charDelim" select="$charDelim"/>
8458
8470
  </xsl:call-template>
@@ -8461,6 +8473,7 @@
8461
8473
  <xsl:otherwise>
8462
8474
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8463
8475
  <xsl:call-template name="insertKeyword">
8476
+ <xsl:with-param name="meta" select="$meta"/>
8464
8477
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8465
8478
  <xsl:with-param name="charDelim" select="$charDelim"/>
8466
8479
  </xsl:call-template>
@@ -8470,7 +8483,15 @@
8470
8483
  </xsl:template><xsl:template name="insertKeyword">
8471
8484
  <xsl:param name="charAtEnd"/>
8472
8485
  <xsl:param name="charDelim"/>
8473
- <xsl:apply-templates/>
8486
+ <xsl:param name="meta"/>
8487
+ <xsl:choose>
8488
+ <xsl:when test="$meta = 'true'">
8489
+ <xsl:value-of select="."/>
8490
+ </xsl:when>
8491
+ <xsl:otherwise>
8492
+ <xsl:apply-templates/>
8493
+ </xsl:otherwise>
8494
+ </xsl:choose>
8474
8495
  <xsl:choose>
8475
8496
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
8476
8497
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -8521,7 +8542,9 @@
8521
8542
  <xsl:value-of select="normalize-space($abstract)"/>
8522
8543
  </dc:description>
8523
8544
  <pdf:Keywords>
8524
- <xsl:call-template name="insertKeywords"/>
8545
+ <xsl:call-template name="insertKeywords">
8546
+ <xsl:with-param name="meta">true</xsl:with-param>
8547
+ </xsl:call-template>
8525
8548
  </pdf:Keywords>
8526
8549
  </rdf:Description>
8527
8550
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -1903,10 +1903,12 @@
1903
1903
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
1904
1904
 
1905
1905
 
1906
+
1906
1907
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
1907
1908
 
1908
1909
 
1909
1910
 
1911
+
1910
1912
  <xsl:attribute name="text-align">justify</xsl:attribute>
1911
1913
 
1912
1914
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
@@ -2541,6 +2543,14 @@
2541
2543
 
2542
2544
 
2543
2545
 
2546
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
2547
+ <fo:block keep-with-previous="always" line-height="0.1">
2548
+ <xsl:for-each select="*[local-name()='bookmark']">
2549
+ <xsl:call-template name="bookmark"/>
2550
+ </xsl:for-each>
2551
+ </fo:block>
2552
+ </xsl:if>
2553
+
2544
2554
  </fo:block-container>
2545
2555
  </xsl:variable>
2546
2556
 
@@ -6334,7 +6344,7 @@
6334
6344
 
6335
6345
 
6336
6346
  <!-- <xsl:if test="$namespace = 'ieee'">
6337
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6347
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6338
6348
  </xsl:if> -->
6339
6349
 
6340
6350
 
@@ -7667,7 +7677,7 @@
7667
7677
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
7668
7678
  <!-- to split by '_' and other chars -->
7669
7679
  <xsl:call-template name="add-zero-spaces-java"/>
7670
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7680
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7671
7681
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
7672
7682
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
7673
7683
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -8446,6 +8456,7 @@
8446
8456
  </xsl:call-template>
8447
8457
  </xsl:template><xsl:template name="insertKeywords">
8448
8458
  <xsl:param name="sorting" select="'true'"/>
8459
+ <xsl:param name="meta" select="'false'"/>
8449
8460
  <xsl:param name="charAtEnd" select="'.'"/>
8450
8461
  <xsl:param name="charDelim" select="', '"/>
8451
8462
  <xsl:choose>
@@ -8453,6 +8464,7 @@
8453
8464
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8454
8465
  <xsl:sort data-type="text" order="ascending"/>
8455
8466
  <xsl:call-template name="insertKeyword">
8467
+ <xsl:with-param name="meta" select="$meta"/>
8456
8468
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8457
8469
  <xsl:with-param name="charDelim" select="$charDelim"/>
8458
8470
  </xsl:call-template>
@@ -8461,6 +8473,7 @@
8461
8473
  <xsl:otherwise>
8462
8474
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8463
8475
  <xsl:call-template name="insertKeyword">
8476
+ <xsl:with-param name="meta" select="$meta"/>
8464
8477
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8465
8478
  <xsl:with-param name="charDelim" select="$charDelim"/>
8466
8479
  </xsl:call-template>
@@ -8470,7 +8483,15 @@
8470
8483
  </xsl:template><xsl:template name="insertKeyword">
8471
8484
  <xsl:param name="charAtEnd"/>
8472
8485
  <xsl:param name="charDelim"/>
8473
- <xsl:apply-templates/>
8486
+ <xsl:param name="meta"/>
8487
+ <xsl:choose>
8488
+ <xsl:when test="$meta = 'true'">
8489
+ <xsl:value-of select="."/>
8490
+ </xsl:when>
8491
+ <xsl:otherwise>
8492
+ <xsl:apply-templates/>
8493
+ </xsl:otherwise>
8494
+ </xsl:choose>
8474
8495
  <xsl:choose>
8475
8496
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
8476
8497
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -8521,7 +8542,9 @@
8521
8542
  <xsl:value-of select="normalize-space($abstract)"/>
8522
8543
  </dc:description>
8523
8544
  <pdf:Keywords>
8524
- <xsl:call-template name="insertKeywords"/>
8545
+ <xsl:call-template name="insertKeywords">
8546
+ <xsl:with-param name="meta">true</xsl:with-param>
8547
+ </xsl:call-template>
8525
8548
  </pdf:Keywords>
8526
8549
  </rdf:Description>
8527
8550
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -2504,6 +2504,16 @@
2504
2504
  <text/>
2505
2505
  </element>
2506
2506
  </optional>
2507
+ <optional>
2508
+ <element name="amendment">
2509
+ <text/>
2510
+ </element>
2511
+ </optional>
2512
+ <optional>
2513
+ <element name="corrigendum">
2514
+ <text/>
2515
+ </element>
2516
+ </optional>
2507
2517
  <optional>
2508
2518
  <element name="language">
2509
2519
  <text/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3AAWG
3
- VERSION = "2.1.4".freeze
3
+ VERSION = "2.1.5".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.4
4
+ version: 2.1.5
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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities