metanorma-iho 1.2.5 → 1.2.6

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.
@@ -24,7 +24,7 @@ module IsoDoc
24
24
 
25
25
  def bibrenderer(options = {})
26
26
  ::Relaton::Render::Iho::General.new(options
27
- .merge(language: @lang, i18nhash: @i18n.get))
27
+ .merge(language: @lang, script: @script, i18nhash: @i18n.get))
28
28
  end
29
29
 
30
30
  def info(isoxml, out)
@@ -150,6 +150,17 @@ _bib)
150
150
  %w(• — o)
151
151
  end
152
152
 
153
+ def bibliography_bibitem_tag1(ref, idx, norm)
154
+ ref.xpath(ns("./bibitem")).each do |b|
155
+ implicit_reference(b) and next
156
+ # display ordinal biblio tags whatever the supress-identifier status
157
+ # b["suppress_identifier"] == "true" and next
158
+ idx += 1 unless b["hidden"]
159
+ insert_biblio_tag(b, idx, !norm, standard?(b))
160
+ end
161
+ idx
162
+ end
163
+
153
164
  include Init
154
165
  end
155
166
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iho
3
- VERSION = "1.2.5".freeze
3
+ VERSION = "1.2.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
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-15 00:00:00.000000000 Z
11
+ date: 2025-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic