metanorma-itu 2.5.8 → 2.5.9

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: 8909beb4719bf31b9c0b76ddb06988f67e91dd0a5e7c49ca14017f9de203c9c9
4
- data.tar.gz: 70a5bbf71297beb02ae879a0fadf2abef6969c0c612132c9840fbdbac2b4158f
3
+ metadata.gz: 07febc1da79ed58da9a7ec29a626c5612d5a54da9e77003b7adf70531f9738ca
4
+ data.tar.gz: 760aa9b1e6bbf86f9ec4f127519ba5d9a6493020ef5ee281c8010a5d57607136
5
5
  SHA512:
6
- metadata.gz: 515dae7b7a649197009f7d37d1c8eeb1f1c13022fdd021a4e5eac5ec3e2bca4dee9adb4502bcc942998783473e86cba96e5d4ac997d93aed0ecbe9037ae846f3
7
- data.tar.gz: d1fa2804a6a16b6f55e3ea7affcd57d1f0dc728b0c45ee2a3dd74c8817881240b9f27d612157749c96f02f321218aea018ced98b907cac13044a2bd6e0cae993
6
+ metadata.gz: 0d3e2e0eef213be48fb71f1bb4f0582b4cabcc95a770ef2fd7cdf4d5f8f7b5fb1e3155acea1d2c256b5ecc500919fd4927bf5c1b3829cb340ea6972a964f31b0
7
+ data.tar.gz: fd6cc9a7c452b97962bd84797e3394c3211c27d49cc5220e755bda5ebf2fc229e1c25b9a497fbdc86fb1a356a6cd3d5ff2349df968075df94889f27f06938aa5
@@ -12,10 +12,10 @@ module IsoDoc
12
12
  "[not(local-name() = 'abstract')]".freeze
13
13
 
14
14
  def introduction(clause, out)
15
- title = clause.at(ns("./title"))
15
+ title = clause.at(ns("./fmt-title"))
16
16
  out.div **attr_code(clause_attrs(clause)) do |s|
17
17
  clause_name(clause, title, s, class: "IntroTitle")
18
- clause.elements.reject { |c1| c1.name == "title" }.each do |c1|
18
+ clause.elements.reject { |c1| c1.name == "fmt-title" }.each do |c1|
19
19
  parse(c1, s)
20
20
  end
21
21
  end
@@ -65,9 +65,9 @@ module IsoDoc
65
65
  @meta.get[:doctype_original] == "recommendation-annex" or
66
66
  page_break(out)
67
67
  out.div **attr_code(id: node["id"], class: "Section3") do |s|
68
- annex_name(node, nil, s) unless node.at(ns("./title"))
68
+ annex_name(node, nil, s) unless node.at(ns("./fmt-title"))
69
69
  node.elements.each do |c1|
70
- if c1.name == "title" then annex_name(node, c1, s)
70
+ if c1.name == "fmt-title" then annex_name(node, c1, s)
71
71
  else
72
72
  parse(c1, s)
73
73
  end
@@ -82,7 +82,8 @@ module IsoDoc
82
82
  super
83
83
  end
84
84
 
85
- def note_p_parse(node, div)
85
+ # TODO kill
86
+ def note_p_parsex(node, div)
86
87
  name = node.at(ns("./name"))&.remove
87
88
  div.p do |p|
88
89
  name and p.span class: "note_label" do |s|
@@ -93,7 +94,8 @@ module IsoDoc
93
94
  node.element_children[1..-1].each { |n| parse(n, div) }
94
95
  end
95
96
 
96
- def note_parse1(node, div)
97
+ # TODO kill
98
+ def note_parse1x(node, div)
97
99
  name = node.at(ns("./name"))&.remove
98
100
  div.p do |p|
99
101
  name and p.span class: "note_label" do |s|
@@ -119,7 +121,7 @@ module IsoDoc
119
121
  def clause(clause, out)
