metanorma-ogc 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -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>
|
@@ -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>
|