metanorma-ogc 2.4.7 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -8
- data/lib/isodoc/ogc/html/htmlstyle.css +8 -0
- data/lib/isodoc/ogc/i18n-en.yaml +1 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +7 -4
- data/lib/isodoc/ogc/ogc.best-practice.xsl +7 -4
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +7 -4
- data/lib/isodoc/ogc/ogc.community-practice.xsl +7 -4
- data/lib/isodoc/ogc/ogc.community-standard.xsl +7 -4
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +7 -4
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +7 -4
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +7 -4
- data/lib/isodoc/ogc/ogc.other.xsl +7 -4
- data/lib/isodoc/ogc/ogc.policy.xsl +7 -4
- data/lib/isodoc/ogc/ogc.reference-model.xsl +7 -4
- data/lib/isodoc/ogc/ogc.release-notes.xsl +7 -4
- data/lib/isodoc/ogc/ogc.standard.xsl +7 -4
- data/lib/isodoc/ogc/ogc.test-suite.xsl +7 -4
- data/lib/isodoc/ogc/ogc.user-guide.xsl +7 -4
- data/lib/isodoc/ogc/ogc.white-paper.xsl +7 -4
- data/lib/isodoc/ogc/presentation_sections.rb +112 -0
- data/lib/isodoc/ogc/presentation_xml_convert.rb +79 -104
- data/lib/metanorma/ogc/basicdoc.rng +117 -25
- data/lib/metanorma/ogc/biblio-standoc.rng +44 -1
- data/lib/metanorma/ogc/biblio.rng +11 -0
- data/lib/metanorma/ogc/cleanup.rb +9 -8
- data/lib/metanorma/ogc/converter.rb +5 -2
- data/lib/metanorma/ogc/isodoc.rng +10 -64
- data/lib/metanorma/ogc/reqt.rng +0 -16
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfcf839845ca523b4dbcba32c4bd689498e6e0a2c7c5ecb2a171dd3c7bce4934
|
4
|
+
data.tar.gz: 60dd01126c0591afd6d82b1aaa23d7a1e15e46081e04c1bf68be10c85ad73358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c7334090d5271c9e01570baa42b6bf9f91934599989e491739ee27c8289385c62584f1527ea1184f87119a3bc08340c5ea00a4c1f2e726ac0b944fb16a10004
|
7
|
+
data.tar.gz: 35281f49a9263c900c1ea614b3b0aca5ba9fe00b0cfa528f11e3641cdf36f03c17caa9b06995a9ef4f07dde9d1b14f206066afe1523666bb0a4a45227349ad7b
|
data/Gemfile
CHANGED
@@ -4,12 +4,6 @@ Encoding.default_internal = Encoding::UTF_8
|
|
4
4
|
source "https://rubygems.org"
|
5
5
|
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
6
6
|
|
7
|
-
group :development, :test do
|
8
|
-
gem "rspec"
|
9
|
-
end
|
10
|
-
|
11
|
-
if File.exist? "Gemfile.devel"
|
12
|
-
eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
|
13
|
-
end
|
14
|
-
|
15
7
|
gemspec
|
8
|
+
|
9
|
+
eval_gemfile("Gemfile.devel") rescue nil
|
@@ -132,6 +132,14 @@ a.FootnoteRef, span.FootnoteRef {
|
|
132
132
|
color: red;
|
133
133
|
text-decoration: line-through; }
|
134
134
|
|
135
|
+
ruby {
|
136
|
+
ruby-position: over;
|
137
|
+
-webkit-ruby-position: before; }
|
138
|
+
|
139
|
+
ruby ruby {
|
140
|
+
ruby-position: under;
|
141
|
+
-webkit-ruby-position: after; }
|
142
|
+
|
135
143
|
/* code highlighting with line numbers */
|
136
144
|
table.rouge-line-table td.rouge-gutter {
|
137
145
|
-moz-user-select: none;
|
data/lib/isodoc/ogc/i18n-en.yaml
CHANGED
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|
@@ -10197,14 +10197,16 @@
|
|
10197
10197
|
|
10198
10198
|
<xsl:template match="*[local-name() = 'annex']">
|
10199
10199
|
<fo:block break-after="page"/>
|
10200
|
-
<fo:block
|
10200
|
+
<fo:block>
|
10201
10201
|
|
10202
10202
|
<xsl:call-template name="setBlockSpanAll"/>
|
10203
10203
|
|
10204
10204
|
<xsl:call-template name="refine_annex_style"/>
|
10205
10205
|
|
10206
10206
|
</fo:block>
|
10207
|
-
<
|
10207
|
+
<fo:block id="{@id}">
|
10208
|
+
<xsl:apply-templates/>
|
10209
|
+
</fo:block>
|
10208
10210
|
</xsl:template>
|
10209
10211
|
|
10210
10212
|
<xsl:template name="refine_annex_style">
|
@@ -10905,6 +10907,7 @@
|
|
10905
10907
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
10906
10908
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
10907
10909
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
10910
|
+
|
10908
10911
|
<fo:list-item>
|
10909
10912
|
<fo:list-item-label end-indent="label-end()">
|
10910
10913
|
<fo:block role="SKIP">
|
@@ -11108,10 +11111,10 @@
|
|
11108
11111
|
|
11109
11112
|
<xsl:variable name="toc_level">
|
11110
11113
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
11111
|
-
<xsl:variable name="
|
11114
|
+
<xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf Number of table of contents levels to render in PDF output; used to override :toclevels:-->
|
11112
11115
|
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
11113
11116
|
<xsl:choose>
|
11114
|
-
<xsl:when test="$
|
11117
|
+
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11115
11118
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
11116
11119
|
<xsl:otherwise><!-- default value -->
|
11117
11120
|
2
|