isodoc 2.5.10 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/isodoc.gemspec +1 -1
  3. data/lib/isodoc/base_style/metanorma_word.css +3 -3
  4. data/lib/isodoc/base_style/metanorma_word.scss +5 -3
  5. data/lib/isodoc/common.rb +13 -13
  6. data/lib/isodoc/convert.rb +4 -2
  7. data/lib/isodoc/function/blocks.rb +1 -4
  8. data/lib/isodoc/function/blocks_example_note.rb +1 -7
  9. data/lib/isodoc/function/inline.rb +2 -2
  10. data/lib/isodoc/function/references.rb +13 -15
  11. data/lib/isodoc/function/section.rb +35 -63
  12. data/lib/isodoc/function/section_titles.rb +0 -14
  13. data/lib/isodoc/function/to_word_html.rb +44 -21
  14. data/lib/isodoc/function/utils.rb +1 -0
  15. data/lib/isodoc/html_function/footnotes.rb +2 -2
  16. data/lib/isodoc/html_function/html.rb +0 -10
  17. data/lib/isodoc/init.rb +11 -3
  18. data/lib/isodoc/metadata.rb +3 -3
  19. data/lib/isodoc/metadata_contributor.rb +7 -1
  20. data/lib/isodoc/presentation_function/erefs.rb +2 -2
  21. data/lib/isodoc/presentation_function/image.rb +22 -10
  22. data/lib/isodoc/presentation_function/inline.rb +12 -13
  23. data/lib/isodoc/presentation_function/refs.rb +16 -3
  24. data/lib/isodoc/presentation_function/section.rb +39 -20
  25. data/lib/isodoc/presentation_function/terms.rb +7 -0
  26. data/lib/isodoc/presentation_function/xrefs.rb +4 -4
  27. data/lib/isodoc/presentation_xml_convert.rb +3 -1
  28. data/lib/isodoc/version.rb +1 -1
  29. data/lib/isodoc/word_function/body.rb +15 -6
  30. data/lib/isodoc/word_function/inline.rb +3 -3
  31. data/lib/isodoc/word_function/postprocess.rb +20 -4
  32. data/lib/isodoc/xref/xref_gen.rb +5 -5
  33. data/lib/isodoc/xref/xref_sect_gen.rb +90 -34
  34. data/lib/isodoc-yaml/i18n-ar.yaml +1 -1
  35. data/lib/isodoc-yaml/i18n-de.yaml +1 -1
  36. data/lib/isodoc-yaml/i18n-en.yaml +1 -1
  37. data/lib/isodoc-yaml/i18n-es.yaml +1 -1
  38. data/lib/isodoc-yaml/i18n-fr.yaml +1 -1
  39. data/lib/isodoc-yaml/i18n-ja.yaml +1 -1
  40. data/lib/isodoc-yaml/i18n-ru.yaml +1 -1
  41. data/lib/isodoc-yaml/i18n-zh-Hans.yaml +1 -1
  42. metadata +4 -4
@@ -34,7 +34,7 @@ external_terms_boilerplate: |
34
34
  <p>Para los propósitos de este documento, se aplican los términos y definiciones dados en %.</p>
35
35
  internal_external_terms_boilerplate: |
36
36
  <p>Para los propósitos de este documento, se aplican los términos y definiciones dados en % y los siguientes.</p>
37
- term_defined_in: "[término definido en %]"
37
+ term_defined_in: "(%)"
38
38
  binary_and: "%1 y %2"
39
39
  multiple_and: "%1, y %2"
40
40
  binary_or: "%1 o %2"
@@ -31,7 +31,7 @@ external_terms_boilerplate: |
31
31
  <p>Pour les besoins du présent document, les termes et définitions de % s’appliquent.</p>
32
32
  internal_external_terms_boilerplate: |
33
33
  <p>Pour les besoins du présent document, les termes et définitions de % ainsi que les suivants, s’appliquent.</p>
34
- term_defined_in: "[terme défini dans %]"
34
+ term_defined_in: "(%)"
35
35
  binary_and: "%1 et %2"
36
36
  multiple_and: "%1, et %2"
37
37
  binary_or: "%1 ou %2"
@@ -31,7 +31,7 @@ external_terms_boilerplate: |
31
31
  <p>この規格で用いる主な用語及び定義は,% による。</p>
32
32
  internal_external_terms_boilerplate: |
33
33
  <p>この規格で用いる主な用語及び定義は,次によるほか,% による。</p>
34
- term_defined_in: "[term defined in %]"
34
+ term_defined_in: "(%)"
35
35
  binary_and: "%1 and %2"
36
36
  multiple_and: "%1, and %2"
37
37
  binary_or: "%1 or %2"
@@ -37,7 +37,7 @@ external_terms_boilerplate: |
37
37
  internal_external_terms_boilerplate: |
38
38
  <p>Для целей этого документа применяются
39
39
  термины и определения, данные в % и следующие.</p>
40
- term_defined_in: "[термин, определенный в %]"
40
+ term_defined_in: "(%)"
41
41
  binary_and: "%1 и %2"
42
42
  multiple_and: "%1, и %2"
43
43
  binary_or: "%1 или %2"
@@ -33,7 +33,7 @@ external_terms_boilerplate: |
33
33
  <p>% 界定的术语和定义适用于本文件。</p>
34
34
  internal_external_terms_boilerplate: |
35
35
  <p>% 界定的以及下列术语和定义适用于本文件。</p>
36
- term_defined_in: "〖术语于%中定义〗"
36
+ term_defined_in: "(%)"
37
37
  binary_and: "%1和%2"
38
38
  multiple_and: "%1、和%2"
39
39
  binary_or: "%1或%2"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.10
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html2doc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.5.3
19
+ version: 1.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.5.3
26
+ version: 1.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: htmlentities
29
29
  requirement: !ruby/object:Gem::Requirement