metanorma-ogc 1.2.5 → 1.2.6
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/.github/workflows/rake.yml +44 -0
- data/lib/asciidoctor/ogc/isodoc.rng +1 -43
- data/lib/isodoc/ogc/html/htmlstyle.css +4 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +43 -6
- data/lib/isodoc/ogc/ogc.best-practice.xsl +43 -6
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +43 -6
- data/lib/isodoc/ogc/ogc.community-practice.xsl +43 -6
- data/lib/isodoc/ogc/ogc.community-standard.xsl +43 -6
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +43 -6
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +43 -6
- data/lib/isodoc/ogc/ogc.other.xsl +43 -6
- data/lib/isodoc/ogc/ogc.policy.xsl +43 -6
- data/lib/isodoc/ogc/ogc.reference-model.xsl +43 -6
- data/lib/isodoc/ogc/ogc.release-notes.xsl +43 -6
- data/lib/isodoc/ogc/ogc.standard.xsl +43 -6
- data/lib/isodoc/ogc/ogc.test-suite.xsl +43 -6
- data/lib/isodoc/ogc/ogc.user-guide.xsl +43 -6
- data/lib/isodoc/ogc/ogc.white-paper.xsl +27 -3
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +3 -5
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f4ede26f8e1b13ab6f0ad902f2bd43fa03e17ce923feae18c8e4b1af67418ea
|
|
4
|
+
data.tar.gz: 16f48b39d7afc5d0a3858a6643d76c96a42b402e9d1688fb56264fb69641efc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 422db95a5b4b10a1241cf55efd7daaa4d4bba2e642c76e4455068fe3553cdf27e7e229e2c3ace03cfffdc2a93c1fccaae7b504db4e887ea4fea821664e7a5066
|
|
7
|
+
data.tar.gz: 66ccf79741efd88899f443b70c235794d6af2551e8fee4d57e5bb6319dc0b91751179f0b2a50c39920dd19f55638566cf7718d44ee21622e071415aad6993804
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
|
2
|
+
# See https://github.com/metanorma/cimas
|
|
3
|
+
name: rake
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [ master ]
|
|
8
|
+
pull_request:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
rake:
|
|
12
|
+
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
|
13
|
+
runs-on: ${{ matrix.os }}
|
|
14
|
+
continue-on-error: ${{ matrix.experimental }}
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
|
19
|
+
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
|
20
|
+
experimental: [ false ]
|
|
21
|
+
include:
|
|
22
|
+
- ruby: '2.7'
|
|
23
|
+
os: 'ubuntu-latest'
|
|
24
|
+
experimental: true
|
|
25
|
+
- ruby: '2.7'
|
|
26
|
+
os: 'windows-latest'
|
|
27
|
+
experimental: true
|
|
28
|
+
- ruby: '2.7'
|
|
29
|
+
os: 'macos-latest'
|
|
30
|
+
experimental: true
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@master
|
|
33
|
+
|
|
34
|
+
- name: Use Ruby
|
|
35
|
+
uses: ruby/setup-ruby@v1
|
|
36
|
+
with:
|
|
37
|
+
ruby-version: ${{ matrix.ruby }}
|
|
38
|
+
bundler-cache: true
|
|
39
|
+
|
|
40
|
+
- name: Update gems
|
|
41
|
+
run: bundle install --jobs 4 --retry 3
|
|
42
|
+
|
|
43
|
+
- name: Run specs
|
|
44
|
+
run: bundle exec rake
|
|
@@ -1164,49 +1164,7 @@
|
|
|
1164
1164
|
</define>
|
|
1165
1165
|
<define name="annex">
|
|
1166
1166
|
<element name="annex">
|
|
1167
|
-
<
|
|
1168
|
-
<attribute name="id">
|
|
1169
|
-
<data type="ID"/>
|
|
1170
|
-
</attribute>
|
|
1171
|
-
</optional>
|
|
1172
|
-
<optional>
|
|
1173
|
-
<attribute name="language"/>
|
|
1174
|
-
</optional>
|
|
1175
|
-
<optional>
|
|
1176
|
-
<attribute name="script"/>
|
|
1177
|
-
</optional>
|
|
1178
|
-
<optional>
|
|
1179
|
-
<attribute name="inline-header">
|
|
1180
|
-
<data type="boolean"/>
|
|
1181
|
-
</attribute>
|
|
1182
|
-
</optional>
|
|
1183
|
-
<attribute name="obligation">
|
|
1184
|
-
<choice>
|
|
1185
|
-
<value>normative</value>
|
|
1186
|
-
<value>informative</value>
|
|
1187
|
-
</choice>
|
|
1188
|
-
</attribute>
|
|
1189
|
-
<optional>
|
|
1190
|
-
<ref name="section-title"/>
|
|
1191
|
-
</optional>
|
|
1192
|
-
<group>
|
|
1193
|
-
<group>
|
|
1194
|
-
<zeroOrMore>
|
|
1195
|
-
<ref name="BasicBlock"/>
|
|
1196
|
-
</zeroOrMore>
|
|
1197
|
-
<zeroOrMore>
|
|
1198
|
-
<ref name="note"/>
|
|
1199
|
-
</zeroOrMore>
|
|
1200
|
-
</group>
|
|
1201
|
-
<zeroOrMore>
|
|
1202
|
-
<choice>
|
|
1203
|
-
<ref name="annex-subsection"/>
|
|
1204
|
-
<ref name="terms"/>
|
|
1205
|
-
<ref name="definitions"/>
|
|
1206
|
-
<ref name="references"/>
|
|
1207
|
-
</choice>
|
|
1208
|
-
</zeroOrMore>
|
|
1209
|
-
</group>
|
|
1167
|
+
<ref name="Annex-Section"/>
|
|
1210
1168
|
</element>
|
|
1211
1169
|
</define>
|
|
1212
1170
|
<define name="terms">
|
|
@@ -104,6 +104,10 @@ b, strong {
|
|
|
104
104
|
div.document-stage-band, div.document-type-band {
|
|
105
105
|
background-color: #333333; }
|
|
106
106
|
|
|
107
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
|
108
|
+
content: ", ";
|
|
109
|
+
vertical-align: super; }
|
|
110
|
+
|
|
107
111
|
#standard-band {
|
|
108
112
|
background-color: #3D9970; }
|
|
109
113
|
|
|
@@ -181,8 +181,22 @@
|
|
|
181
181
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($doctype))"/>
|
|
182
182
|
</xsl:call-template>
|
|
183
183
|
<xsl:value-of select="$linebreak"/>
|
|
184
|
+
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:docsubtype)"/>
|
|
185
|
+
<xsl:variable name="docsubtype_str">
|
|
186
|
+
<xsl:choose>
|
|
187
|
+
<xsl:when test="$docsubtype = 'implementation'">Implementation</xsl:when>
|
|
188
|
+
<xsl:when test="$docsubtype = 'conceptual-model'">Conceptual model</xsl:when>
|
|
189
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-encoding'">Conceptual model & encoding</xsl:when>
|
|
190
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-implementation'">Conceptual model & implementation</xsl:when>
|
|
191
|
+
<xsl:when test="$docsubtype = 'encoding'">Encoding</xsl:when>
|
|
192
|
+
<xsl:when test="$docsubtype = 'extension'">Extension</xsl:when>
|
|
193
|
+
<xsl:when test="$docsubtype = 'profile'">Profile</xsl:when>
|
|
194
|
+
<xsl:when test="$docsubtype = 'profile-with-extension'">Profile with extension</xsl:when>
|
|
195
|
+
<xsl:when test="$docsubtype = 'general'">General</xsl:when>
|
|
196
|
+
</xsl:choose>
|
|
197
|
+
</xsl:variable>
|
|
184
198
|
<xsl:call-template name="addLetterSpacing">
|
|
185
|
-
<xsl:with-param name="text" select="
|
|
199
|
+
<xsl:with-param name="text" select="$docsubtype_str"/>
|
|
186
200
|
<xsl:with-param name="letter-spacing" select="0.25"/>
|
|
187
201
|
</xsl:call-template>
|
|
188
202
|
</fo:block>
|
|
@@ -1815,6 +1829,7 @@
|
|
|
1815
1829
|
|
|
1816
1830
|
|
|
1817
1831
|
|
|
1832
|
+
|
|
1818
1833
|
</xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style">
|
|
1819
1834
|
|
|
1820
1835
|
|
|
@@ -2382,12 +2397,26 @@
|
|
|
2382
2397
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2383
2398
|
|
|
2384
2399
|
|
|
2385
|
-
<!-- except gb and bipm -->
|
|
2386
2400
|
|
|
2387
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2388
2401
|
|
|
2389
2402
|
|
|
2403
|
+
<!-- except gb -->
|
|
2404
|
+
|
|
2405
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2406
|
+
|
|
2390
2407
|
|
|
2408
|
+
<!-- show Note under table in preface (ex. abstract) sections -->
|
|
2409
|
+
<!-- empty, because notes show at page side in main sections -->
|
|
2410
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2411
|
+
<xsl:choose>
|
|
2412
|
+
<xsl:when test="ancestor::*[local-name()='preface']">
|
|
2413
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2414
|
+
</xsl:when>
|
|
2415
|
+
<xsl:otherwise>
|
|
2416
|
+
<fo:block/>
|
|
2417
|
+
</xsl:otherwise>
|
|
2418
|
+
</xsl:choose>
|
|
2419
|
+
</xsl:if> -->
|
|
2391
2420
|
|
|
2392
2421
|
|
|
2393
2422
|
<!-- horizontal row separator -->
|
|
@@ -2452,7 +2481,11 @@
|
|
|
2452
2481
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2453
2482
|
|
|
2454
2483
|
|
|
2455
|
-
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
<!-- except gb -->
|
|
2456
2489
|
|
|
2457
2490
|
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2458
2491
|
|
|
@@ -2547,9 +2580,11 @@
|
|
|
2547
2580
|
<xsl:if test="$number mod 2 = 0">
|
|
2548
2581
|
<xsl:attribute name="background-color">rgb(252, 246, 222)</xsl:attribute>
|
|
2549
2582
|
</xsl:if>
|
|
2550
|
-
</xsl:if>
|
|
2551
|
-
|
|
2583
|
+
</xsl:if>
|
|
2552
2584
|
|
|
2585
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2586
|
+
<xsl:attribute name="height">8mm</xsl:attribute>
|
|
2587
|
+
</xsl:if> -->
|
|
2553
2588
|
|
|
2554
2589
|
<xsl:apply-templates/>
|
|
2555
2590
|
</fo:table-row>
|
|
@@ -3680,6 +3715,8 @@
|
|
|
3680
3715
|
|
|
3681
3716
|
|
|
3682
3717
|
|
|
3718
|
+
|
|
3719
|
+
|
|
3683
3720
|
<fo:inline xsl:use-attribute-sets="note-name-style">
|
|
3684
3721
|
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
|
3685
3722
|
</fo:inline>
|
|
@@ -181,8 +181,22 @@
|
|
|
181
181
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($doctype))"/>
|
|
182
182
|
</xsl:call-template>
|
|
183
183
|
<xsl:value-of select="$linebreak"/>
|
|
184
|
+
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:docsubtype)"/>
|
|
185
|
+
<xsl:variable name="docsubtype_str">
|
|
186
|
+
<xsl:choose>
|
|
187
|
+
<xsl:when test="$docsubtype = 'implementation'">Implementation</xsl:when>
|
|
188
|
+
<xsl:when test="$docsubtype = 'conceptual-model'">Conceptual model</xsl:when>
|
|
189
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-encoding'">Conceptual model & encoding</xsl:when>
|
|
190
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-implementation'">Conceptual model & implementation</xsl:when>
|
|
191
|
+
<xsl:when test="$docsubtype = 'encoding'">Encoding</xsl:when>
|
|
192
|
+
<xsl:when test="$docsubtype = 'extension'">Extension</xsl:when>
|
|
193
|
+
<xsl:when test="$docsubtype = 'profile'">Profile</xsl:when>
|
|
194
|
+
<xsl:when test="$docsubtype = 'profile-with-extension'">Profile with extension</xsl:when>
|
|
195
|
+
<xsl:when test="$docsubtype = 'general'">General</xsl:when>
|
|
196
|
+
</xsl:choose>
|
|
197
|
+
</xsl:variable>
|
|
184
198
|
<xsl:call-template name="addLetterSpacing">
|
|
185
|
-
<xsl:with-param name="text" select="
|
|
199
|
+
<xsl:with-param name="text" select="$docsubtype_str"/>
|
|
186
200
|
<xsl:with-param name="letter-spacing" select="0.25"/>
|
|
187
201
|
</xsl:call-template>
|
|
188
202
|
</fo:block>
|
|
@@ -1815,6 +1829,7 @@
|
|
|
1815
1829
|
|
|
1816
1830
|
|
|
1817
1831
|
|
|
1832
|
+
|
|
1818
1833
|
</xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style">
|
|
1819
1834
|
|
|
1820
1835
|
|
|
@@ -2382,12 +2397,26 @@
|
|
|
2382
2397
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2383
2398
|
|
|
2384
2399
|
|
|
2385
|
-
<!-- except gb and bipm -->
|
|
2386
2400
|
|
|
2387
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2388
2401
|
|
|
2389
2402
|
|
|
2403
|
+
<!-- except gb -->
|
|
2404
|
+
|
|
2405
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2406
|
+
|
|
2390
2407
|
|
|
2408
|
+
<!-- show Note under table in preface (ex. abstract) sections -->
|
|
2409
|
+
<!-- empty, because notes show at page side in main sections -->
|
|
2410
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2411
|
+
<xsl:choose>
|
|
2412
|
+
<xsl:when test="ancestor::*[local-name()='preface']">
|
|
2413
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2414
|
+
</xsl:when>
|
|
2415
|
+
<xsl:otherwise>
|
|
2416
|
+
<fo:block/>
|
|
2417
|
+
</xsl:otherwise>
|
|
2418
|
+
</xsl:choose>
|
|
2419
|
+
</xsl:if> -->
|
|
2391
2420
|
|
|
2392
2421
|
|
|
2393
2422
|
<!-- horizontal row separator -->
|
|
@@ -2452,7 +2481,11 @@
|
|
|
2452
2481
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2453
2482
|
|
|
2454
2483
|
|
|
2455
|
-
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
<!-- except gb -->
|
|
2456
2489
|
|
|
2457
2490
|
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2458
2491
|
|
|
@@ -2547,9 +2580,11 @@
|
|
|
2547
2580
|
<xsl:if test="$number mod 2 = 0">
|
|
2548
2581
|
<xsl:attribute name="background-color">rgb(252, 246, 222)</xsl:attribute>
|
|
2549
2582
|
</xsl:if>
|
|
2550
|
-
</xsl:if>
|
|
2551
|
-
|
|
2583
|
+
</xsl:if>
|
|
2552
2584
|
|
|
2585
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2586
|
+
<xsl:attribute name="height">8mm</xsl:attribute>
|
|
2587
|
+
</xsl:if> -->
|
|
2553
2588
|
|
|
2554
2589
|
<xsl:apply-templates/>
|
|
2555
2590
|
</fo:table-row>
|
|
@@ -3680,6 +3715,8 @@
|
|
|
3680
3715
|
|
|
3681
3716
|
|
|
3682
3717
|
|
|
3718
|
+
|
|
3719
|
+
|
|
3683
3720
|
<fo:inline xsl:use-attribute-sets="note-name-style">
|
|
3684
3721
|
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
|
3685
3722
|
</fo:inline>
|
|
@@ -181,8 +181,22 @@
|
|
|
181
181
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($doctype))"/>
|
|
182
182
|
</xsl:call-template>
|
|
183
183
|
<xsl:value-of select="$linebreak"/>
|
|
184
|
+
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:docsubtype)"/>
|
|
185
|
+
<xsl:variable name="docsubtype_str">
|
|
186
|
+
<xsl:choose>
|
|
187
|
+
<xsl:when test="$docsubtype = 'implementation'">Implementation</xsl:when>
|
|
188
|
+
<xsl:when test="$docsubtype = 'conceptual-model'">Conceptual model</xsl:when>
|
|
189
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-encoding'">Conceptual model & encoding</xsl:when>
|
|
190
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-implementation'">Conceptual model & implementation</xsl:when>
|
|
191
|
+
<xsl:when test="$docsubtype = 'encoding'">Encoding</xsl:when>
|
|
192
|
+
<xsl:when test="$docsubtype = 'extension'">Extension</xsl:when>
|
|
193
|
+
<xsl:when test="$docsubtype = 'profile'">Profile</xsl:when>
|
|
194
|
+
<xsl:when test="$docsubtype = 'profile-with-extension'">Profile with extension</xsl:when>
|
|
195
|
+
<xsl:when test="$docsubtype = 'general'">General</xsl:when>
|
|
196
|
+
</xsl:choose>
|
|
197
|
+
</xsl:variable>
|
|
184
198
|
<xsl:call-template name="addLetterSpacing">
|
|
185
|
-
<xsl:with-param name="text" select="
|
|
199
|
+
<xsl:with-param name="text" select="$docsubtype_str"/>
|
|
186
200
|
<xsl:with-param name="letter-spacing" select="0.25"/>
|
|
187
201
|
</xsl:call-template>
|
|
188
202
|
</fo:block>
|
|
@@ -1815,6 +1829,7 @@
|
|
|
1815
1829
|
|
|
1816
1830
|
|
|
1817
1831
|
|
|
1832
|
+
|
|
1818
1833
|
</xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style">
|
|
1819
1834
|
|
|
1820
1835
|
|
|
@@ -2382,12 +2397,26 @@
|
|
|
2382
2397
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2383
2398
|
|
|
2384
2399
|
|
|
2385
|
-
<!-- except gb and bipm -->
|
|
2386
2400
|
|
|
2387
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2388
2401
|
|
|
2389
2402
|
|
|
2403
|
+
<!-- except gb -->
|
|
2404
|
+
|
|
2405
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2406
|
+
|
|
2390
2407
|
|
|
2408
|
+
<!-- show Note under table in preface (ex. abstract) sections -->
|
|
2409
|
+
<!-- empty, because notes show at page side in main sections -->
|
|
2410
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2411
|
+
<xsl:choose>
|
|
2412
|
+
<xsl:when test="ancestor::*[local-name()='preface']">
|
|
2413
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2414
|
+
</xsl:when>
|
|
2415
|
+
<xsl:otherwise>
|
|
2416
|
+
<fo:block/>
|
|
2417
|
+
</xsl:otherwise>
|
|
2418
|
+
</xsl:choose>
|
|
2419
|
+
</xsl:if> -->
|
|
2391
2420
|
|
|
2392
2421
|
|
|
2393
2422
|
<!-- horizontal row separator -->
|
|
@@ -2452,7 +2481,11 @@
|
|
|
2452
2481
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2453
2482
|
|
|
2454
2483
|
|
|
2455
|
-
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
<!-- except gb -->
|
|
2456
2489
|
|
|
2457
2490
|
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2458
2491
|
|
|
@@ -2547,9 +2580,11 @@
|
|
|
2547
2580
|
<xsl:if test="$number mod 2 = 0">
|
|
2548
2581
|
<xsl:attribute name="background-color">rgb(252, 246, 222)</xsl:attribute>
|
|
2549
2582
|
</xsl:if>
|
|
2550
|
-
</xsl:if>
|
|
2551
|
-
|
|
2583
|
+
</xsl:if>
|
|
2552
2584
|
|
|
2585
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2586
|
+
<xsl:attribute name="height">8mm</xsl:attribute>
|
|
2587
|
+
</xsl:if> -->
|
|
2553
2588
|
|
|
2554
2589
|
<xsl:apply-templates/>
|
|
2555
2590
|
</fo:table-row>
|
|
@@ -3680,6 +3715,8 @@
|
|
|
3680
3715
|
|
|
3681
3716
|
|
|
3682
3717
|
|
|
3718
|
+
|
|
3719
|
+
|
|
3683
3720
|
<fo:inline xsl:use-attribute-sets="note-name-style">
|
|
3684
3721
|
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
|
3685
3722
|
</fo:inline>
|
|
@@ -181,8 +181,22 @@
|
|
|
181
181
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($doctype))"/>
|
|
182
182
|
</xsl:call-template>
|
|
183
183
|
<xsl:value-of select="$linebreak"/>
|
|
184
|
+
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:docsubtype)"/>
|
|
185
|
+
<xsl:variable name="docsubtype_str">
|
|
186
|
+
<xsl:choose>
|
|
187
|
+
<xsl:when test="$docsubtype = 'implementation'">Implementation</xsl:when>
|
|
188
|
+
<xsl:when test="$docsubtype = 'conceptual-model'">Conceptual model</xsl:when>
|
|
189
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-encoding'">Conceptual model & encoding</xsl:when>
|
|
190
|
+
<xsl:when test="$docsubtype = 'conceptual-model-and-implementation'">Conceptual model & implementation</xsl:when>
|
|
191
|
+
<xsl:when test="$docsubtype = 'encoding'">Encoding</xsl:when>
|
|
192
|
+
<xsl:when test="$docsubtype = 'extension'">Extension</xsl:when>
|
|
193
|
+
<xsl:when test="$docsubtype = 'profile'">Profile</xsl:when>
|
|
194
|
+
<xsl:when test="$docsubtype = 'profile-with-extension'">Profile with extension</xsl:when>
|
|
195
|
+
<xsl:when test="$docsubtype = 'general'">General</xsl:when>
|
|
196
|
+
</xsl:choose>
|
|
197
|
+
</xsl:variable>
|
|
184
198
|
<xsl:call-template name="addLetterSpacing">
|
|
185
|
-
<xsl:with-param name="text" select="
|
|
199
|
+
<xsl:with-param name="text" select="$docsubtype_str"/>
|
|
186
200
|
<xsl:with-param name="letter-spacing" select="0.25"/>
|
|
187
201
|
</xsl:call-template>
|
|
188
202
|
</fo:block>
|
|
@@ -1815,6 +1829,7 @@
|
|
|
1815
1829
|
|
|
1816
1830
|
|
|
1817
1831
|
|
|
1832
|
+
|
|
1818
1833
|
</xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style">
|
|
1819
1834
|
|
|
1820
1835
|
|
|
@@ -2382,12 +2397,26 @@
|
|
|
2382
2397
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2383
2398
|
|
|
2384
2399
|
|
|
2385
|
-
<!-- except gb and bipm -->
|
|
2386
2400
|
|
|
2387
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2388
2401
|
|
|
2389
2402
|
|
|
2403
|
+
<!-- except gb -->
|
|
2404
|
+
|
|
2405
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2406
|
+
|
|
2390
2407
|
|
|
2408
|
+
<!-- show Note under table in preface (ex. abstract) sections -->
|
|
2409
|
+
<!-- empty, because notes show at page side in main sections -->
|
|
2410
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2411
|
+
<xsl:choose>
|
|
2412
|
+
<xsl:when test="ancestor::*[local-name()='preface']">
|
|
2413
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2414
|
+
</xsl:when>
|
|
2415
|
+
<xsl:otherwise>
|
|
2416
|
+
<fo:block/>
|
|
2417
|
+
</xsl:otherwise>
|
|
2418
|
+
</xsl:choose>
|
|
2419
|
+
</xsl:if> -->
|
|
2391
2420
|
|
|
2392
2421
|
|
|
2393
2422
|
<!-- horizontal row separator -->
|
|
@@ -2452,7 +2481,11 @@
|
|
|
2452
2481
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
|
2453
2482
|
|
|
2454
2483
|
|
|
2455
|
-
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
<!-- except gb -->
|
|
2456
2489
|
|
|
2457
2490
|
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
|
2458
2491
|
|
|
@@ -2547,9 +2580,11 @@
|
|
|
2547
2580
|
<xsl:if test="$number mod 2 = 0">
|
|
2548
2581
|
<xsl:attribute name="background-color">rgb(252, 246, 222)</xsl:attribute>
|
|
2549
2582
|
</xsl:if>
|
|
2550
|
-
</xsl:if>
|
|
2551
|
-
|
|
2583
|
+
</xsl:if>
|
|
2552
2584
|
|
|
2585
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
|
2586
|
+
<xsl:attribute name="height">8mm</xsl:attribute>
|
|
2587
|
+
</xsl:if> -->
|
|
2553
2588
|
|
|
2554
2589
|
<xsl:apply-templates/>
|
|
2555
2590
|
</fo:table-row>
|
|
@@ -3680,6 +3715,8 @@
|
|
|
3680
3715
|
|
|
3681
3716
|
|
|
3682
3717
|
|
|
3718
|
+
|
|
3719
|
+
|
|
3683
3720
|
<fo:inline xsl:use-attribute-sets="note-name-style">
|
|
3684
3721
|
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
|
3685
3722
|
</fo:inline>
|