metanorma-taste 1.1.10 → 1.1.12
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/data/pdfa/pdfa.xsl +1 -1
- data/data/wmo/config.yaml +48 -0
- data/data/wmo/metanorma.yml +67 -0
- data/data/wmo/wmo.xsl +2920 -0
- data/lib/metanorma/taste/version.rb +1 -1
- data/lib/metanorma/taste_register.rb +5 -2
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cbcc80e8f9579fa5cdbdbe6c1dd24b3ebdd47be9920334c65f0cab33bf3b2d8
|
|
4
|
+
data.tar.gz: f367dab2fd2345de640cedffedfb981cbc42306c78822260294b6bf81c178d3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efcbf549c9cc20a6c502073dcc32b6d5f6327fd9f4eeea27ffc027177384979aa27e6922b83d09889099cb2c75764a564a7bcd0921a4580a082e9ca029e738a7
|
|
7
|
+
data.tar.gz: 434bc7a70785740bdb53c7dba37d53b1a75da088b07299124cc0f1e0dd783656e144c0bc3aaf60f2e36435f75abce1560cca9cefdeeb2a700eb0facbc2e59768
|
data/data/pdfa/pdfa.xsl
CHANGED
|
@@ -1226,7 +1226,7 @@
|
|
|
1226
1226
|
<xsl:apply-templates select="processing-instruction('plantuml')/following-sibling::*[local-name() = 'text']" mode="svg_update"/>
|
|
1227
1227
|
</xsl:template>
|
|
1228
1228
|
|
|
1229
|
-
<xsl:template match="*[local-name() = 'text']" mode="svg_update">
|
|
1229
|
+
<xsl:template match="*[local-name() = 'text' or local-name() = 'g']" mode="svg_update">
|
|
1230
1230
|
<xsl:copy>
|
|
1231
1231
|
<xsl:copy-of select="@*"/>
|
|
1232
1232
|
<xsl:if test="@font-family = 'sans-serif'">
|
data/data/wmo/config.yaml
CHANGED
|
@@ -4,14 +4,62 @@ owner: World Meteorological Organization
|
|
|
4
4
|
base-flavor: iho
|
|
5
5
|
base-override:
|
|
6
6
|
filename-attributes:
|
|
7
|
+
# Flavor processor config: fonts, doctype registry, namespaces,
|
|
8
|
+
# stages (the IALA taste's customize metanorma.yml pattern).
|
|
9
|
+
customize: metanorma.yml
|
|
7
10
|
copyright-notice: copyright.adoc
|
|
8
11
|
i18n-dictionary: i18n.yaml
|
|
9
12
|
publisher-logo: logo-wmo.svg
|
|
13
|
+
# WMO-taste PDF cover: standalone stylesheet (fork of the IALA one)
|
|
14
|
+
# applied over the base iho XSL via the xsl-file-override flag.
|
|
15
|
+
# The IHO stylesheets are never modified.
|
|
16
|
+
pdf-stylesheet-override: wmo.xsl
|
|
10
17
|
value-attributes:
|
|
11
18
|
publisher: World Meteorological Organization
|
|
12
19
|
publisher_abbr: WMO
|
|
20
|
+
# A5: WMO documentation sets Verdana, 10 pts. Verdana ships with
|
|
21
|
+
# the operating systems; DejaVu Sans is its metric-compatible open
|
|
22
|
+
# companion for the Linux toolchain (the Carlito-for-Calibri
|
|
23
|
+
# pattern).
|
|
24
|
+
body-font: Verdana, DejaVu Sans, Arial, sans-serif
|
|
25
|
+
header-font: Verdana, DejaVu Sans, Arial, sans-serif
|
|
26
|
+
monospace-font: '"Source Code Pro", monospace'
|
|
27
|
+
# Verdana first (the WMO body face); DejaVu Sans is its
|
|
28
|
+
# metric-compatible open companion on the Linux toolchain.
|
|
29
|
+
fonts: Verdana;DejaVu Sans;Source Code Pro;Source Han Sans;STIX Two Math
|
|
13
30
|
output-extensions: xml,html,pdf,doc
|
|
14
31
|
doctypes:
|
|
32
|
+
# Governance publications (B5): plain Pantone covers
|
|
33
|
+
- taste: manual
|
|
34
|
+
base: manual # Pantone 187 red
|
|
35
|
+
override-attributes:
|
|
36
|
+
- presentation-metadata-wmo-cover-class: manual
|
|
37
|
+
- taste: guide
|
|
38
|
+
base: guideline # Pantone 341 green
|
|
39
|
+
override-attributes:
|
|
40
|
+
- presentation-metadata-wmo-cover-class: guide
|
|
41
|
+
- taste: guideline
|
|
42
|
+
base: guideline # abstract background in shades of green
|
|
43
|
+
override-attributes:
|
|
44
|
+
- presentation-metadata-wmo-cover-class: guideline
|
|
45
|
+
# Constituent-body session reports (B5): plain Pantone covers
|
|
46
|
+
- taste: ec-report
|
|
47
|
+
base: report # Executive Council; Pantone 108 yellow
|
|
48
|
+
override-attributes:
|
|
49
|
+
- presentation-metadata-wmo-cover-class: ec-report
|
|
50
|
+
- taste: congress-report
|
|
51
|
+
base: report # Congress; Pantone 108 yellow
|
|
52
|
+
override-attributes:
|
|
53
|
+
- presentation-metadata-wmo-cover-class: congress-report
|
|
54
|
+
- taste: ra-report
|
|
55
|
+
base: report # Regional Association; Pantone 196 pink
|
|
56
|
+
override-attributes:
|
|
57
|
+
- presentation-metadata-wmo-cover-class: ra-report
|
|
58
|
+
- taste: tc-report
|
|
59
|
+
base: report # Technical Commission; Pantone 368 light green
|
|
60
|
+
override-attributes:
|
|
61
|
+
- presentation-metadata-wmo-cover-class: tc-report
|
|
62
|
+
# Technical publications (B14): abstract background + cover image
|
|
15
63
|
- taste: standard
|
|
16
64
|
base: standard
|
|
17
65
|
- taste: specification
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
organization_name_short: WMO
|
|
2
|
+
organization_name_long: World Meteorological Organization
|
|
3
|
+
document_namespace: https://www.metanorma.org/ns/wmo
|
|
4
|
+
xml_root_tag: wmo-standard
|
|
5
|
+
html_bodyfont: 'Verdana, DejaVu Sans, Arial, sans-serif'
|
|
6
|
+
html_headerfont: 'Verdana, DejaVu Sans, Arial, sans-serif'
|
|
7
|
+
html_monospacefont: '"Source Code Pro", Menlo, Monaco, Consolas, monospace'
|
|
8
|
+
html_normalfontsize: "15px"
|
|
9
|
+
html_footnotefontsize: "0.9em"
|
|
10
|
+
i18nyaml: i18n.yaml
|
|
11
|
+
boilerplate: copyright.adoc
|
|
12
|
+
# The S-100 identifiers (S-411) mint through the base iho flavor's
|
|
13
|
+
# pubid wiring; no docid_template override.
|
|
14
|
+
word_bodyfont: 'Verdana, DejaVu Sans, Arial, sans-serif'
|
|
15
|
+
word_headerfont: 'Verdana, DejaVu Sans, Arial, sans-serif'
|
|
16
|
+
word_monospacefont: '"Source Code Pro", "Courier New", monospace'
|
|
17
|
+
word_normalfontsize: "11.0pt"
|
|
18
|
+
word_smallerfontsize: "10.0pt"
|
|
19
|
+
word_monospacefontsize: "10.0pt"
|
|
20
|
+
word_footnotefontsize: "10.0pt"
|
|
21
|
+
formats:
|
|
22
|
+
- html
|
|
23
|
+
- doc
|
|
24
|
+
published_stages:
|
|
25
|
+
- published
|
|
26
|
+
- withdrawn
|
|
27
|
+
default_stage: published
|
|
28
|
+
stage_abbreviations:
|
|
29
|
+
draft:
|
|
30
|
+
published:
|
|
31
|
+
withdrawn:
|
|
32
|
+
committee_types:
|
|
33
|
+
- committee
|
|
34
|
+
- workgroup
|
|
35
|
+
doctypes:
|
|
36
|
+
standard:
|
|
37
|
+
specification:
|
|
38
|
+
resolution:
|
|
39
|
+
regulation:
|
|
40
|
+
manual:
|
|
41
|
+
guide:
|
|
42
|
+
guideline:
|
|
43
|
+
report:
|
|
44
|
+
annex:
|
|
45
|
+
default_doctype: standard
|
|
46
|
+
symbols_titles:
|
|
47
|
+
- Abbreviations
|
|
48
|
+
- Abbreviations and acronyms
|
|
49
|
+
- Symbols
|
|
50
|
+
termsdefs_titles:
|
|
51
|
+
- Definitions
|
|
52
|
+
normref_titles:
|
|
53
|
+
- References
|
|
54
|
+
- Further reading
|
|
55
|
+
fonts_manifest:
|
|
56
|
+
Verdana:
|
|
57
|
+
DejaVu Sans:
|
|
58
|
+
Arial:
|
|
59
|
+
Source Code Pro:
|
|
60
|
+
Source Han Sans:
|
|
61
|
+
STIX Two Math:
|
|
62
|
+
metadata_extensions:
|
|
63
|
+
structuredidentifier:
|
|
64
|
+
docnumber:
|
|
65
|
+
partnumber:
|
|
66
|
+
_output: part
|
|
67
|
+
logo_path: ""
|