Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 28, 2024
1 parent 4bee44d commit c882202
Show file tree
Hide file tree
Showing 6 changed files with 10,822 additions and 10,565 deletions.
6 changes: 3 additions & 3 deletions lib/isodoc/itu/xref_section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def annex_names1(clause, num, level)
{ label: num, elem: @labels["annex_subclause"],
xref: @doctype == "resolution" ? num : l10n("#{@labels['annex_subclause']} #{num}"),
level: level, type: "clause" }
i = Counter.new(0, prefix: "#{num}.")
i = Counter.new(0, prefix: num)
clause.xpath(ns("./clause | ./references | ./terms | ./definitions"))
.each do |c|
annex_names1(c, i.increment(c).print, level + 1)
Expand Down Expand Up @@ -92,7 +92,7 @@ def section_names(clause, num, lvl)
@anchors[clause["id"]] =
{ label: num.print, xref: l10n("#{lbl} #{num.print}"),
level: lvl, type: "clause", elem: lbl }
i = Counter.new(0, prefix: "#{num.print}.")
i = Counter.new(0, prefix: num.print)
clause.xpath(ns(SUBCLAUSES)).each do |c|
section_names1(c, i.increment(c).print, lvl + 1)
end
Expand All @@ -105,7 +105,7 @@ def section_names1(clause, num, level)
{ label: num, level: level,
elem: @doctype == "resolution" ? "" : @labels["clause"],
xref: x }
i = Counter.new(0, prefix: "#{num}.")
i = Counter.new(0, prefix: num)
clause.xpath(ns(SUBCLAUSES)).each do |c|
section_names1(c, i.increment(c).print, level + 1)
end
Expand Down
1 change: 0 additions & 1 deletion lib/metanorma/itu/front.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ def metadata_ext(node, xml)
metadata_techreport(node, xml)
metadata_contribution(node, xml)
structured_id(node, xml)
metadata_coverpage_images(node, xml)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/metanorma/itu/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module Itu
VERSION = "2.5.5".freeze
VERSION = "2.5.6".freeze
end
end
4 changes: 2 additions & 2 deletions spec/isodoc/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
</abstract>
<clause type="keyword" displayorder="3">
<title depth="1">关 键 词</title>
<p>AB.</p>
<p>A, B.</p>
</clause>
<foreword obligation="informative" displayorder="4">
<title>Foreword</title>
Expand Down Expand Up @@ -295,7 +295,7 @@
</div>
<div class="Keyword">
<h1 class="IntroTitle">关 键 词</h1>
<p>AB.</p>
<p>A, B.</p>
</div>
<div>
<h1 class='IntroTitle'>Foreword</h1>
Expand Down
Loading

0 comments on commit c882202

Please sign in to comment.