metanorma-iec 2.7.9 → 2.7.10

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: bffe3dc7f47a6224338384ab6f340cf8f7aeaeceb35d285b62cd6164b903cf17
4
- data.tar.gz: 51bf729e3384078f31137aad3ce4957215f8587414773701fbf49f9ece90a8cd
3
+ metadata.gz: 166fc172babb1d1d0faca61bee2ce568fea3fd81b121d70914e6ab93a6b970d6
4
+ data.tar.gz: 98d3ed3445ccfd6990ca0a677d2041076417652c949c48b4eb3e865444309f0f
5
5
  SHA512:
6
- metadata.gz: 0e590c6b1bee11faf37e90981be854eadf793c85f24973589b497539f881a2b5628896b496592c273fc1f6a692afab578ef4f6addfc5de77066d5f9c8a97219c
7
- data.tar.gz: b2298ce01b023231d8736215e77c2e6c5d2e95da65dce72436b19ac2490cca1a438fad66851068d5ef059ff730dc942d6b7291a03b6425e07f1807a5a4384b4b
6
+ metadata.gz: 3e21b51702068630a1d9d59246af61ff7da096a1ef77b8deb8a896b97dd22155e70ebcc4c8d4cfdecff59f256e658580e0f6779bd70e8ed55b0d5284e464f3c5
7
+ data.tar.gz: 3a33cc8d361ea0511310937cccff1f6063313d08682cc066f8d0d64261f9905bdaf158363b93559e1e5927cdbf7c21a684cdbedeb4171bf83551fb820c11de42
@@ -3408,7 +3408,7 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
3408
3408
  <xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
3409
3409
  <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>
3410
3410
 
3411
- <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">
3411
+ <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">
3412
3412
 
3413
3413
  <xsl:variable name="parent" select="local-name(..)"/>
3414
3414
 
@@ -14554,9 +14554,12 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
14554
14554
  </xsl:template> <!-- refine_title-style -->
14555
14555
 
14556
14556
  <xsl:template name="processPrefaceSectionsDefault">
14557
+ <xsl:param name="num"/>
14557
14558
  <xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
14558
14559
  <xsl:sort select="@displayorder" data-type="number"/>
14559
- <xsl:apply-templates select="."/>
14560
+ <xsl:apply-templates select=".">
14561
+ <xsl:with-param name="num" select="$num"/>
14562
+ </xsl:apply-templates>
14560
14563
  </xsl:for-each>
14561
14564
  </xsl:template>
14562
14565
 
@@ -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,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.7.9".freeze
3
+ VERSION = "2.7.10".freeze
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.9
4
+ version: 2.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
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-iso