metanorma-jis 0.3.5 → 0.3.7

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: fd38af1784c6d7f4494cbf4203af167b130319d5d339c56dff97b0e42d1fb264
4
- data.tar.gz: a54d5df226904400904b7e907fbdb665e20096c3136c6aa4c37ccc98b6c9b3e3
3
+ metadata.gz: 143689fe642bbafd3b997d46a587850eec0af4af80a0f30e302cfa2451c9cff1
4
+ data.tar.gz: c4f55a36d8c9279500128f725553473180c6574c44657e326990b5bfcc4fd74d
5
5
  SHA512:
6
- metadata.gz: 3733abc0cc0b77fc8401adb1ae3430afc980384ae45a3a9f45739913ce8d963e29c354b7bdbe9a9149f1fef1bd7681c6d0f8167de9a44979c680383f2d6295d4
7
- data.tar.gz: 267bc08daa21eda8885b747ba70503441643a5dd99dca434878573045d477f4757991fe8f89e6a922f026272cf17f04128031d29d7f4cfbfb3d058533dbe97ff
6
+ metadata.gz: dc0aba1f4821abc37de307e0fc9a2d7b0323a0c3508efcf345c6617c5b0c61ec177f08c87d0fc96676750038e18e985f90ff202ee1bc0d3c1e25b0af6e905480
7
+ data.tar.gz: 52d7c1db05596ebae3eac257c6da53394c361c18e93ff1bc5964f304983c24ea33b58f4b7c6d60760ec4814bef052a7706a3ec0a1e022ddffba2eb313c6220e5
@@ -1,5 +1,5 @@
1
1
  class Html2Doc
2
- class JIS < ::Html2Doc
2
+ class Jis < ::Html2Doc
3
3
  def list2para(list)
4
4
  return if list.xpath("./li").empty?
5
5
 
@@ -2,7 +2,7 @@ require "isodoc"
2
2
  require "metanorma-iso"
3
3
 
4
4
  module IsoDoc
5
- module JIS
5
+ module Jis
6
6
  module BaseConvert
7
7
  def termnote_parse(node, out)
8
8
  name = node.at(ns("./name"))&.remove
@@ -1,5 +1,5 @@
1
1
  module IsoDoc
2
- module JIS
2
+ module Jis
3
3
  class WordConvert < IsoDoc::Iso::WordConvert
4
4
  def figure_attrs(node)
5
5
  attr_code(id: node["id"], class: "MsoTableGrid",
@@ -4,7 +4,7 @@ require_relative "base_convert"
4
4
  require_relative "init"
5
5
 
6
6
  module IsoDoc
7
- module JIS
7
+ module Jis
8
8
  class HtmlConvert < IsoDoc::Iso::HtmlConvert
9
9
  def initialize(options)
10
10
  super
@@ -14,6 +14,7 @@ chairperson: 委員会長
14
14
  membership_table: 構成表
15
15
  full_name: 氏名
16
16
  affiliation: 所属
17
+ toc_page: 頁
17
18
  doctype_dict:
18
19
  international-standard: 日本産業規格
19
20
  japanese-industrial-standard: 日本産業規格
@@ -2,7 +2,7 @@ require "japanese_calendar"
2
2
  require "twitter_cldr"
3
3
 
4
4
  module IsoDoc
5
- module JIS
5
+ module Jis
6
6
  class I18n < IsoDoc::Iso::I18n
7
7
  def jis_load_file(fname)
8
8
  f = File.join(File.dirname(__FILE__), fname)
@@ -3,7 +3,7 @@ require_relative "metadata"
3
3
  require_relative "i18n"
4
4
 
5
5
  module IsoDoc
6
- module JIS
6
+ module Jis
7
7
  module Init
8
8
  def metadata_init(lang, script, locale, labels)
9
9
  @meta = Metadata.new(lang, script, locale, labels)
@@ -21,7 +21,7 @@ module IsoDoc
21
21
  end
22
22
 
23
23
  def bibrenderer(options = {})
24
- ::Relaton::Render::JIS::General.new(options.merge(language: @lang,
24
+ ::Relaton::Render::Jis::General.new(options.merge(language: @lang,
25
25
  i18nhash: @i18n.get))
26
26
  end
27
27