metanorma-iso 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/iso/base.rb +0 -1
- data/lib/asciidoctor/iso/cleanup.rb +0 -1
- data/lib/asciidoctor/iso/converter.rb +0 -1
- data/lib/asciidoctor/iso/deprecated.rb +4 -2
- data/lib/asciidoctor/iso/front.rb +0 -1
- data/lib/asciidoctor/iso/front_id.rb +0 -1
- data/lib/asciidoctor/iso/section.rb +0 -1
- data/lib/asciidoctor/iso/validate.rb +0 -1
- data/lib/asciidoctor/iso/validate_image.rb +0 -1
- data/lib/asciidoctor/iso/validate_requirements.rb +0 -1
- data/lib/asciidoctor/iso/validate_section.rb +0 -1
- data/lib/asciidoctor/iso/validate_style.rb +0 -1
- data/lib/asciidoctor/iso/validate_title.rb +0 -1
- data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/html/word_iso_titlepage-dis.html +1 -1
- data/lib/isodoc/iso/html/word_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/i18n-en.yaml +1 -1
- data/lib/isodoc/iso/index.rb +1 -1
- data/lib/isodoc/iso/iso.amendment.xsl +132 -46
- data/lib/isodoc/iso/iso.international-standard.xsl +132 -46
- data/lib/isodoc/iso/metadata.rb +74 -56
- data/lib/isodoc/iso/presentation_xml_convert.rb +0 -2
- data/lib/isodoc/iso/xref.rb +4 -5
- data/lib/metanorma/iso/biblio.rng +25 -2
- data/lib/metanorma/iso/cleanup.rb +5 -5
- data/lib/metanorma/iso/front_id.rb +28 -11
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/isodoc/i18n_spec.rb +111 -114
- data/spec/isodoc/iso_spec.rb +42 -26
- data/spec/metanorma/amd_spec.rb +39 -16
- data/spec/metanorma/base_spec.rb +8 -0
- data/spec/metanorma/blocks_spec.rb +4 -4
- data/spec/metanorma/cleanup_spec.rb +11 -11
- data/spec/metanorma/section_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 270772cf99831fb493ca68a370d9954b842096aeed522b7e4657aef7743a3557
|
4
|
+
data.tar.gz: 0fb34c7f8786206cbfff5e12714f89f8bf38cc51abbd108a9410d40d3bb5f2f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68afd7bbc05425d59bcef20308269243ebaad1e711b6bf7a2db76cd17a2b685d74773a0b36994187d7261bb02f7c29780f1776471f815148266d69ff0389e5b8
|
7
|
+
data.tar.gz: 6881356aa0f6743f86aab7557993b7b3316b3320d48d379458aef11c9f327a7f00cb4048ff8902ef1d180e2a45ee2dadb49c12d5c9e04c043d367febd012e6a2
|
data/lib/asciidoctor/iso/base.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
warn "Please replace your references to Asciidoctor::ISO with Metanorma::ISO
|
1
|
+
warn "Please replace your references to Asciidoctor::ISO with Metanorma::ISO "\
|
2
|
+
"and your instances of require 'asciidoctor/iso' with "\
|
3
|
+
"require 'metanorma/iso'"
|
2
4
|
|
3
|
-
exit 127 if ENV[
|
5
|
+
exit 127 if ENV["METANORMA_DEPRECATION_FAIL"]
|
4
6
|
|
5
7
|
Asciidoctor::ISO = Metanorma::ISO unless defined? Asciidoctor::ISO
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<p class="coverpage_docnumber">{{ num }}</p>
|
5
5
|
{% endfor %}
|
6
6
|
{% else %}
|
7
|
-
<p class="coverpage_docnumber">{{
|
7
|
+
<p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
|
8
8
|
{% endif %}
|
9
9
|
|
10
10
|
{% if revdate %}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
{% endif %}
|
13
13
|
|
14
14
|
{% if tc_docnumber.size > 0 %}
|
15
|
-
<p class="coverpage_docnumber">{{
|
15
|
+
<p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
|
16
16
|
{% endif %}
|
17
17
|
|
18
18
|
<p class="coverpage_techcommittee">{{ agency }}/{{ editorialgroup | join: "/" }}</p>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB">Date: <span style='mso-no-proof:yes'>{{ revdate }}</span></span></p>
|
9
9
|
{% endif %}
|
10
10
|
|
11
|
-
<p class="zzCover"><span lang="EN-GB">Reference number of project: {{
|
11
|
+
<p class="zzCover"><span lang="EN-GB">Reference number of project: {{ docnumber_undated }} {{ draftinfo }}</span></p>
|
12
12
|
|
13
13
|
<p class="zzCover"><span lang="EN-GB">Committee identification: {{agency}}/{{ editorialgroup | join: "/" }}</span></p>
|
14
14
|
|
@@ -6,12 +6,12 @@ style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'>
|
|
6
6
|
{% endfor %}
|
7
7
|
{% else %}
|
8
8
|
<p class="MsoNormal" align="right" style='text-align:right'><b style='mso-bidi-font-weight:
|
9
|
-
normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{
|
9
|
+
normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ docnumber_undated }} {{ draftinfo }}</span></b><b
|
10
10
|
style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'><o:p></o:p></span></b></p>
|
11
11
|
{% endif %}
|
12
12
|
|
13
13
|
{% if tc_docnumber.size > 0 %}
|
14
|
-
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB" style='mso-no-proof:yes'>{{
|
14
|
+
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB" style='mso-no-proof:yes'>{{ docnumber_undated }} {{ draftinfo }}</span></p>
|
15
15
|
{% endif %}
|
16
16
|
|
17
17
|
{% if doctitleamdlabel %}
|
data/lib/isodoc/iso/i18n-en.yaml
CHANGED
@@ -9,7 +9,7 @@ term_def_boilerplate: |
|
|
9
9
|
<link target="https://www.electropedia.org"/>
|
10
10
|
</p> </li> </ul>
|
11
11
|
all_rights_reserved: All rights reserved
|
12
|
-
reference_number: Reference
|
12
|
+
reference_number: Reference number
|
13
13
|
price_based_on: Price based on % pages
|
14
14
|
under_preparation: Under preparation. (Stage at the time of publication %).
|
15
15
|
withdrawn: Withdrawn.
|