metanorma-taste 1.1.4 → 1.1.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.
- checksums.yaml +4 -4
- data/Gemfile +2 -3
- data/data/csa/metanorma.yml +0 -1
- data/data/iala/config.yaml +9 -0
- data/data/iala/html_iala_titlepage.html +93 -0
- data/data/iala/htmlstyle.scss +772 -0
- data/data/iala/metanorma.yml +3 -1
- data/data/iala/urn_generator.rb +38 -0
- data/lib/metanorma/taste/base.rb +49 -0
- data/lib/metanorma/taste/base_override.rb +4 -0
- data/lib/metanorma/taste/doc_engine.rb +92 -0
- data/lib/metanorma/taste/uniword_doc_render.rb +580 -0
- data/lib/metanorma/taste/urn_generator.rb +57 -0
- data/lib/metanorma/taste/version.rb +1 -1
- data/lib/metanorma/taste.rb +7 -0
- data/lib/metanorma/taste_register.rb +5 -0
- data/metanorma-taste.gemspec +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da4ba27fa3485cdb16c370b93d3260de2f56b29785b98aaa21aeaa70c575d821
|
|
4
|
+
data.tar.gz: eef04374e6bbbbe2e1c89a403bd4cc41df85506593be142d0a5f30b88d710cc8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7dce58958121398c13be7a35961f0bd8a856b58c11a00ab32df56b76586afdcd0ee71a8d5afe39f0abde5283fc641ce573b88b344a31d3b484255ee7aeb0f72
|
|
7
|
+
data.tar.gz: d23f789e9dedc061020e57e65908ce23b01eefb99480b2f9c310f0e11bd5ed3876f4a60b24afaccf03d6180e026331e75a65c7e73559b5d13a05251db078aadb
|
data/Gemfile
CHANGED
|
@@ -6,16 +6,15 @@ git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
|
6
6
|
|
|
7
7
|
gemspec
|
|
8
8
|
|
|
9
|
-
gem "metanorma-core", "~> 0.2.
|
|
9
|
+
gem "metanorma-core", "~> 0.2.7" # published flavor/taste table (metanorma-core#18)
|
|
10
10
|
# TEMPORARY pin for the compile fix (implicit presentation dependency +
|
|
11
11
|
# non-mutating output_formats, metanorma#602, rebase-merged into
|
|
12
12
|
# feat/flavors-table); drop when that branch reaches rubygems.
|
|
13
13
|
gem "metanorma", github: "metanorma/metanorma", branch: "main"
|
|
14
14
|
|
|
15
15
|
group :development do
|
|
16
|
-
gem "canon"
|
|
16
|
+
gem "canon", "~> 0.3"
|
|
17
17
|
gem "debug"
|
|
18
|
-
gem "equivalent-xml", "~> 0.6"
|
|
19
18
|
gem "metanorma", github: "metanorma/metanorma", branch: "main"
|
|
20
19
|
gem "metanorma-cli", github: "metanorma/metanorma-cli", branch: "main"
|
|
21
20
|
gem "metanorma-generic", github: "metanorma/metanorma-generic", branch: "main" # generic#130 merged
|
data/data/csa/metanorma.yml
CHANGED
data/data/iala/config.yaml
CHANGED
|
@@ -3,12 +3,21 @@ flavor: iala
|
|
|
3
3
|
owner: International Organization for Marine Aids to Navigation
|
|
4
4
|
base-flavor: iho
|
|
5
5
|
base-override:
|
|
6
|
+
# Word output is the uniword DOCX package (metanorma-iso#1728 ruling:
|
|
7
|
+
# uniword is the only DOCX engine; the legacy isodoc MHTML path retires)
|
|
8
|
+
doc-engine: uniword
|
|
9
|
+
# Bibdata URN: generated via Pubid::Iala from the identifier fields
|
|
10
|
+
# (series + docnumber + edition); a hand :urn: attribute wins as the
|
|
11
|
+
# transcription fallback (metanorma-taste#250)
|
|
12
|
+
urn-generator: pubid-iala
|
|
6
13
|
filename-attributes:
|
|
7
14
|
customize: metanorma.yml
|
|
8
15
|
copyright-notice: copyright.adoc
|
|
9
16
|
i18n-dictionary: i18n.yaml
|
|
10
17
|
publisher-logo: iala-logo.svg
|
|
11
18
|
pdf-stylesheet-override: iala.xsl
|
|
19
|
+
htmlcoverpage: html_iala_titlepage.html
|
|
20
|
+
htmlstylesheet: htmlstyle.scss
|
|
12
21
|
value-attributes:
|
|
13
22
|
publisher: International Organization for Marine Aids to Navigation
|
|
14
23
|
publisher_abbr: IALA
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{% if unpublished %}
|
|
2
|
+
<div class="document-stage-band" id="{{ stage | downcase | replace: ' ', '-' }}-band">
|
|
3
|
+
<p class="document-stage">{{ stage }}</p>
|
|
4
|
+
</div>
|
|
5
|
+
{% endif %}
|
|
6
|
+
|
|
7
|
+
<div id='toggle'> <span>•</span> </div>
|
|
8
|
+
|
|
9
|
+
<header>
|
|
10
|
+
|
|
11
|
+
<div class="coverpage">
|
|
12
|
+
|
|
13
|
+
<div class="coverpage-logo">
|
|
14
|
+
<div class="logo-img">
|
|
15
|
+
<svg id="uuid-d308c1eb-d6b6-47da-8bdd-444980c8dd08" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1556 1520"><path d="m838.09,607.21c5.44.52,10.89,1.04,16.33,1.57,9.09.88,18.17,2.04,27.29,2.61,15.93.99,31.88,1.85,47.83,2.35,15.14.47,30.3.86,45.43.45,15.78-.43,31.56-1.48,47.28-2.96,20.51-1.92,40.94-4.62,61.21-8.43,8-1.5,16.02-2.86,24.03-4.25.78-.13,1.6-.02,2.4-.02-.36,85.65-41.27,200.04-151.92,271.81-106.28,68.93-243.29,71.22-351.78,5.74-112.73-68.03-164.26-185.59-161.32-291.44,1.8-.33,3.69-.83,5.61-1,9.6-.83,19.2-1.68,28.82-2.31,14.26-.94,28.52-2.12,42.8-2.46,20.31-.48,40.64-.42,60.97-.33,9.97.04,19.96.44,29.92,1.1,15.25,1.02,30.48,2.33,45.7,3.67,10.6.94,21.19,2.01,31.75,3.28,11.21,1.35,22.39,3.01,33.58,4.54,6.74.92,13.48,1.83,21.12,2.87-1.48,1.06-2.25,1.75-3.14,2.22-9.45,4.97-18.41,10.6-26.19,18.06-10.02,9.61-17.11,21.17-23.1,33.5-9.15,18.82-18.11,37.72-27.35,56.49-4.56,9.27-9.79,18.13-17.29,25.47-5.59,5.47-12.02,7.49-19.6,5.69-1.93-.46-3.79-1.2-5.67-1.85-7.69-2.64-15.32-5.47-23.08-7.9-8.59-2.69-17.37-2.07-26.15-.84-12.71,1.78-24.91,5.61-37.19,9.14-3.03.87-6.1,1.61-9.13,2.47-1.27.36-2.58.74-3.7,1.4-1.61.96-1.75,2.92-.43,4.27.46.47,1.07.78,1.63,1.14,10.25,6.5,20.5,13,30.77,19.48,7.62,4.8,15.52,8.93,24.45,10.88,8.24,1.8,16.48,1.74,24.71.35,5.51-.93,10.95-2.34,17.13-3.7-.92,1.86-1.55,3.28-2.29,4.63-7.22,13.26-11.28,27.25-10.14,42.52.5,6.7,2.21,13.08,4.71,19.27.68,1.69,1.47,3.34,2.2,5.01,3.5,8.04,7.96,15.7,9.39,24.59,2.68-.06,3.95-1.7,5.35-3,8.97-8.3,15.19-18.42,19.57-29.74,4.53-11.71,6.84-23.88,8.14-36.34,1.04-9.98.9-19.96.61-29.94-.49-17,5.18-31.98,14.67-45.7,10.57-15.28,24.38-27.15,39.8-37.33,14.07-9.29,29.2-16.45,44.79-22.74,15.11-6.1,29.85-12.94,43.64-21.74,12.47-7.96,23.26-17.75,32.76-29.02.96-1.14,1.95-2.24,3.12-3.58Z" style="fill:#00558c; stroke-width:0px;"/><path d="m948.07,304.56c6.82-18.64,17.22-80.01,15.33-96.36-12.01-2.94-24.2-5.93-36.55-8.96v-13.77h41.05c-3.61-2.02-4.36-4.88-4.4-8.74-.1-11.38-10.27-20.87-22.33-21.27-8.01-.26-15.32,2.42-22.59,5.39-4.9,2.01-9.85,4-14.93,5.47-11.63,3.38-23.02,1.98-34.09-2.56-6.3-2.58-12.64-5.09-18.78-8-8.2-3.89-16.77-5.19-25.73-4.65-17.01,1.02-33.91-.14-50.75-2.51-6.42-.9-12.85-1.65-19.56-2.51,2-2.41,4.8-1.88,7.04-2.28,9.01-1.59,18.09-2.61,27.29-2.54,17.86.14,35.47-1.85,52.81-6.31,12.58-3.23,25.42-4.98,38.44-5.17,7.87-.11,15.49,1.8,23.2,3,4.43.69,8.88,1.22,13.34,1.65,4.13.4,8.29.9,12.43.78,7.3-.21,14.59-1.04,21.89-1.27,13.24-.41,25.83,1.93,36.72,10.11,5.93,4.45,8.89,10.45,7.45,17.86-1.42,7.3-6.3,11.88-13.16,14.41-1.68.62-3.43,1.03-5.29,1.58.33,4.06,3.79,5.06,6.09,7.49h35.92v13.8c-11.8,2.99-23.81,6.03-36.13,9.15-9.83,34.4-14.39,69.83-20.47,105.23,55.66,37.88,96.91,87.68,122.86,149.85,15.57,37.29,23.75,76.26,24.97,117.23-83.23,9.46-166.01,7.49-249.09-4.43.92-1.44,1.58-2.53,2.3-3.58,6.5-9.46,12.98-18.93,19.53-28.36,7.96-11.44,17.87-21,28.54-29.89,5.99-4.99,11.37-10.71,16.98-16.15.94-.92,1.66-2.07,2.44-3.15,4.27-5.91,5.01-12.22,1.81-18.81-1.81-3.72-3.71-7.43-5.93-10.93-3.56-5.62-7.41-11.05-11.15-16.56-.28-.41-.58-.82-.88-1.21-3.41-4.36-3.34-8.56-.16-13.2,8.01-11.65,15.14-23.84,21.93-36.25,11.11-20.3,18.94-41.66,22.21-64.64.91-6.41,2.14-12.77,3.29-19.58-4.36-2.8-8.65-5.56-13.23-8.5-1.84,5.76-3.55,11.29-5.38,16.78-5.6,16.76-12.14,33.11-22.66,47.49-5.7,7.79-11.93,15.18-17.83,22.81-8.96,11.58-18.08,23.05-26.7,34.88-11.23,15.41-16.5,32.76-15.88,51.92.32,9.98-.4,19.94-1.83,29.83-2.31,15.9-8.07,30.13-20.28,41.16-6.22,5.62-13.32,9.93-20.79,13.66-10.04,5.01-10.02,4.87-20.88,3.2-13.63-2.1-27.29-4-40.95-5.84-12.35-1.67-24.71-3.25-37.09-4.65-8.59-.97-17.21-1.65-25.83-2.32-12.59-.99-25.19-1.95-37.8-2.73-6.31-.39-12.65-.44-18.98-.53-14.64-.21-29.3-.75-43.93-.42-16.11.37-32.22,1.39-48.3,2.49-11.27.77-22.53,1.93-33.74,3.34-12.36,1.55-24.67,3.52-36.97,5.45-8.37,1.32-16.69,2.91-25.03,4.36-.62.11-1.26.09-1.91.13,3.29-77.35,44.26-183.38,144.94-251.68,102.97-69.85,241.66-78.38,357.15-10.24Zm-65.71,90.32c-2.16-9.19-7.99-14.58-16.39-17.49-8.45-2.92-16.99-2.66-25.55-.44-8.88,2.3-16.94,6.19-22.81,13.43-9.88,12.19-10.69,25.7-4.79,39.84,1.27,3.04,3.2,5.8,4.91,8.84-22.31,12.35-33.37,30.8-28.92,56.72,2.68,15.58,16.83,29.32,29.24,32.95-1.17-8.8-.93-17.52,1.13-26.2,4.71-19.79,14.9-36.52,28.8-51.06,5.03-5.26,10.75-9.86,16.22-14.82-5.78-8.85-12.25-17.71-14.71-29.16,4.98.39,9.52.74,14.12,1.1.44-1.26.83-2.01.95-2.8.66-4.28,3.07-6.65,7.33-7.62,3.51-.8,6.9-2.15,10.46-3.3Z" style="fill:#00558c; stroke-width:0px;"/><path d="m514.63,1002.37h66.58c46.76,85.85,93.61,171.87,140.52,257.99-3.94.91-61.56,1.07-66.94.24-4.69-8.73-9.49-17.63-14.28-26.55-4.71-8.76-9.4-17.54-14.1-26.31h-156.99c-9.47,17.63-18.96,35.31-28.36,52.82-5.26.88-62.92.71-66.94-.26,46.85-86,93.63-171.89,140.5-257.93Zm33.56,57.86c-18.22,32-48.67,89.22-49.53,93.1h99.45c-16.71-31.16-33.17-61.86-49.92-93.1Z" style="fill:#00558c; stroke-width:0px;"/><path d="m1268.26,1207.75h-156.96c-9.5,17.68-19,35.35-28.55,53.12h-65.92c-.14-.26-.23-.4-.28-.54-.05-.15-.13-.34-.08-.47.24-.62.47-1.24.79-1.82,46.38-85.17,92.76-170.34,139.16-255.55h66.72c46.68,85.7,93.52,171.7,140.38,257.74-3.85,1.16-51.1,1.58-66.73.63-4.67-8.69-9.46-17.59-14.24-26.49-4.78-8.9-9.56-17.81-14.3-26.62Zm-28.29-54.45c-16.74-31.2-33.24-61.95-49.98-93.16-16.93,31.33-33.66,62.08-50.31,93.16h100.29Z" style="fill:#00558c; stroke-width:0px;"/><path d="m833.62,1206.79h167.58c-10.12,18.63-20.27,36.27-30.21,54.12h-197.19c-.31-.31-.45-.42-.54-.55-.09-.13-.2-.28-.22-.43-.08-.99-.18-1.98-.18-2.97,0-84.47.03-168.93.06-253.4,0-.29.29-.58.54-1.05h60.17v204.29Z" style="fill:#00558c; stroke-width:0px;"/><path d="m318.27,1260.84h-60.35v-257.88c3.73-.81,53.48-1.01,60.35-.23v258.11Z" style="fill:#00558c; stroke-width:0px;"/></svg>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="coverpage-organisation">
|
|
20
|
+
<span>International Organization for Marine Aids to Navigation. {{ docyear }}</span>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div class="coverpage-arc">
|
|
24
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40" preserveAspectRatio="none" role="presentation" focusable="false"><path d="M0,40C0,17.9,17.9,0,40,0s40,17.9,40,40" fill="#FEDB00"/></svg>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="document-type-band" id="{{ doctype | downcase | replace: ' ', '-' }}-band">
|
|
28
|
+
<p class="document-type">{{ doctype }}</p>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="coverpage-doc-identity">
|
|
32
|
+
<div class="doc-number">
|
|
33
|
+
<span class="docnumber">{{ docnumber }}</span>
|
|
34
|
+
{% if edition %}<span class="docyear">Edition {{ edition }}</span>{% endif %}
|
|
35
|
+
<span class="docyear">{{ draftinfo }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="coverpage-title">
|
|
39
|
+
<span class="title-first">{{ doctitle }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div class="coverpage-tc-name">
|
|
44
|
+
<span>{{ tc }}</span>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="WordSection11">
|
|
48
|
+
<div class="coverpage-stage-block" >
|
|
49
|
+
<span class="coverpage-stage" id="iala-doctype-{{ doctype | downcase | replace: ' ', '-' }}">IALA {{ doctype }}</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div class="coverpage-stage-block" >
|
|
53
|
+
<p><span class="coverpage-maturity" id="iala-stage-{{ stage | downcase | replace: ' ', '-' }}">
|
|
54
|
+
{%- if unpublished -%}
|
|
55
|
+
{{- stage -}}
|
|
56
|
+
{%- else -%}
|
|
57
|
+
{%- if publisheddate and publisheddate != "XXXX" -%}
|
|
58
|
+
Published {{ publisheddate -}}
|
|
59
|
+
{%- endif -%}
|
|
60
|
+
{%- endif -%}</span></p>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
{% if unpublished %}
|
|
64
|
+
<div class="coverpage-warning">
|
|
65
|
+
<div id="boilerplate-license-destination"/>
|
|
66
|
+
</div>
|
|
67
|
+
{% endif %}
|
|
68
|
+
|
|
69
|
+
<div class="coverpage-warning" id="coverpage-note-destination"/>
|
|
70
|
+
|
|
71
|
+
<div class="info-section">
|
|
72
|
+
<div class="copyright">
|
|
73
|
+
<div class="year">
|
|
74
|
+
<div id="boilerplate-copyright-destination"/>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="message">
|
|
78
|
+
<div id="boilerplate-license-destination"/>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<div class="contact-info">
|
|
82
|
+
<div id="boilerplate-feedback-destination"/>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div class="rule"></div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
</header>
|