metanorma-ogc 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +113 -72
- data/lib/isodoc/ogc/ogc.best-practice.xsl +113 -72
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +113 -72
- data/lib/isodoc/ogc/ogc.community-practice.xsl +113 -72
- data/lib/isodoc/ogc/ogc.community-standard.xsl +113 -72
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +113 -72
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +113 -72
- data/lib/isodoc/ogc/ogc.other.xsl +113 -72
- data/lib/isodoc/ogc/ogc.policy.xsl +113 -72
- data/lib/isodoc/ogc/ogc.reference-model.xsl +113 -72
- data/lib/isodoc/ogc/ogc.release-notes.xsl +113 -72
- data/lib/isodoc/ogc/ogc.standard.xsl +113 -72
- data/lib/isodoc/ogc/ogc.test-suite.xsl +113 -72
- data/lib/isodoc/ogc/ogc.user-guide.xsl +113 -72
- data/lib/isodoc/ogc/ogc.white-paper.xsl +114 -75
- data/lib/metanorma/ogc/isodoc.rng +16 -0
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
@@ -1006,9 +1006,12 @@
|
|
1006
1006
|
|
1007
1007
|
</xsl:attribute-set><xsl:attribute-set name="requirement-style">
|
1008
1008
|
|
1009
|
+
|
1009
1010
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
1010
1011
|
|
1011
1012
|
</xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
|
1013
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1014
|
+
|
1012
1015
|
|
1013
1016
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1014
1017
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
@@ -1017,7 +1020,6 @@
|
|
1017
1020
|
<xsl:attribute name="padding-bottom">1mm</xsl:attribute>
|
1018
1021
|
<xsl:attribute name="margin-bottom">1mm</xsl:attribute>
|
1019
1022
|
<xsl:attribute name="background-color">rgb(165,165,165)</xsl:attribute>
|
1020
|
-
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1021
1023
|
|
1022
1024
|
</xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
|
1023
1025
|
|
@@ -1138,6 +1140,7 @@
|
|
1138
1140
|
|
1139
1141
|
|
1140
1142
|
|
1143
|
+
|
1141
1144
|
|
1142
1145
|
|
1143
1146
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
@@ -1496,7 +1499,8 @@
|
|
1496
1499
|
|
1497
1500
|
|
1498
1501
|
|
1499
|
-
|
1502
|
+
|
1503
|
+
|
1500
1504
|
|
1501
1505
|
|
1502
1506
|
|
@@ -1515,6 +1519,7 @@
|
|
1515
1519
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1516
1520
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1517
1521
|
|
1522
|
+
|
1518
1523
|
|
1519
1524
|
|
1520
1525
|
|
@@ -1988,7 +1993,10 @@
|
|
1988
1993
|
|
1989
1994
|
|
1990
1995
|
|
1991
|
-
|
1996
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
1997
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1998
|
+
<xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
|
1999
|
+
</xsl:if> -->
|
1992
2000
|
|
1993
2001
|
|
1994
2002
|
|
@@ -3218,80 +3226,88 @@
|
|
3218
3226
|
</xsl:choose>
|
3219
3227
|
</xsl:variable>
|
3220
3228
|
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3229
|
+
|
3230
|
+
<xsl:variable name="tableWithNotesAndFootnotes">
|
3231
|
+
|
3232
|
+
<fo:table keep-with-previous="always">
|
3233
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
|
3234
|
+
<xsl:variable name="name" select="local-name()"/>
|
3235
|
+
<xsl:choose>
|
3236
|
+
<xsl:when test="$name = 'border-top'">
|
3237
|
+
<xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
|
3238
|
+
</xsl:when>
|
3239
|
+
<xsl:when test="$name = 'border'">
|
3240
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
3241
|
+
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
3242
|
+
</xsl:when>
|
3243
|
+
<xsl:otherwise>
|
3244
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
3245
|
+
</xsl:otherwise>
|
3246
|
+
</xsl:choose>
|
3247
|
+
</xsl:for-each>
|
3248
|
+
|
3249
|
+
|
3250
|
+
|
3224
3251
|
<xsl:choose>
|
3225
|
-
<xsl:when test="$name
|
3226
|
-
<xsl:
|
3227
|
-
|
3228
|
-
|
3229
|
-
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
3230
|
-
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
3252
|
+
<xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
|
3253
|
+
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
3254
|
+
<fo:table-column column-width="{@width}"/>
|
3255
|
+
</xsl:for-each>
|
3231
3256
|
</xsl:when>
|
3232
3257
|
<xsl:otherwise>
|
3233
|
-
|
3258
|
+
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
3259
|
+
<xsl:call-template name="insertTableColumnWidth">
|
3260
|
+
<xsl:with-param name="colwidths" select="$colwidths"/>
|
3261
|
+
</xsl:call-template>
|
3234
3262
|
</xsl:otherwise>
|
3235
3263
|
</xsl:choose>
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
3243
|
-
<fo:table-column column-width="{@width}"/>
|
3244
|
-
</xsl:for-each>
|
3245
|
-
</xsl:when>
|
3246
|
-
<xsl:otherwise>
|
3247
|
-
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
3248
|
-
<xsl:call-template name="insertTableColumnWidth">
|
3249
|
-
<xsl:with-param name="colwidths" select="$colwidths"/>
|
3250
|
-
</xsl:call-template>
|
3251
|
-
</xsl:otherwise>
|
3252
|
-
</xsl:choose>
|
3253
|
-
|
3254
|
-
<fo:table-body>
|
3255
|
-
<fo:table-row>
|
3256
|
-
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
3257
|
-
|
3258
|
-
|
3264
|
+
|
3265
|
+
<fo:table-body>
|
3266
|
+
<fo:table-row>
|
3267
|
+
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
3268
|
+
|
3269
|
+
|
3259
3270
|
|
3260
|
-
|
3261
|
-
|
3262
|
-
<!-- fn will be processed inside 'note' processing -->
|
3263
|
-
|
3264
|
-
|
3265
|
-
|
3266
|
-
|
3267
|
-
|
3268
|
-
|
3269
|
-
<!-- for BSI (not PAS) display Notes before footnotes -->
|
3270
|
-
|
3271
|
-
|
3272
|
-
<!-- except gb and bsi -->
|
3273
|
-
|
3274
|
-
<xsl:apply-templates select="../*[local-name()='note']"/>
|
3275
3271
|
|
3276
|
-
|
3277
|
-
|
3278
|
-
<!-- horizontal row separator -->
|
3279
|
-
|
3280
|
-
|
3281
|
-
<!-- fn processing -->
|
3282
|
-
|
3283
|
-
<xsl:call-template name="table_fn_display"/>
|
3284
3272
|
|
3285
|
-
|
3286
|
-
|
3287
|
-
|
3288
|
-
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3273
|
+
<!-- fn will be processed inside 'note' processing -->
|
3274
|
+
|
3275
|
+
|
3276
|
+
|
3277
|
+
|
3278
|
+
|
3279
|
+
|
3280
|
+
<!-- for BSI (not PAS) display Notes before footnotes -->
|
3281
|
+
|
3282
|
+
|
3283
|
+
<!-- except gb and bsi -->
|
3284
|
+
|
3285
|
+
<xsl:apply-templates select="../*[local-name()='note']"/>
|
3286
|
+
|
3287
|
+
|
3288
|
+
|
3289
|
+
<!-- horizontal row separator -->
|
3290
|
+
|
3291
|
+
|
3292
|
+
<!-- fn processing -->
|
3293
|
+
|
3294
|
+
<xsl:call-template name="table_fn_display"/>
|
3295
|
+
|
3296
|
+
|
3297
|
+
|
3298
|
+
<!-- for PAS display Notes after footnotes -->
|
3299
|
+
|
3300
|
+
|
3301
|
+
</fo:table-cell>
|
3302
|
+
</fo:table-row>
|
3303
|
+
</fo:table-body>
|
3304
|
+
|
3305
|
+
</fo:table>
|
3306
|
+
</xsl:variable>
|
3307
|
+
|
3308
|
+
<xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
|
3309
|
+
<xsl:copy-of select="$tableWithNotesAndFootnotes"/>
|
3310
|
+
</xsl:if>
|
3295
3311
|
|
3296
3312
|
|
3297
3313
|
|
@@ -3585,6 +3601,7 @@
|
|
3585
3601
|
<xsl:variable name="footnote_inline">
|
3586
3602
|
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
3587
3603
|
|
3604
|
+
|
3588
3605
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
|
3589
3606
|
<xsl:value-of select="$current_fn_number_text"/>
|
3590
3607
|
</fo:basic-link>
|
@@ -3606,8 +3623,12 @@
|
|
3606
3623
|
<fo:block xsl:use-attribute-sets="fn-body-style">
|
3607
3624
|
|
3608
3625
|
|
3626
|
+
|
3609
3627
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
|
3610
3628
|
|
3629
|
+
|
3630
|
+
|
3631
|
+
|
3611
3632
|
<xsl:value-of select="$current_fn_number_text"/>
|
3612
3633
|
</fo:inline>
|
3613
3634
|
<xsl:apply-templates/>
|
@@ -5303,6 +5324,8 @@
|
|
5303
5324
|
|
5304
5325
|
|
5305
5326
|
|
5327
|
+
|
5328
|
+
|
5306
5329
|
<xsl:choose>
|
5307
5330
|
<xsl:when test="$target_text = ''">
|
5308
5331
|
<xsl:apply-templates/>
|
@@ -5514,6 +5537,7 @@
|
|
5514
5537
|
|
5515
5538
|
|
5516
5539
|
|
5540
|
+
|
5517
5541
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
5518
5542
|
<!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
|
5519
5543
|
<xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
@@ -5536,6 +5560,7 @@
|
|
5536
5560
|
<xsl:otherwise>
|
5537
5561
|
|
5538
5562
|
|
5563
|
+
|
5539
5564
|
</xsl:otherwise>
|
5540
5565
|
</xsl:choose>
|
5541
5566
|
</xsl:variable>
|
@@ -5552,6 +5577,7 @@
|
|
5552
5577
|
</xsl:when>
|
5553
5578
|
<xsl:otherwise>
|
5554
5579
|
|
5580
|
+
|
5555
5581
|
<xsl:text>:</xsl:text>
|
5556
5582
|
|
5557
5583
|
|
@@ -6319,6 +6345,9 @@
|
|
6319
6345
|
<fo:block xsl:use-attribute-sets="figure-name-style">
|
6320
6346
|
|
6321
6347
|
|
6348
|
+
|
6349
|
+
|
6350
|
+
|
6322
6351
|
<xsl:apply-templates/>
|
6323
6352
|
</fo:block>
|
6324
6353
|
</xsl:if>
|
@@ -6379,7 +6408,7 @@
|
|
6379
6408
|
<xsl:apply-templates/>
|
6380
6409
|
</xsl:otherwise>
|
6381
6410
|
</xsl:choose>
|
6382
|
-
</xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'xref']" mode="contents">
|
6411
|
+
</xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'xref'] | *[local-name() = 'eref']" mode="contents">
|
6383
6412
|
<xsl:value-of select="."/>
|
6384
6413
|
</xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
6385
6414
|
<xsl:text> </xsl:text>
|
@@ -6455,6 +6484,9 @@
|
|
6455
6484
|
<!-- 9 -->
|
6456
6485
|
|
6457
6486
|
|
6487
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
6488
|
+
<xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
|
6489
|
+
</xsl:if> -->
|
6458
6490
|
|
6459
6491
|
|
6460
6492
|
|
@@ -6909,10 +6941,14 @@
|
|
6909
6941
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
6910
6942
|
<xsl:variable name="element">inline
|
6911
6943
|
|
6944
|
+
|
6912
6945
|
</xsl:variable>
|
6913
6946
|
<xsl:choose>
|
6914
6947
|
<xsl:when test="contains($element, 'block')">
|
6915
6948
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
6949
|
+
|
6950
|
+
|
6951
|
+
|
6916
6952
|
<xsl:apply-templates/>
|
6917
6953
|
</fo:block>
|
6918
6954
|
</xsl:when>
|
@@ -7020,6 +7056,7 @@
|
|
7020
7056
|
</xsl:if>
|
7021
7057
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
7022
7058
|
|
7059
|
+
|
7023
7060
|
<xsl:apply-templates/>
|
7024
7061
|
</fo:block>
|
7025
7062
|
</fo:block-container>
|
@@ -7176,6 +7213,8 @@
|
|
7176
7213
|
|
7177
7214
|
|
7178
7215
|
|
7216
|
+
|
7217
|
+
|
7179
7218
|
<fo:basic-link fox:alt-text="{@citeas}">
|
7180
7219
|
<xsl:if test="normalize-space(@citeas) = ''">
|
7181
7220
|
<xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
|
@@ -7604,6 +7643,8 @@
|
|
7604
7643
|
|
7605
7644
|
|
7606
7645
|
|
7646
|
+
|
7647
|
+
|
7607
7648
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
7608
7649
|
<xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
7609
7650
|
<xsl:call-template name="append_add-style"/>
|
@@ -7861,7 +7902,7 @@
|
|
7861
7902
|
</fo:block>
|
7862
7903
|
|
7863
7904
|
|
7864
|
-
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
|
7905
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
|
7865
7906
|
|
7866
7907
|
<!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
7867
7908
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
@@ -7874,9 +7915,7 @@
|
|
7874
7915
|
|
7875
7916
|
<xsl:value-of select="*[local-name()='docidentifier'][@type = 'metanorma-ordinal']"/>
|
7876
7917
|
<xsl:if test="not(*[local-name()='docidentifier'][@type = 'metanorma-ordinal'])">
|
7877
|
-
|
7878
|
-
<xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
|
7879
|
-
|
7918
|
+
<xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
|
7880
7919
|
</xsl:if>
|
7881
7920
|
|
7882
7921
|
</fo:inline>
|
@@ -8626,7 +8665,7 @@
|
|
8626
8665
|
<dc:description>
|
8627
8666
|
<xsl:variable name="abstract">
|
8628
8667
|
|
8629
|
-
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
|
8668
|
+
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
|
8630
8669
|
|
8631
8670
|
</xsl:variable>
|
8632
8671
|
<xsl:value-of select="normalize-space($abstract)"/>
|
@@ -69,6 +69,17 @@
|
|
69
69
|
</zeroOrMore>
|
70
70
|
</element>
|
71
71
|
</define>
|
72
|
+
<define name="AdmonitionType">
|
73
|
+
<choice>
|
74
|
+
<value>warning</value>
|
75
|
+
<value>note</value>
|
76
|
+
<value>tip</value>
|
77
|
+
<value>important</value>
|
78
|
+
<value>caution</value>
|
79
|
+
<value>statement</value>
|
80
|
+
<value>editorial</value>
|
81
|
+
</choice>
|
82
|
+
</define>
|
72
83
|
<define name="index">
|
73
84
|
<element name="index">
|
74
85
|
<optional>
|
@@ -116,6 +127,11 @@
|
|
116
127
|
<data type="boolean"/>
|
117
128
|
</attribute>
|
118
129
|
</optional>
|
130
|
+
<optional>
|
131
|
+
<attribute name="suppress_identifier">
|
132
|
+
<data type="boolean"/>
|
133
|
+
</attribute>
|
134
|
+
</optional>
|
119
135
|
<ref name="BibliographicItem"/>
|
120
136
|
</element>
|
121
137
|
</define>
|
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.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|