metanorma-ogc 2.8.9 → 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 +5 -2
- data/lib/isodoc/ogc/ogc.best-practice.xsl +5 -2
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +5 -2
- data/lib/isodoc/ogc/ogc.community-practice.xsl +5 -2
- data/lib/isodoc/ogc/ogc.community-standard.xsl +5 -2
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +5 -2
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +5 -2
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +5 -2
- data/lib/isodoc/ogc/ogc.other.xsl +5 -2
- data/lib/isodoc/ogc/ogc.policy.xsl +5 -2
- data/lib/isodoc/ogc/ogc.reference-model.xsl +5 -2
- data/lib/isodoc/ogc/ogc.release-notes.xsl +5 -2
- data/lib/isodoc/ogc/ogc.standard.xsl +5 -2
- data/lib/isodoc/ogc/ogc.test-suite.xsl +5 -2
- data/lib/isodoc/ogc/ogc.user-guide.xsl +5 -2
- data/lib/isodoc/ogc/ogc.white-paper.xsl +5 -2
- data/lib/isodoc/ogc/presentation_xml_convert.rb +3 -3
- data/lib/metanorma/ogc/biblio.rng +14 -4
- data/lib/metanorma/ogc/isodoc.rng +1 -1
- 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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
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
|
|
|
@@ -14214,9 +14214,12 @@
|
|
|
14214
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
14215
14215
|
|
|
14216
14216
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
14217
|
+
<xsl:param name="num"/>
|
|
14217
14218
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
14218
14219
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
14219
|
-
<xsl:apply-templates select="."
|
|
14220
|
+
<xsl:apply-templates select=".">
|
|
14221
|
+
<xsl:with-param name="num" select="$num"/>
|
|
14222
|
+
</xsl:apply-templates>
|
|
14220
14223
|
</xsl:for-each>
|
|
14221
14224
|
</xsl:template>
|
|
14222
14225
|
|
|
@@ -1868,7 +1868,7 @@
|
|
|
1868
1868
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
1869
1869
|
<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>
|
|
1870
1870
|
|
|
1871
|
-
<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">
|
|
1871
|
+
<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">
|
|
1872
1872
|
|
|
1873
1873
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
1874
1874
|
|
|
@@ -12913,9 +12913,12 @@
|
|
|
12913
12913
|
</xsl:template> <!-- refine_title-style -->
|
|
12914
12914
|
|
|
12915
12915
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
12916
|
+
<xsl:param name="num"/>
|
|
12916
12917
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
12917
12918
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
12918
|
-
<xsl:apply-templates select="."
|
|
12919
|
+
<xsl:apply-templates select=".">
|
|
12920
|
+
<xsl:with-param name="num" select="$num"/>
|
|
12921
|
+
</xsl:apply-templates>
|
|
12919
12922
|
</xsl:for-each>
|
|
12920
12923
|
</xsl:template>
|
|
12921
12924
|
|
|
@@ -73,15 +73,15 @@ module IsoDoc
|
|
|
73
73
|
|
|
74
74
|
def bibrender_formattedref(formattedref, xml); end
|
|
75
75
|
|
|
76
|
-
def norm_ref_entry_code(_ordinal, _idents,
|
|
76
|
+
def norm_ref_entry_code(_ordinal, _idents, _standard, _datefn, _bib)
|
|
77
77
|
""
|
|
78
78
|
end
|
|
79
79
|
|
|
80
80
|
# if ids is just a number, only use that ([1] Non-Standard)
|
|
81
81
|
# else, use both ordinal, as prefix, and ids
|
|
82
|
-
def biblio_ref_entry_code(ordinal, ids,
|
|
82
|
+
def biblio_ref_entry_code(ordinal, ids, standard, datefn, _bib)
|
|
83
83
|
standard and return "[#{ordinal}]<tab/>"
|
|
84
|
-
ret = ids[:ordinal] || ids[:metanorma] || "[#{ordinal}]"
|
|
84
|
+
ret = ids[:ordinal] || ids[:content] || ids[:metanorma] || "[#{ordinal}]"
|
|
85
85
|
prefix_bracketed_ref("#{ret}#{datefn}")
|
|
86
86
|
end
|
|
87
87
|
|
|
@@ -466,11 +466,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
466
466
|
<a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
|
|
467
467
|
</ref>
|
|
468
468
|
</optional>
|
|
469
|
-
<
|
|
469
|
+
<zeroOrMore>
|
|
470
470
|
<ref name="logo">
|
|
471
471
|
<a:documentation>A logo for the organization</a:documentation>
|
|
472
472
|
</ref>
|
|
473
|
-
</
|
|
473
|
+
</zeroOrMore>
|
|
474
474
|
</define>
|
|
475
475
|
<define name="orgname">
|
|
476
476
|
<element name="name">
|
|
@@ -502,6 +502,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
502
502
|
</define>
|
|
503
503
|
<define name="logo">
|
|
504
504
|
<element name="logo">
|
|
505
|
+
<optional>
|
|
506
|
+
<attribute name="type">
|
|
507
|
+
<a:documentation>The type of logo</a:documentation>
|
|
508
|
+
</attribute>
|
|
509
|
+
</optional>
|
|
505
510
|
<ref name="image-no-id"/>
|
|
506
511
|
</element>
|
|
507
512
|
</define>
|
|
@@ -513,6 +518,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
513
518
|
<a:documentation>Description of what is being depicted</a:documentation>
|
|
514
519
|
</attribute>
|
|
515
520
|
</optional>
|
|
521
|
+
<optional>
|
|
522
|
+
<attribute name="type">
|
|
523
|
+
<a:documentation>Description of what kind of depiction this</a:documentation>
|
|
524
|
+
</attribute>
|
|
525
|
+
</optional>
|
|
516
526
|
<zeroOrMore>
|
|
517
527
|
<ref name="image-no-id">
|
|
518
528
|
<a:documentation>A visual depiction of the bibliographic item</a:documentation>
|
|
@@ -1236,9 +1246,9 @@ Refer to `BibliographicItem` for definitions</a:documentation>
|
|
|
1236
1246
|
<optional>
|
|
1237
1247
|
<ref name="validity"/>
|
|
1238
1248
|
</optional>
|
|
1239
|
-
<
|
|
1249
|
+
<zeroOrMore>
|
|
1240
1250
|
<ref name="depiction"/>
|
|
1241
|
-
</
|
|
1251
|
+
</zeroOrMore>
|
|
1242
1252
|
</define>
|
|
1243
1253
|
<define name="btitle">
|
|
1244
1254
|
<a:documentation>A title of a bibliographic item, associated with a type of title</a:documentation>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
-
<!-- VERSION v2.1.
|
|
3
|
+
<!-- VERSION v2.1.5 -->
|
|
4
4
|
|
|
5
5
|
<!--
|
|
6
6
|
ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-ogc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: iso-639
|