120
122
  out.div **attr_code(clause_attrs(clause)) do |s|
121
123
  clause.elements.each do |c1|
122
- if c1.name == "title" then clause_name(clause, c1, s, nil)
124
+ if c1.name == "fmt-title" then clause_name(clause, c1, s, nil)
123
125
  else
124
126
  parse(c1, s)
125
127
  end
@@ -136,7 +138,7 @@ module IsoDoc
136
138
  def dl1(dlist)
137
139
  ret = dl2tbody(dlist)
138
140
  n = dlist.at(ns("./colgroup")) and ret = "#{n.remove.to_xml}#{ret}"
139
- n = dlist.at(ns("./name")) and ret = "#{n.remove.to_xml}#{ret}"
141
+ n = dlist.at(ns("./fmt-name")) and ret = "#{n.remove.to_xml}#{ret}"
140
142
  dlist.name = "table"
141
143
  dlist["class"] = "dl"
142
144
  dlist.children.first.previous = ret
@@ -10,7 +10,7 @@ termsdef: مصطلحات معرفة
10
10
  termsdefsymbolsabbrev: تعريف
11
11
  termsdefsymbols: تعريف
12
12
  termsdefabbrev: تعريف
13
- termnote: ملاحظة
13
+ termnote: <span class='fmt-element-name'>ﻡﻼﺤﻇﺓ</span> ؜%؜
14
14
  normref: المراجع المعيارية
15
15
  symbolsabbrev: اختصار
16
16
  abbrev: اختصار
@@ -31,7 +31,7 @@ annex_subclause: فقرة
31
31
  keywords: الكلمات الدالة
32
32
  in: في
33
33
  to: إلى
34
- nested_xref: "%2 في %1"
34
+ nested_xref: "%2 <conn>ﻒﻳ</conn> %1"
35
35
  where: ":حيث,"
36
36
  where_one: "حيث,"
37
37
  blankclause: تم ترك هذا الشرط فارغًا عمدًا
@@ -10,7 +10,7 @@ termsdef: Definitionen
10
10
  termsdefsymbolsabbrev: Definitionen
11
11
  termsdefsymbols: Definitionen
12
12
  termsdefabbrev: Definitionen
13
- termnote: HINWEIS %
13
+ termnote: <span class='fmt-element-name'>HINWEIS</span> %
14
14
  normref: Referenzen
15
15
  symbolsabbrev: Abkürzungen und Akronyme
16
16
  abbrev: Abkürzungen und Akronyme
@@ -30,7 +30,7 @@ annex_subclause: Klausel
30
30
  keywords: Schlüsselwörter
31
31
  in: in
32
32
  to: bis
33
- nested_xref: "%2 in %1"
33
+ nested_xref: "%2 <conn>in</conn> %1"
34
34
  where: "wobei:"
35
35
  where_one: "wobei"
36
36
  blankclause: Diese Klausel ist absichtlich leer gelassen
@@ -10,7 +10,7 @@ termsdef: Definitions
10
10
  termsdefsymbolsabbrev: Definitions
11
11
  termsdefsymbols: Definitions
12
12
  termsdefabbrev: Definitions
13
- termnote: NOTE %
13
+ termnote: <span class='fmt-element-name'>NOTE</span> %
14
14
  normref: References
15
15
  symbolsabbrev: Abbreviations and acronyms
16
16
  abbrev: Abbreviations and acronyms
@@ -33,7 +33,7 @@ in: in
33
33
  to: to
34
34
  where: "where:"
35
35
  where_one: "where"
36
- nested_xref: "%2 in %1"
36
+ nested_xref: "%2 <conn>in</conn> %1"
37
37
  blankclause: This clause is intentionally left blank.
38
38
  norm_with_refs_pref:
39
39
  The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
@@ -10,7 +10,7 @@ termsdef: Definiciones
10
10
  termsdefsymbolsabbrev: Definiciones
