metanorma-ogc 2.1.3 → 2.1.4
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/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
|
@@ -1831,9 +1831,12 @@
|
|
|
1831
1831
|
|
|
1832
1832
|
</xsl:attribute-set><xsl:attribute-set name="requirement-style">
|
|
1833
1833
|
|
|
1834
|
+
|
|
1834
1835
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
|
1835
1836
|
|
|
1836
1837
|
</xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
|
|
1838
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
1839
|
+
|
|
1837
1840
|
|
|
1838
1841
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
1839
1842
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
@@ -1842,7 +1845,6 @@
|
|
|
1842
1845
|
<xsl:attribute name="padding-bottom">1mm</xsl:attribute>
|
|
1843
1846
|
<xsl:attribute name="margin-bottom">1mm</xsl:attribute>
|
|
1844
1847
|
<xsl:attribute name="background-color">rgb(165,165,165)</xsl:attribute>
|
|
1845
|
-
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
1846
1848
|
|
|
1847
1849
|
</xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
|
|
1848
1850
|
|
|
@@ -1958,6 +1960,7 @@
|
|
|
1958
1960
|
|
|
1959
1961
|
|
|
1960
1962
|
|
|
1963
|
+
|
|
1961
1964
|
|
|
1962
1965
|
|
|
1963
1966
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
|
@@ -2312,7 +2315,8 @@
|
|
|
2312
2315
|
|
|
2313
2316
|
|
|
2314
2317
|
|
|
2315
|
-
|
|
2318
|
+
|
|
2319
|
+
|
|
2316
2320
|
|
|
2317
2321
|
|
|
2318
2322
|
|
|
@@ -2328,6 +2332,7 @@
|
|
|
2328
2332
|
</xsl:attribute-set><xsl:attribute-set name="termnote-style">
|
|
2329
2333
|
|
|
2330
2334
|
|
|
2335
|
+
|
|
2331
2336
|
|
|
2332
2337
|
|
|
2333
2338
|
|
|
@@ -2802,7 +2807,10 @@
|
|
|
2802
2807
|
|
|
2803
2808
|
|
|
2804
2809
|
|
|
2805
|
-
|
|
2810
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
|
2811
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
|
2812
|
+
<xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
|
|
2813
|
+
</xsl:if> -->
|
|
2806
2814
|
|
|
2807
2815
|
|
|
2808
2816
|
|
|
@@ -4017,80 +4025,88 @@
|
|
|
4017
4025
|
</xsl:choose>
|
|
4018
4026
|
</xsl:variable>
|
|
4019
4027
|
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4028
|
+
|
|
4029
|
+
<xsl:variable name="tableWithNotesAndFootnotes">
|
|
4030
|
+
|
|
4031
|
+
<fo:table keep-with-previous="always">
|
|
4032
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
|
|
4033
|
+
<xsl:variable name="name" select="local-name()"/>
|
|
4034
|
+
<xsl:choose>
|
|
4035
|
+
<xsl:when test="$name = 'border-top'">
|
|
4036
|
+
<xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
|
|
4037
|
+
</xsl:when>
|
|
4038
|
+
<xsl:when test="$name = 'border'">
|
|
4039
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
|
4040
|
+
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
|
4041
|
+
</xsl:when>
|
|
4042
|
+
<xsl:otherwise>
|
|
4043
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
|
4044
|
+
</xsl:otherwise>
|
|
4045
|
+
</xsl:choose>
|
|
4046
|
+
</xsl:for-each>
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
|
|
4023
4050
|
<xsl:choose>
|
|
4024
|
-
<xsl:when test="$name
|
|
4025
|
-
<xsl:
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
|
4029
|
-
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
|
4051
|
+
<xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
|
|
4052
|
+
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
|
4053
|
+
<fo:table-column column-width="{@width}"/>
|
|
4054
|
+
</xsl:for-each>
|
|
4030
4055
|
</xsl:when>
|
|
4031
4056
|
<xsl:otherwise>
|
|
4032
|
-
|
|
4057
|
+
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
|
4058
|
+
<xsl:call-template name="insertTableColumnWidth">
|
|
4059
|
+
<xsl:with-param name="colwidths" select="$colwidths"/>
|
|
4060
|
+
</xsl:call-template>
|
|
4033
4061
|
</xsl:otherwise>
|
|
4034
4062
|
</xsl:choose>
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
|
4042
|
-
<fo:table-column column-width="{@width}"/>
|
|
4043
|
-
</xsl:for-each>
|
|
4044
|
-
</xsl:when>
|
|
4045
|
-
<xsl:otherwise>
|
|
4046
|
-
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
|
4047
|
-
<xsl:call-template name="insertTableColumnWidth">
|
|
4048
|
-
<xsl:with-param name="colwidths" select="$colwidths"/>
|
|
4049
|
-
</xsl:call-template>
|
|
4050
|
-
</xsl:otherwise>
|
|
4051
|
-
</xsl:choose>
|
|
4052
|
-
|
|
4053
|
-
<fo:table-body>
|
|
4054
|
-
<fo:table-row>
|
|
4055
|
-
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
|
4056
|
-
|
|
4057
|
-
|
|
4063
|
+
|
|
4064
|
+
<fo:table-body>
|
|
4065
|
+
<fo:table-row>
|
|
4066
|
+
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
|
4067
|
+
|
|
4068
|
+
|
|
4058
4069
|
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
<!-- fn will be processed inside 'note' processing -->
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
<!-- for BSI (not PAS) display Notes before footnotes -->
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
<!-- except gb and bsi -->
|
|
4072
|
-
|
|
4073
|
-
<xsl:apply-templates select="../*[local-name()='note']"/>
|
|
4074
4070
|
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
<!-- horizontal row separator -->
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
<!-- fn processing -->
|
|
4081
|
-
|
|
4082
|
-
<xsl:call-template name="table_fn_display"/>
|
|
4083
4071
|
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4072
|
+
<!-- fn will be processed inside 'note' processing -->
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
|
|
4076
|
+
|
|
4077
|
+
|
|
4078
|
+
|
|
4079
|
+
<!-- for BSI (not PAS) display Notes before footnotes -->
|
|
4080
|
+
|
|
4081
|
+
|
|
4082
|
+
<!-- except gb and bsi -->
|
|
4083
|
+
|
|
4084
|
+
<xsl:apply-templates select="../*[local-name()='note']"/>
|
|
4085
|
+
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
<!-- horizontal row separator -->
|
|
4089
|
+
|
|
4090
|
+
|
|
4091
|
+
<!-- fn processing -->
|
|
4092
|
+
|
|
4093
|
+
<xsl:call-template name="table_fn_display"/>
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
|
|
4097
|
+
<!-- for PAS display Notes after footnotes -->
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
</fo:table-cell>
|
|
4101
|
+
</fo:table-row>
|
|
4102
|
+
</fo:table-body>
|
|
4103
|
+
|
|
4104
|
+
</fo:table>
|
|
4105
|
+
</xsl:variable>
|
|
4106
|
+
|
|
4107
|
+
<xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
|
|
4108
|
+
<xsl:copy-of select="$tableWithNotesAndFootnotes"/>
|
|
4109
|
+
</xsl:if>
|
|
4094
4110
|
|
|
4095
4111
|
|
|
4096
4112
|
|
|
@@ -4389,6 +4405,7 @@
|
|
|
4389
4405
|
<xsl:variable name="footnote_inline">
|
|
4390
4406
|
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
|
4391
4407
|
|
|
4408
|
+
|
|
4392
4409
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
|
|
4393
4410
|
<xsl:value-of select="$current_fn_number_text"/>
|
|
4394
4411
|
</fo:basic-link>
|
|
@@ -4410,8 +4427,12 @@
|
|
|
4410
4427
|
<fo:block xsl:use-attribute-sets="fn-body-style">
|
|
4411
4428
|
|
|
4412
4429
|
|
|
4430
|
+
|
|
4413
4431
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
|
|
4414
4432
|
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
|
|
4415
4436
|
<xsl:value-of select="$current_fn_number_text"/>
|
|
4416
4437
|
</fo:inline>
|
|
4417
4438
|
<xsl:apply-templates/>
|
|
@@ -6107,6 +6128,8 @@
|
|
|
6107
6128
|
|
|
6108
6129
|
|
|
6109
6130
|
|
|
6131
|
+
|
|
6132
|
+
|
|
6110
6133
|
<xsl:choose>
|
|
6111
6134
|
<xsl:when test="$target_text = ''">
|
|
6112
6135
|
<xsl:apply-templates/>
|
|
@@ -6318,6 +6341,7 @@
|
|
|
6318
6341
|
|
|
6319
6342
|
|
|
6320
6343
|
|
|
6344
|
+
|
|
6321
6345
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
|
6322
6346
|
<!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
|
|
6323
6347
|
<xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
|
@@ -6339,6 +6363,7 @@
|
|
|
6339
6363
|
</xsl:when>
|
|
6340
6364
|
<xsl:otherwise>
|
|
6341
6365
|
|
|
6366
|
+
|
|
6342
6367
|
<xsl:text>:</xsl:text>
|
|
6343
6368
|
|
|
6344
6369
|
|
|
@@ -6358,6 +6383,7 @@
|
|
|
6358
6383
|
</xsl:when>
|
|
6359
6384
|
<xsl:otherwise>
|
|
6360
6385
|
|
|
6386
|
+
|
|
6361
6387
|
<xsl:text>:</xsl:text>
|
|
6362
6388
|
|
|
6363
6389
|
|
|
@@ -7151,6 +7177,9 @@
|
|
|
7151
7177
|
<fo:block xsl:use-attribute-sets="figure-name-style">
|
|
7152
7178
|
|
|
7153
7179
|
|
|
7180
|
+
|
|
7181
|
+
|
|
7182
|
+
|
|
7154
7183
|
<xsl:apply-templates/>
|
|
7155
7184
|
</fo:block>
|
|
7156
7185
|
</xsl:if>
|
|
@@ -7211,7 +7240,7 @@
|
|
|
7211
7240
|
<xsl:apply-templates/>
|
|
7212
7241
|
</xsl:otherwise>
|
|
7213
7242
|
</xsl:choose>
|
|
7214
|
-
</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">
|
|
7243
|
+
</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">
|
|
7215
7244
|
<xsl:value-of select="."/>
|
|
7216
7245
|
</xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
|
7217
7246
|
<xsl:text> </xsl:text>
|
|
@@ -7291,6 +7320,9 @@
|
|
|
7291
7320
|
<!-- 9 -->
|
|
7292
7321
|
|
|
7293
7322
|
|
|
7323
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
|
7324
|
+
<xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
|
|
7325
|
+
</xsl:if> -->
|
|
7294
7326
|
|
|
7295
7327
|
|
|
7296
7328
|
|
|
@@ -7753,10 +7785,14 @@
|
|
|
7753
7785
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
|
7754
7786
|
<xsl:variable name="element">inline
|
|
7755
7787
|
|
|
7788
|
+
|
|
7756
7789
|
</xsl:variable>
|
|
7757
7790
|
<xsl:choose>
|
|
7758
7791
|
<xsl:when test="contains($element, 'block')">
|
|
7759
7792
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
|
7793
|
+
|
|
7794
|
+
|
|
7795
|
+
|
|
7760
7796
|
<xsl:apply-templates/>
|
|
7761
7797
|
</fo:block>
|
|
7762
7798
|
</xsl:when>
|
|
@@ -7864,6 +7900,7 @@
|
|
|
7864
7900
|
</xsl:if>
|
|
7865
7901
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
|
7866
7902
|
|
|
7903
|
+
|
|
7867
7904
|
<xsl:apply-templates/>
|
|
7868
7905
|
</fo:block>
|
|
7869
7906
|
</fo:block-container>
|
|
@@ -8020,6 +8057,8 @@
|
|
|
8020
8057
|
|
|
8021
8058
|
|
|
8022
8059
|
|
|
8060
|
+
|
|
8061
|
+
|
|
8023
8062
|
<fo:basic-link fox:alt-text="{@citeas}">
|
|
8024
8063
|
<xsl:if test="normalize-space(@citeas) = ''">
|
|
8025
8064
|
<xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
|
|
@@ -8436,6 +8475,8 @@
|
|
|
8436
8475
|
|
|
8437
8476
|
|
|
8438
8477
|
|
|
8478
|
+
|
|
8479
|
+
|
|
8439
8480
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
|
8440
8481
|
<xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
|
8441
8482
|
<xsl:call-template name="append_add-style"/>
|
|
@@ -8701,7 +8742,7 @@
|
|
|
8701
8742
|
</fo:block>
|
|
8702
8743
|
|
|
8703
8744
|
|
|
8704
|
-
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
|
|
8745
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
|
|
8705
8746
|
|
|
8706
8747
|
<!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
|
8707
8748
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
|
@@ -9461,7 +9502,7 @@
|
|
|
9461
9502
|
<dc:description>
|
|
9462
9503
|
<xsl:variable name="abstract">
|
|
9463
9504
|
|
|
9464
|
-
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
|
|
9505
|
+
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
|
|
9465
9506
|
|
|
9466
9507
|
</xsl:variable>
|
|
9467
9508
|
<xsl:value-of select="normalize-space($abstract)"/>
|