metanorma-plateau 1.1.6 → 1.2.0

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: 843c28dd5ffac493f6cae6c19881b2f916ecc248f525e399815c27071a7d48f3
4
- data.tar.gz: 9770bc7dfac3671e9863296316e7fd0ccc8d12403b6f007f42136e3b8d5e4a4f
3
+ metadata.gz: 8884cf001fbf3c61b94475e26e9c3b5dc2554a83b3f61b0d17ff7405c5eaed71
4
+ data.tar.gz: fd057e7061fc0560c93c028c590ffa67b27687b0636f46d42094559c5b23b46e
5
5
  SHA512:
6
- metadata.gz: 94e9153d5c042e1190f2583a4e469d43d2fcbbaa5439d5b0d26a093281fc5da9009355694f122ccd4f8600e6c70355ad58b736876429cb7c7543cedaa8b49554
7
- data.tar.gz: 5ae50d8ef9feb33aa7a6ca5741dce0aa8be30cb8104f2ff4e6ba39d93359f7feded5ef4cd5166053a52db2e3b87cdddbaa2fff5c96d600b19fe0cc2dd1712550
6
+ metadata.gz: 067324a1cd7969089df11322d31f8ceb3d71732a61c7000adfacf08cd45a3c9829abd9021bdbb9ad616b5abd19a766c57da0c7ead23cdcac66e285c2d1b11c8e
7
+ data.tar.gz: b60498caed98752f829fe7fb33b9e9c369f74414bed4569a7344c4731aea7fc8763db5bbf21c6f0750739d8764c34c68c4e04628bc7eabff7f93bea3a87ce066
@@ -2,3 +2,12 @@ doctype_dict:
2
2
  handbook: ガイドブック
3
3
  annex: 別冊
4
4
  technical-report: 技術資料
5
+ punct:
6
+ open-title: 「
7
+ close-title: 」
8
+ open-secondary-title: 『
9
+ close-secondary-title: 』
10
+ # If this is a punct symbol, we need a trailing half-width space, to allow it to be converted to cjk-latin-separator if Latn text follows
11
+ biblio-field-delimiter: " "
12
+ biblio-terminator: ""
13
+ comma: 、
@@ -2,10 +2,13 @@ require "isodoc"
2
2
  require_relative "metadata"
3
3
  require_relative "i18n"
4
4
  require_relative "xref"
5
+ require "metanorma-utils"
5
6
 
6
7
  module IsoDoc
7
8
  module Plateau
8
9
  module Init
10
+ Hash.include Metanorma::Utils::Hash
11
+
9
12
  def metadata_init(lang, script, locale, labels)
10
13
  @meta = Metadata.new(lang, script, locale, labels)
11
14
  end
@@ -21,7 +24,7 @@ module IsoDoc
21
24
  end
22
25
 
23
26
  def bibrenderer(options = {})
24
- ::Relaton::Render::Jis::General.new(options
27
+ ::Relaton::Render::Plateau::General.new(options
25
28
  .merge(language: @lang, script: @script, i18nhash: @i18n.get))
26
29
  end
27
30
  end