metanorma-ietf 3.6.3 → 3.6.4

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: 8f6e4443d3285113f0feed7ef1361e5d4b66658596fedf93dac1202fbb726c7e
4
- data.tar.gz: 3c789caaf85f315377767b52a2f473dc91869f6b180b5dd72d0924bbed7fd777
3
+ metadata.gz: 847ebcc079c10fdcfc8298bc41d98602c51a9ec5708b0e5bd61bfb7e18bcd131
4
+ data.tar.gz: d542c9d3828babe304e69ec511af80b3fd622aa2084896d377efe2fc0f5c6382
5
5
  SHA512:
6
- metadata.gz: 327449e74a50a023b69472a9e25bd8dd9b6b796ea13b8f97f555bee6d88c4f28a937600bdd7f3628acbff6ae8a56bb8dc17638ec6699dcf20f219da7a142d9f9
7
- data.tar.gz: c1edfb038d079c034ce052f0b747dd3182c5361c5718904ad3083074016ae4c0eef3df2d9d9a56fe0d08a125448e090f540703a2ae830b3b9d2ceaad459f71e5
6
+ metadata.gz: 4c9012346f76db59d2bfdcf47ae3573a6fe92fffda03d25636bc7d8c6af5daf0fd577ab1da3ea9b0d2e7bc30c419bc2ec638b2e63b692ba3d133c8282dafbe7b
7
+ data.tar.gz: d33727a9961bce1c883c07d6a8039715b42e151e9fb42bed36a4d143ad89f7072d9d607d5a25f6a43ed1c253fb18908d28ba59cb1d0387111004ffee7fbcbb5e
@@ -127,6 +127,9 @@ module IsoDoc
127
127
  @isodoc.i18n_init("en", "Latn", nil, nil)
128
128
  end
129
129
 
130
+ def bibdata(docxml)
131
+ end
132
+
130
133
  include ::IsoDoc::Ietf::Init
131
134
  end
132
135
  end
@@ -10,7 +10,6 @@ module Metanorma
10
10
  xmldoc
11
11
  end
12
12
 
13
- # simplified
14
13
  def boilerplate_isodoc(xmldoc)
15
14
  x = xmldoc.dup
16
15
  x.root.add_namespace(nil, xml_namespace)
@@ -121,7 +121,7 @@ module Metanorma
121
121
  [t, rel]
122
122
  end
123
123
 
124
- def norm_ref_preface(sect); end
124
+ def norm_ref_preface(sect, isodoc); end
125
125
 
126
126
  def clause_attrs_preprocess(attrs, node)
127
127
  attrs[:numbered] = node.attr("numbered")
@@ -36,19 +36,11 @@ module Metanorma
36
36
  end
37
37
  end
38
38
 
39
- def title(node, xml)
40
- ["en"].each do |lang|
41
- at = { language: lang, format: "text/plain" }
42
- xml.title **attr_code(at.merge(type: "main")) do |t|
43
- t << (::Metanorma::Utils::asciidoc_sub(node.attr("title")) ||
44
- ::Metanorma::Utils::asciidoc_sub(node.attr("title-en")) ||
45
- ::Metanorma::Utils::asciidoc_sub(node.attr("doctitle")))
46
- end
47
- a = node.attr("abbrev") and
48
- xml.title a, **attr_code(at.merge(type: "abbrev"))
49
- a = node.attr("asciititle") and
50
- xml.title a, **attr_code(at.merge(type: "ascii"))
51
- end
39
+ def title_other(node, xml)
40
+ a = node.attr("abbrev") and
41
+ add_title_xml(xml, a, "en", "abbrev")
42
+ a = node.attr("asciititle") and
43
+ add_title_xml(xml, a, "en", "ascii")
52
44
  end
53
45
 
54
46
  def metadata_committee(node, xml)
@@ -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.2 -->
3
+ <!-- VERSION v2.1.3 -->
4
4
 
5
5
  <!--
6
6
  ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
@@ -455,14 +455,7 @@ normative or informative references, some split references into sections organiz
455
455
  </ref>
456
456
  </zeroOrMore>
457
457
  <zeroOrMore>
458
- <ref name="doc_bibitem">
459
- <a:documentation>Bibliographic item cited in the document</a:documentation>
460
- </ref>
461
- <zeroOrMore>
462
- <ref name="note">
463
- <a:documentation>Annotation of the bibliographic item</a:documentation>
464
- </ref>
465
- </zeroOrMore>
458
+ <ref name="ReferenceEntry"/>
466
459
  </zeroOrMore>
467
460
  <zeroOrMore>
468
461
  <ref name="references">
@@ -604,18 +597,21 @@ gives an explicit page orientation</a:documentation>
604
597
  </element>
605
598
  </optional>
606
599
  </define>
607
- </include>
608
- <!-- end overrides -->
609
- <define name="FnAttributes" combine="interleave">
610
- <ref name="RequiredId"/>
611
- <optional>
612
- <attribute name="hiddenref">
613
- <a:documentation>If true, number the footnote as normal, but suppress display of the footnote reference in the document body.
600
+ <define name="FnAttributes">
601
+ <ref name="RequiredId"/>
602
+ <optional>
603
+ <attribute name="hiddenref">
604
+ <a:documentation>If true, number the footnote as normal, but suppress display of the footnote reference in the document body.
614
605
  This is done if the footnote reference is already presented in some other form, e.g. within a figure image.</a:documentation>
615
- <data type="boolean"/>
606
+ <data type="boolean"/>
607
+ </attribute>
608
+ </optional>
609
+ <attribute name="reference">
610
+ <a:documentation>The number of the footnote, used to identify it visually</a:documentation>
616
611
  </attribute>
617
- </optional>
618
- </define>
612
+ </define>
613
+ </include>
614
+ <!-- end overrides -->
619
615
  <define name="TdAttributes" combine="interleave">
620
616
  <ref name="RequiredId"/>
621
617
  <optional>
@@ -853,6 +849,17 @@ titlecase, or lowercase</a:documentation>
853
849
  <value>informative</value>
854
850
  </choice>
855
851
  </define>
852
+ <define name="ReferenceEntry">
853
+ <a:documentation>Entry in bibliography</a:documentation>
854
+ <ref name="doc_bibitem">
855
+ <a:documentation>Bibliographic item cited in the document</a:documentation>
856
+ </ref>
857
+ <zeroOrMore>
858
+ <ref name="note">
859
+ <a:documentation>Annotation of the bibliographic item</a:documentation>
860
+ </ref>
861
+ </zeroOrMore>
862
+ </define>
856
863
  <define name="doc_bibitem">
857
864
  <a:documentation>Standardisation document representation of bibliographic entry</a:documentation>
858
865
  <element name="bibitem">
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.6.3".freeze
3
+ VERSION = "3.6.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3
4
+ version: 3.6.4
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-09-01 00:00:00.000000000 Z
11
+ date: 2025-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-ietf-data