metanorma-csa 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: 66c0fc74ab5df13e38d5e6b656c19cdb1922857b1ee25d2a187c8733cae2bf80
4
- data.tar.gz: cb5ae68c6256eb42f948a2805a3dddce032312014b66de325152ec21a57543aa
3
+ metadata.gz: 6139996072717cfc8cf816cb62386b0c9ac9627bd5696b43ad259a5131923295
4
+ data.tar.gz: 14644e80340f6ee2c18f94866c6f5e25d4aa8ffc5817692be334771e42d574d1
5
5
  SHA512:
6
- metadata.gz: 2e6f2e8d7f44c81adb13a585b8266566366f24cc4d9cc75cabc5afa7a63af2d2c941b44dda3b1c80e7c18a58f03c49ceb0b34b2a98be5068d72984291b962b1b
7
- data.tar.gz: 29f5a30f4a64d39042f51fd07b94e6389b6c39a6d239c9176ac8349d51383707569e6aaaab2d165dc9f32f21b0b1191efbb955b509d4791248880190e5866eeb
6
+ metadata.gz: 59f769d2b1949d9fd9e2c5596f2a502534048b1c7c5a7d4e0889e723b9fe217168eeafce6422f6e0410761c3757446222de0de18e64253e098f27210ed0add42
7
+ data.tar.gz: 8b157609f48ddafdb23d172986c382039c8bc743d4f10539225d8ad52e0636f8222ccf0462c2b4f6f1963edabf118e128b161611c7f7db56604e04e87bf2af90
@@ -874,7 +874,7 @@
874
874
  <xsl:attribute name="role">Code</xsl:attribute>
875
875
 
876
876
 
877
- <xsl:attribute name="font-family">Source Code Pro, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
877
+ <xsl:attribute name="font-family"><xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
878
878
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
879
879
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
880
880
  <xsl:attribute name="line-height">113%</xsl:attribute>
@@ -1498,7 +1498,7 @@
1498
1498
 
1499
1499
  </xsl:attribute-set><xsl:attribute-set name="tt-style">
1500
1500
 
1501
- <xsl:attribute name="font-family">Source Code Pro, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
1501
+ <xsl:attribute name="font-family"><xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
1502
1502
 
1503
1503
 
1504
1504
 
@@ -1846,10 +1846,12 @@
1846
1846
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
1847
1847
 
1848
1848
 
1849
+
1849
1850
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
1850
1851
 
1851
1852
 
1852
1853
 
1854
+
1853
1855
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
1854
1856
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
1855
1857
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -2474,6 +2476,14 @@
2474
2476
 
2475
2477
 
2476
2478
 
2479
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
2480
+ <fo:block keep-with-previous="always" line-height="0.1">
2481
+ <xsl:for-each select="*[local-name()='bookmark']">
2482
+ <xsl:call-template name="bookmark"/>
2483
+ </xsl:for-each>
2484
+ </fo:block>
2485
+ </xsl:if>
2486
+
2477
2487
  </fo:block-container>
2478
2488
  </xsl:variable>
2479
2489
 
@@ -6260,7 +6270,7 @@
6260
6270
 
6261
6271
 
6262
6272
  <!-- <xsl:if test="$namespace = 'ieee'">
6263
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6273
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6264
6274
  </xsl:if> -->
6265
6275
 
6266
6276
 
@@ -7584,7 +7594,7 @@
7584
7594
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
7585
7595
  <!-- to split by '_' and other chars -->
7586
7596
  <xsl:call-template name="add-zero-spaces-java"/>
7587
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7597
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7588
7598
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
7589
7599
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
7590
7600
  <!-- 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 Csa
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-csa
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