metanorma-cc 2.7.8 → 2.7.9

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: 133aa4b414d618cedc7b55af3a6757def2340c8d08924c1223d0150374aadc7d
4
- data.tar.gz: 8d806a8a001e20ec52b6afb2424fcb929d02b57a650a36a5516508521aa6b686
3
+ metadata.gz: df1b28d9833b4e7eb481375744567ea2c6be3a35f565d7845c6b476058168c6b
4
+ data.tar.gz: 8b2c58175c4c986baeb8064d0f855a138d614bd3c183779550b46034dfded8c8
5
5
  SHA512:
6
- metadata.gz: fb3411b4bb45194a3e88b1b7651954ce87f535d43d44c14cf2ba04213e6275950b30ce1e9aa208134df76e97f429f5aa5463af33503091c6dc1ace3f258db029
7
- data.tar.gz: '026800bbab8312d4df0776fb6b08bc756f019a87f4c7859cbe2be56f64872ef37d4ad3c1c9d7b7cba405869eb8810b85363c835a77d563f9ab347a3d39415eb9'
6
+ metadata.gz: 07d568a091e112978f4dabf0f8e902ebb25c826c2cd2cfa9941941195cc4a8a03db648af11c26b64bb5834d7d022b79a34750d4e97ab186ef7e4716fdb64cb35
7
+ data.tar.gz: f797e63800468c093afd5310de758da9772757c47a407164d3965cdc4ad63b296adedcfe34980f07bbb9767bce617c72942842a6887aec51958b307f2dc3d768
@@ -1832,7 +1832,7 @@
1832
1832
  <xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
1833
1833
  <xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
1834
1834
 
1835
- <xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
1835
+ <xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() &gt; 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
1836
1836
 
1837
1837
  <xsl:variable name="parent" select="local-name(..)"/>
1838
1838
 
@@ -12731,9 +12731,12 @@
12731
12731
  </xsl:template> <!-- refine_title-style -->
12732
12732
 
12733
12733
  <xsl:template name="processPrefaceSectionsDefault">
12734
+ <xsl:param name="num"/>
12734
12735
  <xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
12735
12736
  <xsl:sort select="@displayorder" data-type="number"/>
12736
- <xsl:apply-templates select="."/>
12737
+ <xsl:apply-templates select=".">
12738
+ <xsl:with-param name="num" select="$num"/>
12739
+ </xsl:apply-templates>
12737
12740
  </xsl:for-each>
12738
12741
  </xsl:template>
12739
12742
 
@@ -466,11 +466,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
466
466
  <a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
467
467
  </ref>
468
468
  </optional>
469
- <optional>
469
+ <zeroOrMore>
470
470
  <ref name="logo">
471
471
  <a:documentation>A logo for the organization</a:documentation>
472
472
  </ref>
473
- </optional>
473
+ </zeroOrMore>
474
474
  </define>
475
475
  <define name="orgname">
476
476
  <element name="name">
@@ -502,6 +502,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
502
502
  </define>
503
503
  <define name="logo">
504
504
  <element name="logo">
505
+ <optional>
506
+ <attribute name="type">
507
+ <a:documentation>The type of logo</a:documentation>
508
+ </attribute>
509
+ </optional>
505
510
  <ref name="image-no-id"/>
506
511
  </element>
507
512
  </define>
@@ -513,6 +518,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
513
518
  <a:documentation>Description of what is being depicted</a:documentation>
514
519
  </attribute>
515
520
  </optional>
521
+ <optional>
522
+ <attribute name="type">
523
+ <a:documentation>Description of what kind of depiction this</a:documentation>
524
+ </attribute>
525
+ </optional>
516
526
  <zeroOrMore>
517
527
  <ref name="image-no-id">
518
528
  <a:documentation>A visual depiction of the bibliographic item</a:documentation>
@@ -1236,9 +1246,9 @@ Refer to `BibliographicItem` for definitions</a:documentation>
1236
1246
  <optional>
1237
1247
  <ref name="validity"/>
1238
1248
  </optional>
1239
- <optional>
1249
+ <zeroOrMore>
1240
1250
  <ref name="depiction"/>
1241
- </optional>
1251
+ </zeroOrMore>
1242
1252
  </define>
1243
1253
  <define name="btitle">
1244
1254
  <a:documentation>A title of a bibliographic item, associated with a type of title</a:documentation>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!-- VERSION v2.1.4 -->
3
+ <!-- VERSION v2.1.5 -->
4
4
 
5
5
  <!--
6
6
  ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Cc
3
- VERSION = "2.7.8".freeze
3
+ VERSION = "2.7.9".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.7.8
4
+ version: 2.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-17 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic