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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13fbc569b404283fdee6b37d4d07319a4b2fd7fb380a9475885693a41a13c662
4
- data.tar.gz: 84f5bc9f758b9d1822e529663d15fc978601ebc6bcfe23ac1c683ccd69ba6a9a
3
+ metadata.gz: cfcf839845ca523b4dbcba32c4bd689498e6e0a2c7c5ecb2a171dd3c7bce4934
4
+ data.tar.gz: 60dd01126c0591afd6d82b1aaa23d7a1e15e46081e04c1bf68be10c85ad73358
5
5
  SHA512:
6
- metadata.gz: 744250296f3f6f1f2fc8137af1fdb987a3434a528f892db9722f5f5fb6549da7bf6a36fe6f30061a434671e92919125e3dcc807feb4be67eb6ed57d60a4bd45c
7
- data.tar.gz: 3f6a685482e35e773a12a16cc25a621830bfaed9c04f3ed7dd32cfddc231c63fe70c1793c4be5f6744e1dab605561d16bb39f2b1c2b93d39eda1cf3ebd131b92
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;
@@ -10,6 +10,7 @@ requirementclass: Requirements class
10
10
  permissionclass: Permissions class
11
11
  abstracttest: Abstract test
12
12
  conformanceclass: Conformance class
13
+ dochistory: Revision history
13
14
  example: Example
14
15
  table_of_contents: Contents
15
16
  toc_figures: List of Figures
@@ -10197,14 +10197,16 @@
10197
10197
 
10198
10198
  <xsl:template match="*[local-name() = 'annex']">
10199
10199
  <fo:block break-after="page"/>
10200
- <fo:block id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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 id="{@id}">
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
- <xsl:apply-templates/>
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="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
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="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
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