metanorma-ogc 2.8.8 → 2.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/init.rb +2 -1
- data/lib/isodoc/ogc/metadata.rb +13 -9
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +22 -4
- data/lib/isodoc/ogc/ogc.best-practice.xsl +22 -4
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +22 -4
- data/lib/isodoc/ogc/ogc.community-practice.xsl +22 -4
- data/lib/isodoc/ogc/ogc.community-standard.xsl +22 -4
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +22 -4
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +22 -4
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +22 -4
- data/lib/isodoc/ogc/ogc.other.xsl +22 -4
- data/lib/isodoc/ogc/ogc.policy.xsl +22 -4
- data/lib/isodoc/ogc/ogc.reference-model.xsl +22 -4
- data/lib/isodoc/ogc/ogc.release-notes.xsl +22 -4
- data/lib/isodoc/ogc/ogc.standard.xsl +22 -4
- data/lib/isodoc/ogc/ogc.test-suite.xsl +22 -4
- data/lib/isodoc/ogc/ogc.user-guide.xsl +22 -4
- data/lib/isodoc/ogc/ogc.white-paper.xsl +22 -4
- data/lib/isodoc/ogc/presentation_xml_convert.rb +3 -3
- data/lib/metanorma/ogc/biblio.rng +18 -8
- data/lib/metanorma/ogc/cleanup.rb +0 -24
- data/lib/metanorma/ogc/front.rb +16 -20
- data/lib/metanorma/ogc/isodoc.rng +27 -10
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aaa5b1592ee3a1c1cfea9476cf4d132d3d9c045f8de9df6d17e67afd8d34987a
|
|
4
|
+
data.tar.gz: 51be47d1b3e92d8f55904f0b717afb6c711911681fe7c46793a81b33d9b6087f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebd82d4067ab75d0ad2be7d694f236fe723e0ce4480c7c3c5ffc1343a873d00bfab0b33e57837f955e95acb1b5cd66094bde7dde3905e0d02f5bb52900893d9a
|
|
7
|
+
data.tar.gz: 10d495fc06fe3ecff03ee346a66e334478cc11d07c227bb0b9fc4912a43d9a62f6432310ed9ad88302cfca8d78917edce55604e2c92e624876874eadc017d24e
|
data/lib/isodoc/ogc/init.rb
CHANGED
|
@@ -22,7 +22,8 @@ module IsoDoc
|
|
|
22
22
|
|
|
23
23
|
def bibrenderer(options = {})
|
|
24
24
|
::Relaton::Render::Ogc::General.new(options
|
|
25
|
-
.merge(language: @lang, script: @script, i18nhash: @i18n.get
|
|
25
|
+
.merge(language: @lang, script: @script, i18nhash: @i18n.get,
|
|
26
|
+
config: @relatonrenderconfig))
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
def fileloc(loc)
|
data/lib/isodoc/ogc/metadata.rb
CHANGED
|
@@ -36,14 +36,18 @@ module IsoDoc
|
|
|
36
36
|
}.freeze
|
|
37
37
|
|
|
38
38
|
class Metadata < IsoDoc::Metadata
|
|
39
|
-
def
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
def logo_old
|
|
40
|
+
File.expand_path(File.join(File.dirname(__FILE__), "html", "logo.png"))
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def logo_new
|
|
44
|
+
File.expand_path(File.join(File.dirname(__FILE__), "html",
|
|
45
|
+
"logo.2021.svg"))
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def images(_isoxml, _out)
|
|
49
|
+
set(:logo_old, logo_old)
|
|
50
|
+
set(:logo_new, logo_new)
|
|
47
51
|
end
|
|
48
52
|
|
|
49
53
|
def title(isoxml, _out)
|
|
@@ -156,7 +160,7 @@ module IsoDoc
|
|
|
156
160
|
rescue StandardError
|
|
157
161
|
old = false
|
|
158
162
|
end
|
|
159
|
-
set(:logo_word, old ?
|
|
163
|
+
set(:logo_word, old ? logo_old : logo_new)
|
|
160
164
|
end
|
|
161
165
|
|
|
162
166
|
def presentation(xml, _out)
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
3099
3099
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
3100
3100
|
|
|
3101
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3101
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
3102
3102
|
|
|
3103
3103
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
3104
3104
|
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,14 +14195,31 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14200
14215
|
|
|
14201
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14202
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14203
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14204
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14205
14223
|
</xsl:for-each>
|
|
14206
14224
|
</xsl:template>
|
|
14207
14225
|
|