metanorma-ogc 2.1.2 → 2.1.3
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 +200 -39
- data/lib/isodoc/ogc/ogc.best-practice.xsl +200 -39
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +200 -39
- data/lib/isodoc/ogc/ogc.community-practice.xsl +200 -39
- data/lib/isodoc/ogc/ogc.community-standard.xsl +200 -39
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +200 -39
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +200 -39
- data/lib/isodoc/ogc/ogc.other.xsl +200 -39
- data/lib/isodoc/ogc/ogc.policy.xsl +200 -39
- data/lib/isodoc/ogc/ogc.reference-model.xsl +200 -39
- data/lib/isodoc/ogc/ogc.release-notes.xsl +200 -39
- data/lib/isodoc/ogc/ogc.standard.xsl +200 -39
- data/lib/isodoc/ogc/ogc.test-suite.xsl +200 -39
- data/lib/isodoc/ogc/ogc.user-guide.xsl +200 -39
- data/lib/isodoc/ogc/ogc.white-paper.xsl +197 -37
- data/lib/isodoc/ogc/presentation_xml_convert.rb +17 -2
- data/lib/metanorma/ogc/biblio.rng +102 -5
- data/lib/metanorma/ogc/isodoc.rng +7 -0
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9a74826873e47474f48b5bdc85a27daa9b662d7c80043d0d3ca846a14d11d1f
|
4
|
+
data.tar.gz: 665f97082b07ce1d75a1e70f68021f687e0c81c43ce97b749f79eb37f9a71d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc9cba04e324003fd2b79ec6a9daeffeb4326f691d2ce3aedb402688a6162d326a99691f2b7a826a37cbcf07567b2fb1ae78ef7cb70f8773263a4b5a58707d6
|
7
|
+
data.tar.gz: 6dc46edcd44f1756ebe0b8be51167df11b1a7d54b9f75629fc25f00b5b241c103c9841a5b0c609c253ada7c4b00b50eea4f895aa415977ff8b05ff1cb094445a
|
@@ -221,7 +221,10 @@
|
|
221
221
|
<xsl:with-param name="letter-spacing" select="0.3"/>
|
222
222
|
</xsl:call-template>
|
223
223
|
</fo:block>
|
224
|
-
<
|
224
|
+
<xsl:variable name="ogc_external" select="/ogc:ogc-standard/ogc:bibdata/ogc:docidentifier[@type='ogc-external']"/>
|
225
|
+
<xsl:if test="normalize-space($ogc_external) != ''">
|
226
|
+
<fo:block font-size="10pt">External identifier of this OGC<fo:inline font-size="58%" baseline-shift="30%">®</fo:inline> document: <fo:inline font-weight="normal"><xsl:value-of select="$ogc_external"/></fo:inline></fo:block>
|
227
|
+
</xsl:if>
|
225
228
|
</fo:table-cell>
|
226
229
|
<fo:table-cell text-align="right">
|
227
230
|
<fo:block>
|
@@ -263,7 +266,7 @@
|
|
263
266
|
<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($doctype))"/>
|
264
267
|
</xsl:call-template>
|
265
268
|
<xsl:value-of select="$linebreak"/>
|
266
|
-
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:
|
269
|
+
<xsl:variable name="docsubtype" select="normalize-space(/ogc:ogc-standard/ogc:bibdata/ogc:ext/ogc:subdoctype)"/>
|
267
270
|
<xsl:variable name="docsubtype_str">
|
268
271
|
<xsl:choose>
|
269
272
|
<xsl:when test="$docsubtype = 'implementation'">Implementation</xsl:when>
|
@@ -1612,7 +1615,8 @@
|
|
1612
1615
|
<xsl:value-of select="$titles/*[local-name() = $name][@lang = 'en']"/>
|
1613
1616
|
</xsl:otherwise>
|
1614
1617
|
</xsl:choose>
|
1615
|
-
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:attribute-set name="root-style">
|
1618
|
+
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="font_noto_sans">Noto Sans, Noto Sans HK, Noto Sans JP, Noto Sans KR, Noto Sans SC, Noto Sans TC</xsl:variable><xsl:variable name="font_noto_sans_mono">Noto Sans Mono, Noto Sans Mono CJK HK, Noto Sans Mono CJK JP, Noto Sans Mono CJK KR, Noto Sans Mono CJK SC, Noto Sans Mono CJK TC</xsl:variable><xsl:variable name="font_noto_serif">Noto Serif, Noto Serif HK, Noto Serif JP, Noto Serif KR, Noto Serif SC, Noto Serif TC</xsl:variable><xsl:attribute-set name="root-style">
|
1619
|
+
|
1616
1620
|
|
1617
1621
|
|
1618
1622
|
|
@@ -1626,7 +1630,8 @@
|
|
1626
1630
|
|
1627
1631
|
|
1628
1632
|
|
1629
|
-
<xsl:attribute name="font-family">Lato, STIX Two Math,
|
1633
|
+
<xsl:attribute name="font-family">Lato, STIX Two Math, <xsl:value-of select="$font_noto_sans"/></xsl:attribute>
|
1634
|
+
<xsl:attribute name="font-family-generic">Sans</xsl:attribute>
|
1630
1635
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1631
1636
|
<xsl:attribute name="color"><xsl:value-of select="$color_main"/></xsl:attribute>
|
1632
1637
|
|
@@ -1644,17 +1649,60 @@
|
|
1644
1649
|
</xsl:variable>
|
1645
1650
|
<xsl:variable name="additional_fonts" select="normalize-space($additional_fonts_)"/>
|
1646
1651
|
|
1652
|
+
<xsl:variable name="font_family_generic" select="$root-style_/root-style/@font-family-generic"/>
|
1653
|
+
|
1647
1654
|
<xsl:for-each select="$root-style_/root-style/@*">
|
1655
|
+
|
1648
1656
|
<xsl:choose>
|
1649
|
-
<xsl:when test="local-name() = 'font-family'
|
1657
|
+
<xsl:when test="local-name() = 'font-family-generic'"><!-- skip, it's using for determine 'sans' or 'serif' --></xsl:when>
|
1658
|
+
<xsl:when test="local-name() = 'font-family'">
|
1659
|
+
|
1660
|
+
<xsl:variable name="font_regional_prefix">
|
1661
|
+
<xsl:choose>
|
1662
|
+
<xsl:when test="$font_family_generic = 'Sans'">Noto Sans</xsl:when>
|
1663
|
+
<xsl:otherwise>Noto Serif</xsl:otherwise>
|
1664
|
+
</xsl:choose>
|
1665
|
+
</xsl:variable>
|
1666
|
+
|
1650
1667
|
<xsl:attribute name="{local-name()}">
|
1651
|
-
|
1668
|
+
|
1669
|
+
<xsl:variable name="font_extended">
|
1670
|
+
<xsl:choose>
|
1671
|
+
<xsl:when test="$lang = 'zh'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
|
1672
|
+
<xsl:when test="$lang = 'hk'"><xsl:value-of select="$font_regional_prefix"/> HK</xsl:when>
|
1673
|
+
<xsl:when test="$lang = 'jp'"><xsl:value-of select="$font_regional_prefix"/> JP</xsl:when>
|
1674
|
+
<xsl:when test="$lang = 'kr'"><xsl:value-of select="$font_regional_prefix"/> KR</xsl:when>
|
1675
|
+
<xsl:when test="$lang = 'sc'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
|
1676
|
+
<xsl:when test="$lang = 'tc'"><xsl:value-of select="$font_regional_prefix"/> TC</xsl:when>
|
1677
|
+
</xsl:choose>
|
1678
|
+
</xsl:variable>
|
1679
|
+
<xsl:if test="normalize-space($font_extended) != ''">
|
1680
|
+
<xsl:value-of select="$font_regional_prefix"/><xsl:text>, </xsl:text>
|
1681
|
+
<xsl:value-of select="$font_extended"/><xsl:text>, </xsl:text>
|
1682
|
+
</xsl:if>
|
1683
|
+
|
1684
|
+
<xsl:value-of select="."/>
|
1685
|
+
|
1686
|
+
<xsl:if test="$additional_fonts != ''">
|
1687
|
+
<xsl:text>, </xsl:text><xsl:value-of select="$additional_fonts"/>
|
1688
|
+
</xsl:if>
|
1652
1689
|
</xsl:attribute>
|
1653
1690
|
</xsl:when>
|
1654
1691
|
<xsl:otherwise>
|
1655
1692
|
<xsl:copy-of select="."/>
|
1656
1693
|
</xsl:otherwise>
|
1657
1694
|
</xsl:choose>
|
1695
|
+
|
1696
|
+
<!-- <xsl:choose>
|
1697
|
+
<xsl:when test="local-name() = 'font-family'">
|
1698
|
+
<xsl:attribute name="{local-name()}">
|
1699
|
+
<xsl:value-of select="."/>, <xsl:value-of select="$additional_fonts"/>
|
1700
|
+
</xsl:attribute>
|
1701
|
+
</xsl:when>
|
1702
|
+
<xsl:otherwise>
|
1703
|
+
<xsl:copy-of select="."/>
|
1704
|
+
</xsl:otherwise>
|
1705
|
+
</xsl:choose> -->
|
1658
1706
|
</xsl:for-each>
|
1659
1707
|
</xsl:template><xsl:attribute-set name="copyright-statement-style">
|
1660
1708
|
|
@@ -1751,9 +1799,10 @@
|
|
1751
1799
|
|
1752
1800
|
|
1753
1801
|
|
1802
|
+
|
1754
1803
|
|
1755
1804
|
|
1756
|
-
<xsl:attribute name="font-family">Fira Code
|
1805
|
+
<xsl:attribute name="font-family">Fira Code, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
1757
1806
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1758
1807
|
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1759
1808
|
|
@@ -1837,6 +1886,7 @@
|
|
1837
1886
|
|
1838
1887
|
|
1839
1888
|
|
1889
|
+
|
1840
1890
|
|
1841
1891
|
</xsl:attribute-set><xsl:attribute-set name="example-style">
|
1842
1892
|
|
@@ -1846,6 +1896,7 @@
|
|
1846
1896
|
|
1847
1897
|
|
1848
1898
|
|
1899
|
+
|
1849
1900
|
|
1850
1901
|
<xsl:attribute name="margin-top">10pt</xsl:attribute>
|
1851
1902
|
<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
|
@@ -1873,6 +1924,7 @@
|
|
1873
1924
|
|
1874
1925
|
|
1875
1926
|
|
1927
|
+
|
1876
1928
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1877
1929
|
|
1878
1930
|
|
@@ -1910,6 +1962,7 @@
|
|
1910
1962
|
|
1911
1963
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
1912
1964
|
|
1965
|
+
|
1913
1966
|
</xsl:variable><xsl:variable name="table-border" select="normalize-space($table-border_)"/><xsl:attribute-set name="table-container-style">
|
1914
1967
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1915
1968
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
@@ -1929,6 +1982,7 @@
|
|
1929
1982
|
|
1930
1983
|
|
1931
1984
|
|
1985
|
+
|
1932
1986
|
<xsl:attribute name="space-after">12pt</xsl:attribute>
|
1933
1987
|
|
1934
1988
|
|
@@ -1957,6 +2011,7 @@
|
|
1957
2011
|
|
1958
2012
|
|
1959
2013
|
|
2014
|
+
|
1960
2015
|
|
1961
2016
|
|
1962
2017
|
|
@@ -1969,6 +2024,7 @@
|
|
1969
2024
|
|
1970
2025
|
|
1971
2026
|
|
2027
|
+
|
1972
2028
|
|
1973
2029
|
|
1974
2030
|
|
@@ -2048,6 +2104,7 @@
|
|
2048
2104
|
|
2049
2105
|
|
2050
2106
|
|
2107
|
+
|
2051
2108
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2052
2109
|
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
2053
2110
|
<xsl:attribute name="padding-bottom">1mm</xsl:attribute>
|
@@ -2068,7 +2125,7 @@
|
|
2068
2125
|
|
2069
2126
|
|
2070
2127
|
|
2071
|
-
|
2128
|
+
|
2072
2129
|
|
2073
2130
|
|
2074
2131
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
@@ -2085,6 +2142,7 @@
|
|
2085
2142
|
|
2086
2143
|
|
2087
2144
|
|
2145
|
+
|
2088
2146
|
</xsl:attribute-set><xsl:attribute-set name="table-fn-style">
|
2089
2147
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2090
2148
|
|
@@ -2093,6 +2151,8 @@
|
|
2093
2151
|
|
2094
2152
|
|
2095
2153
|
|
2154
|
+
|
2155
|
+
|
2096
2156
|
</xsl:attribute-set><xsl:attribute-set name="table-fn-number-style">
|
2097
2157
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
2098
2158
|
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
@@ -2107,6 +2167,7 @@
|
|
2107
2167
|
|
2108
2168
|
|
2109
2169
|
|
2170
|
+
|
2110
2171
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2111
2172
|
|
2112
2173
|
|
@@ -2143,6 +2204,7 @@
|
|
2143
2204
|
|
2144
2205
|
|
2145
2206
|
|
2207
|
+
|
2146
2208
|
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
2147
2209
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2148
2210
|
|
@@ -2155,6 +2217,7 @@
|
|
2155
2217
|
|
2156
2218
|
|
2157
2219
|
|
2220
|
+
|
2158
2221
|
|
2159
2222
|
|
2160
2223
|
|
@@ -2207,6 +2270,7 @@
|
|
2207
2270
|
|
2208
2271
|
|
2209
2272
|
|
2273
|
+
|
2210
2274
|
|
2211
2275
|
|
2212
2276
|
|
@@ -2280,6 +2344,10 @@
|
|
2280
2344
|
|
2281
2345
|
|
2282
2346
|
|
2347
|
+
</xsl:attribute-set><xsl:attribute-set name="termnote-p-style">
|
2348
|
+
|
2349
|
+
<xsl:attribute name="space-before">4pt</xsl:attribute>
|
2350
|
+
|
2283
2351
|
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
2284
2352
|
<xsl:attribute name="margin-left">12mm</xsl:attribute>
|
2285
2353
|
<xsl:attribute name="margin-right">12mm</xsl:attribute>
|
@@ -2331,6 +2399,7 @@
|
|
2331
2399
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
2332
2400
|
|
2333
2401
|
|
2402
|
+
|
2334
2403
|
|
2335
2404
|
|
2336
2405
|
<xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
|
@@ -2378,6 +2447,7 @@
|
|
2378
2447
|
|
2379
2448
|
|
2380
2449
|
|
2450
|
+
|
2381
2451
|
<xsl:attribute name="text-align">left</xsl:attribute>
|
2382
2452
|
|
2383
2453
|
|
@@ -2403,21 +2473,21 @@
|
|
2403
2473
|
</xsl:attribute-set><xsl:attribute-set name="figure-pseudocode-p-style">
|
2404
2474
|
|
2405
2475
|
</xsl:attribute-set><xsl:attribute-set name="image-graphic-style">
|
2476
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
2477
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2478
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
2406
2479
|
|
2407
2480
|
|
2408
|
-
<xsl:attribute name="width">100%</xsl:attribute>
|
2409
2481
|
<xsl:attribute name="content-height">scale-to-fit</xsl:attribute>
|
2410
|
-
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
2411
2482
|
|
2412
2483
|
|
2413
2484
|
|
2414
|
-
|
2415
|
-
|
2485
|
+
|
2416
2486
|
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
2417
2487
|
|
2418
2488
|
|
2419
2489
|
|
2420
|
-
<xsl:attribute name="font-family">Fira Code
|
2490
|
+
<xsl:attribute name="font-family">Fira Code, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
2421
2491
|
|
2422
2492
|
</xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
|
2423
2493
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
@@ -2493,6 +2563,7 @@
|
|
2493
2563
|
|
2494
2564
|
|
2495
2565
|
|
2566
|
+
|
2496
2567
|
<xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
|
2497
2568
|
<xsl:attribute name="space-after">12pt</xsl:attribute>
|
2498
2569
|
<xsl:attribute name="line-height">115%</xsl:attribute>
|
@@ -2565,6 +2636,7 @@
|
|
2565
2636
|
|
2566
2637
|
|
2567
2638
|
|
2639
|
+
|
2568
2640
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
2569
2641
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2570
2642
|
|
@@ -2590,6 +2662,7 @@
|
|
2590
2662
|
|
2591
2663
|
|
2592
2664
|
|
2665
|
+
|
2593
2666
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2594
2667
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2595
2668
|
<xsl:attribute name="color"><xsl:value-of select="$color_main"/></xsl:attribute>
|
@@ -2616,6 +2689,7 @@
|
|
2616
2689
|
|
2617
2690
|
|
2618
2691
|
|
2692
|
+
|
2619
2693
|
<xsl:attribute name="font-size">60%</xsl:attribute>
|
2620
2694
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2621
2695
|
|
@@ -2634,6 +2708,7 @@
|
|
2634
2708
|
|
2635
2709
|
|
2636
2710
|
|
2711
|
+
|
2637
2712
|
<xsl:attribute name="border">0.5pt solid rgb(79, 129, 189)</xsl:attribute>
|
2638
2713
|
<xsl:attribute name="color">rgb(79, 129, 189)</xsl:attribute>
|
2639
2714
|
<xsl:attribute name="margin-left">16mm</xsl:attribute>
|
@@ -2644,6 +2719,9 @@
|
|
2644
2719
|
|
2645
2720
|
|
2646
2721
|
</xsl:attribute-set><xsl:attribute-set name="admonition-container-style">
|
2722
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2723
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
2724
|
+
|
2647
2725
|
|
2648
2726
|
|
2649
2727
|
|
@@ -2651,8 +2729,6 @@
|
|
2651
2729
|
|
2652
2730
|
|
2653
2731
|
|
2654
|
-
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2655
|
-
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
2656
2732
|
<xsl:attribute name="padding">2mm</xsl:attribute>
|
2657
2733
|
<xsl:attribute name="padding-top">3mm</xsl:attribute>
|
2658
2734
|
|
@@ -2689,6 +2765,7 @@
|
|
2689
2765
|
|
2690
2766
|
|
2691
2767
|
|
2768
|
+
|
2692
2769
|
<xsl:attribute name="font-style">italic</xsl:attribute>
|
2693
2770
|
|
2694
2771
|
|
@@ -2730,6 +2807,7 @@
|
|
2730
2807
|
|
2731
2808
|
|
2732
2809
|
|
2810
|
+
|
2733
2811
|
|
2734
2812
|
<xsl:attribute name="provisional-distance-between-starts">13mm</xsl:attribute>
|
2735
2813
|
|
@@ -2752,6 +2830,7 @@
|
|
2752
2830
|
|
2753
2831
|
|
2754
2832
|
|
2833
|
+
|
2755
2834
|
|
2756
2835
|
<xsl:attribute name="provisional-distance-between-starts">13mm</xsl:attribute>
|
2757
2836
|
|
@@ -2781,6 +2860,7 @@
|
|
2781
2860
|
|
2782
2861
|
|
2783
2862
|
|
2863
|
+
|
2784
2864
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2785
2865
|
|
2786
2866
|
|
@@ -2801,6 +2881,7 @@
|
|
2801
2881
|
|
2802
2882
|
|
2803
2883
|
|
2884
|
+
|
2804
2885
|
<xsl:attribute name="font-size">60%</xsl:attribute>
|
2805
2886
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2806
2887
|
|
@@ -2821,6 +2902,7 @@
|
|
2821
2902
|
|
2822
2903
|
|
2823
2904
|
|
2905
|
+
|
2824
2906
|
</xsl:attribute-set><xsl:attribute-set name="references-non-normative-style">
|
2825
2907
|
|
2826
2908
|
|
@@ -3273,6 +3355,8 @@
|
|
3273
3355
|
|
3274
3356
|
|
3275
3357
|
|
3358
|
+
|
3359
|
+
|
3276
3360
|
|
3277
3361
|
|
3278
3362
|
|
@@ -3318,6 +3402,8 @@
|
|
3318
3402
|
|
3319
3403
|
|
3320
3404
|
|
3405
|
+
|
3406
|
+
|
3321
3407
|
</xsl:element>
|
3322
3408
|
</xsl:variable>
|
3323
3409
|
|
@@ -3460,23 +3546,29 @@
|
|
3460
3546
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
|
3461
3547
|
<xsl:param name="continued"/>
|
3462
3548
|
<xsl:if test="normalize-space() != ''">
|
3463
|
-
|
3464
|
-
|
3465
|
-
|
3466
|
-
|
3467
|
-
|
3549
|
+
|
3550
|
+
|
3468
3551
|
|
3469
|
-
|
3470
|
-
|
3552
|
+
<fo:block xsl:use-attribute-sets="table-name-style">
|
3553
|
+
|
3471
3554
|
|
3472
|
-
|
3473
|
-
|
3474
|
-
|
3475
|
-
|
3476
|
-
|
3477
|
-
|
3555
|
+
|
3556
|
+
|
3557
|
+
|
3558
|
+
<xsl:choose>
|
3559
|
+
<xsl:when test="$continued = 'true'">
|
3560
|
+
|
3561
|
+
</xsl:when>
|
3562
|
+
<xsl:otherwise>
|
3563
|
+
<xsl:apply-templates/>
|
3564
|
+
</xsl:otherwise>
|
3565
|
+
</xsl:choose>
|
3566
|
+
|
3567
|
+
|
3568
|
+
</fo:block>
|
3569
|
+
|
3478
3570
|
|
3479
|
-
|
3571
|
+
|
3480
3572
|
</xsl:if>
|
3481
3573
|
</xsl:template><xsl:template name="calculate-columns-numbers">
|
3482
3574
|
<xsl:param name="table-row"/>
|
@@ -3874,12 +3966,18 @@
|
|
3874
3966
|
<fo:table-row>
|
3875
3967
|
<fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black">
|
3876
3968
|
|
3877
|
-
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
3878
|
-
<xsl:with-param name="continued">true</xsl:with-param>
|
3879
|
-
</xsl:apply-templates>
|
3880
3969
|
|
3881
3970
|
|
3882
3971
|
|
3972
|
+
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
3973
|
+
<xsl:with-param name="continued">true</xsl:with-param>
|
3974
|
+
</xsl:apply-templates>
|
3975
|
+
|
3976
|
+
|
3977
|
+
|
3978
|
+
|
3979
|
+
|
3980
|
+
|
3883
3981
|
</fo:table-cell>
|
3884
3982
|
</fo:table-row>
|
3885
3983
|
</xsl:template><xsl:template match="*[local-name()='thead']" mode="process_tbody">
|
@@ -3980,7 +4078,10 @@
|
|
3980
4078
|
|
3981
4079
|
|
3982
4080
|
<!-- fn processing -->
|
3983
|
-
|
4081
|
+
|
4082
|
+
<xsl:call-template name="table_fn_display"/>
|
4083
|
+
|
4084
|
+
|
3984
4085
|
|
3985
4086
|
<!-- for PAS display Notes after footnotes -->
|
3986
4087
|
|
@@ -3990,6 +4091,9 @@
|
|
3990
4091
|
</fo:table-body>
|
3991
4092
|
|
3992
4093
|
</fo:table>
|
4094
|
+
|
4095
|
+
|
4096
|
+
|
3993
4097
|
</xsl:if>
|
3994
4098
|
</xsl:template><xsl:template match="*[local-name()='tbody']">
|
3995
4099
|
|
@@ -4078,6 +4182,9 @@
|
|
4078
4182
|
|
4079
4183
|
|
4080
4184
|
|
4185
|
+
|
4186
|
+
|
4187
|
+
|
4081
4188
|
|
4082
4189
|
|
4083
4190
|
<xsl:call-template name="setTableRowAttributes"/>
|
@@ -4094,6 +4201,8 @@
|
|
4094
4201
|
<fo:table-row xsl:use-attribute-sets="table-body-row-style">
|
4095
4202
|
|
4096
4203
|
|
4204
|
+
|
4205
|
+
|
4097
4206
|
<xsl:variable name="number"><xsl:number/></xsl:variable>
|
4098
4207
|
<xsl:if test="$number mod 2 = 0">
|
4099
4208
|
<xsl:attribute name="background-color">rgb(252, 246, 222)</xsl:attribute>
|
@@ -4183,6 +4292,8 @@
|
|
4183
4292
|
|
4184
4293
|
|
4185
4294
|
|
4295
|
+
|
4296
|
+
|
4186
4297
|
|
4187
4298
|
|
4188
4299
|
|
@@ -4254,7 +4365,11 @@
|
|
4254
4365
|
|
4255
4366
|
<xsl:variable name="gen_id" select="generate-id(.)"/>
|
4256
4367
|
<xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
|
4257
|
-
<xsl:variable name="
|
4368
|
+
<xsl:variable name="reference_">
|
4369
|
+
<xsl:value-of select="@reference"/>
|
4370
|
+
<xsl:if test="normalize-space(@reference) = ''"><xsl:value-of select="$gen_id"/></xsl:if>
|
4371
|
+
</xsl:variable>
|
4372
|
+
<xsl:variable name="reference" select="normalize-space($reference_)"/>
|
4258
4373
|
<!-- fn sequence number in document -->
|
4259
4374
|
<xsl:variable name="current_fn_number">
|
4260
4375
|
<xsl:choose>
|
@@ -4329,7 +4444,7 @@
|
|
4329
4444
|
<xsl:copy-of select="node()"/>
|
4330
4445
|
</fn>
|
4331
4446
|
</xsl:for-each>
|
4332
|
-
<xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
|
4447
|
+
<xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='boilerplate']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
|
4333
4448
|
<xsl:sort select="@displayorder" data-type="number"/>
|
4334
4449
|
<xsl:for-each select=".//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] | .//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
|
4335
4450
|
<!-- copy unique fn -->
|
@@ -5981,6 +6096,11 @@
|
|
5981
6096
|
</xsl:variable>
|
5982
6097
|
<fo:inline xsl:use-attribute-sets="link-style">
|
5983
6098
|
|
6099
|
+
<xsl:if test="starts-with(normalize-space(@target), 'mailto:')">
|
6100
|
+
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
6101
|
+
</xsl:if>
|
6102
|
+
|
6103
|
+
|
5984
6104
|
|
5985
6105
|
|
5986
6106
|
|
@@ -6249,7 +6369,19 @@
|
|
6249
6369
|
<xsl:value-of select="$suffix"/>
|
6250
6370
|
</xsl:if>
|
6251
6371
|
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
|
6252
|
-
<
|
6372
|
+
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
6373
|
+
<xsl:choose>
|
6374
|
+
<xsl:when test="$num = 1"> <!-- first paragraph renders in the same line as titlenote name -->
|
6375
|
+
<fo:inline xsl:use-attribute-sets="termnote-p-style">
|
6376
|
+
<xsl:apply-templates/>
|
6377
|
+
</fo:inline>
|
6378
|
+
</xsl:when>
|
6379
|
+
<xsl:otherwise>
|
6380
|
+
<fo:block xsl:use-attribute-sets="termnote-p-style">
|
6381
|
+
<xsl:apply-templates/>
|
6382
|
+
</fo:block>
|
6383
|
+
</xsl:otherwise>
|
6384
|
+
</xsl:choose>
|
6253
6385
|
</xsl:template><xsl:template match="*[local-name() = 'terms']">
|
6254
6386
|
<!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
|
6255
6387
|
<fo:block id="{@id}">
|
@@ -7081,7 +7213,7 @@
|
|
7081
7213
|
</xsl:choose>
|
7082
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">
|
7083
7215
|
<xsl:value-of select="."/>
|
7084
|
-
</xsl:template><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7216
|
+
</xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7085
7217
|
<xsl:text> </xsl:text>
|
7086
7218
|
</xsl:template><xsl:template match="*[local-name() = 'strong']" mode="contents_item">
|
7087
7219
|
<xsl:copy>
|
@@ -7947,6 +8079,7 @@
|
|
7947
8079
|
|
7948
8080
|
|
7949
8081
|
|
8082
|
+
|
7950
8083
|
<xsl:choose>
|
7951
8084
|
<xsl:when test="$depth = 2">2</xsl:when>
|
7952
8085
|
<xsl:otherwise>1</xsl:otherwise>
|
@@ -8570,7 +8703,7 @@
|
|
8570
8703
|
|
8571
8704
|
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
|
8572
8705
|
|
8573
|
-
<!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
8706
|
+
<!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or
|
8574
8707
|
$namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
|
8575
8708
|
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
8576
8709
|
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">
|
@@ -8579,7 +8712,7 @@
|
|
8579
8712
|
<fo:block>
|
8580
8713
|
<fo:inline>
|
8581
8714
|
|
8582
|
-
<xsl:number format="1."/>
|
8715
|
+
<xsl:number format="1." count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
|
8583
8716
|
|
8584
8717
|
</fo:inline>
|
8585
8718
|
</fo:block>
|
@@ -8910,12 +9043,16 @@
|
|
8910
9043
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
8911
9044
|
|
8912
9045
|
|
9046
|
+
|
9047
|
+
|
8913
9048
|
|
8914
9049
|
|
8915
9050
|
|
8916
9051
|
<fo:block-container xsl:use-attribute-sets="admonition-container-style">
|
8917
9052
|
|
8918
9053
|
|
9054
|
+
|
9055
|
+
|
8919
9056
|
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
8920
9057
|
<xsl:call-template name="displayAdmonitionName"/>
|
8921
9058
|
</fo:block>
|
@@ -9124,6 +9261,8 @@
|
|
9124
9261
|
</xsl:when>
|
9125
9262
|
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
9126
9263
|
</xsl:choose>
|
9264
|
+
</xsl:template><xsl:template match="*[local-name() = 'lang_none']">
|
9265
|
+
<fo:inline xml:lang="none"><xsl:value-of select="."/></fo:inline>
|
9127
9266
|
</xsl:template><xsl:template name="printEdition">
|
9128
9267
|
<xsl:variable name="edition_i18n" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>
|
9129
9268
|
<xsl:text> </xsl:text>
|
@@ -9230,6 +9369,27 @@
|
|
9230
9369
|
</xsl:when>
|
9231
9370
|
<xsl:otherwise><xsl:value-of select="$monthStr_"/></xsl:otherwise>
|
9232
9371
|
</xsl:choose>
|
9372
|
+
</xsl:template><xsl:template name="getMonthLocalizedByNum">
|
9373
|
+
<xsl:param name="num"/>
|
9374
|
+
<xsl:variable name="monthStr">
|
9375
|
+
<xsl:choose>
|
9376
|
+
<xsl:when test="$num = '01'">january</xsl:when>
|
9377
|
+
<xsl:when test="$num = '02'">february</xsl:when>
|
9378
|
+
<xsl:when test="$num = '03'">march</xsl:when>
|
9379
|
+
<xsl:when test="$num = '04'">april</xsl:when>
|
9380
|
+
<xsl:when test="$num = '05'">may</xsl:when>
|
9381
|
+
<xsl:when test="$num = '06'">june</xsl:when>
|
9382
|
+
<xsl:when test="$num = '07'">july</xsl:when>
|
9383
|
+
<xsl:when test="$num = '08'">august</xsl:when>
|
9384
|
+
<xsl:when test="$num = '09'">september</xsl:when>
|
9385
|
+
<xsl:when test="$num = '10'">october</xsl:when>
|
9386
|
+
<xsl:when test="$num = '11'">november</xsl:when>
|
9387
|
+
<xsl:when test="$num = '12'">december</xsl:when>
|
9388
|
+
</xsl:choose>
|
9389
|
+
</xsl:variable>
|
9390
|
+
<xsl:call-template name="getLocalizedString">
|
9391
|
+
<xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param>
|
9392
|
+
</xsl:call-template>
|
9233
9393
|
</xsl:template><xsl:template name="insertKeywords">
|
9234
9394
|
<xsl:param name="sorting" select="'true'"/>
|
9235
9395
|
<xsl:param name="charAtEnd" select="'.'"/>
|
@@ -9425,6 +9585,7 @@
|
|
9425
9585
|
|
9426
9586
|
|
9427
9587
|
|
9588
|
+
|
9428
9589
|
<xsl:value-of select="document('')//*/namespace::ogc"/>
|
9429
9590
|
|
9430
9591
|
|