metanorma-m3aawg 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/m3aawg/isodoc.rng +42 -17
- data/lib/isodoc/m3aawg/html/htmlstyle.css +4 -2
- data/lib/isodoc/m3aawg/html/htmlstyle.scss +4 -1
- data/lib/isodoc/m3aawg/html/m3d.css +0 -1
- data/lib/isodoc/m3aawg/html/m3d.scss +0 -1
- data/lib/isodoc/m3aawg/m3aawg.policy.xsl +23 -10
- data/lib/isodoc/m3aawg/m3aawg.report.xsl +23 -10
- data/lib/metanorma/m3aawg/version.rb +1 -1
- data/metanorma-m3d.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f598c3d37818395591ae49cdd1d0d15ddd68466208a3a070114e62b6a6103b
|
4
|
+
data.tar.gz: c264e09505ba094b1364c107dc55fe81e285cb297ef703dbb71250b5eaee0bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2be4d3643015b3055b1952a437bec91ff56d20cf30268803fe8e4604ad63e245b1fab3e79c5d9738959f1d112c39ad34579cbec7c007de03bcddae145b3a851
|
7
|
+
data.tar.gz: e40c1f0ce6a126a635ba205f902d63f540d8cd546eacbc2ee736cbdc74a632279cbce4c45dc0d14fe90d2e2b85fc58b329f0e05254be80c34c34fd1005d0fa21
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<attribute name="alt"/>
|
59
59
|
</optional>
|
60
60
|
<optional>
|
61
|
-
<attribute name="
|
61
|
+
<attribute name="update-type">
|
62
62
|
<data type="boolean"/>
|
63
63
|
</attribute>
|
64
64
|
</optional>
|
@@ -1814,9 +1814,6 @@
|
|
1814
1814
|
<optional>
|
1815
1815
|
<ref name="termsubject"/>
|
1816
1816
|
</optional>
|
1817
|
-
<optional>
|
1818
|
-
<ref name="termusage"/>
|
1819
|
-
</optional>
|
1820
1817
|
<oneOrMore>
|
1821
1818
|
<ref name="termdefinition"/>
|
1822
1819
|
</oneOrMore>
|
@@ -1880,17 +1877,37 @@
|
|
1880
1877
|
</attribute>
|
1881
1878
|
</optional>
|
1882
1879
|
<optional>
|
1883
|
-
<attribute name="
|
1880
|
+
<attribute name="geographic-area"/>
|
1884
1881
|
</optional>
|
1885
1882
|
<choice>
|
1886
1883
|
<ref name="expression_designation"/>
|
1887
1884
|
<ref name="letter_symbol_designation"/>
|
1888
1885
|
<ref name="graphical_symbol_designation"/>
|
1889
1886
|
</choice>
|
1887
|
+
<optional>
|
1888
|
+
<ref name="fieldofapplication"/>
|
1889
|
+
</optional>
|
1890
|
+
<optional>
|
1891
|
+
<ref name="usageinfo"/>
|
1892
|
+
</optional>
|
1890
1893
|
<zeroOrMore>
|
1891
1894
|
<ref name="termsource"/>
|
1892
1895
|
</zeroOrMore>
|
1893
1896
|
</define>
|
1897
|
+
<define name="fieldofapplication">
|
1898
|
+
<element name="field-of-application">
|
1899
|
+
<oneOrMore>
|
1900
|
+
<ref name="PureTextElement"/>
|
1901
|
+
</oneOrMore>
|
1902
|
+
</element>
|
1903
|
+
</define>
|
1904
|
+
<define name="usageinfo">
|
1905
|
+
<element name="usage-info">
|
1906
|
+
<oneOrMore>
|
1907
|
+
<ref name="PureTextElement"/>
|
1908
|
+
</oneOrMore>
|
1909
|
+
</element>
|
1910
|
+
</define>
|
1894
1911
|
<define name="letter_symbol_designation">
|
1895
1912
|
<element name="letter-symbol">
|
1896
1913
|
<optional>
|
@@ -1946,7 +1963,7 @@
|
|
1946
1963
|
</zeroOrMore>
|
1947
1964
|
</element>
|
1948
1965
|
<optional>
|
1949
|
-
<element name="
|
1966
|
+
<element name="abbreviation-type">
|
1950
1967
|
<ref name="AbbreviationType"/>
|
1951
1968
|
</element>
|
1952
1969
|
</optional>
|
@@ -1956,7 +1973,7 @@
|
|
1956
1973
|
</element>
|
1957
1974
|
</optional>
|
1958
1975
|
<optional>
|
1959
|
-
<element name="
|
1976
|
+
<element name="grammar-info">
|
1960
1977
|
<ref name="Grammar"/>
|
1961
1978
|
</element>
|
1962
1979
|
</optional>
|
@@ -1983,6 +2000,11 @@
|
|
1983
2000
|
<ref name="GrammarGender"/>
|
1984
2001
|
</element>
|
1985
2002
|
</zeroOrMore>
|
2003
|
+
<zeroOrMore>
|
2004
|
+
<element name="number">
|
2005
|
+
<ref name="GrammarNumber"/>
|
2006
|
+
</element>
|
2007
|
+
</zeroOrMore>
|
1986
2008
|
<optional>
|
1987
2009
|
<element name="isPreposition">
|
1988
2010
|
<data type="boolean"/>
|
@@ -2014,7 +2036,7 @@
|
|
2014
2036
|
</element>
|
2015
2037
|
</optional>
|
2016
2038
|
<zeroOrMore>
|
2017
|
-
<element name="
|
2039
|
+
<element name="grammar-value">
|
2018
2040
|
<text/>
|
2019
2041
|
</element>
|
2020
2042
|
</zeroOrMore>
|
@@ -2027,6 +2049,13 @@
|
|
2027
2049
|
<value>common</value>
|
2028
2050
|
</choice>
|
2029
2051
|
</define>
|
2052
|
+
<define name="GrammarNumber">
|
2053
|
+
<choice>
|
2054
|
+
<value>singular</value>
|
2055
|
+
<value>dual</value>
|
2056
|
+
<value>plural</value>
|
2057
|
+
</choice>
|
2058
|
+
</define>
|
2030
2059
|
<define name="termdomain">
|
2031
2060
|
<element name="domain">
|
2032
2061
|
<oneOrMore>
|
@@ -2041,13 +2070,6 @@
|
|
2041
2070
|
</oneOrMore>
|
2042
2071
|
</element>
|
2043
2072
|
</define>
|
2044
|
-
<define name="termusage">
|
2045
|
-
<element name="usageinfo">
|
2046
|
-
<oneOrMore>
|
2047
|
-
<ref name="BasicBlock"/>
|
2048
|
-
</oneOrMore>
|
2049
|
-
</element>
|
2050
|
-
</define>
|
2051
2073
|
<define name="termdefinition">
|
2052
2074
|
<element name="definition">
|
2053
2075
|
<choice>
|
@@ -2061,13 +2083,16 @@
|
|
2061
2083
|
</element>
|
2062
2084
|
</define>
|
2063
2085
|
<define name="verbaldefinition">
|
2064
|
-
<element name="
|
2086
|
+
<element name="verbal-definition">
|
2065
2087
|
<oneOrMore>
|
2066
2088
|
<choice>
|
2067
2089
|
<ref name="paragraph"/>
|
2068
2090
|
<ref name="dl"/>
|
2069
2091
|
<ref name="ol"/>
|
2070
2092
|
<ref name="ul"/>
|
2093
|
+
<ref name="table"/>
|
2094
|
+
<ref name="figure"/>
|
2095
|
+
<ref name="formula"/>
|
2071
2096
|
</choice>
|
2072
2097
|
</oneOrMore>
|
2073
2098
|
<zeroOrMore>
|
@@ -2076,7 +2101,7 @@
|
|
2076
2101
|
</element>
|
2077
2102
|
</define>
|
2078
2103
|
<define name="nonverbalrep">
|
2079
|
-
<element name="
|
2104
|
+
<element name="non-verbal-representation">
|
2080
2105
|
<oneOrMore>
|
2081
2106
|
<choice>
|
2082
2107
|
<ref name="table"/>
|
@@ -597,10 +597,12 @@ h3 {
|
|
597
597
|
color: #cfcfcf;
|
598
598
|
content: "\f0c1"; } }
|
599
599
|
|
600
|
-
.TermNum
|
601
|
-
color: black;
|
600
|
+
.TermNum {
|
602
601
|
font-weight: 400; }
|
603
602
|
|
603
|
+
.TermNum, .Terms, .AltTerms {
|
604
|
+
color: black; }
|
605
|
+
|
604
606
|
p.TermNum {
|
605
607
|
font-size: 0.9em;
|
606
608
|
line-height: 1em;
|
@@ -312,7 +312,6 @@ p.Terms, li.Terms, div.Terms {
|
|
312
312
|
mso-fareast-font-family: {{headerfont}};
|
313
313
|
mso-bidi-font-family: {{headerfont}};
|
314
314
|
mso-ansi-language: EN-GB;
|
315
|
-
font-weight: bold;
|
316
315
|
mso-bidi-font-weight: normal; }
|
317
316
|
|
318
317
|
p.AltTerms, li.AltTerms, div.AltTerms {
|
@@ -299,7 +299,6 @@ p.Terms, li.Terms, div.Terms
|
|
299
299
|
mso-fareast-font-family:$headerfont;
|
300
300
|
mso-bidi-font-family:$headerfont;
|
301
301
|
mso-ansi-language:EN-GB;
|
302
|
-
font-weight:bold;
|
303
302
|
mso-bidi-font-weight:normal;}
|
304
303
|
p.AltTerms, li.AltTerms, div.AltTerms
|
305
304
|
{mso-style-name:"AltTerm\(s\)";
|
@@ -738,6 +738,7 @@
|
|
738
738
|
<xsl:template match="m3d:preferred">
|
739
739
|
|
740
740
|
<fo:inline>
|
741
|
+
<xsl:call-template name="setStyle_preferred"/>
|
741
742
|
<xsl:apply-templates/>
|
742
743
|
</fo:inline>
|
743
744
|
|
@@ -1479,7 +1480,8 @@
|
|
1479
1480
|
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]" mode="contents"/>
|
1480
1481
|
|
1481
1482
|
</xsl:template><xsl:template name="processMainSectionsDefault_Contents">
|
1482
|
-
|
1483
|
+
|
1484
|
+
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
|
1483
1485
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1484
1486
|
<xsl:apply-templates select="." mode="contents"/>
|
1485
1487
|
</xsl:for-each>
|
@@ -1489,7 +1491,7 @@
|
|
1489
1491
|
<xsl:apply-templates select="." mode="contents"/>
|
1490
1492
|
</xsl:for-each>
|
1491
1493
|
|
1492
|
-
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
|
1494
|
+
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
|
1493
1495
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1494
1496
|
<xsl:apply-templates select="." mode="contents"/>
|
1495
1497
|
</xsl:for-each>
|
@@ -4166,12 +4168,12 @@
|
|
4166
4168
|
</xsl:template><xsl:template match="*[local-name() = 'emf']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
4167
4169
|
<xsl:apply-templates mode="contents"/>
|
4168
4170
|
<xsl:text> </xsl:text>
|
4169
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="bookmarks">
|
4171
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name'] | *[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="bookmarks">
|
4170
4172
|
<xsl:apply-templates mode="bookmarks"/>
|
4171
4173
|
<xsl:text> </xsl:text>
|
4172
4174
|
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']/text()" mode="contents" priority="2">
|
4173
4175
|
<xsl:value-of select="."/>
|
4174
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
|
4176
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement' or local-name() = 'sourcecode']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
|
4175
4177
|
<xsl:value-of select="."/>
|
4176
4178
|
</xsl:template><xsl:template match="node()" mode="contents">
|
4177
4179
|
<xsl:apply-templates mode="contents"/>
|
@@ -4441,6 +4443,8 @@
|
|
4441
4443
|
|
4442
4444
|
|
4443
4445
|
|
4446
|
+
|
4447
|
+
|
4444
4448
|
<fo:block xsl:use-attribute-sets="sourcecode-style">
|
4445
4449
|
<xsl:variable name="_font-size">
|
4446
4450
|
|
@@ -4474,13 +4478,17 @@
|
|
4474
4478
|
|
4475
4479
|
|
4476
4480
|
|
4481
|
+
|
4482
|
+
|
4477
4483
|
<xsl:apply-templates/>
|
4478
4484
|
</fo:block>
|
4479
|
-
|
4485
|
+
|
4480
4486
|
|
4481
4487
|
<xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
|
4482
4488
|
|
4483
4489
|
|
4490
|
+
|
4491
|
+
|
4484
4492
|
</fo:block-container>
|
4485
4493
|
</fo:block-container>
|
4486
4494
|
</xsl:template><xsl:template match="*[local-name()='sourcecode']/text()" priority="2">
|
@@ -5050,24 +5058,29 @@
|
|
5050
5058
|
</xsl:template><xsl:template match="*[local-name() = 'deprecates']">
|
5051
5059
|
<xsl:variable name="title-deprecated">
|
5052
5060
|
|
5053
|
-
|
5054
|
-
|
5055
|
-
<xsl:with-param name="name" select="'title-deprecated'"/>
|
5061
|
+
<xsl:call-template name="getLocalizedString">
|
5062
|
+
<xsl:with-param name="key">deprecated</xsl:with-param>
|
5056
5063
|
</xsl:call-template>
|
5057
5064
|
|
5065
|
+
|
5058
5066
|
</xsl:variable>
|
5059
5067
|
<fo:block xsl:use-attribute-sets="deprecates-style">
|
5060
5068
|
<xsl:value-of select="$title-deprecated"/>: <xsl:apply-templates/>
|
5061
5069
|
</fo:block>
|
5070
|
+
</xsl:template><xsl:template name="setStyle_preferred">
|
5071
|
+
<xsl:if test="*[local-name() = 'strong']">
|
5072
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
5073
|
+
</xsl:if>
|
5062
5074
|
</xsl:template><xsl:template match="*[local-name() = 'definition']">
|
5063
5075
|
<fo:block xsl:use-attribute-sets="definition-style">
|
5064
5076
|
<xsl:apply-templates/>
|
5065
5077
|
</fo:block>
|
5066
5078
|
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]">
|
5067
5079
|
<xsl:apply-templates/>
|
5068
|
-
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p']">
|
5080
|
+
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p'][1]">
|
5069
5081
|
<fo:inline> <xsl:apply-templates/></fo:inline>
|
5070
|
-
<fo:block
|
5082
|
+
<!-- <fo:block> </fo:block> -->
|
5083
|
+
<fo:block/>
|
5071
5084
|
</xsl:template><xsl:template match="/*/*[local-name() = 'sections']/*" priority="2">
|
5072
5085
|
|
5073
5086
|
<fo:block break-after="page"/>
|
@@ -738,6 +738,7 @@
|
|
738
738
|
<xsl:template match="m3d:preferred">
|
739
739
|
|
740
740
|
<fo:inline>
|
741
|
+
<xsl:call-template name="setStyle_preferred"/>
|
741
742
|
<xsl:apply-templates/>
|
742
743
|
</fo:inline>
|
743
744
|
|
@@ -1479,7 +1480,8 @@
|
|
1479
1480
|
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]" mode="contents"/>
|
1480
1481
|
|
1481
1482
|
</xsl:template><xsl:template name="processMainSectionsDefault_Contents">
|
1482
|
-
|
1483
|
+
|
1484
|
+
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
|
1483
1485
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1484
1486
|
<xsl:apply-templates select="." mode="contents"/>
|
1485
1487
|
</xsl:for-each>
|
@@ -1489,7 +1491,7 @@
|
|
1489
1491
|
<xsl:apply-templates select="." mode="contents"/>
|
1490
1492
|
</xsl:for-each>
|
1491
1493
|
|
1492
|
-
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
|
1494
|
+
<xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
|
1493
1495
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1494
1496
|
<xsl:apply-templates select="." mode="contents"/>
|
1495
1497
|
</xsl:for-each>
|
@@ -4166,12 +4168,12 @@
|
|
4166
4168
|
</xsl:template><xsl:template match="*[local-name() = 'emf']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
4167
4169
|
<xsl:apply-templates mode="contents"/>
|
4168
4170
|
<xsl:text> </xsl:text>
|
4169
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="bookmarks">
|
4171
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name'] | *[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="bookmarks">
|
4170
4172
|
<xsl:apply-templates mode="bookmarks"/>
|
4171
4173
|
<xsl:text> </xsl:text>
|
4172
4174
|
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']/text()" mode="contents" priority="2">
|
4173
4175
|
<xsl:value-of select="."/>
|
4174
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
|
4176
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement' or local-name() = 'sourcecode']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
|
4175
4177
|
<xsl:value-of select="."/>
|
4176
4178
|
</xsl:template><xsl:template match="node()" mode="contents">
|
4177
4179
|
<xsl:apply-templates mode="contents"/>
|
@@ -4441,6 +4443,8 @@
|
|
4441
4443
|
|
4442
4444
|
|
4443
4445
|
|
4446
|
+
|
4447
|
+
|
4444
4448
|
<fo:block xsl:use-attribute-sets="sourcecode-style">
|
4445
4449
|
<xsl:variable name="_font-size">
|
4446
4450
|
|
@@ -4474,13 +4478,17 @@
|
|
4474
4478
|
|
4475
4479
|
|
4476
4480
|
|
4481
|
+
|
4482
|
+
|
4477
4483
|
<xsl:apply-templates/>
|
4478
4484
|
</fo:block>
|
4479
|
-
|
4485
|
+
|
4480
4486
|
|
4481
4487
|
<xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
|
4482
4488
|
|
4483
4489
|
|
4490
|
+
|
4491
|
+
|
4484
4492
|
</fo:block-container>
|
4485
4493
|
</fo:block-container>
|
4486
4494
|
</xsl:template><xsl:template match="*[local-name()='sourcecode']/text()" priority="2">
|
@@ -5050,24 +5058,29 @@
|
|
5050
5058
|
</xsl:template><xsl:template match="*[local-name() = 'deprecates']">
|
5051
5059
|
<xsl:variable name="title-deprecated">
|
5052
5060
|
|
5053
|
-
|
5054
|
-
|
5055
|
-
<xsl:with-param name="name" select="'title-deprecated'"/>
|
5061
|
+
<xsl:call-template name="getLocalizedString">
|
5062
|
+
<xsl:with-param name="key">deprecated</xsl:with-param>
|
5056
5063
|
</xsl:call-template>
|
5057
5064
|
|
5065
|
+
|
5058
5066
|
</xsl:variable>
|
5059
5067
|
<fo:block xsl:use-attribute-sets="deprecates-style">
|
5060
5068
|
<xsl:value-of select="$title-deprecated"/>: <xsl:apply-templates/>
|
5061
5069
|
</fo:block>
|
5070
|
+
</xsl:template><xsl:template name="setStyle_preferred">
|
5071
|
+
<xsl:if test="*[local-name() = 'strong']">
|
5072
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
5073
|
+
</xsl:if>
|
5062
5074
|
</xsl:template><xsl:template match="*[local-name() = 'definition']">
|
5063
5075
|
<fo:block xsl:use-attribute-sets="definition-style">
|
5064
5076
|
<xsl:apply-templates/>
|
5065
5077
|
</fo:block>
|
5066
5078
|
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]">
|
5067
5079
|
<xsl:apply-templates/>
|
5068
|
-
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p']">
|
5080
|
+
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p'][1]">
|
5069
5081
|
<fo:inline> <xsl:apply-templates/></fo:inline>
|
5070
|
-
<fo:block
|
5082
|
+
<!-- <fo:block> </fo:block> -->
|
5083
|
+
<fo:block/>
|
5071
5084
|
</xsl:template><xsl:template match="/*/*[local-name() = 'sections']/*" priority="2">
|
5072
5085
|
|
5073
5086
|
<fo:block break-after="page"/>
|
data/metanorma-m3d.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.add_dependency "metanorma-generic", "~> 1.11.0"
|
35
35
|
|
36
|
-
spec.add_development_dependency "
|
36
|
+
spec.add_development_dependency "debug"
|
37
37
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
38
38
|
spec.add_development_dependency "guard", "~> 2.14"
|
39
39
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-m3aawg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.11.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: debug
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: equivalent-xml
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|