metanorma-taste 1.1.3.pre.alpha.1 → 1.1.4
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 +5 -7
- data/data/csa/csa.standard.xsl +20 -1
- data/data/enosema/config.yaml +4 -0
- data/data/enosema/copyright.adoc +6 -5
- data/data/enosema/i18n.yaml +1 -0
- data/lib/metanorma/taste/version.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: 6f43f6b92b899fb2dca3d9fef653b6df23f2c05cd23f8968c9bd94ed01412b05
|
|
4
|
+
data.tar.gz: ed2a0576f07d512fddaf40407bb578186d8446bf62d119bb7487dc4503ff5547
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40cd9b9b94b0bcb663af11f16b332b1ae0e4326d16b508f859a86c048a4b0fcbafa6f0a4affcdfa2511d16e656f7743f313e536d54b35dd4395c2cbeb3c11018
|
|
7
|
+
data.tar.gz: 67b17d4824339f31aed8cc327402350600571b8cb39e6a7795eeedf996da5ddfcf7d826000502ac478c273ac4f31378e170c0be6b318619956fe5a130d4e5aa7
|
data/Gemfile
CHANGED
|
@@ -6,10 +6,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
|
6
6
|
|
|
7
7
|
gemspec
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
# 2026-09-06 but is unreleased (latest gem 0.2.3 predates it). Drop this pin
|
|
11
|
-
# once metanorma-core > 0.2.3 is on rubygems.
|
|
12
|
-
gem "metanorma-core", github: "metanorma/metanorma-core", branch: "main"
|
|
9
|
+
gem "metanorma-core", "~> 0.2.5.pre.alpha" # published flavor/taste table (metanorma-core#18)
|
|
13
10
|
# TEMPORARY pin for the compile fix (implicit presentation dependency +
|
|
14
11
|
# non-mutating output_formats, metanorma#602, rebase-merged into
|
|
15
12
|
# feat/flavors-table); drop when that branch reaches rubygems.
|
|
@@ -49,9 +46,10 @@ gem "suma", github: "metanorma/suma", branch: "main"
|
|
|
49
46
|
# released plugin-lutaml 0.7.50 dropped the preprocessor names standoc
|
|
50
47
|
# registers (LutamlDataPreprocessor); main carries them (generic#133)
|
|
51
48
|
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
52
|
-
#
|
|
53
|
-
|
|
54
|
-
gem "relaton
|
|
49
|
+
# relaton 3.0.0 is released; the α-era exact pin sorts below it and
|
|
50
|
+
# conflicts with released metanorma-document's `relaton ~> 3.0` floor
|
|
51
|
+
gem "relaton", "~> 3.0"
|
|
52
|
+
gem "relaton-render", "~> 3.0"
|
|
55
53
|
# coherent core mains: the α relaton line needs them (released ones cap render at 1.x)
|
|
56
54
|
gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
57
55
|
gem "metanorma-document", github: "metanorma/metanorma-document", branch: "main"
|
data/data/csa/csa.standard.xsl
CHANGED
|
@@ -563,7 +563,9 @@
|
|
|
563
563
|
<xsl:call-template name="getName"/>
|
|
564
564
|
</xsl:variable>
|
|
565
565
|
<xsl:variable name="variant_title">
|
|
566
|
-
<xsl:
|
|
566
|
+
<xsl:if test="not(self::mn:annex)">
|
|
567
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
568
|
+
</xsl:if>
|
|
567
569
|
</xsl:variable>
|
|
568
570
|
|
|
569
571
|
<mnx:item id="{@id}" level="{$level}" section="{$section}" display="{$display}">
|
|
@@ -15871,6 +15873,23 @@
|
|
|
15871
15873
|
</xsl:choose>
|
|
15872
15874
|
</xsl:template>
|
|
15873
15875
|
|
|
15876
|
+
<xsl:template name="getVariable">
|
|
15877
|
+
<xsl:param name="variable"/>
|
|
15878
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
15879
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
15880
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
15881
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
15882
|
+
</xsl:template>
|
|
15883
|
+
|
|
15884
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
15885
|
+
<xsl:template name="getVariableCopyOf">
|
|
15886
|
+
<xsl:param name="variable"/>
|
|
15887
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
15888
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
15889
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
15890
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
15891
|
+
</xsl:template>
|
|
15892
|
+
|
|
15874
15893
|
<!-- ============================================= -->
|
|
15875
15894
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
15876
15895
|
<!-- ============================================= -->
|
data/data/enosema/config.yaml
CHANGED
|
@@ -19,3 +19,7 @@ doctypes:
|
|
|
19
19
|
base: international-standard
|
|
20
20
|
- taste: guide
|
|
21
21
|
base: guide
|
|
22
|
+
# pass-through: the registry keys on doctype=directive for category mapping,
|
|
23
|
+
# so it must survive into the emitted XML/Relaton (isodoc styles it natively)
|
|
24
|
+
- taste: directive
|
|
25
|
+
base: directive
|
data/data/enosema/copyright.adoc
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
=== {blank}
|
|
3
3
|
(c) {{ docyear }} Enosema Foundation.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
This document is made available under the Creative Commons Attribution 4.0
|
|
6
|
+
International (CC BY 4.0) license. Unless otherwise specified, or required in
|
|
7
|
+
the context of its implementation, you are free to use, share, and adapt this
|
|
8
|
+
document, provided that appropriate credit is given to the Enosema Foundation
|
|
9
|
+
and that any changes are indicated. The full license text is available at
|
|
10
|
+
https://creativecommons.org/licenses/by/4.0/.
|
|
10
11
|
|
|
11
12
|
Enosema Foundation +
|
|
12
13
|
2885 Sanford Ave Sw Suite 32361 +
|
data/data/enosema/i18n.yaml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-taste
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|