11
11
  termsdefsymbols: Definiciones
12
12
  termsdefabbrev: Definiciones
13
- termnote: NOTA %
13
+ termnote: <span class='fmt-element-name'>NOTA</span> %
14
14
  normref: Referencias
15
15
  symbolsabbrev: Abreviaciones y acrónimos
16
16
  abbrev: Abreviaciones y acrónimos
@@ -31,7 +31,7 @@ annex_subclause: cláusula
31
31
  keywords: Palabras clave
32
32
  in: en
33
33
  to: a
34
- nested_xref: "%2 en %1"
34
+ nested_xref: "%2 <conn>en</conn> %1"
35
35
  where: "donde:"
36
36
  where_one: "donde"
37
37
  blankclause: Esta cláusula se deja en blanco intencionalmente.
@@ -10,7 +10,7 @@ termsdef: Définitions
10
10
  termsdefsymbolsabbrev: Définitions
11
11
  termsdefsymbols: Définitions
12
12
  termsdefabbrev: Définitions
13
- termnote: NOTE %
13
+ termnote: <span class='fmt-element-name'>NOTE</span> %
14
14
  normref: Références
15
15
  symbolsabbrev: Abréviations et acronymes
16
16
  abbrev: Abréviations et acronymes
@@ -31,7 +31,7 @@ annex_subclause: article
31
31
  keywords: Mots clés
32
32
  in: dans
33
33
  to: à
34
- nested_xref: "%2 dans %1"
34
+ nested_xref: "%2 <conn>dans</conn> %1"
35
35
  where: "où:"
36
36
  where_one: "où"
37
37
  blankclause: Cette clause est laissée en blanc intentionnellement.
@@ -10,7 +10,7 @@ termsdef: Определения
10
10
  termsdefsymbolsabbrev: Определения
11
11
  termsdefsymbols: Определения
12
12
  termsdefabbrev: Определения
13
- termnote: ПРИМЕЧАНИЕ %
13
+ termnote: <span class='fmt-element-name'>ПРИМЕЧАНИЕ</span> %
14
14
  normref: Ссылки
15
15
  symbolsabbrev: Сокращения и акронимы
16
16
  abbrev: Сокращения и акронимы
@@ -31,7 +31,7 @@ annex_subclause: пункт
31
31
  keywords: Ключевые слова
32
32
  in: в
33
33
  to: до
34
- nested_xref: "%2 в %1"
34
+ nested_xref: "%2 <conn>в</conn> %1"
35
35
  where: "где:"
36
36
  where_one: "где"
37
37
  blankclause: Этот пункт намеренно оставлен пустым.
@@ -10,7 +10,7 @@ termsdef: 定义
10
10
  termsdefsymbolsabbrev: 定义
11
11
  termsdefsymbols: 定义
12
12
  termsdefabbrev: 定义
13
- termnote: %
13
+ termnote: <span class='fmt-element-name'>注</span>%
14
14
  normref: 规范性参考文献
15
15
  symbolsabbrev: 缩略语与缩写
16
16
  abbrev: 缩略语与缩写
@@ -31,7 +31,7 @@ annex_subclause: 条款
31
31
  keywords: 关键词
32
32
  in: 中的
33
33
  to: 至
34
- nested_xref: "%1中的%2"
34
+ nested_xref: "%1<conn>中的</conn>%2"
35
35
  where: 式中:
36
36
  where_one: 式中
37
37
  blankclause: This clause is intentionally left blank.
@@ -22,8 +22,8 @@ module IsoDoc
22
22
  end
23
23
 
24
24
  def bibrenderer(options = {})
25
- ::Relaton::Render::Itu::General.new(options.merge(language: @lang,
26
- i18nhash: @i18n.get))
25
+ ::Relaton::Render::Itu::General.new(options
26
+ .merge(language: @lang, i18nhash: @i18n.get))
27
27
  end
28
28
 
29
29
  def fileloc(loc)