metanorma-cc 2.1.4 → 2.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ef4f9ebb812ee2caf69f863c4367d4bca5b2c956dccdc39aa346e7d1a74f3f4
4
- data.tar.gz: 84f3b82691f749111d3a5a6d5717cf6121a441deeaeade57fd93b11b48fb5a5a
3
+ metadata.gz: e98303d00f33f5c89bed4828260c3767651e7948d56fcbe51f1ac2410049bff6
4
+ data.tar.gz: 1c1223cb83ca200bee7fcbd7644fe2805ba080317c1cfe415382eadad03a5381
5
5
  SHA512:
6
- metadata.gz: 8319023cf9aea5f2aeda498a2343f853cfbc68b6121df318bfbb9f0dde8fa36f6d11fe40fea438113ea39f460381f4c8eb1acd515aa4094d423b1b0648f9bd71
7
- data.tar.gz: d18d0e56ff22f422474b4b46718ca32538770a1ad6eb91d4093329ac196a09c288961f293b94f49fceaa323c237fb5aafb7735598fe91c407d80838fa5336e58
6
+ metadata.gz: 0546fa6fc7d2268422832c0446beb8ce19c10737ca50fc3b8aceb76a0b15a6a1eaf48a9ea50c1022ccb874a450cffe2e4929e051a5c20e7468050d2b839f0845
7
+ data.tar.gz: 05cbb47948e90881a0f4eb8bf60e31acaa8355d12a83bf04d3a7224b420f4d1bcb3d8508df5c69ea11e06114fc4c06c5378d8737cb714035dc5f36bdc8f44bdb
@@ -722,7 +722,7 @@
722
722
 
723
723
 
724
724
 
725
- <xsl:attribute name="font-family">Source Sans Pro, STIX Two Math, <xsl:value-of select="$font_noto_sans"/></xsl:attribute>
725
+ <xsl:attribute name="font-family"><xsl:value-of select="$font_noto_sans"/>, STIX Two Math</xsl:attribute>
726
726
  <xsl:attribute name="font-family-generic">Sans</xsl:attribute>
727
727
  <xsl:attribute name="font-size">10.5pt</xsl:attribute>
728
728
 
@@ -870,7 +870,7 @@
870
870
 
871
871
 
872
872
 
873
- <xsl:attribute name="font-family">Source Code Pro, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
873
+ <xsl:attribute name="font-family"><xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
874
874
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
875
875
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
876
876
 
@@ -1497,7 +1497,7 @@
1497
1497
 
1498
1498
  </xsl:attribute-set><xsl:attribute-set name="tt-style">
1499
1499
 
1500
- <xsl:attribute name="font-family">Source Code Pro, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
1500
+ <xsl:attribute name="font-family"><xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
1501
1501
 
1502
1502
 
1503
1503
 
@@ -1826,10 +1826,12 @@
1826
1826
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
1827
1827
 
1828
1828
 
1829
+
1829
1830
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
1830
1831
 
1831
1832
 
1832
1833
 
1834
+
1833
1835
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
1834
1836
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
1835
1837
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -2451,6 +2453,14 @@
2451
2453
 
2452
2454
 
2453
2455
 
2456
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
2457
+ <fo:block keep-with-previous="always" line-height="0.1">
2458
+ <xsl:for-each select="*[local-name()='bookmark']">
2459
+ <xsl:call-template name="bookmark"/>
2460
+ </xsl:for-each>
2461
+ </fo:block>
2462
+ </xsl:if>
2463
+
2454
2464
  </fo:block-container>
2455
2465
  </xsl:variable>
2456
2466
 
@@ -6233,7 +6243,7 @@
6233
6243
 
6234
6244
 
6235
6245
  <!-- <xsl:if test="$namespace = 'ieee'">
6236
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6246
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6237
6247
  </xsl:if> -->
6238
6248
 
6239
6249
 
@@ -7568,7 +7578,7 @@
7568
7578
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
7569
7579
  <!-- to split by '_' and other chars -->
7570
7580
  <xsl:call-template name="add-zero-spaces-java"/>
7571
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7581
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7572
7582
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
7573
7583
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
7574
7584
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -8357,6 +8367,7 @@
8357
8367
  </xsl:call-template>
8358
8368
  </xsl:template><xsl:template name="insertKeywords">
8359
8369
  <xsl:param name="sorting" select="'true'"/>
8370
+ <xsl:param name="meta" select="'false'"/>
8360
8371
  <xsl:param name="charAtEnd" select="'.'"/>
8361
8372
  <xsl:param name="charDelim" select="', '"/>
8362
8373
  <xsl:choose>
@@ -8364,6 +8375,7 @@
8364
8375
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8365
8376
  <xsl:sort data-type="text" order="ascending"/>
8366
8377
  <xsl:call-template name="insertKeyword">
8378
+ <xsl:with-param name="meta" select="$meta"/>
8367
8379
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8368
8380
  <xsl:with-param name="charDelim" select="$charDelim"/>
8369
8381
  </xsl:call-template>
@@ -8372,6 +8384,7 @@
8372
8384
  <xsl:otherwise>
8373
8385
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
8374
8386
  <xsl:call-template name="insertKeyword">
8387
+ <xsl:with-param name="meta" select="$meta"/>
8375
8388
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
8376
8389
  <xsl:with-param name="charDelim" select="$charDelim"/>
8377
8390
  </xsl:call-template>
@@ -8381,7 +8394,15 @@
8381
8394
  </xsl:template><xsl:template name="insertKeyword">
8382
8395
  <xsl:param name="charAtEnd"/>
8383
8396
  <xsl:param name="charDelim"/>
8384
- <xsl:apply-templates/>
8397
+ <xsl:param name="meta"/>
8398
+ <xsl:choose>
8399
+ <xsl:when test="$meta = 'true'">
8400
+ <xsl:value-of select="."/>
8401
+ </xsl:when>
8402
+ <xsl:otherwise>
8403
+ <xsl:apply-templates/>
8404
+ </xsl:otherwise>
8405
+ </xsl:choose>
8385
8406
  <xsl:choose>
8386
8407
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
8387
8408
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -8432,7 +8453,9 @@
8432
8453
  <xsl:value-of select="normalize-space($abstract)"/>
8433
8454
  </dc:description>
8434
8455
  <pdf:Keywords>
8435
- <xsl:call-template name="insertKeywords"/>
8456
+ <xsl:call-template name="insertKeywords">
8457
+ <xsl:with-param name="meta">true</xsl:with-param>
8458
+ </xsl:call-template>
8436
8459
  </pdf:Keywords>
8437
8460
  </rdf:Description>
8438
8461
  <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 CC
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-cc
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: metanorma-generic