metanorma-iho 1.1.6 → 1.1.8
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/iho/html/html_iho_titlepage.html +11 -0
- data/lib/isodoc/iho/html/htmlstyle.css +0 -2
- data/lib/isodoc/iho/html/word_iho_titlepage.html +84 -0
- data/lib/isodoc/iho/iho.specification.xsl +844 -1254
- data/lib/isodoc/iho/iho.standard.xsl +844 -1254
- data/lib/isodoc/iho/presentation_xml_convert.rb +7 -5
- data/lib/metanorma/iho/isodoc.rng +32 -2
- data/lib/metanorma/iho/version.rb +1 -1
- metadata +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:iho="https://www.metanorma.org/ns/standoc" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:java="http://xml.apache.org/xalan/java" xmlns:redirect="http://xml.apache.org/xalan/redirect" exclude-result-prefixes="java xalan" extension-element-prefixes="redirect" version="1.0">
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:iho="https://www.metanorma.org/ns/standoc" xmlns:mn="https://www.metanorma.org/ns/xslt" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:java="http://xml.apache.org/xalan/java" xmlns:redirect="http://xml.apache.org/xalan/redirect" exclude-result-prefixes="java xalan" extension-element-prefixes="redirect" version="1.0">
|
2
2
|
|
3
3
|
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
|
4
4
|
|
@@ -23,12 +23,12 @@
|
|
23
23
|
<item id="term-script" display="false">3.2</item>
|
24
24
|
-->
|
25
25
|
<xsl:variable name="contents_">
|
26
|
-
<contents>
|
26
|
+
<mn:contents>
|
27
27
|
<xsl:call-template name="processPrefaceSectionsDefault_Contents"/>
|
28
28
|
<xsl:call-template name="processMainSectionsDefault_Contents"/>
|
29
29
|
|
30
30
|
<xsl:call-template name="processTablesFigures_Contents"/>
|
31
|
-
</contents>
|
31
|
+
</mn:contents>
|
32
32
|
</xsl:variable>
|
33
33
|
<xsl:variable name="contents" select="xalan:nodeset($contents_)"/>
|
34
34
|
|
@@ -190,7 +190,9 @@
|
|
190
190
|
<fo:table-row>
|
191
191
|
<fo:table-cell display-align="after" text-align="right">
|
192
192
|
<fo:block font-size="1">
|
193
|
-
<fo:
|
193
|
+
<fo:instream-foreign-object content-width="25.9mm" fox:alt-text="Image IHO">
|
194
|
+
<xsl:copy-of select="$Image-IHO-SVG"/>
|
195
|
+
</fo:instream-foreign-object>
|
194
196
|
</fo:block>
|
195
197
|
</fo:table-cell>
|
196
198
|
|
@@ -255,15 +257,19 @@
|
|
255
257
|
<fo:table-row>
|
256
258
|
<fo:table-cell>
|
257
259
|
<fo:block font-size="1">
|
258
|
-
<fo:
|
260
|
+
<fo:instream-foreign-object content-width="25.9mm" fox:alt-text="Image Logo IHO">
|
261
|
+
<xsl:copy-of select="$Image-Logo-IHO-SVG"/>
|
262
|
+
</fo:instream-foreign-object>
|
259
263
|
</fo:block>
|
260
264
|
</fo:table-cell>
|
261
265
|
<fo:table-cell>
|
262
266
|
<fo:block font-size="1">
|
263
|
-
<fo:
|
267
|
+
<fo:instream-foreign-object content-width="25.8mm" fox:alt-text="Image Logo IHO">
|
268
|
+
<xsl:copy-of select="$Image-Text-IHO-SVG"/>
|
269
|
+
</fo:instream-foreign-object>
|
264
270
|
</fo:block>
|
265
271
|
</fo:table-cell>
|
266
|
-
<fo:table-cell>
|
272
|
+
<fo:table-cell number-rows-spanned="2">
|
267
273
|
<fo:block-container width="79mm" height="72mm" margin-left="56.8mm" background-color="rgb(0, 172, 158)" text-align="right" display-align="after">
|
268
274
|
<fo:block-container margin-left="0mm">
|
269
275
|
<fo:block font-size="8pt" color="white" margin-right="5mm" margin-bottom="5mm" line-height-shift-adjustment="disregard-shifts">
|
@@ -273,6 +279,20 @@
|
|
273
279
|
</fo:block-container>
|
274
280
|
</fo:table-cell>
|
275
281
|
</fo:table-row>
|
282
|
+
<fo:table-row>
|
283
|
+
<fo:table-cell number-columns-spanned="2" padding-top="2mm">
|
284
|
+
<fo:block-container width="51.5mm">
|
285
|
+
<fo:block>
|
286
|
+
<xsl:for-each select="/iho:metanorma/iho:bibdata/iho:contributor[iho:role/@type = 'publisher']/iho:organization[not(iho:abbreviation = 'IHO')]">
|
287
|
+
<xsl:apply-templates select="*[local-name() = 'logo']/*[local-name() = 'image']">
|
288
|
+
<xsl:with-param name="logo_width">25.8mm</xsl:with-param>
|
289
|
+
</xsl:apply-templates>
|
290
|
+
<xsl:if test="position() != last()"><fo:inline> </fo:inline></xsl:if>
|
291
|
+
</xsl:for-each>
|
292
|
+
</fo:block>
|
293
|
+
</fo:block-container>
|
294
|
+
</fo:table-cell>
|
295
|
+
</fo:table-row>
|
276
296
|
</fo:table-body>
|
277
297
|
</fo:table>
|
278
298
|
</fo:block-container>
|
@@ -550,7 +570,7 @@
|
|
550
570
|
|
551
571
|
<fo:block line-height="115%" role="TOC">
|
552
572
|
|
553
|
-
<xsl:for-each select="$contents//item[@display = 'true']"><!-- [not(@level = 2 and starts-with(@section, '0'))] skip clause from preface -->
|
573
|
+
<xsl:for-each select="$contents//mn:item[@display = 'true']"><!-- [not(@level = 2 and starts-with(@section, '0'))] skip clause from preface -->
|
554
574
|
<fo:block role="TOCI">
|
555
575
|
<fo:list-block>
|
556
576
|
<xsl:attribute name="provisional-distance-between-starts">
|
@@ -577,8 +597,8 @@
|
|
577
597
|
</fo:list-item-label>
|
578
598
|
<fo:list-item-body start-indent="body-start()">
|
579
599
|
<fo:block text-align-last="justify" margin-left="12mm" text-indent="-12mm">
|
580
|
-
<fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">
|
581
|
-
<xsl:apply-templates select="title"/>
|
600
|
+
<fo:basic-link internal-destination="{@id}" fox:alt-text="{mn:title}">
|
601
|
+
<xsl:apply-templates select="mn:title"/>
|
582
602
|
<fo:inline keep-together.within-line="always">
|
583
603
|
<fo:leader font-size="9pt" font-weight="normal" leader-pattern="dots"/>
|
584
604
|
<fo:inline><fo:page-number-citation ref-id="{@id}"/></fo:inline>
|
@@ -592,21 +612,21 @@
|
|
592
612
|
</xsl:for-each>
|
593
613
|
|
594
614
|
<!-- List of Tables -->
|
595
|
-
<xsl:if test="$contents//tables/table">
|
615
|
+
<xsl:if test="$contents//mn:tables/mn:table">
|
596
616
|
<xsl:call-template name="insertListOf_Title">
|
597
617
|
<xsl:with-param name="title" select="$title-list-tables"/>
|
598
618
|
</xsl:call-template>
|
599
|
-
<xsl:for-each select="$contents//tables/table">
|
619
|
+
<xsl:for-each select="$contents//mn:tables/mn:table">
|
600
620
|
<xsl:call-template name="insertListOf_Item"/>
|
601
621
|
</xsl:for-each>
|
602
622
|
</xsl:if>
|
603
623
|
|
604
624
|
<!-- List of Figures -->
|
605
|
-
<xsl:if test="$contents//figures/figure">
|
625
|
+
<xsl:if test="$contents//mn:figures/mn:figure">
|
606
626
|
<xsl:call-template name="insertListOf_Title">
|
607
627
|
<xsl:with-param name="title" select="$title-list-figures"/>
|
608
628
|
</xsl:call-template>
|
609
|
-
<xsl:for-each select="$contents//figures/figure">
|
629
|
+
<xsl:for-each select="$contents//mn:figures/mn:figure">
|
610
630
|
<xsl:call-template name="insertListOf_Item"/>
|
611
631
|
</xsl:for-each>
|
612
632
|
</xsl:if>
|
@@ -676,12 +696,12 @@
|
|
676
696
|
<xsl:if test="ancestor-or-self::iho:annex">annex</xsl:if>
|
677
697
|
</xsl:variable>
|
678
698
|
|
679
|
-
<item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
|
680
|
-
<title>
|
699
|
+
<mn:item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
|
700
|
+
<mn:title>
|
681
701
|
<xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
|
682
|
-
</title>
|
702
|
+
</mn:title>
|
683
703
|
<xsl:apply-templates mode="contents"/>
|
684
|
-
</item>
|
704
|
+
</mn:item>
|
685
705
|
|
686
706
|
</xsl:if>
|
687
707
|
|
@@ -1059,46 +1079,123 @@
|
|
1059
1079
|
<xsl:call-template name="insertFooter"/>
|
1060
1080
|
</xsl:template>
|
1061
1081
|
|
1062
|
-
<xsl:variable name="Image-IHO">
|
1063
|
-
<
|
1082
|
+
<xsl:variable name="Image-IHO-SVG">
|
1083
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px" viewBox="0 0 100 100" version="1.1">
|
1084
|
+
<g>
|
1085
|
+
<polygon fill="#00AAA9" points="0 100 100 100 100 0 0 0"/>
|
1086
|
+
<g transform="translate(20.000000, 36.000000)" fill="#FEFEFE">
|
1087
|
+
<polygon points="0.510089944 25.6344052 8.07929262 25.6344052 8.07929262 1.10633647 0.510089944 1.10633647"/>
|
1088
|
+
<polygon points="11.970913 1.1068918 19.5401156 1.1068918 19.5401156 9.62685265 26.628734 9.62685265 26.628734 1.1068918 34.1979367 1.1068918 34.1979367 25.6349606 26.628734 25.6349606 26.628734 15.9132532 19.5401156 15.9132532 19.5401156 25.6349606 11.970913 25.6349606"/>
|
1089
|
+
<path d="M48.3801795,20.104372 C50.3069666,20.104372 53.2661199,18.8326531 53.2661199,13.3714815 C53.2661199,7.90919922 50.3069666,6.63748039 48.3801795,6.63748039 C46.4533925,6.63748039 43.4942392,7.90919922 43.4942392,13.3714815 C43.4942392,18.8326531 46.4533925,20.104372 48.3801795,20.104372 M48.3801795,0.523233944 C55.8459231,0.523233944 60.8353226,5.88222379 60.8353226,13.3714815 C60.8353226,20.8607392 55.8459231,26.2186184 48.3801795,26.2186184 C40.9133235,26.2186184 35.9239241,20.8607392 35.9239241,13.3714815 C35.9239241,5.88222379 40.9133235,0.523233944 48.3801795,0.523233944"/>
|
1090
|
+
</g>
|
1091
|
+
</g>
|
1092
|
+
</svg>
|
1064
1093
|
</xsl:variable>
|
1065
1094
|
|
1066
|
-
<xsl:variable name="Image-Logo-IHO">
|
1067
|
-
<xsl:text>iVBORw0KGgoAAAANSUhEUgAAAOEAAADfCAIAAACPoSPwAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAh1QAAIdUBBJy0nQAAP21JREFUeAHtXQd4FFXXvtO3pRIIvYqgFEFEQZqIiqIiin723guoWBH57Hw2rIjYfrtgBRUQbHQFRZAmHaRDgGSzffr/3t2QZEsaWXGzmXnywMzszJ07575z7jnnnsKMmzD5oafeYkWBWJtFgZSkAJuSvbI6ZVGgjAIWRstoYe2lJgUsjKbmuFi9KqOAhdEyWlh7qUkBC6OpOS5Wr8ooYGG0jBbWXmpSwMJoao6L1asyClgYLaOFtZeaFLAwmprjYvWqjAIWRstoYe2lJgUsjKbmuFi9KqOAhdEyWlh7qUkBC6OpOS5Wr8ooYGG0jBbWXmpSwMJoao6L1asyClgYLaOFtZeaFLAwmprjYvWqjAIWRstoYe2lJgUsjKbmuFi9KqOAhdEyWlh7qUkBC6OpOS5Wr8ooYGG0jBbWXmpSwMJoao6L1asyClgYLaOFtZeaFLAwmprjYvWqjAIWRstoYe2lJgUsjKbmuFi9KqOAhdEyWlh7qUkBC6OpOS5Wr8ooYGG0jBbWXmpSwMJoao6L1asyClgYLaOFtZeaFLAwmprjYvWqjAJ82a61VzsKmCbBX8nGEJY5tG/9XzsKWBitHf3Cdxu6STTCSnxOhsmxJpDqC3KhgE4YgxEYC6u1JLGF0VoRkPJOhbRqbr9skDToeL5TC00UNdNg/94n/bZe/eQndeGqkEl0lrOAevh0tjB6+LQzDMKz3F2X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MJpcelqtJZ8CFkaTT1OrxeRSwMJoculptZZ8ClgYTT5NrRaTSwELo8mlp9Va8ilgYTT5NLVaTC4FLIwml55Wa8mngIXR5NPUajG5FLAwmlx6Wq0lnwIWRpNPU6vF5FLAwmhy6Wm1lnwKWBhNPk2tFpNLAQujyaWn1VryKWBhNPk0tVpMLgUsjCaXnlZryaeAhdHk09RqMbkUsDCaXHparSWfAhZGk09Tq8XkUsDCaHLpabWWfApYGE0+Ta0Wk0sBC6PJpafVWvIpYGE0+TS1WkwuBSyMJpeeVmvJp4CF0eTT1GoxuRSwMJpcelqtJZ8CFkaTT1OrxeRS4P8B7C42VemOgBQAAAAASUVORK5CYII=</xsl:text>
|
1095
|
+
<xsl:variable name="Image-Logo-IHO-SVG">
|
1096
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px" viewBox="0 0 100 100" version="1.1">
|
1097
|
+
<g>
|
1098
|
+
<polygon fill="#05164D" points="0 100 100 100 100 0 0 0"/>
|
1099
|
+
<g transform="translate(19.811321, 15.277778)" fill="#FEDC5B">
|
1100
|
+
<path d="M28.7238836,10.581 C28.5202673,10.5876667 28.3749843,10.7354444 28.3815881,10.9365556 C28.3881918,11.1343333 28.5433805,11.2721111 28.7480975,11.2643333 C28.9528145,11.2565556 29.0958962,11.1076667 29.0892925,10.911 C29.0826887,10.7098889 28.9286006,10.5732222 28.7238836,10.581"/>
|
1101
|
+
<path d="M30.2124843,35.6943333 L30.5393711,33.2898889 C30.5778931,33.0098889 30.6615409,32.7465556 30.765,32.4921111 L24.4705031,32.4921111 L24.4705031,24.2676667 L20.2396855,24.2676667 L20.2396855,44.8998889 L24.4705031,44.8998889 L24.4705031,36.471 L30.201478,36.471 C30.1761635,36.2176667 30.1761635,35.9576667 30.2124843,35.6943333"/>
|
1102
|
+
<path d="M33.993805,26.334 C33.8474214,25.704 33.4677044,25.1717778 32.9250943,24.8328889 L32.3538679,24.4762222 L32.3538679,25.824 C32.6246226,26.0028889 32.8161321,26.274 32.8920755,26.5962222 C32.9691195,26.9284444 32.9151887,27.2695556 32.7379874,27.5573333 C32.6400314,27.7195556 32.5046541,27.8451111 32.3538679,27.9462222 L32.3538679,29.1895556 C32.9151887,29.0195556 33.391761,28.664 33.7010377,28.1584444 C34.0367296,27.6117778 34.1401887,26.9628889 33.993805,26.334"/>
|
1103
|
+
<path d="M28.2444497,47.4391111 L28.6043553,46.8035556 C28.4733805,46.6046667 28.3578145,46.3946667 28.2697642,46.1657778 C27.9538836,45.3468889 27.9725943,44.4546667 28.3214937,43.6557778 L29.2889465,41.4335556 C29.7038836,40.4802222 30.5381604,39.8057778 31.5166195,39.5702222 L31.5166195,38.7924444 C31.0587579,38.4524444 30.6966509,37.9968889 30.4655189,37.4746667 L27.641305,37.4746667 L27.641305,47.4735556 C27.8063994,47.448 27.9725943,47.4302222 28.1420912,47.4302222 C28.1762107,47.4302222 28.2103302,47.438 28.2444497,47.4391111"/>
|
1104
|
+
<path d="M29.5788522,20.4073333 C28.9206761,20.4073333 28.2746069,20.4562222 27.6417453,20.5462222 L27.6417453,31.4884444 L31.4257075,31.4884444 C31.4290094,31.4851111 31.4323113,31.4817778 31.4356132,31.4784444 L31.5170597,31.4784444 L31.5170597,31.3862222 L31.5170597,30.9673333 L31.5170597,21.1562222 L31.5170597,20.5462222 C30.8830975,20.4562222 30.2370283,20.4073333 29.5788522,20.4073333"/>
|
1105
|
+
<path d="M44.0848113,55.2396667 C43.7953459,55.4474444 43.7381132,55.8074444 43.9549371,56.1152222 C44.1706604,56.423 44.5261635,56.4896667 44.8167296,56.2807778 C45.106195,56.0741111 45.162327,55.7141111 44.9466038,55.4052222 C44.7297799,55.0974444 44.3753774,55.0318889 44.0848113,55.2396667"/>
|
1106
|
+
<polygon points="31.5727516 60.0921111 32.4015252 60.0132222 31.8787264 58.891"/>
|
1107
|
+
<path d="M14.1195283,55.3286667 C13.9016038,55.6364444 13.9566352,55.9997778 14.2461006,56.2075556 C14.535566,56.4164444 14.8932704,56.3531111 15.111195,56.0453333 C15.3302201,55.7364444 15.2740881,55.3753333 14.9846226,55.1664444 C14.6940566,54.9564444 14.3374528,55.0208889 14.1195283,55.3286667"/>
|
1108
|
+
<path d="M38.4392453,57.2156667 C37.9219497,57.4223333 37.7040252,57.9501111 37.9197484,58.499 C38.1365723,59.049 38.6527673,59.2823333 39.1711635,59.0756667 C39.6884591,58.8678889 39.9063836,58.3401111 39.6895597,57.7912222 C39.4738365,57.2401111 38.9565409,57.0078889 38.4392453,57.2156667"/>
|
1109
|
+
<path d="M51.7951572,46.8437778 C51.4803774,47.4226667 51.1413836,47.986 50.7847799,48.5371111 L52.0725157,49.376 L36.1255031,54.6782222 C34.6539623,55.1671111 33.1119811,55.4993333 31.5171698,55.6482222 L31.5171698,54.326 C30.878805,54.3893333 30.2327358,54.4237778 29.5789623,54.4237778 C29.5041195,54.4237778 29.4303774,54.4182222 29.3555346,54.4171111 L29.1618239,54.6615556 C28.7920126,55.1226667 28.313239,55.4582222 27.7761321,55.6604444 C26.1890252,55.5226667 24.6536478,55.2037778 23.1865094,54.7293333 L7.08540881,49.376 L8.37424528,48.5371111 C8.01764151,47.986 7.67754717,47.4226667 7.3627673,46.8437778 L0.140440252,50.836 C0.549874214,51.5904444 0.991226415,52.3226667 1.45459119,53.0404444 L3.62503145,51.6282222 L29.5789623,68.4337778 L55.5328931,51.6282222 L57.7033333,53.0404444 C58.1666981,52.3226667 58.6080503,51.5893333 59.0174843,50.836 L51.7951572,46.8437778 Z"/>
|
1110
|
+
<path d="M32.2681289,41.4832222 C32.2219025,41.4832222 32.1756761,41.4854444 32.1305503,41.4898889 C31.6814937,41.5398889 31.2918711,41.8287778 31.1113679,42.2432222 L30.1439151,44.4643333 C30.0096384,44.7732222 30.001934,45.1187778 30.1252044,45.4365556 C30.2484748,45.7554444 30.4840094,46.0054444 30.7899843,46.1398889 C30.9506761,46.2121111 31.120173,46.2487778 31.2940723,46.2487778 C31.4503616,46.2487778 31.6055503,46.2187778 31.7541352,46.161 C32.0689151,46.0365556 32.3165566,45.7976667 32.451934,45.4876667 L33.4193868,43.2665556 C33.6989465,42.6243333 33.4083805,41.8732222 32.772217,41.5898889 C32.6126258,41.5187778 32.4431289,41.4832222 32.2681289,41.4832222 M31.2929717,47.391 C30.9616824,47.391 30.6391981,47.3232222 30.3343239,47.1876667 C29.7509906,46.9276667 29.301934,46.4543333 29.0697013,45.8521111 C28.8374686,45.2487778 28.8506761,44.5921111 29.1071226,44.0043333 L30.0745755,41.7832222 C30.4564937,40.9054444 31.3182862,40.3398889 32.2692296,40.3398889 C32.6016195,40.3398889 32.9241038,40.4076667 33.2278774,40.5432222 C34.4363679,41.0798889 34.9866824,42.5087778 34.4561792,43.7287778 L33.4887264,45.9487778 C33.2311792,46.5387778 32.7623113,46.991 32.1646698,47.2254444 C31.9665566,47.3032222 31.7596384,47.3543333 31.5516195,47.3776667 C31.4657704,47.3865556 31.3788208,47.391 31.2929717,47.391"/>
|
1111
|
+
<path d="M33.7427516,32.4657778 C33.4752987,32.4691111 33.2177516,32.558 33.0009277,32.7257778 C32.7312736,32.9313333 32.5573742,33.2291111 32.5122484,33.5646667 L32.184261,35.968 C32.1380346,36.3046667 32.2260849,36.6391111 32.4297013,36.9102222 C32.6333176,37.1813333 32.9293868,37.3568889 33.2617767,37.4024444 C33.3201101,37.4113333 33.3784434,37.4146667 33.4356761,37.4146667 C34.0608333,37.4146667 34.5968396,36.9424444 34.6826887,36.3157778 L35.0095755,33.9113333 C35.0558019,33.5746667 34.9688522,33.2402222 34.7652358,32.9691111 C34.5616195,32.698 34.2655503,32.5235556 33.9320597,32.4768889 C33.8781289,32.4691111 33.8219969,32.4657778 33.7669654,32.4657778 L33.7647642,32.4657778 L33.7427516,32.4657778 Z M33.4279717,38.558 C33.3223113,38.558 33.2155503,38.5502222 33.1076887,38.5346667 C32.4759277,38.4468889 31.9135063,38.1146667 31.5271855,37.6013333 C31.1408648,37.0857778 30.9757704,36.4502222 31.0627201,35.8124444 L31.3907075,33.4091111 C31.4765566,32.7713333 31.8056447,32.2057778 32.3163365,31.8146667 C32.7367767,31.4924444 33.2364623,31.3213333 33.7581604,31.3213333 C33.8671226,31.3213333 33.9771855,31.3291111 34.0861478,31.3446667 C34.7190094,31.4313333 35.2803302,31.7635556 35.6677516,32.2791111 C36.0540723,32.7935556 36.2191667,33.4291111 36.1311164,34.0668889 L35.8042296,36.4702222 C35.6446384,37.6446667 34.6397642,38.5413333 33.4675943,38.558 L33.4279717,38.558 Z"/>
|
1112
|
+
<path d="M23.9811635,17.3453333 C23.8644969,17.3453333 23.7467296,17.362 23.6344654,17.3953333 C22.9663836,17.5908889 22.5800629,18.2975556 22.772673,18.9708889 L23.4396541,21.302 C23.5948428,21.8431111 24.0945283,22.2208889 24.6525472,22.2208889 C24.7703145,22.2208889 24.8869811,22.2053333 25.0003459,22.172 C25.3228302,22.0775556 25.590283,21.8608889 25.7531761,21.562 C25.9160692,21.2631111 25.9545912,20.9197778 25.8621384,20.5953333 L25.1951572,18.2642222 C25.1027044,17.9408889 24.8880818,17.6708889 24.5920126,17.5053333 C24.4951572,17.4508889 24.3905975,17.4097778 24.2805346,17.382 C24.1825786,17.3575556 24.0813208,17.3453333 23.9811635,17.3453333 M24.6525472,23.3642222 C24.4610377,23.3642222 24.2684277,23.3408889 24.0813208,23.2942222 C23.2514465,23.0875556 22.5888679,22.4464444 22.3522327,21.6197778 L21.6852516,19.2886667 C21.3187421,18.0097778 22.051761,16.6675556 23.3185849,16.2975556 C23.5365094,16.2342222 23.7610377,16.202 23.9844654,16.202 C24.3839937,16.202 24.783522,16.3053333 25.1390252,16.5042222 C25.7003459,16.8164444 26.106478,17.3286667 26.2825786,17.9475556 L26.9506604,20.2786667 C27.126761,20.8964444 27.0541195,21.5486667 26.7448428,22.1142222 C26.4344654,22.6808889 25.9281761,23.0908889 25.3151258,23.2697778 C25.0994025,23.3331111 24.8759748,23.3642222 24.6525472,23.3642222"/>
|
1113
|
+
<path d="M22.1641352,8.82855556 C22.3677516,8.54744444 22.6704245,8.34633333 23.0270283,8.30411111 C23.075456,8.29855556 23.1238836,8.29633333 23.1734119,8.29633333 C23.2669654,8.29633333 23.3616195,8.30633333 23.4540723,8.32744444 C23.6830031,8.37966667 23.8866195,8.49855556 24.0517138,8.66188889 L25.329544,8.54966667 C25.2877201,8.45855556 25.2502987,8.36744444 25.1963679,8.28188889 C24.855173,7.73411111 24.3246698,7.35522222 23.7028145,7.213 C23.5289151,7.17188889 23.3495126,7.153 23.1723113,7.153 C22.0980975,7.153 21.1482547,7.90188889 20.868695,8.943 L22.1641352,8.82855556 Z"/>
|
1114
|
+
<path d="M29.6740566,5.19522222 C29.4033019,4.83855556 28.8827044,4.76077778 28.5128931,5.02188889 L23.236478,8.73411111 L26.4558176,8.44966667 L29.4935535,6.31188889 C29.8644654,6.05188889 29.9448113,5.55188889 29.6740566,5.19522222"/>
|
1115
|
+
<path d="M20.2831604,13.9051111 C20.313978,13.9662222 20.3370912,14.0295556 20.3745126,14.0884444 C20.7157075,14.6351111 21.2451101,15.0151111 21.8669654,15.1573333 C22.0441667,15.1984444 22.2235692,15.2184444 22.4018711,15.2184444 C22.4932233,15.2184444 22.5856761,15.2128889 22.6770283,15.2017778 C23.0303302,15.1595556 23.3638208,15.0395556 23.6708962,14.844 C23.9185377,14.6873333 24.125456,14.4862222 24.2971541,14.2595556 L20.2831604,13.9051111 Z"/>
|
1116
|
+
<path d="M21.1678459,12.52 L21.5211478,10.95 C21.2834119,10.9455556 21.0456761,10.9433333 20.8068396,10.9366667 C20.660456,10.9322222 20.5173742,10.9066667 20.3753931,10.8822222 L20.0639151,12.2666667 C20.0088836,12.5122222 20.0033805,12.7588889 20.0231918,13.0022222 L21.1799528,13.1044444 C21.1326258,12.9133333 21.1238208,12.7155556 21.1678459,12.52"/>
|
1117
|
+
<path d="M25.2779245,10.8554444 C24.8894025,10.8876667 24.5008805,10.911 24.1112579,10.9276667 L23.6269811,13.0832222 C23.6082704,13.1632222 23.5818553,13.2398889 23.5510377,13.3132222 L24.7044969,13.4154444 C24.7122013,13.3887778 24.7254088,13.3643333 24.7309119,13.3365556 L25.2636164,10.971 C25.2724214,10.9321111 25.2713208,10.8943333 25.2779245,10.8554444"/>
|
1118
|
+
<path d="M34.6886321,24.268 L34.6886321,30.5957778 C36.1997956,31.0502222 37.2035692,32.5613333 36.9823428,34.1857778 L36.655456,36.5891111 C36.4958648,37.7568889 35.7177201,38.7168889 34.6886321,39.1602222 L34.6886321,40.5713333 C35.5086006,41.5024444 35.7694497,42.8646667 35.2411478,44.0768889 L34.8834434,44.9002222 L38.9183491,44.9002222 L38.9183491,24.268 L34.6886321,24.268 Z"/>
|
1119
|
+
<path d="M29.5788522,15.8918889 C28.4165881,15.8918889 27.2818396,16.0052222 26.1801101,16.2118889 C26.6148585,16.6141111 26.9406447,17.1218889 27.1079403,17.7063333 L27.5845126,19.3752222 C28.2382862,19.2885556 28.903066,19.2396667 29.5788522,19.2396667 C37.9678459,19.2396667 44.7686321,26.1041111 44.7686321,34.573 C44.7686321,42.4685556 38.8571541,48.9685556 31.2595126,49.8118889 C31.3090409,49.9907778 31.3519654,50.1741111 31.3717767,50.3618889 C31.4642296,51.2363333 31.2154874,52.0907778 30.6706761,52.7718889 L30.2997642,53.2363333 C40.1856132,52.8541111 48.0837264,44.6474444 48.0837264,34.573 C48.0837264,24.2552222 39.7992925,15.8918889 29.5788522,15.8918889"/>
|
1120
|
+
<path d="M24.0999214,50.5392222 L25.1378145,49.2403333 C18.9159591,47.3214444 14.3890723,41.4825556 14.3890723,34.5736667 C14.3890723,29.1203333 17.2110849,24.3358889 21.4584119,21.617 L20.8607704,19.5292222 C20.7264937,19.0625556 20.7033805,18.5914444 20.7705189,18.1403333 C14.9955189,21.3025556 11.073978,27.4747778 11.073978,34.5736667 C11.073978,42.7081111 16.226022,49.6247778 23.4142296,52.1881111 C23.4879717,51.5892222 23.7158019,51.0203333 24.0999214,50.5392222"/>
|
1121
|
+
<path d="M29.0833491,51.4821111 L27.6107075,53.3998889 C27.4048899,53.6665556 27.1077201,53.8376667 26.7720283,53.881 C26.6135377,53.901 26.4561478,53.8921111 26.304261,53.8532222 C26.1358648,53.811 25.9795755,53.7332222 25.8419969,53.6254444 C25.5778459,53.4187778 25.4094497,53.1187778 25.3665252,52.7787778 C25.3225,52.4398889 25.4138522,52.1065556 25.6185692,51.8398889 L27.0912107,49.9232222 C27.3652673,49.5643333 27.8143239,49.3798889 28.2600786,49.4421111 C28.3052044,49.4498889 28.3514308,49.4576667 28.3965566,49.4687778 C28.5660535,49.5121111 28.7212421,49.5887778 28.8599214,49.6965556 C29.4080346,50.1265556 29.5092925,50.9276667 29.0833491,51.4821111 M29.5533176,48.7932222 C29.2902673,48.5876667 28.9941981,48.4421111 28.6728145,48.3598889 C27.7504874,48.1265556 26.7775314,48.4654444 26.1952987,49.2221111 L24.7237579,51.1387778 C24.3330346,51.6465556 24.1613365,52.281 24.242783,52.9232222 C24.3231289,53.5643333 24.6445126,54.1354444 25.1475,54.5276667 C25.1519025,54.531 25.156305,54.5332222 25.1607075,54.5365556 C25.8937264,54.701 26.6333491,54.8265556 27.3773742,54.9087778 C27.8220283,54.7587778 28.2127516,54.481 28.5055189,54.0998889 L29.9781604,52.1832222 C30.786022,51.131 30.5967138,49.6098889 29.5533176,48.7932222"/>
|
1122
|
+
<path d="M33.8245283,34.0461111 C33.7441824,34.0461111 33.6649371,34.0305556 33.591195,34.0016667 C33.4294025,33.9383333 33.3017296,33.8138889 33.2323899,33.6516667 L32.3397799,31.5594444 L32.345283,28.2361111 L34.427673,33.1105556 C34.5718553,33.445 34.4199686,33.8394444 34.0886792,33.9883333 C34.0050314,34.0261111 33.9158805,34.0461111 33.8245283,34.0461111"/>
|
1123
|
+
<path d="M24.4374843,21.7246667 C24.3175157,21.5991111 24.2536792,21.4335556 24.2558805,21.2591111 C24.2591824,21.0846667 24.328522,20.9213333 24.4539937,20.7991111 C24.5750629,20.6802222 24.7335535,20.6146667 24.9019497,20.6146667 C25.0802516,20.6146667 25.2464465,20.6857778 25.3708176,20.8157778 L26.8148428,22.328 L26.8148428,24.2135556 L24.4374843,21.7246667 Z"/>
|
1124
|
+
<path d="M32.2858491,43.0652222 C32.2484277,43.0652222 32.2121069,43.0618889 32.1735849,43.0552222 C31.8070755,42.9785556 31.5858491,42.6474444 31.645283,42.2996667 L32.6699686,36.3496667 C32.7238994,36.0352222 32.9924528,35.8074444 33.3083333,35.8074444 C33.3446541,35.8074444 33.3820755,35.8096667 33.4194969,35.8174444 C33.5867925,35.8418889 33.7320755,35.933 33.8333333,36.073 C33.9356918,36.2163333 33.9775157,36.3985556 33.9477987,36.573 L32.9231132,42.523 C32.8691824,42.8363333 32.6017296,43.0652222 32.2858491,43.0652222"/>
|
1125
|
+
<path d="M26.5785377,54.7134444 C26.1052673,54.6423333 25.6804245,54.5645556 25.2863994,54.479 L25.8928459,52.7212222 C25.9830975,52.459 26.2296384,52.2823333 26.5058962,52.2823333 C26.5785377,52.2823333 26.648978,52.2945556 26.7183176,52.319 C26.8823113,52.3756667 27.0143868,52.4945556 27.0881289,52.6523333 C27.1640723,52.809 27.1750786,52.9867778 27.1178459,53.1523333 L26.5785377,54.7134444 Z"/>
|
1126
|
+
<path d="M28.1730189,51.1153333 C28.0607547,51.1153333 27.9506918,51.0853333 27.8516352,51.0286667 C27.7019497,50.942 27.5940881,50.8008889 27.5489623,50.632 C27.5027358,50.4642222 27.5258491,50.2875556 27.6116981,50.1353333 L30.5800943,44.8931111 C30.6956604,44.6908889 30.9113836,44.5642222 31.144717,44.5642222 C31.2558805,44.5642222 31.367044,44.5942222 31.465,44.6508889 C31.7753774,44.8297778 31.883239,45.2308889 31.7049371,45.5431111 L28.7365409,50.7853333 C28.6220755,50.9886667 28.4074528,51.1142222 28.1763208,51.1153333 L28.1730189,51.1153333 Z"/>
|
1127
|
+
<path d="M23.9289937,18.8638889 C23.6417296,18.8583333 23.3885849,18.6572222 23.3148428,18.3772222 L22.2538365,14.3172222 L23.5977044,14.3261111 L24.5684591,18.0416667 C24.6135849,18.2116667 24.5893711,18.3872222 24.5024214,18.5383333 C24.4143711,18.6894444 24.2745912,18.7972222 24.1072956,18.8416667 C24.0533648,18.8561111 23.9972327,18.8638889 23.9411006,18.8638889 L23.9289937,18.8638889 Z"/>
|
1128
|
+
<path d="M32.2675786,12.7185556 L32.4822013,11.0318889 L31.9197799,11.1685556 L31.9913208,10.6163333 L33.1370755,10.3318889 L32.8222956,12.7907778 L32.2675786,12.7185556 Z M31.6072013,12.103 L31.5796855,12.6263333 L29.9342453,12.5418889 L29.9562579,12.0996667 L30.8334591,11.3174444 C30.9567296,11.2085556 31.0227673,11.0918889 31.0293711,10.9596667 C31.0392767,10.7774444 30.9127044,10.6485556 30.73,10.6396667 C30.5109748,10.6285556 30.3623899,10.7496667 30.2259119,10.8852222 L29.914434,10.4852222 C30.0729245,10.3096667 30.3546855,10.0796667 30.8158491,10.1041111 C31.3243396,10.1296667 31.6369182,10.4596667 31.6127044,10.933 C31.5983962,11.223 31.477327,11.4007778 31.2142767,11.6407778 L30.7542138,12.0596667 L31.6072013,12.103 Z M29.4587736,11.5685556 L28.8501258,12.5641111 L28.1765409,12.5874444 L28.7268553,11.7441111 L28.689434,11.7463333 C28.1468239,11.7652222 27.8089308,11.4152222 27.793522,10.9618889 C27.7759119,10.4707778 28.1677358,10.0952222 28.7059434,10.0763333 C29.2408491,10.0563333 29.6623899,10.3952222 29.6788994,10.8796667 C29.6877044,11.1096667 29.6051572,11.333 29.4587736,11.5685556 Z M26.9999686,12.7041111 L26.8106604,11.0185556 L26.2977673,11.2852222 L26.2361321,10.7341111 L27.2795283,10.1818889 L27.5546855,12.6407778 L26.9999686,12.7041111 Z M46.8454088,10.5496667 L31.5169497,9.19633333 L31.5169497,8.29522222 C32.7452516,7.60744444 33.5784277,6.28522222 33.5784277,4.76633333 C33.5784277,2.53855556 31.788805,0.733 29.5831447,0.733 C27.3763836,0.733 25.586761,2.53855556 25.586761,4.76633333 C25.586761,5.26633333 25.684717,5.74188889 25.8498113,6.183 L27.677956,4.89633333 C27.6735535,4.853 27.6647484,4.81077778 27.6647484,4.76633333 C27.6647484,3.69744444 28.523239,2.83077778 29.5831447,2.83077778 C30.6419497,2.83077778 31.5004403,3.69744444 31.5004403,4.76633333 C31.5004403,4.86855556 31.4861321,4.96522222 31.4707233,5.063 C31.4542138,5.17077778 31.4266981,5.27522222 31.3936792,5.37633333 C31.3903774,5.38744444 31.3870755,5.39966667 31.3837736,5.40966667 C31.3507547,5.503 31.3100314,5.59077778 31.2649057,5.67744444 C31.255,5.69633333 31.2450943,5.71522222 31.2351887,5.73411111 C31.1911635,5.81077778 31.1416352,5.883 31.088805,5.953 C31.0689937,5.97855556 31.0480818,6.00411111 31.0271698,6.02855556 C30.9765409,6.08744444 30.9226101,6.14411111 30.8653774,6.19633333 C30.8323585,6.22633333 30.7971384,6.25411111 30.7630189,6.283 C30.7090881,6.32522222 30.6562579,6.36633333 30.5990252,6.40188889 C30.5494969,6.433 30.4988679,6.45966667 30.4471384,6.48522222 C30.3965094,6.51188889 30.3458805,6.53966667 30.2919497,6.56188889 C30.2237107,6.58966667 30.1521698,6.60855556 30.0806289,6.62855556 C30.0465094,6.63744444 30.0145912,6.64744444 29.9804717,6.65633333 C29.9309434,6.703 29.8825157,6.75077778 29.8241824,6.79188889 L27.6416352,8.32744444 L27.6416352,9.22411111 L12.2977673,10.5796667 L13.6350314,12.4385556 L27.6416352,13.6752222 L27.6416352,14.8207778 C28.2788994,14.7574444 28.9249686,14.723 29.5787421,14.723 C30.2325157,14.723 30.8785849,14.7574444 31.5169497,14.8207778 L31.5169497,13.7041111 L45.4619182,12.4718889 L46.8454088,10.5496667 Z"/>
|
1129
|
+
</g>
|
1130
|
+
</g>
|
1131
|
+
</svg>
|
1068
1132
|
</xsl:variable>
|
1069
1133
|
|
1070
|
-
<xsl:variable name="Image-Text-IHO">
|
1071
|
-
<xsl:text>iVBORw0KGgoAAAANSUhEUgAAAN8AA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fu382o6aRLKn1cCYo9OiANwxAe+PDbV4o0qulpKmmrKGDrAcxDo1j+v7Ai1ppbA/wM6aRlR7jxGJdIYB1BbeQkumxo6QqDfbKOiz143yp3HULz2/PdnL4UQFKYERGLSVZgVJmWJkQQIOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWP1f5V8zYCHJlYcAAAAAElFTkSuQmCC</xsl:text>
|
1134
|
+
<xsl:variable name="Image-Text-IHO-SVG">
|
1135
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px" viewBox="0 0 100 100" version="1.1">
|
1136
|
+
<polygon fill="#F5EED6" points="0 100 100 100 100 0 0 0"/>
|
1137
|
+
<polygon fill="#2F4565" points="16 41 17 41 17 33 16 33"/>
|
1138
|
+
<g>
|
1139
|
+
<path d="M18.9185915,35.2588028 L19.6073239,35.2588028 L19.6073239,36.231338 L19.6284507,36.231338 C19.8805634,35.5538732 20.6340845,35.0947183 21.4312676,35.0947183 C23.0164789,35.0947183 23.4967606,35.9257042 23.4967606,37.2693662 L23.4967606,40.896831 L22.8080282,40.896831 L22.8080282,37.3785211 C22.8080282,36.4059859 22.491831,35.6735915 21.3770423,35.6735915 C20.2840845,35.6735915 19.6284507,36.5038732 19.6073239,37.6080986 L19.6073239,40.896831 L18.9185915,40.896831 L18.9185915,35.2588028 Z" fill="#2F4565"/>
|
1140
|
+
<path d="M26.4402113,35.2588028 L27.5873944,35.2588028 L27.5873944,35.8383803 L26.4402113,35.8383803 L26.4402113,39.6397887 C26.4402113,40.0890845 26.5057042,40.3503521 26.9972535,40.3841549 C27.1944366,40.3841549 27.3902113,40.3728873 27.5873944,40.3503521 L27.5873944,40.940493 C27.3789437,40.940493 27.183169,40.9623239 26.9754225,40.9623239 C26.0585211,40.9623239 25.7409155,40.6566901 25.7514789,39.6954225 L25.7514789,35.8383803 L24.7683803,35.8383803 L24.7683803,35.2588028 L25.7514789,35.2588028 L25.7514789,33.5651408 L26.4402113,33.5651408 L26.4402113,35.2588028 Z" fill="#2F4565"/>
|
1141
|
+
<path d="M33.1842958,37.6847183 C33.1519014,36.6466901 32.506831,35.6741549 31.3927465,35.6741549 C30.2673944,35.6741549 29.6441549,36.6579577 29.535,37.6847183 L33.1842958,37.6847183 Z M29.535,38.2628873 C29.5455634,39.2685211 30.0702113,40.4819014 31.3927465,40.4819014 C32.3976761,40.4819014 32.9448592,39.8917606 33.1624648,39.0396479 L33.8511972,39.0396479 C33.5561268,40.3178169 32.813169,41.0600704 31.3927465,41.0600704 C29.600493,41.0600704 28.8469718,39.6847183 28.8469718,38.0783803 C28.8469718,36.5917606 29.600493,35.0945775 31.3927465,35.0945775 C33.2061268,35.0945775 33.9272535,36.6790845 33.8730282,38.2628873 L29.535,38.2628873 Z" fill="#2F4565"/>
|
1142
|
+
<path d="M35.3523239,35.2588028 L35.9847183,35.2588028 L35.9847183,36.581338 L36.0072535,36.581338 C36.3565493,35.6735915 37.1227465,35.1390845 38.1389437,35.1827465 L38.1389437,35.8707746 C36.8924648,35.8045775 36.0410563,36.7228873 36.0410563,37.8919014 L36.0410563,40.896831 L35.3523239,40.896831 L35.3523239,35.2588028 Z" fill="#2F4565"/>
|
1143
|
+
<path d="M39.5288732,35.2588028 L40.2176056,35.2588028 L40.2176056,36.231338 L40.2387324,36.231338 C40.4894366,35.5538732 41.243662,35.0947183 42.0415493,35.0947183 C43.6253521,35.0947183 44.1070423,35.9257042 44.1070423,37.2693662 L44.1070423,40.896831 L43.4183099,40.896831 L43.4183099,37.3785211 C43.4183099,36.4059859 43.1021127,35.6735915 41.9873239,35.6735915 C40.893662,35.6735915 40.2387324,36.5038732 40.2176056,37.6080986 L40.2176056,40.896831 L39.5288732,40.896831 L39.5288732,35.2588028 Z" fill="#2F4565"/>
|
1144
|
+
<path d="M49.5626761,37.8154225 L49.5408451,37.8154225 C49.4535211,37.979507 49.1478873,38.0344366 48.9619718,38.066831 C47.7922535,38.2752817 46.3394366,38.2633099 46.3394366,39.3675352 C46.3394366,40.0562676 46.9514085,40.4823239 47.5964789,40.4823239 C48.6450704,40.4823239 49.5732394,39.8154225 49.5626761,38.7119014 L49.5626761,37.8154225 Z M45.8915493,36.9851408 C45.9570423,35.6626056 46.8859155,35.0942958 48.1746479,35.0942958 C49.1690141,35.0942958 50.2514085,35.4006338 50.2514085,36.9090845 L50.2514085,39.9027465 C50.2514085,40.1647183 50.3830986,40.3175352 50.656338,40.3175352 C50.7323944,40.3175352 50.8197183,40.2957042 50.8739437,40.2738732 L50.8739437,40.8534507 C50.721831,40.8865493 50.6119718,40.8971127 50.4267606,40.8971127 C49.7267606,40.8971127 49.6183099,40.5041549 49.6183099,39.9133099 L49.5964789,39.9133099 C49.1147887,40.6457042 48.6239437,41.060493 47.5415493,41.060493 C46.5035211,41.060493 45.6507042,40.5471127 45.6507042,39.4111972 C45.6507042,37.8266901 47.1922535,37.7717606 48.678169,37.5971127 C49.2464789,37.5309155 49.5626761,37.4548592 49.5626761,36.8316197 C49.5626761,35.9034507 48.8971831,35.6738732 48.0873239,35.6738732 C47.2359155,35.6738732 46.6014085,36.066831 46.5802817,36.9851408 L45.8915493,36.9851408 Z" fill="#2F4565"/>
|
1145
|
+
<path d="M53.2709155,35.2588028 L54.4188028,35.2588028 L54.4188028,35.8383803 L53.2709155,35.8383803 L53.2709155,39.6397887 C53.2709155,40.0890845 53.3364085,40.3503521 53.828662,40.3841549 C54.0244366,40.3841549 54.2216197,40.3728873 54.4188028,40.3503521 L54.4188028,40.940493 C54.2110563,40.940493 54.0138732,40.9623239 53.806831,40.9623239 C52.8885211,40.9623239 52.5716197,40.6566901 52.5821831,39.6954225 L52.5821831,35.8383803 L51.5983803,35.8383803 L51.5983803,35.2588028 L52.5821831,35.2588028 L52.5821831,33.5651408 L53.2709155,33.5651408 L53.2709155,35.2588028 Z" fill="#2F4565"/>
|
1146
|
+
<g/>
|
1147
|
+
<path d="M55.9725352,40.8971831 L56.6612676,40.8971831 L56.6612676,35.2591549 L55.9725352,35.2591549 L55.9725352,40.8971831 Z M55.9725352,34.1985915 L56.6612676,34.1985915 L56.6612676,33.0950704 L55.9725352,33.0950704 L55.9725352,34.1985915 Z" fill="#2F4565"/>
|
1148
|
+
<path d="M58.9352817,38.0780986 C58.9352817,39.279507 59.5909155,40.4823239 60.9127465,40.4823239 C62.2352817,40.4823239 62.8909155,39.279507 62.8909155,38.0780986 C62.8909155,36.8759859 62.2352817,35.6738732 60.9127465,35.6738732 C59.5909155,35.6738732 58.9352817,36.8759859 58.9352817,38.0780986 M63.5789437,38.0780986 C63.5789437,39.6957042 62.6388028,41.060493 60.9127465,41.060493 C59.1859859,41.060493 58.2465493,39.6957042 58.2465493,38.0780986 C58.2465493,36.460493 59.1859859,35.0942958 60.9127465,35.0942958 C62.6388028,35.0942958 63.5789437,36.460493 63.5789437,38.0780986" fill="#2F4565"/>
|
1149
|
+
<path d="M65.1457746,35.2588028 L65.834507,35.2588028 L65.834507,36.231338 L65.8556338,36.231338 C66.1077465,35.5538732 66.8612676,35.0947183 67.6584507,35.0947183 C69.243662,35.0947183 69.7239437,35.9257042 69.7239437,37.2693662 L69.7239437,40.896831 L69.0352113,40.896831 L69.0352113,37.3785211 C69.0352113,36.4059859 68.7190141,35.6735915 67.6042254,35.6735915 C66.5112676,35.6735915 65.8556338,36.5038732 65.834507,37.6080986 L65.834507,40.896831 L65.1457746,40.896831 L65.1457746,35.2588028 Z" fill="#2F4565"/>
|
1150
|
+
<path d="M75.1806338,37.8154225 L75.1588028,37.8154225 C75.0714789,37.979507 74.7658451,38.0344366 74.5799296,38.066831 C73.4102113,38.2752817 71.9573944,38.2633099 71.9573944,39.3675352 C71.9573944,40.0562676 72.5693662,40.4823239 73.2144366,40.4823239 C74.2637324,40.4823239 75.1919014,39.8154225 75.1806338,38.7119014 L75.1806338,37.8154225 Z M71.509507,36.9851408 C71.575,35.6626056 72.5038732,35.0942958 73.7926056,35.0942958 C74.7869718,35.0942958 75.8693662,35.4006338 75.8693662,36.9090845 L75.8693662,39.9027465 C75.8693662,40.1647183 76.0010563,40.3175352 76.2742958,40.3175352 C76.3503521,40.3175352 76.4376761,40.2957042 76.4919014,40.2738732 L76.4919014,40.8534507 C76.3397887,40.8865493 76.2299296,40.8971127 76.0447183,40.8971127 C75.3447183,40.8971127 75.2362676,40.5041549 75.2362676,39.9133099 L75.2144366,39.9133099 C74.7327465,40.6457042 74.2419014,41.060493 73.159507,41.060493 C72.1214789,41.060493 71.268662,40.5471127 71.268662,39.4111972 C71.268662,37.8266901 72.8102113,37.7717606 74.2961268,37.5971127 C74.8644366,37.5309155 75.1806338,37.4548592 75.1806338,36.8316197 C75.1806338,35.9034507 74.5151408,35.6738732 73.7059859,35.6738732 C72.8538732,35.6738732 72.2193662,36.066831 72.1982394,36.9851408 L71.509507,36.9851408 Z" fill="#2F4565"/>
|
1151
|
+
<polygon fill="#2F4565" points="77.8070423 40.8971831 78.4957746 40.8971831 78.4957746 33.0950704 77.8070423 33.0950704"/>
|
1152
|
+
<polygon fill="#2F4565" points="16.0861972 47.4462676 16.8305634 47.4462676 16.8305634 50.8328873 21.4629577 50.8328873 21.4629577 47.4462676 22.2059155 47.4462676 22.2059155 55.2483803 21.4629577 55.2483803 21.4629577 51.4666901 16.8305634 51.4666901 16.8305634 55.2483803 16.0861972 55.2483803"/>
|
1153
|
+
<path d="M23.565493,49.6094366 L24.2978873,49.6094366 L26.156338,54.4178873 L27.893662,49.6094366 L28.5823944,49.6094366 L26.1338028,56.1108451 C25.7408451,57.0615493 25.5112676,57.335493 24.6471831,57.335493 C24.3746479,57.3242254 24.2323944,57.3242254 24.1232394,57.2805634 L24.1232394,56.7009859 C24.2866197,56.7340845 24.4401408,56.7552113 24.5929577,56.7552113 C25.2049296,56.7552113 25.3464789,56.3953521 25.5760563,55.8714085 L25.8169014,55.226338 L23.565493,49.6094366 Z" fill="#2F4565"/>
|
1154
|
+
<path d="M32.1028873,54.8330282 C33.5669718,54.8330282 34.0810563,53.5978169 34.0810563,52.4288028 C34.0810563,51.2597887 33.5669718,50.0245775 32.1028873,50.0245775 C30.7909155,50.0245775 30.2564085,51.2597887 30.2564085,52.4288028 C30.2564085,53.5978169 30.7909155,54.8330282 32.1028873,54.8330282 Z M34.7697887,55.2478169 L34.1352817,55.2478169 L34.1352817,54.1773944 L34.1134507,54.1773944 C33.8183803,54.9090845 32.9233099,55.4111972 32.1028873,55.4111972 C30.3866901,55.4111972 29.5676761,54.0245775 29.5676761,52.4288028 C29.5676761,50.8330282 30.3866901,49.445 32.1028873,49.445 C32.9444366,49.445 33.7641549,49.8724648 34.0592254,50.6809155 L34.0810563,50.6809155 L34.0810563,47.4464085 L34.7697887,47.4464085 L34.7697887,55.2478169 Z" fill="#2F4565"/>
|
1155
|
+
<path d="M36.6311972,49.6094366 L37.2635915,49.6094366 L37.2635915,50.9319718 L37.2861268,50.9319718 C37.6354225,50.0242254 38.4016197,49.4897183 39.4178169,49.5333803 L39.4178169,50.2221127 C38.171338,50.1552113 37.3199296,51.0735211 37.3199296,52.2425352 L37.3199296,55.248169 L36.6311972,55.248169 L36.6311972,49.6094366 Z" fill="#2F4565"/>
|
1156
|
+
<path d="M40.8293662,52.4288028 C40.8293662,53.6302113 41.485,54.8330282 42.806831,54.8330282 C44.1293662,54.8330282 44.785,53.6302113 44.785,52.4288028 C44.785,51.2273944 44.1293662,50.0245775 42.806831,50.0245775 C41.485,50.0245775 40.8293662,51.2273944 40.8293662,52.4288028 M45.4730282,52.4288028 C45.4730282,54.0464085 44.5328873,55.4111972 42.806831,55.4111972 C41.0800704,55.4111972 40.1406338,54.0464085 40.1406338,52.4288028 C40.1406338,50.8111972 41.0800704,49.445 42.806831,49.445 C44.5328873,49.445 45.4730282,50.8111972 45.4730282,52.4288028" fill="#2F4565"/>
|
1157
|
+
<path d="M51.1269014,52.3634507 C51.1269014,51.2599296 50.6128169,50.0247183 49.3128169,50.0247183 C48.0015493,50.0247183 47.4550704,51.1937324 47.4550704,52.3634507 C47.4550704,53.4993662 48.0452113,54.6028873 49.3128169,54.6028873 C50.503662,54.6028873 51.1269014,53.5106338 51.1269014,52.3634507 Z M51.8156338,54.789507 C51.8043662,56.4711972 51.1592958,57.498662 49.3128169,57.498662 C48.1867606,57.498662 47.0726761,56.9965493 46.9747887,55.7951408 L47.6628169,55.7951408 C47.8149296,56.6247183 48.5473239,56.920493 49.3128169,56.920493 C50.5804225,56.920493 51.1269014,56.1662676 51.1269014,54.789507 L51.1269014,54.0247183 L51.1050704,54.0247183 C50.788169,54.7120423 50.1212676,55.1824648 49.3128169,55.1824648 C47.5092958,55.1824648 46.766338,53.8930282 46.766338,52.2873944 C46.766338,50.7345775 47.6846479,49.4451408 49.3128169,49.4451408 C50.1325352,49.4451408 50.831831,49.9592254 51.1050704,50.5824648 L51.1269014,50.5824648 L51.1269014,49.6092254 L51.8156338,49.6092254 L51.8156338,54.789507 Z" fill="#2F4565"/>
|
1158
|
+
<path d="M53.6759859,49.6094366 L54.3097887,49.6094366 L54.3097887,50.9319718 L54.3316197,50.9319718 C54.6816197,50.0242254 55.4464085,49.4897183 56.4626056,49.5333803 L56.4626056,50.2221127 C55.2175352,50.1552113 54.3647183,51.0735211 54.3647183,52.2425352 L54.3647183,55.248169 L53.6759859,55.248169 L53.6759859,49.6094366 Z" fill="#2F4565"/>
|
1159
|
+
<path d="M61.2728873,52.1664085 L61.2510563,52.1664085 C61.1644366,52.330493 60.8580986,52.3854225 60.6714789,52.4178169 C59.503169,52.6262676 58.0496479,52.6142958 58.0496479,53.7185211 C58.0496479,54.4072535 58.6609155,54.8333099 59.3059859,54.8333099 C60.3545775,54.8333099 61.2841549,54.1664085 61.2728873,53.0628873 L61.2728873,52.1664085 Z M57.6010563,51.3361268 C57.6672535,50.0135915 58.5954225,49.4452817 59.8855634,49.4452817 C60.8799296,49.4452817 61.9616197,49.7509155 61.9616197,51.2600704 L61.9616197,54.2530282 C61.9616197,54.5157042 62.0926056,54.6685211 62.3658451,54.6685211 C62.4419014,54.6685211 62.5299296,54.6466901 62.5848592,54.6248592 L62.5848592,55.2044366 C62.431338,55.236831 62.3221831,55.2480986 62.1362676,55.2480986 C61.4362676,55.2480986 61.3278169,54.8544366 61.3278169,54.2642958 L61.3059859,54.2642958 C60.825,54.9966901 60.3334507,55.4114789 59.2510563,55.4114789 C58.2130282,55.4114789 57.3609155,54.8980986 57.3609155,53.7621831 C57.3609155,52.1769718 58.9017606,52.1227465 60.3876761,51.9480986 C60.9559859,51.8819014 61.2728873,51.8058451 61.2728873,51.1826056 C61.2728873,50.2544366 60.6066901,50.0241549 59.7982394,50.0241549 C58.9454225,50.0241549 58.3109155,50.4178169 58.2890845,51.3361268 L57.6010563,51.3361268 Z" fill="#2F4565"/>
|
1160
|
+
<path d="M66.5542254,50.024507 C65.0359155,50.024507 64.5767606,51.1498592 64.5767606,52.4287324 C64.5767606,53.5977465 65.0901408,54.8329577 66.5542254,54.8329577 C67.865493,54.8329577 68.4021127,53.5977465 68.4021127,52.4287324 C68.4021127,51.2597183 67.865493,50.024507 66.5542254,50.024507 Z M63.8887324,49.6097183 L64.5211268,49.6097183 L64.5211268,50.6808451 L64.543662,50.6808451 C64.8605634,49.9160563 65.6478873,49.4449296 66.5542254,49.4449296 C68.2697183,49.4449296 69.0894366,50.8329577 69.0894366,52.4287324 C69.0894366,54.024507 68.2697183,55.4111268 66.5542254,55.4111268 C65.7133803,55.4111268 64.8929577,54.9850704 64.5985915,54.1773239 L64.5767606,54.1773239 L64.5767606,57.3350704 L63.8887324,57.3350704 L63.8887324,49.6097183 Z" fill="#2F4565"/>
|
1161
|
+
<path d="M70.6990845,47.4462676 L71.3878169,47.4462676 L71.3878169,50.5821831 L71.4089437,50.5821831 C71.6610563,49.9047183 72.4152817,49.4448592 73.2117606,49.4448592 C74.7969718,49.4448592 75.2772535,50.2765493 75.2772535,51.6209155 L75.2772535,55.2483803 L74.5892254,55.2483803 L74.5892254,51.7293662 C74.5892254,50.756831 74.2723239,50.0244366 73.1575352,50.0244366 C72.0652817,50.0244366 71.4089437,50.8547183 71.3878169,51.9596479 L71.3878169,55.2483803 L70.6990845,55.2483803 L70.6990845,47.4462676 Z" fill="#2F4565"/>
|
1162
|
+
<path d="M77.1394366,55.2478873 L77.828169,55.2478873 L77.828169,49.6091549 L77.1394366,49.6091549 L77.1394366,55.2478873 Z M77.1394366,48.55 L77.828169,48.55 L77.828169,47.4464789 L77.1394366,47.4464789 L77.1394366,48.55 Z" fill="#2F4565"/>
|
1163
|
+
<path d="M83.6753521,51.3796479 C83.4901408,50.5388028 82.9760563,50.0247183 82.0802817,50.0247183 C80.7577465,50.0247183 80.1021127,51.2275352 80.1021127,52.4289437 C80.1021127,53.6303521 80.7577465,54.833169 82.0802817,54.833169 C82.9323944,54.833169 83.6316901,54.1662676 83.7197183,53.2261268 L84.4084507,53.2261268 C84.221831,54.5810563 83.3380282,55.411338 82.0802817,55.411338 C80.3542254,55.411338 79.4140845,54.0465493 79.4140845,52.4289437 C79.4140845,50.811338 80.3542254,49.4451408 82.0802817,49.4451408 C83.2816901,49.4451408 84.2112676,50.0902113 84.3640845,51.3796479 L83.6753521,51.3796479 Z" fill="#2F4565"/>
|
1164
|
+
<path d="M19.3542254,69.1293662 C21.4084507,69.1293662 22.2823944,67.4026056 22.2823944,65.6976761 C22.2823944,63.9934507 21.4084507,62.2666901 19.3542254,62.2666901 C17.2887324,62.2666901 16.4140845,63.9934507 16.4140845,65.6976761 C16.4140845,67.4026056 17.2887324,69.1293662 19.3542254,69.1293662 M19.3542254,61.6321831 C21.8021127,61.6321831 23.0253521,63.5673944 23.0253521,65.6976761 C23.0253521,67.828662 21.8021127,69.7624648 19.3542254,69.7624648 C16.8957746,69.7624648 15.6711268,67.828662 15.6711268,65.6976761 C15.6711268,63.5673944 16.8957746,61.6321831 19.3542254,61.6321831" fill="#2F4565"/>
|
1165
|
+
<path d="M24.6046479,63.960493 L25.2377465,63.960493 L25.2377465,65.2830282 L25.2595775,65.2830282 C25.6088732,64.3752817 26.3750704,63.8407746 27.3912676,63.8844366 L27.3912676,64.573169 C26.145493,64.5062676 25.2933803,65.4245775 25.2933803,66.5935915 L25.2933803,69.5985211 L24.6046479,69.5985211 L24.6046479,63.960493 Z" fill="#2F4565"/>
|
1166
|
+
<path d="M32.6702113,66.7144366 C32.6702113,65.6109155 32.156831,64.3757042 30.8561268,64.3757042 C29.5448592,64.3757042 28.9990845,65.5440141 28.9990845,66.7144366 C28.9990845,67.8503521 29.5885211,68.9538732 30.8561268,68.9538732 C32.0469718,68.9538732 32.6702113,67.8616197 32.6702113,66.7144366 Z M33.3589437,69.140493 C33.3476761,70.8221831 32.7026056,71.8496479 30.8561268,71.8496479 C29.7314789,71.8496479 28.6166901,71.3475352 28.5180986,70.1461268 L29.2061268,70.1461268 C29.3596479,70.9757042 30.0920423,71.2707746 30.8561268,71.2707746 C32.1244366,71.2707746 32.6702113,70.5172535 32.6702113,69.140493 L32.6702113,68.3757042 L32.6483803,68.3757042 C32.3314789,69.0630282 31.6645775,69.5334507 30.8561268,69.5334507 C29.0533099,69.5334507 28.3110563,68.2440141 28.3110563,66.6383803 C28.3110563,65.0855634 29.2279577,63.7961268 30.8561268,63.7961268 C31.6758451,63.7961268 32.3751408,64.3102113 32.6483803,64.9334507 L32.6702113,64.9334507 L32.6702113,63.9602113 L33.3589437,63.9602113 L33.3589437,69.140493 Z" fill="#2F4565"/>
|
1167
|
+
<path d="M38.8259859,66.5170423 L38.8041549,66.5170423 C38.716831,66.681831 38.4111972,66.7360563 38.2259859,66.7684507 C37.0555634,66.9769014 35.6027465,66.9649296 35.6027465,68.0698592 C35.6027465,68.7578873 36.2147183,69.1839437 36.8597887,69.1839437 C37.9090845,69.1839437 38.8372535,68.5170423 38.8259859,67.4135211 L38.8259859,66.5170423 Z M35.1548592,65.6867606 C35.2203521,64.3642254 36.1499296,63.7959155 37.4379577,63.7959155 C38.4330282,63.7959155 39.5147183,64.1022535 39.5147183,65.6107042 L39.5147183,68.6043662 C39.5147183,68.8670423 39.6464085,69.0191549 39.9196479,69.0191549 C39.9964085,69.0191549 40.0830282,68.9973239 40.1379577,68.975493 L40.1379577,69.5550704 C39.9851408,69.588169 39.8752817,69.5987324 39.6900704,69.5987324 C38.9907746,69.5987324 38.8816197,69.2057746 38.8816197,68.6149296 L38.8597887,68.6149296 C38.3780986,69.3473239 37.8872535,69.7621127 36.8055634,69.7621127 C35.7675352,69.7621127 34.9140141,69.2494366 34.9140141,68.1128169 C34.9140141,66.5283099 36.4555634,66.4733803 37.9414789,66.2994366 C38.510493,66.2325352 38.8259859,66.1564789 38.8259859,65.5339437 C38.8259859,64.6057746 38.160493,64.375493 37.351338,64.375493 C36.4992254,64.375493 35.8654225,64.7691549 35.8435915,65.6867606 L35.1548592,65.6867606 Z" fill="#2F4565"/>
|
1168
|
+
<path d="M41.4307746,63.960493 L42.119507,63.960493 L42.119507,64.9330282 L42.1406338,64.9330282 C42.3927465,64.2555634 43.1462676,63.7964085 43.9434507,63.7964085 C45.528662,63.7964085 46.0089437,64.6273944 46.0089437,65.9710563 L46.0089437,69.5985211 L45.3209155,69.5985211 L45.3209155,66.0802113 C45.3209155,65.1076761 45.0040141,64.3752817 43.8892254,64.3752817 C42.7969718,64.3752817 42.1406338,65.2055634 42.119507,66.3097887 L42.119507,69.5985211 L41.4307746,69.5985211 L41.4307746,63.960493 Z" fill="#2F4565"/>
|
1169
|
+
<path d="M47.8711268,69.5985915 L48.5598592,69.5985915 L48.5598592,63.9605634 L47.8711268,63.9605634 L47.8711268,69.5985915 Z M47.8711268,62.9007042 L48.5598592,62.9007042 L48.5598592,61.7971831 L47.8711268,61.7971831 L47.8711268,62.9007042 Z" fill="#2F4565"/>
|
1170
|
+
<polygon fill="#2F4565" points="50.7685915 69.0193662 54.6474648 69.0193662 54.6474648 69.5989437 49.9376056 69.5989437 49.9376056 69.0411972 53.6207042 64.5397887 50.1890141 64.5397887 50.1890141 63.9602113 54.4939437 63.9602113 54.4939437 64.4517606"/>
|
1171
|
+
<path d="M59.6443662,66.5170423 L59.6225352,66.5170423 C59.5359155,66.681831 59.2295775,66.7360563 59.0429577,66.7684507 C57.8739437,66.9769014 56.4211268,66.9649296 56.4211268,68.0698592 C56.4211268,68.7578873 57.0323944,69.1839437 57.6774648,69.1839437 C58.7260563,69.1839437 59.6556338,68.5170423 59.6443662,67.4135211 L59.6443662,66.5170423 Z M55.9725352,65.6867606 C56.0387324,64.3642254 56.9669014,63.7959155 58.256338,63.7959155 C59.2514085,63.7959155 60.3330986,64.1022535 60.3330986,65.6107042 L60.3330986,68.6043662 C60.3330986,68.8670423 60.4640845,69.0191549 60.7373239,69.0191549 C60.8133803,69.0191549 60.9014085,68.9973239 60.956338,68.975493 L60.956338,69.5550704 C60.8028169,69.588169 60.693662,69.5987324 60.5070423,69.5987324 C59.8077465,69.5987324 59.6992958,69.2057746 59.6992958,68.6149296 L59.6767606,68.6149296 C59.1964789,69.3473239 58.7042254,69.7621127 57.6225352,69.7621127 C56.584507,69.7621127 55.7323944,69.2494366 55.7323944,68.1128169 C55.7323944,66.5283099 57.2732394,66.4733803 58.7591549,66.2994366 C59.3274648,66.2325352 59.6443662,66.1564789 59.6443662,65.5339437 C59.6443662,64.6057746 58.978169,64.375493 58.1697183,64.375493 C57.3161972,64.375493 56.6823944,64.7691549 56.6605634,65.6867606 L55.9725352,65.6867606 Z" fill="#2F4565"/>
|
1172
|
+
<path d="M63.3525352,63.960493 L64.4997183,63.960493 L64.4997183,64.5400704 L63.3525352,64.5400704 L63.3525352,68.3421831 C63.3525352,68.7907746 63.4180282,69.0520423 63.9095775,69.0858451 C64.1060563,69.0858451 64.3025352,69.0752817 64.4997183,69.0520423 L64.4997183,69.6421831 C64.2912676,69.6421831 64.095493,69.6647183 63.8877465,69.6647183 C62.9701408,69.6647183 62.6532394,69.3583803 62.6638028,68.3971127 L62.6638028,64.5400704 L61.68,64.5400704 L61.68,63.960493 L62.6638028,63.960493 L62.6638028,62.266831 L63.3525352,62.266831 L63.3525352,63.960493 Z" fill="#2F4565"/>
|
1173
|
+
<path d="M66.0535211,69.5985915 L66.7422535,69.5985915 L66.7422535,63.9605634 L66.0535211,63.9605634 L66.0535211,69.5985915 Z M66.0535211,62.9007042 L66.7422535,62.9007042 L66.7422535,61.7971831 L66.0535211,61.7971831 L66.0535211,62.9007042 Z" fill="#2F4565"/>
|
1174
|
+
<path d="M69.0159155,66.7797887 C69.0159155,67.9811972 69.6722535,69.1840141 70.9940845,69.1840141 C72.3166197,69.1840141 72.9729577,67.9811972 72.9729577,66.7797887 C72.9729577,65.5783803 72.3166197,64.3755634 70.9940845,64.3755634 C69.6722535,64.3755634 69.0159155,65.5783803 69.0159155,66.7797887 M73.6609859,66.7797887 C73.6609859,68.3973944 72.7208451,69.7621831 70.9940845,69.7621831 C69.2673239,69.7621831 68.3271831,68.3973944 68.3271831,66.7797887 C68.3271831,65.1621831 69.2673239,63.7959859 70.9940845,63.7959859 C72.7208451,63.7959859 73.6609859,65.1621831 73.6609859,66.7797887" fill="#2F4565"/>
|
1175
|
+
<path d="M75.2273944,63.960493 L75.9161268,63.960493 L75.9161268,64.9330282 L75.9379577,64.9330282 C76.1879577,64.2555634 76.9421831,63.7964085 77.7407746,63.7964085 C79.3245775,63.7964085 79.8055634,64.6273944 79.8055634,65.9710563 L79.8055634,69.5985211 L79.1175352,69.5985211 L79.1175352,66.0802113 C79.1175352,65.1076761 78.8006338,64.3752817 77.6858451,64.3752817 C76.5921831,64.3752817 75.9379577,65.2055634 75.9161268,66.3097887 L75.9161268,69.5985211 L75.2273944,69.5985211 L75.2273944,63.960493 Z" fill="#2F4565"/>
|
1176
|
+
</g>
|
1177
|
+
</svg>
|
1072
1178
|
</xsl:variable>
|
1073
1179
|
|
1074
|
-
|
1180
|
+
<!-- https://www.metanorma.org/ns/standoc -->
|
1181
|
+
<xsl:variable name="namespace_full" select="namespace-uri(//*[local-name() = 'metanorma'][1])"/>
|
1075
1182
|
|
1076
|
-
|
1077
|
-
|
1078
|
-
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[local-name() = 'metanorma'][1])"/></xsl:when>
|
1079
|
-
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/standoc -->
|
1080
|
-
</xsl:choose>
|
1081
|
-
</xsl:variable>
|
1082
|
-
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
1183
|
+
<!-- https://www.metanorma.org/ns/xsl -->
|
1184
|
+
<xsl:variable name="namespace_mn_xsl">https://www.metanorma.org/ns/xslt</xsl:variable>
|
1083
1185
|
|
1084
|
-
<xsl:variable name="
|
1085
|
-
<xsl:choose>
|
1086
|
-
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[local-name() = 'metanorma'][1])"/></xsl:when>
|
1087
|
-
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: metanorma (former iso-standard) -->
|
1088
|
-
</xsl:choose>
|
1089
|
-
</xsl:variable>
|
1090
|
-
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
1186
|
+
<xsl:variable name="root_element">metanorma</xsl:variable>
|
1091
1187
|
|
1188
|
+
<!---examples: 2013, 2024 -->
|
1092
1189
|
<xsl:variable name="document_scheme" select="normalize-space(//*[local-name() = 'metanorma']/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
1093
1190
|
|
1094
1191
|
<!-- external parameters -->
|
1095
|
-
|
1096
1192
|
<xsl:param name="svg_images"/> <!-- svg images array -->
|
1097
1193
|
<xsl:variable name="images" select="document($svg_images)"/>
|
1098
1194
|
<xsl:param name="basepath"/> <!-- base path for images -->
|
1099
1195
|
<xsl:param name="inputxml_basepath"/> <!-- input xml file path -->
|
1100
1196
|
<xsl:param name="inputxml_filename"/> <!-- input xml file name -->
|
1101
1197
|
<xsl:param name="output_path"/> <!-- output PDF file name -->
|
1198
|
+
<xsl:param name="outputpdf_basepath"/> <!-- output PDF folder -->
|
1102
1199
|
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
1103
1200
|
<xsl:param name="syntax-highlight">false</xsl:param> <!-- syntax highlighting feature, default - off -->
|
1104
1201
|
<xsl:param name="add_math_as_text">true</xsl:param> <!-- add math in text behind svg formula, to copy-paste formula from PDF as text -->
|
@@ -1145,20 +1242,13 @@
|
|
1145
1242
|
|
1146
1243
|
<xsl:param name="table_if_debug">false</xsl:param> <!-- set 'true' to put debug width data before table or dl -->
|
1147
1244
|
|
1148
|
-
|
1149
|
-
|
1245
|
+
<!-- don't remove and rename this variable, it's using in mn2pdf tool -->
|
1246
|
+
<xsl:variable name="isApplyAutolayoutAlgorithm_">true
|
1150
1247
|
</xsl:variable>
|
1151
1248
|
<xsl:variable name="isApplyAutolayoutAlgorithm" select="normalize-space($isApplyAutolayoutAlgorithm_)"/>
|
1152
1249
|
|
1153
|
-
<xsl:variable name="
|
1154
|
-
|
1155
|
-
<xsl:when test="$isApplyAutolayoutAlgorithm = 'true'">
|
1156
|
-
<xsl:value-of select="normalize-space($table_if) = 'true'"/>
|
1157
|
-
</xsl:when>
|
1158
|
-
<xsl:otherwise>false</xsl:otherwise>
|
1159
|
-
</xsl:choose>
|
1160
|
-
</xsl:variable>
|
1161
|
-
<xsl:variable name="isGenerateTableIF" select="normalize-space($isGenerateTableIF_)"/>
|
1250
|
+
<xsl:variable name="isGenerateTableIF"><xsl:value-of select="$table_if"/></xsl:variable>
|
1251
|
+
<!-- <xsl:variable name="isGenerateTableIF" select="normalize-space(normalize-space($table_if) = 'true' and 1 = 1)"/> -->
|
1162
1252
|
|
1163
1253
|
<xsl:variable name="lang">
|
1164
1254
|
<xsl:call-template name="getLang"/>
|
@@ -1210,8 +1300,7 @@
|
|
1210
1300
|
<xsl:variable name="pageWidth_">
|
1211
1301
|
<xsl:choose>
|
1212
1302
|
<xsl:when test="$papersize_width != ''"><xsl:value-of select="$papersize_width"/></xsl:when>
|
1213
|
-
<xsl:otherwise>
|
1214
|
-
210
|
1303
|
+
<xsl:otherwise>210
|
1215
1304
|
</xsl:otherwise>
|
1216
1305
|
</xsl:choose>
|
1217
1306
|
</xsl:variable>
|
@@ -1221,8 +1310,7 @@
|
|
1221
1310
|
<xsl:variable name="pageHeight_">
|
1222
1311
|
<xsl:choose>
|
1223
1312
|
<xsl:when test="$papersize_height != ''"><xsl:value-of select="$papersize_height"/></xsl:when>
|
1224
|
-
<xsl:otherwise>
|
1225
|
-
297
|
1313
|
+
<xsl:otherwise>297
|
1226
1314
|
</xsl:otherwise>
|
1227
1315
|
</xsl:choose>
|
1228
1316
|
</xsl:variable>
|
@@ -1231,23 +1319,19 @@
|
|
1231
1319
|
<!-- Page margins in mm (just digits, without 'mm')-->
|
1232
1320
|
<!-- marginLeftRight1 and marginLeftRight2 - is left or right margin depends on odd/even page,
|
1233
1321
|
for example, left margin on odd page and right margin on even page -->
|
1234
|
-
<xsl:variable name="marginLeftRight1_">
|
1235
|
-
24.5
|
1322
|
+
<xsl:variable name="marginLeftRight1_">24.5
|
1236
1323
|
</xsl:variable>
|
1237
1324
|
<xsl:variable name="marginLeftRight1" select="normalize-space($marginLeftRight1_)"/>
|
1238
1325
|
|
1239
|
-
<xsl:variable name="marginLeftRight2_">
|
1240
|
-
25
|
1326
|
+
<xsl:variable name="marginLeftRight2_">25
|
1241
1327
|
</xsl:variable>
|
1242
1328
|
<xsl:variable name="marginLeftRight2" select="normalize-space($marginLeftRight2_)"/>
|
1243
1329
|
|
1244
|
-
<xsl:variable name="marginTop_">
|
1245
|
-
25.4
|
1330
|
+
<xsl:variable name="marginTop_">25.4
|
1246
1331
|
</xsl:variable>
|
1247
1332
|
<xsl:variable name="marginTop" select="normalize-space($marginTop_)"/>
|
1248
1333
|
|
1249
|
-
<xsl:variable name="marginBottom_">
|
1250
|
-
25.4
|
1334
|
+
<xsl:variable name="marginBottom_">25.4
|
1251
1335
|
</xsl:variable>
|
1252
1336
|
<xsl:variable name="marginBottom" select="normalize-space($marginBottom_)"/>
|
1253
1337
|
|
@@ -1296,13 +1380,10 @@
|
|
1296
1380
|
<title-toc lang="zh">目次</title-toc>
|
1297
1381
|
|
1298
1382
|
<title-part lang="en">
|
1299
|
-
|
1300
1383
|
</title-part>
|
1301
1384
|
<title-part lang="fr">
|
1302
|
-
|
1303
1385
|
</title-part>
|
1304
1386
|
<title-part lang="ru">
|
1305
|
-
|
1306
1387
|
</title-part>
|
1307
1388
|
<title-part lang="zh">第 # 部分:</title-part>
|
1308
1389
|
|
@@ -1356,6 +1437,7 @@
|
|
1356
1437
|
<xsl:variable name="hair_space"> </xsl:variable>
|
1357
1438
|
<xsl:variable name="en_dash">–</xsl:variable>
|
1358
1439
|
<xsl:variable name="em_dash">—</xsl:variable>
|
1440
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
1359
1441
|
<xsl:variable name="cr"> </xsl:variable>
|
1360
1442
|
<xsl:variable name="lf">
|
1361
1443
|
</xsl:variable>
|
@@ -1397,11 +1479,9 @@
|
|
1397
1479
|
<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>
|
1398
1480
|
<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>
|
1399
1481
|
<xsl:attribute-set name="root-style">
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1404
|
-
|
1482
|
+
<xsl:attribute name="font-family">Arial, Cambria Math, <xsl:value-of select="$font_noto_sans"/></xsl:attribute>
|
1483
|
+
<xsl:attribute name="font-family-generic">Sans</xsl:attribute>
|
1484
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1405
1485
|
</xsl:attribute-set> <!-- root-style -->
|
1406
1486
|
|
1407
1487
|
<xsl:template name="insertRootStyle">
|
@@ -1489,28 +1569,22 @@
|
|
1489
1569
|
|
1490
1570
|
<!-- Preface sections styles -->
|
1491
1571
|
<xsl:attribute-set name="copyright-statement-style">
|
1492
|
-
|
1493
1572
|
</xsl:attribute-set> <!-- copyright-statement-style -->
|
1494
1573
|
|
1495
1574
|
<xsl:attribute-set name="copyright-statement-title-style">
|
1496
|
-
|
1497
1575
|
</xsl:attribute-set> <!-- copyright-statement-title-style -->
|
1498
1576
|
|
1499
1577
|
<xsl:attribute-set name="copyright-statement-p-style">
|
1500
|
-
|
1501
1578
|
</xsl:attribute-set> <!-- copyright-statement-p-style -->
|
1502
1579
|
|
1503
1580
|
<xsl:attribute-set name="license-statement-style">
|
1504
|
-
|
1505
1581
|
</xsl:attribute-set>
|
1506
1582
|
|
1507
1583
|
<xsl:attribute-set name="license-statement-title-style">
|
1508
1584
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1509
|
-
|
1510
1585
|
</xsl:attribute-set> <!-- license-statement-title-style -->
|
1511
1586
|
|
1512
1587
|
<xsl:attribute-set name="license-statement-p-style">
|
1513
|
-
|
1514
1588
|
</xsl:attribute-set> <!-- license-statement-p-style -->
|
1515
1589
|
|
1516
1590
|
<xsl:attribute-set name="legal-statement-style">
|
@@ -1519,95 +1593,73 @@
|
|
1519
1593
|
|
1520
1594
|
<xsl:attribute-set name="legal-statement-title-style">
|
1521
1595
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1522
|
-
|
1523
1596
|
</xsl:attribute-set> <!-- legal-statement-title-style -->
|
1524
1597
|
|
1525
1598
|
<xsl:attribute-set name="legal-statement-p-style">
|
1526
|
-
|
1527
1599
|
</xsl:attribute-set> <!-- legal-statement-p-style -->
|
1528
1600
|
|
1529
1601
|
<xsl:attribute-set name="feedback-statement-style">
|
1530
|
-
|
1531
1602
|
</xsl:attribute-set> <!-- feedback-statement-style -->
|
1532
1603
|
|
1533
1604
|
<xsl:attribute-set name="feedback-statement-title-style">
|
1534
1605
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1535
|
-
|
1536
1606
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
1537
1607
|
|
1538
1608
|
<xsl:attribute-set name="feedback-statement-p-style">
|
1539
|
-
|
1540
1609
|
</xsl:attribute-set> <!-- feedback-statement-p-style -->
|
1541
1610
|
|
1542
1611
|
<!-- End Preface sections styles -->
|
1543
1612
|
|
1544
1613
|
<xsl:attribute-set name="link-style">
|
1545
|
-
|
1546
|
-
|
1547
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1548
|
-
|
1614
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
1615
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1549
1616
|
</xsl:attribute-set>
|
1550
1617
|
|
1551
1618
|
<xsl:template name="refine_link-style">
|
1552
|
-
|
1553
1619
|
</xsl:template> <!-- refine_link-style -->
|
1554
1620
|
|
1555
1621
|
<xsl:attribute-set name="sourcecode-container-style">
|
1556
|
-
|
1557
1622
|
</xsl:attribute-set>
|
1558
1623
|
|
1559
1624
|
<xsl:attribute-set name="sourcecode-style">
|
1560
1625
|
<xsl:attribute name="white-space">pre</xsl:attribute>
|
1561
1626
|
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
|
1562
1627
|
<xsl:attribute name="role">Code</xsl:attribute>
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1568
|
-
|
1628
|
+
<xsl:attribute name="font-family">Fira Code, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
1629
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1630
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1631
|
+
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1569
1632
|
</xsl:attribute-set>
|
1570
1633
|
|
1571
1634
|
<xsl:template name="refine_sourcecode-style">
|
1572
|
-
|
1573
1635
|
</xsl:template> <!-- refine_sourcecode-style -->
|
1574
1636
|
|
1575
1637
|
<xsl:attribute-set name="pre-style">
|
1576
1638
|
<xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
1577
1639
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1578
|
-
|
1579
|
-
|
1580
|
-
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1581
|
-
|
1640
|
+
<xsl:attribute name="font-family">Fira Code, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
1641
|
+
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1582
1642
|
</xsl:attribute-set>
|
1583
1643
|
|
1584
1644
|
<xsl:attribute-set name="permission-style">
|
1585
|
-
|
1586
1645
|
</xsl:attribute-set>
|
1587
1646
|
|
1588
1647
|
<xsl:attribute-set name="permission-name-style">
|
1589
|
-
|
1590
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1591
|
-
|
1648
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1592
1649
|
</xsl:attribute-set>
|
1593
1650
|
|
1594
1651
|
<xsl:attribute-set name="permission-label-style">
|
1595
|
-
|
1596
1652
|
</xsl:attribute-set>
|
1597
1653
|
|
1598
1654
|
<xsl:attribute-set name="requirement-style">
|
1599
|
-
|
1600
1655
|
</xsl:attribute-set>
|
1601
1656
|
|
1602
1657
|
<xsl:attribute-set name="requirement-name-style">
|
1603
1658
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1604
|
-
|
1605
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1606
|
-
|
1659
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1607
1660
|
</xsl:attribute-set>
|
1608
1661
|
|
1609
1662
|
<xsl:attribute-set name="requirement-label-style">
|
1610
|
-
|
1611
1663
|
</xsl:attribute-set>
|
1612
1664
|
|
1613
1665
|
<xsl:attribute-set name="subject-style">
|
@@ -1635,140 +1687,107 @@
|
|
1635
1687
|
</xsl:attribute-set>
|
1636
1688
|
|
1637
1689
|
<xsl:attribute-set name="recommendation-style">
|
1638
|
-
|
1639
|
-
<xsl:attribute name="border">1pt solid black</xsl:attribute>
|
1640
|
-
|
1690
|
+
<xsl:attribute name="border">1pt solid black</xsl:attribute>
|
1641
1691
|
</xsl:attribute-set>
|
1642
1692
|
|
1643
1693
|
<xsl:attribute-set name="recommendation-name-style">
|
1644
|
-
|
1645
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1646
|
-
|
1694
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1647
1695
|
</xsl:attribute-set>
|
1648
1696
|
|
1649
1697
|
<xsl:attribute-set name="recommendation-label-style">
|
1650
|
-
|
1651
1698
|
</xsl:attribute-set>
|
1652
1699
|
|
1653
1700
|
<xsl:attribute-set name="termexample-style">
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1659
|
-
|
1701
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1702
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
1703
|
+
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
1704
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1660
1705
|
</xsl:attribute-set>
|
1661
1706
|
|
1662
1707
|
<xsl:template name="refine_termexample-style">
|
1663
|
-
|
1664
1708
|
</xsl:template>
|
1665
1709
|
|
1666
1710
|
<xsl:attribute-set name="example-style">
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1672
|
-
|
1711
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
1712
|
+
<xsl:attribute name="margin-top">4pt</xsl:attribute>
|
1713
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1714
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1673
1715
|
</xsl:attribute-set> <!-- example-style -->
|
1674
1716
|
|
1675
1717
|
<xsl:template name="refine_example-style">
|
1676
|
-
|
1677
1718
|
</xsl:template> <!-- refine_example-style -->
|
1678
1719
|
|
1679
1720
|
<xsl:attribute-set name="example-body-style">
|
1680
|
-
|
1681
1721
|
</xsl:attribute-set> <!-- example-body-style -->
|
1682
1722
|
|
1683
1723
|
<xsl:attribute-set name="example-name-style">
|
1684
|
-
|
1685
|
-
<!-- <xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1724
|
+
<!-- <xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1686
1725
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1687
1726
|
<xsl:attribute name="font-weight">bold</xsl:attribute> -->
|
1688
|
-
|
1689
1727
|
</xsl:attribute-set> <!-- example-name-style -->
|
1690
1728
|
|
1691
1729
|
<xsl:template name="refine_example-name-style">
|
1692
|
-
|
1693
1730
|
</xsl:template>
|
1694
1731
|
|
1695
1732
|
<xsl:attribute-set name="example-p-style">
|
1696
|
-
|
1697
|
-
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute>
|
1733
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute>
|
1698
1734
|
<xsl:attribute name="margin-left">12.7mm</xsl:attribute> -->
|
1699
|
-
|
1735
|
+
<xsl:attribute name="space-before">2pt</xsl:attribute>
|
1700
1736
|
|
1701
1737
|
</xsl:attribute-set> <!-- example-p-style -->
|
1702
1738
|
|
1703
1739
|
<xsl:template name="refine_example-p-style">
|
1704
|
-
|
1705
1740
|
</xsl:template> <!-- refine_example-p-style -->
|
1706
1741
|
|
1707
1742
|
<xsl:attribute-set name="termexample-name-style">
|
1708
|
-
|
1709
|
-
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1710
|
-
|
1743
|
+
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1711
1744
|
</xsl:attribute-set> <!-- termexample-name-style -->
|
1712
1745
|
|
1713
1746
|
<xsl:template name="refine_termexample-name-style">
|
1714
|
-
|
1715
1747
|
</xsl:template>
|
1716
1748
|
|
1717
1749
|
<!-- ========================== -->
|
1718
1750
|
<!-- Table styles -->
|
1719
1751
|
<!-- ========================== -->
|
1720
|
-
<xsl:variable name="table-border_">
|
1721
|
-
|
1722
|
-
0.5pt solid black
|
1723
|
-
|
1724
|
-
|
1752
|
+
<xsl:variable name="table-border_">0.5pt solid black
|
1725
1753
|
</xsl:variable>
|
1726
1754
|
<xsl:variable name="table-border" select="normalize-space($table-border_)"/>
|
1727
1755
|
|
1728
1756
|
<xsl:variable name="table-cell-border_">
|
1729
|
-
|
1730
1757
|
</xsl:variable>
|
1731
1758
|
<xsl:variable name="table-cell-border" select="normalize-space($table-cell-border_)"/>
|
1732
1759
|
|
1733
1760
|
<xsl:attribute-set name="table-container-style">
|
1734
1761
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1735
1762
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
1736
|
-
|
1737
|
-
|
1738
|
-
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
1739
|
-
|
1763
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
1764
|
+
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
1740
1765
|
</xsl:attribute-set> <!-- table-container-style -->
|
1741
1766
|
|
1742
1767
|
<xsl:template name="refine_table-container-style">
|
1743
1768
|
<xsl:param name="margin-side"/>
|
1744
|
-
|
1745
1769
|
<!-- end table block-container attributes -->
|
1746
1770
|
</xsl:template> <!-- refine_table-container-style -->
|
1747
1771
|
|
1748
1772
|
<xsl:attribute-set name="table-style">
|
1749
1773
|
<xsl:attribute name="table-omit-footer-at-break">true</xsl:attribute>
|
1750
1774
|
<xsl:attribute name="table-layout">fixed</xsl:attribute>
|
1751
|
-
|
1752
|
-
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1753
|
-
|
1775
|
+
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1754
1776
|
</xsl:attribute-set><!-- table-style -->
|
1755
1777
|
|
1756
1778
|
<xsl:template name="refine_table-style">
|
1757
1779
|
<xsl:param name="margin-side"/>
|
1758
1780
|
|
1759
1781
|
<xsl:call-template name="setBordersTableArray"/>
|
1760
|
-
|
1761
1782
|
</xsl:template> <!-- refine_table-style -->
|
1762
1783
|
|
1763
1784
|
<xsl:attribute-set name="table-name-style">
|
1764
1785
|
<xsl:attribute name="role">Caption</xsl:attribute>
|
1765
1786
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1771
|
-
|
1787
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1788
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1789
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1790
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1772
1791
|
</xsl:attribute-set> <!-- table-name-style -->
|
1773
1792
|
|
1774
1793
|
<xsl:template name="refine_table-name-style">
|
@@ -1776,35 +1795,27 @@
|
|
1776
1795
|
<xsl:if test="$continued = 'true'">
|
1777
1796
|
<xsl:attribute name="role">SKIP</xsl:attribute>
|
1778
1797
|
</xsl:if>
|
1779
|
-
|
1780
1798
|
</xsl:template> <!-- refine_table-name-style -->
|
1781
1799
|
|
1782
1800
|
<xsl:attribute-set name="table-row-style">
|
1783
1801
|
<xsl:attribute name="min-height">4mm</xsl:attribute>
|
1784
|
-
|
1785
|
-
<xsl:attribute name="min-height">3mm</xsl:attribute> <!-- + padding-top + padding-bottom -->
|
1786
|
-
|
1802
|
+
<xsl:attribute name="min-height">3mm</xsl:attribute> <!-- + padding-top + padding-bottom -->
|
1787
1803
|
</xsl:attribute-set>
|
1788
1804
|
|
1789
1805
|
<xsl:attribute-set name="table-header-row-style" use-attribute-sets="table-row-style">
|
1790
1806
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1791
|
-
|
1792
|
-
<xsl:attribute name="background-color">rgb(217, 217, 217)</xsl:attribute>
|
1793
|
-
|
1807
|
+
<xsl:attribute name="background-color">rgb(217, 217, 217)</xsl:attribute>
|
1794
1808
|
</xsl:attribute-set>
|
1795
1809
|
|
1796
1810
|
<xsl:template name="refine_table-header-row-style">
|
1797
1811
|
|
1798
1812
|
<xsl:call-template name="setBordersTableArray"/>
|
1799
|
-
|
1800
1813
|
</xsl:template> <!-- refine_table-header-row-style -->
|
1801
1814
|
|
1802
1815
|
<xsl:attribute-set name="table-footer-row-style" use-attribute-sets="table-row-style">
|
1803
|
-
|
1804
1816
|
</xsl:attribute-set>
|
1805
1817
|
|
1806
1818
|
<xsl:template name="refine_table-footer-row-style">
|
1807
|
-
|
1808
1819
|
</xsl:template> <!-- refine_table-footer-row-style -->
|
1809
1820
|
|
1810
1821
|
<xsl:attribute-set name="table-body-row-style" use-attribute-sets="table-row-style">
|
@@ -1814,7 +1825,6 @@
|
|
1814
1825
|
<xsl:template name="refine_table-body-row-style">
|
1815
1826
|
|
1816
1827
|
<xsl:call-template name="setBordersTableArray"/>
|
1817
|
-
|
1818
1828
|
</xsl:template> <!-- refine_table-body-row-style -->
|
1819
1829
|
|
1820
1830
|
<xsl:attribute-set name="table-header-cell-style">
|
@@ -1822,13 +1832,11 @@
|
|
1822
1832
|
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1823
1833
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1824
1834
|
<xsl:attribute name="display-align">center</xsl:attribute>
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1831
|
-
|
1835
|
+
<xsl:attribute name="padding-top">1.5mm</xsl:attribute>
|
1836
|
+
<xsl:attribute name="padding-left">2mm</xsl:attribute>
|
1837
|
+
<xsl:attribute name="padding-bottom">1.5mm</xsl:attribute>
|
1838
|
+
<xsl:attribute name="padding-right">1.5mm</xsl:attribute>
|
1839
|
+
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1832
1840
|
</xsl:attribute-set> <!-- table-header-cell-style -->
|
1833
1841
|
|
1834
1842
|
<xsl:template name="refine_table-header-cell-style">
|
@@ -1840,20 +1848,17 @@
|
|
1840
1848
|
</xsl:if>
|
1841
1849
|
|
1842
1850
|
<xsl:call-template name="setTableCellAttributes"/>
|
1843
|
-
|
1844
1851
|
</xsl:template> <!-- refine_table-header-cell-style -->
|
1845
1852
|
|
1846
1853
|
<xsl:attribute-set name="table-cell-style">
|
1847
1854
|
<xsl:attribute name="display-align">center</xsl:attribute>
|
1848
1855
|
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1849
1856
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1856
|
-
|
1857
|
+
<xsl:attribute name="padding-top">1.5mm</xsl:attribute>
|
1858
|
+
<xsl:attribute name="padding-left">2mm</xsl:attribute>
|
1859
|
+
<xsl:attribute name="padding-bottom">1.5mm</xsl:attribute>
|
1860
|
+
<xsl:attribute name="padding-right">1.5mm</xsl:attribute>
|
1861
|
+
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1857
1862
|
</xsl:attribute-set> <!-- table-cell-style -->
|
1858
1863
|
|
1859
1864
|
<xsl:template name="refine_table-cell-style">
|
@@ -1862,8 +1867,6 @@
|
|
1862
1867
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1863
1868
|
</xsl:if>
|
1864
1869
|
|
1865
|
-
<!-- bsi -->
|
1866
|
-
|
1867
1870
|
<xsl:call-template name="setBordersTableArray"/>
|
1868
1871
|
|
1869
1872
|
</xsl:template> <!-- refine_table-cell-style -->
|
@@ -1873,62 +1876,48 @@
|
|
1873
1876
|
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1874
1877
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1875
1878
|
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
1876
|
-
|
1877
|
-
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1878
|
-
|
1879
|
+
<xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>
|
1879
1880
|
</xsl:attribute-set> <!-- table-footer-cell-style -->
|
1880
1881
|
|
1881
1882
|
<xsl:template name="refine_table-footer-cell-style">
|
1882
|
-
|
1883
1883
|
</xsl:template> <!-- refine_table-footer-cell-style -->
|
1884
1884
|
|
1885
1885
|
<xsl:attribute-set name="table-note-style">
|
1886
1886
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1887
1887
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
<xsl:attribute name="space-after">6pt</xsl:attribute>
|
1892
|
-
|
1888
|
+
<xsl:attribute name="font-size">inherit</xsl:attribute>
|
1889
|
+
<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
|
1890
|
+
<xsl:attribute name="space-after">6pt</xsl:attribute>
|
1893
1891
|
</xsl:attribute-set><!-- table-note-style -->
|
1894
1892
|
|
1895
1893
|
<xsl:template name="refine_table-note-style">
|
1896
|
-
|
1897
1894
|
</xsl:template> <!-- refine_table-note-style -->
|
1898
1895
|
|
1899
1896
|
<xsl:attribute-set name="table-fn-style">
|
1900
1897
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1901
|
-
|
1902
1898
|
</xsl:attribute-set> <!-- table-fn-style -->
|
1903
1899
|
|
1904
1900
|
<xsl:template name="refine_table-fn-style">
|
1905
|
-
|
1906
1901
|
</xsl:template>
|
1907
1902
|
|
1908
1903
|
<xsl:attribute-set name="table-fn-number-style">
|
1909
1904
|
<!-- <xsl:attribute name="padding-right">5mm</xsl:attribute> -->
|
1910
|
-
|
1911
1905
|
</xsl:attribute-set> <!-- table-fn-number-style -->
|
1912
1906
|
|
1913
1907
|
<xsl:attribute-set name="table-fmt-fn-label-style">
|
1914
1908
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1915
|
-
|
1916
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1917
|
-
|
1909
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1918
1910
|
</xsl:attribute-set> <!-- table-fmt-fn-label-style -->
|
1919
1911
|
|
1920
1912
|
<xsl:template name="refine_table-fmt-fn-label-style">
|
1921
|
-
|
1922
1913
|
</xsl:template>
|
1923
1914
|
|
1924
1915
|
<xsl:attribute-set name="fn-container-body-style">
|
1925
1916
|
<xsl:attribute name="text-indent">0</xsl:attribute>
|
1926
1917
|
<xsl:attribute name="start-indent">0</xsl:attribute>
|
1927
|
-
|
1928
1918
|
</xsl:attribute-set>
|
1929
1919
|
|
1930
1920
|
<xsl:attribute-set name="table-fn-body-style">
|
1931
|
-
|
1932
1921
|
</xsl:attribute-set>
|
1933
1922
|
|
1934
1923
|
<xsl:attribute-set name="figure-fn-number-style">
|
@@ -1938,17 +1927,14 @@
|
|
1938
1927
|
<xsl:attribute-set name="figure-fmt-fn-label-style">
|
1939
1928
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1940
1929
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1941
|
-
|
1942
1930
|
</xsl:attribute-set> <!-- figure-fmt-fn-label-style -->
|
1943
1931
|
|
1944
1932
|
<xsl:template name="refine_figure-fmt-fn-label-style">
|
1945
|
-
|
1946
1933
|
</xsl:template>
|
1947
1934
|
|
1948
1935
|
<xsl:attribute-set name="figure-fn-body-style">
|
1949
1936
|
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1950
1937
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1951
|
-
|
1952
1938
|
</xsl:attribute-set>
|
1953
1939
|
<!-- ========================== -->
|
1954
1940
|
<!-- END Table styles -->
|
@@ -1959,47 +1945,36 @@
|
|
1959
1945
|
<!-- ========================== -->
|
1960
1946
|
|
1961
1947
|
<xsl:attribute-set name="dl-block-style">
|
1962
|
-
|
1963
1948
|
</xsl:attribute-set>
|
1964
1949
|
|
1965
1950
|
<xsl:attribute-set name="dt-row-style">
|
1966
|
-
|
1967
1951
|
</xsl:attribute-set>
|
1968
1952
|
|
1969
1953
|
<xsl:attribute-set name="dt-cell-style">
|
1970
|
-
|
1971
1954
|
</xsl:attribute-set>
|
1972
1955
|
|
1973
1956
|
<xsl:template name="refine_dt-cell-style">
|
1974
|
-
|
1975
1957
|
</xsl:template> <!-- refine_dt-cell-style -->
|
1976
1958
|
|
1977
1959
|
<xsl:attribute-set name="dt-block-style">
|
1978
1960
|
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
1979
|
-
|
1980
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1981
|
-
|
1961
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1982
1962
|
</xsl:attribute-set>
|
1983
1963
|
|
1984
1964
|
<xsl:template name="refine_dt-block-style">
|
1985
|
-
|
1986
1965
|
</xsl:template> <!-- refine_dt-block-style -->
|
1987
1966
|
|
1988
1967
|
<xsl:attribute-set name="dl-name-style">
|
1989
1968
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1990
1969
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1991
|
-
|
1992
|
-
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
1993
|
-
|
1970
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
1994
1971
|
</xsl:attribute-set> <!-- dl-name-style -->
|
1995
1972
|
|
1996
1973
|
<xsl:attribute-set name="dd-cell-style">
|
1997
1974
|
<xsl:attribute name="padding-left">2mm</xsl:attribute>
|
1998
|
-
|
1999
1975
|
</xsl:attribute-set>
|
2000
1976
|
|
2001
1977
|
<xsl:template name="refine_dd-cell-style">
|
2002
|
-
|
2003
1978
|
</xsl:template> <!-- refine_dd-cell-style -->
|
2004
1979
|
|
2005
1980
|
<!-- ========================== -->
|
@@ -2007,244 +1982,184 @@
|
|
2007
1982
|
<!-- ========================== -->
|
2008
1983
|
|
2009
1984
|
<xsl:attribute-set name="appendix-style">
|
2010
|
-
|
2011
1985
|
</xsl:attribute-set>
|
2012
1986
|
|
2013
1987
|
<xsl:attribute-set name="appendix-example-style">
|
2014
|
-
|
2015
1988
|
</xsl:attribute-set>
|
2016
1989
|
|
2017
1990
|
<xsl:attribute-set name="xref-style">
|
2018
|
-
|
2019
|
-
|
2020
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2021
|
-
|
1991
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
1992
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2022
1993
|
</xsl:attribute-set>
|
2023
1994
|
|
2024
1995
|
<xsl:attribute-set name="eref-style">
|
2025
|
-
|
2026
1996
|
</xsl:attribute-set>
|
2027
1997
|
|
2028
1998
|
<xsl:template name="refine_eref-style">
|
2029
1999
|
<xsl:variable name="citeas" select="java:replaceAll(java:java.lang.String.new(@citeas),'^\[?(.+?)\]?$','$1')"/> <!-- remove leading and trailing brackets -->
|
2030
2000
|
<xsl:variable name="text" select="normalize-space()"/>
|
2031
|
-
|
2032
2001
|
</xsl:template> <!-- refine_eref-style -->
|
2033
2002
|
|
2034
2003
|
<xsl:attribute-set name="note-style">
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
2038
|
-
|
2039
|
-
<xsl:attribute name="text-align">justify</xsl:attribute>
|
2040
|
-
|
2004
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2005
|
+
<xsl:attribute name="margin-top">4pt</xsl:attribute>
|
2006
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2007
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
2041
2008
|
</xsl:attribute-set>
|
2042
2009
|
|
2043
2010
|
<xsl:template name="refine_note-style">
|
2044
|
-
|
2045
2011
|
</xsl:template>
|
2046
2012
|
|
2047
2013
|
<xsl:variable name="note-body-indent">10mm</xsl:variable>
|
2048
2014
|
<xsl:variable name="note-body-indent-table">5mm</xsl:variable>
|
2049
2015
|
|
2050
2016
|
<xsl:attribute-set name="note-name-style">
|
2051
|
-
|
2052
|
-
|
2053
|
-
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
2054
|
-
|
2017
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2018
|
+
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
2055
2019
|
</xsl:attribute-set>
|
2056
2020
|
|
2057
2021
|
<xsl:template name="refine_note-name-style">
|
2058
|
-
|
2059
2022
|
</xsl:template> <!-- refine_note-name-style -->
|
2060
2023
|
|
2061
2024
|
<xsl:attribute-set name="table-note-name-style">
|
2062
2025
|
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
2063
|
-
|
2064
|
-
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2065
|
-
|
2026
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2066
2027
|
</xsl:attribute-set>
|
2067
2028
|
|
2068
2029
|
<xsl:template name="refine_table-note-name-style">
|
2069
|
-
|
2070
2030
|
</xsl:template> <!-- refine_table-note-name-style -->
|
2071
2031
|
|
2072
2032
|
<xsl:attribute-set name="note-p-style">
|
2073
|
-
|
2074
|
-
|
2075
|
-
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
2076
|
-
|
2033
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
2034
|
+
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
2077
2035
|
</xsl:attribute-set>
|
2078
2036
|
|
2079
2037
|
<xsl:attribute-set name="termnote-style">
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2084
|
-
<xsl:attribute name="text-align">justify</xsl:attribute>
|
2085
|
-
|
2038
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2039
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
2040
|
+
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
2041
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
2086
2042
|
</xsl:attribute-set>
|
2087
2043
|
|
2088
2044
|
<xsl:template name="refine_termnote-style">
|
2089
|
-
|
2090
2045
|
</xsl:template> <!-- refine_termnote-style -->
|
2091
2046
|
|
2092
2047
|
<xsl:attribute-set name="termnote-name-style">
|
2093
|
-
|
2094
2048
|
</xsl:attribute-set>
|
2095
2049
|
|
2096
2050
|
<xsl:template name="refine_termnote-name-style">
|
2097
|
-
|
2098
|
-
<!-- <xsl:if test="$namespace = 'ieee'">
|
2099
|
-
<xsl:attribute name="padding-right">0mm</xsl:attribute>
|
2100
|
-
</xsl:if> -->
|
2101
|
-
|
2102
2051
|
</xsl:template>
|
2103
2052
|
|
2104
2053
|
<xsl:attribute-set name="termnote-p-style">
|
2105
|
-
|
2106
2054
|
</xsl:attribute-set>
|
2107
2055
|
|
2108
2056
|
<xsl:attribute-set name="quote-style">
|
2109
2057
|
<xsl:attribute name="margin-left">12mm</xsl:attribute>
|
2110
2058
|
<xsl:attribute name="margin-right">12mm</xsl:attribute>
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
<xsl:attribute name="margin-right">9mm</xsl:attribute>
|
2115
|
-
|
2059
|
+
<xsl:attribute name="font-family">Calibri</xsl:attribute>
|
2060
|
+
<xsl:attribute name="margin-left">4.5mm</xsl:attribute>
|
2061
|
+
<xsl:attribute name="margin-right">9mm</xsl:attribute>
|
2116
2062
|
</xsl:attribute-set>
|
2117
2063
|
|
2118
2064
|
<xsl:template name="refine_quote-style">
|
2119
|
-
|
2120
2065
|
</xsl:template>
|
2121
2066
|
|
2122
2067
|
<xsl:attribute-set name="quote-source-style">
|
2123
2068
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
2124
|
-
|
2125
2069
|
</xsl:attribute-set>
|
2126
2070
|
|
2127
2071
|
<xsl:attribute-set name="termsource-style">
|
2128
|
-
|
2129
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2130
|
-
|
2072
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2131
2073
|
</xsl:attribute-set>
|
2132
2074
|
|
2133
2075
|
<xsl:template name="refine_termsource-style">
|
2134
|
-
|
2135
2076
|
</xsl:template> <!-- refine_termsource-style -->
|
2136
2077
|
|
2137
2078
|
<xsl:attribute-set name="termsource-text-style">
|
2138
|
-
|
2139
2079
|
</xsl:attribute-set>
|
2140
2080
|
|
2141
2081
|
<xsl:attribute-set name="origin-style">
|
2142
|
-
|
2143
|
-
|
2144
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2145
|
-
|
2082
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
2083
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2146
2084
|
</xsl:attribute-set>
|
2147
2085
|
|
2148
2086
|
<xsl:attribute-set name="term-style">
|
2149
|
-
|
2150
|
-
<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
|
2151
|
-
|
2087
|
+
<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
|
2152
2088
|
</xsl:attribute-set>
|
2153
2089
|
|
2154
2090
|
<xsl:attribute-set name="term-name-style">
|
2155
2091
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2156
2092
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2157
|
-
|
2158
2093
|
</xsl:attribute-set>
|
2159
2094
|
|
2160
2095
|
<xsl:attribute-set name="figure-block-style">
|
2161
2096
|
<xsl:attribute name="role">SKIP</xsl:attribute>
|
2162
|
-
|
2163
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2164
|
-
|
2097
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2165
2098
|
</xsl:attribute-set>
|
2166
2099
|
|
2167
2100
|
<xsl:template name="refine_figure-block-style">
|
2168
|
-
|
2169
2101
|
</xsl:template>
|
2170
2102
|
|
2171
2103
|
<xsl:attribute-set name="figure-style">
|
2172
|
-
|
2173
2104
|
</xsl:attribute-set>
|
2174
2105
|
|
2175
2106
|
<xsl:attribute-set name="figure-name-style">
|
2176
2107
|
<xsl:attribute name="role">Caption</xsl:attribute>
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
2184
|
-
|
2108
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2109
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2110
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
2111
|
+
<xsl:attribute name="margin-top">2pt</xsl:attribute>
|
2112
|
+
<xsl:attribute name="space-after">6pt</xsl:attribute>
|
2113
|
+
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
2185
2114
|
</xsl:attribute-set>
|
2186
2115
|
|
2187
2116
|
<xsl:template name="refine_figure-name-style">
|
2188
|
-
|
2189
2117
|
</xsl:template> <!-- refine_figure-name-style -->
|
2190
2118
|
|
2191
2119
|
<xsl:attribute-set name="figure-source-style">
|
2192
|
-
|
2193
2120
|
</xsl:attribute-set>
|
2194
2121
|
|
2195
2122
|
<!-- Formula's styles -->
|
2196
2123
|
<xsl:attribute-set name="formula-style">
|
2197
2124
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
2198
2125
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2199
|
-
|
2200
2126
|
</xsl:attribute-set> <!-- formula-style -->
|
2201
2127
|
|
2202
2128
|
<xsl:attribute-set name="formula-stem-block-style">
|
2203
2129
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
2204
|
-
|
2205
2130
|
</xsl:attribute-set> <!-- formula-stem-block-style -->
|
2206
2131
|
|
2207
2132
|
<xsl:template name="refine_formula-stem-block-style">
|
2208
|
-
|
2209
2133
|
</xsl:template> <!-- refine_formula-stem-block-style -->
|
2210
2134
|
|
2211
2135
|
<xsl:attribute-set name="formula-stem-number-style">
|
2212
2136
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
2213
|
-
|
2214
2137
|
</xsl:attribute-set> <!-- formula-stem-number-style -->
|
2215
2138
|
<!-- End Formula's styles -->
|
2216
2139
|
|
2217
2140
|
<xsl:template name="refine_formula-stem-number-style">
|
2218
|
-
|
2219
2141
|
</xsl:template>
|
2220
2142
|
|
2221
2143
|
<xsl:attribute-set name="image-style">
|
2222
2144
|
<xsl:attribute name="role">SKIP</xsl:attribute>
|
2223
2145
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
2224
|
-
|
2225
2146
|
</xsl:attribute-set>
|
2226
2147
|
|
2227
2148
|
<xsl:template name="refine_image-style">
|
2228
|
-
|
2229
2149
|
</xsl:template>
|
2230
2150
|
|
2231
2151
|
<xsl:attribute-set name="figure-pseudocode-p-style">
|
2232
|
-
|
2233
2152
|
</xsl:attribute-set>
|
2234
2153
|
|
2235
2154
|
<xsl:attribute-set name="image-graphic-style">
|
2236
2155
|
<xsl:attribute name="width">100%</xsl:attribute>
|
2237
2156
|
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2238
2157
|
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
2239
|
-
|
2240
|
-
<xsl:attribute name="content-height">scale-to-fit</xsl:attribute>
|
2241
|
-
|
2158
|
+
<xsl:attribute name="content-height">scale-to-fit</xsl:attribute>
|
2242
2159
|
</xsl:attribute-set>
|
2243
2160
|
|
2244
2161
|
<xsl:attribute-set name="tt-style">
|
2245
|
-
|
2246
|
-
<xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
2247
|
-
|
2162
|
+
<xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
2248
2163
|
</xsl:attribute-set>
|
2249
2164
|
|
2250
2165
|
<xsl:attribute-set name="sourcecode-name-style">
|
@@ -2253,54 +2168,43 @@
|
|
2253
2168
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
2254
2169
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2255
2170
|
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
2256
|
-
|
2257
2171
|
</xsl:attribute-set>
|
2258
2172
|
|
2259
2173
|
<xsl:attribute-set name="preferred-block-style">
|
2260
|
-
|
2261
|
-
<xsl:attribute name="line-height">1.1</xsl:attribute>
|
2262
|
-
|
2174
|
+
<xsl:attribute name="line-height">1.1</xsl:attribute>
|
2263
2175
|
</xsl:attribute-set>
|
2264
2176
|
|
2265
2177
|
<xsl:attribute-set name="preferred-term-style">
|
2266
2178
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2267
2179
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2268
|
-
|
2269
2180
|
</xsl:attribute-set>
|
2270
2181
|
|
2271
2182
|
<xsl:attribute-set name="domain-style">
|
2272
|
-
|
2273
2183
|
</xsl:attribute-set>
|
2274
2184
|
|
2275
2185
|
<xsl:attribute-set name="admitted-style">
|
2276
|
-
|
2277
2186
|
</xsl:attribute-set>
|
2278
2187
|
|
2279
2188
|
<xsl:attribute-set name="deprecates-style">
|
2280
|
-
|
2281
2189
|
</xsl:attribute-set>
|
2282
2190
|
|
2283
2191
|
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
2284
2192
|
</xsl:attribute-set>
|
2285
2193
|
|
2286
2194
|
<xsl:attribute-set name="definition-style">
|
2287
|
-
|
2288
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2289
|
-
|
2195
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2290
2196
|
</xsl:attribute-set>
|
2291
2197
|
|
2292
2198
|
<xsl:variable name="color-added-text">
|
2293
2199
|
<xsl:text>rgb(0, 255, 0)</xsl:text>
|
2294
2200
|
</xsl:variable>
|
2295
2201
|
<xsl:attribute-set name="add-style">
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
<!-- <xsl:attribute name="color">black</xsl:attribute>
|
2202
|
+
<xsl:attribute name="color">red</xsl:attribute>
|
2203
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2204
|
+
<!-- <xsl:attribute name="color">black</xsl:attribute>
|
2300
2205
|
<xsl:attribute name="background-color"><xsl:value-of select="$color-added-text"/></xsl:attribute>
|
2301
2206
|
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
2302
2207
|
<xsl:attribute name="padding-bottom">0.5mm</xsl:attribute> -->
|
2303
|
-
|
2304
2208
|
</xsl:attribute-set>
|
2305
2209
|
|
2306
2210
|
<xsl:variable name="add-style">
|
@@ -2320,56 +2224,41 @@
|
|
2320
2224
|
|
2321
2225
|
<xsl:attribute-set name="mathml-style">
|
2322
2226
|
<xsl:attribute name="font-family">STIX Two Math</xsl:attribute>
|
2323
|
-
|
2324
2227
|
</xsl:attribute-set>
|
2325
2228
|
|
2326
2229
|
<xsl:template name="refine_mathml-style">
|
2327
|
-
|
2328
2230
|
</xsl:template>
|
2329
2231
|
|
2330
2232
|
<xsl:attribute-set name="list-style">
|
2331
|
-
|
2332
|
-
<xsl:attribute name="provisional-distance-between-starts">6mm</xsl:attribute>
|
2333
|
-
|
2233
|
+
<xsl:attribute name="provisional-distance-between-starts">6mm</xsl:attribute>
|
2334
2234
|
</xsl:attribute-set> <!-- list-style -->
|
2335
2235
|
|
2336
2236
|
<xsl:template name="refine_list-style">
|
2337
|
-
|
2338
2237
|
</xsl:template> <!-- refine_list-style -->
|
2339
2238
|
|
2340
2239
|
<xsl:attribute-set name="list-name-style">
|
2341
2240
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2342
|
-
|
2343
|
-
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
2344
|
-
|
2241
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
2345
2242
|
</xsl:attribute-set> <!-- list-name-style -->
|
2346
2243
|
|
2347
2244
|
<xsl:attribute-set name="list-item-style">
|
2348
|
-
|
2349
|
-
<xsl:attribute name="margin-bottom">3pt</xsl:attribute>
|
2350
|
-
|
2245
|
+
<xsl:attribute name="margin-bottom">3pt</xsl:attribute>
|
2351
2246
|
</xsl:attribute-set>
|
2352
2247
|
|
2353
2248
|
<xsl:template name="refine_list-item-style">
|
2354
|
-
|
2355
2249
|
</xsl:template> <!-- refine_list-item-style -->
|
2356
2250
|
|
2357
2251
|
<xsl:attribute-set name="list-item-label-style">
|
2358
|
-
|
2359
|
-
<xsl:attribute name="line-height">115%</xsl:attribute>
|
2360
|
-
|
2252
|
+
<xsl:attribute name="line-height">115%</xsl:attribute>
|
2361
2253
|
</xsl:attribute-set>
|
2362
2254
|
|
2363
2255
|
<xsl:template name="refine_list-item-label-style">
|
2364
|
-
|
2365
2256
|
</xsl:template> <!-- refine_list-item-label-style -->
|
2366
2257
|
|
2367
2258
|
<xsl:attribute-set name="list-item-body-style">
|
2368
|
-
|
2369
2259
|
</xsl:attribute-set>
|
2370
2260
|
|
2371
2261
|
<xsl:template name="refine_list-item-body-style">
|
2372
|
-
|
2373
2262
|
</xsl:template> <!-- refine_list-item-body-style -->
|
2374
2263
|
|
2375
2264
|
<xsl:attribute-set name="toc-style">
|
@@ -2383,7 +2272,6 @@
|
|
2383
2272
|
</xsl:attribute-set>
|
2384
2273
|
|
2385
2274
|
<xsl:template name="refine_fn-reference-style">
|
2386
|
-
|
2387
2275
|
</xsl:template> <!-- refine_fn-reference-style -->
|
2388
2276
|
|
2389
2277
|
<xsl:attribute-set name="fn-style">
|
@@ -2392,10 +2280,8 @@
|
|
2392
2280
|
|
2393
2281
|
<xsl:attribute-set name="fn-num-style">
|
2394
2282
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
2395
|
-
|
2396
|
-
|
2397
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2398
|
-
|
2283
|
+
<xsl:attribute name="font-size">70%</xsl:attribute>
|
2284
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2399
2285
|
</xsl:attribute-set>
|
2400
2286
|
|
2401
2287
|
<xsl:attribute-set name="fn-body-style">
|
@@ -2403,131 +2289,99 @@
|
|
2403
2289
|
<xsl:attribute name="font-style">normal</xsl:attribute>
|
2404
2290
|
<xsl:attribute name="text-indent">0</xsl:attribute>
|
2405
2291
|
<xsl:attribute name="start-indent">0</xsl:attribute>
|
2406
|
-
|
2407
|
-
|
2408
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2409
|
-
|
2292
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2293
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2410
2294
|
</xsl:attribute-set>
|
2411
2295
|
|
2412
2296
|
<xsl:template name="refine_fn-body-style">
|
2413
|
-
|
2414
2297
|
</xsl:template> <!-- refine_fn-body-style -->
|
2415
2298
|
|
2416
2299
|
<xsl:attribute-set name="fn-body-num-style">
|
2417
2300
|
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
2418
|
-
|
2419
|
-
|
2420
|
-
|
2421
|
-
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
2422
|
-
|
2301
|
+
<xsl:attribute name="font-size">60%</xsl:attribute>
|
2302
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2303
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
2423
2304
|
</xsl:attribute-set> <!-- fn-body-num-style -->
|
2424
2305
|
|
2425
2306
|
<xsl:template name="refine_fn-body-num-style">
|
2426
|
-
|
2427
2307
|
</xsl:template> <!-- refine_fn-body-num-style -->
|
2428
2308
|
|
2429
2309
|
<!-- admonition -->
|
2430
2310
|
<xsl:attribute-set name="admonition-style">
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2436
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2437
|
-
|
2311
|
+
<xsl:attribute name="border">0.5pt solid rgb(79, 129, 189)</xsl:attribute>
|
2312
|
+
<xsl:attribute name="color">rgb(79, 129, 189)</xsl:attribute>
|
2313
|
+
<xsl:attribute name="margin-left">16mm</xsl:attribute>
|
2314
|
+
<xsl:attribute name="margin-right">16mm</xsl:attribute>
|
2315
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2438
2316
|
</xsl:attribute-set> <!-- admonition-style -->
|
2439
2317
|
|
2440
2318
|
<xsl:attribute-set name="admonition-container-style">
|
2441
2319
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2442
2320
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
2443
|
-
|
2444
|
-
|
2445
|
-
<xsl:attribute name="padding-top">3mm</xsl:attribute>
|
2446
|
-
|
2321
|
+
<xsl:attribute name="padding">2mm</xsl:attribute>
|
2322
|
+
<xsl:attribute name="padding-top">3mm</xsl:attribute>
|
2447
2323
|
</xsl:attribute-set> <!-- admonition-container-style -->
|
2448
2324
|
|
2449
2325
|
<xsl:attribute-set name="admonition-name-style">
|
2450
2326
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2451
|
-
|
2452
|
-
|
2453
|
-
|
2454
|
-
|
2455
|
-
|
2456
|
-
<xsl:attribute name="text-align">center</xsl:attribute>
|
2457
|
-
|
2327
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
2328
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2329
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2330
|
+
<xsl:attribute name="font-style">italic</xsl:attribute>
|
2331
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
2458
2332
|
</xsl:attribute-set> <!-- admonition-name-style -->
|
2459
2333
|
|
2460
2334
|
<xsl:attribute-set name="admonition-p-style">
|
2461
|
-
|
2462
|
-
<xsl:attribute name="font-style">italic</xsl:attribute>
|
2463
|
-
|
2335
|
+
<xsl:attribute name="font-style">italic</xsl:attribute>
|
2464
2336
|
</xsl:attribute-set> <!-- admonition-p-style -->
|
2465
2337
|
<!-- end admonition -->
|
2466
2338
|
|
2467
2339
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
2468
2340
|
<xsl:attribute-set name="bibitem-normative-style">
|
2469
|
-
|
2470
2341
|
</xsl:attribute-set> <!-- bibitem-normative-style -->
|
2471
2342
|
|
2472
2343
|
<!-- bibitem in Normative References (references/@normative="true"), renders as list -->
|
2473
2344
|
<xsl:attribute-set name="bibitem-normative-list-style">
|
2474
2345
|
<xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
|
2475
2346
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2476
|
-
|
2477
|
-
|
2478
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2479
|
-
<xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
|
2480
|
-
</xsl:if> -->
|
2481
|
-
|
2482
|
-
<!-- <xsl:attribute name="line-height">115%</xsl:attribute> -->
|
2483
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2484
|
-
|
2347
|
+
<!-- <xsl:attribute name="line-height">115%</xsl:attribute> -->
|
2348
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2485
2349
|
</xsl:attribute-set> <!-- bibitem-normative-list-style -->
|
2486
2350
|
|
2487
2351
|
<xsl:attribute-set name="bibitem-non-normative-style">
|
2488
|
-
|
2489
2352
|
</xsl:attribute-set> <!-- bibitem-non-normative-style -->
|
2490
2353
|
|
2491
2354
|
<!-- bibitem in bibliography section (references/@normative="false"), renders as list -->
|
2492
2355
|
<xsl:attribute-set name="bibitem-non-normative-list-style">
|
2493
2356
|
<xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
|
2494
2357
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2495
|
-
|
2496
|
-
<xsl:attribute name="line-height">115%</xsl:attribute>
|
2497
|
-
|
2358
|
+
<xsl:attribute name="line-height">115%</xsl:attribute>
|
2498
2359
|
</xsl:attribute-set> <!-- bibitem-non-normative-list-style -->
|
2499
2360
|
|
2500
2361
|
<xsl:attribute-set name="bibitem-non-normative-list-item-style">
|
2501
2362
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2502
|
-
|
2503
2363
|
</xsl:attribute-set>
|
2504
2364
|
|
2505
2365
|
<!-- bibitem in bibliography section (references/@normative="false"), list body -->
|
2506
2366
|
<xsl:attribute-set name="bibitem-normative-list-body-style">
|
2507
|
-
|
2508
2367
|
</xsl:attribute-set>
|
2509
2368
|
|
2510
2369
|
<xsl:attribute-set name="bibitem-non-normative-list-body-style">
|
2511
|
-
|
2512
2370
|
</xsl:attribute-set> <!-- bibitem-non-normative-list-body-style -->
|
2513
2371
|
|
2514
2372
|
<!-- footnote reference number for bibitem, in the text -->
|
2515
2373
|
<xsl:attribute-set name="bibitem-note-fn-style">
|
2516
2374
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
2517
2375
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
2518
|
-
|
2519
|
-
|
2520
|
-
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
2521
|
-
|
2376
|
+
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
2377
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
2522
2378
|
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
2523
2379
|
|
2524
2380
|
<!-- footnote number on the page bottom -->
|
2525
2381
|
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
2526
2382
|
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
2527
|
-
|
2528
|
-
|
2529
|
-
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
2530
|
-
|
2383
|
+
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
2384
|
+
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
2531
2385
|
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
2532
2386
|
|
2533
2387
|
<!-- footnote body (text) on the page bottom -->
|
@@ -2535,13 +2389,10 @@
|
|
2535
2389
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2536
2390
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2537
2391
|
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
2538
|
-
|
2539
|
-
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
2540
|
-
|
2392
|
+
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
2541
2393
|
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
2542
2394
|
|
2543
2395
|
<xsl:attribute-set name="references-non-normative-style">
|
2544
|
-
|
2545
2396
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
2546
2397
|
|
2547
2398
|
<!-- Highlight.js syntax GitHub styles -->
|
@@ -2701,12 +2552,10 @@
|
|
2701
2552
|
<!-- Index section styles -->
|
2702
2553
|
<xsl:attribute-set name="indexsect-title-style">
|
2703
2554
|
<xsl:attribute name="role">H1</xsl:attribute>
|
2704
|
-
|
2705
2555
|
</xsl:attribute-set>
|
2706
2556
|
|
2707
2557
|
<xsl:attribute-set name="indexsect-clause-title-style">
|
2708
2558
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2709
|
-
|
2710
2559
|
</xsl:attribute-set>
|
2711
2560
|
|
2712
2561
|
<!-- End Index section styles -->
|
@@ -2783,47 +2632,47 @@
|
|
2783
2632
|
</xsl:template>
|
2784
2633
|
|
2785
2634
|
<xsl:template name="processTables_Contents">
|
2786
|
-
<tables>
|
2635
|
+
<mn:tables>
|
2787
2636
|
<xsl:for-each select="//*[local-name() = 'table'][not(ancestor::*[local-name() = 'metanorma-extension'])][@id and *[local-name() = 'name'] and normalize-space(@id) != '']">
|
2788
2637
|
<xsl:choose>
|
2789
2638
|
<xsl:when test="*[local-name() = 'fmt-name']">
|
2790
2639
|
<xsl:variable name="fmt_name">
|
2791
2640
|
<xsl:apply-templates select="*[local-name() = 'fmt-name']" mode="update_xml_step1"/>
|
2792
2641
|
</xsl:variable>
|
2793
|
-
<table id="{@id}" alt-text="{normalize-space($fmt_name)}">
|
2642
|
+
<mn:table id="{@id}" alt-text="{normalize-space($fmt_name)}">
|
2794
2643
|
<xsl:copy-of select="$fmt_name"/>
|
2795
|
-
</table>
|
2644
|
+
</mn:table>
|
2796
2645
|
</xsl:when>
|
2797
2646
|
<xsl:otherwise>
|
2798
|
-
<table id="{@id}" alt-text="{*[local-name() = 'name']}">
|
2647
|
+
<mn:table id="{@id}" alt-text="{*[local-name() = 'name']}">
|
2799
2648
|
<xsl:copy-of select="*[local-name() = 'name']"/>
|
2800
|
-
</table>
|
2649
|
+
</mn:table>
|
2801
2650
|
</xsl:otherwise>
|
2802
2651
|
</xsl:choose>
|
2803
2652
|
</xsl:for-each>
|
2804
|
-
</tables>
|
2653
|
+
</mn:tables>
|
2805
2654
|
</xsl:template>
|
2806
2655
|
|
2807
2656
|
<xsl:template name="processFigures_Contents">
|
2808
|
-
<figures>
|
2657
|
+
<mn:figures>
|
2809
2658
|
<xsl:for-each select="//*[local-name() = 'figure'][@id and *[local-name() = 'name'] and not(@unnumbered = 'true') and normalize-space(@id) != ''] | //*[@id and starts-with(*[local-name() = 'name'], 'Figure ') and normalize-space(@id) != '']">
|
2810
2659
|
<xsl:choose>
|
2811
2660
|
<xsl:when test="*[local-name() = 'fmt-name']">
|
2812
2661
|
<xsl:variable name="fmt_name">
|
2813
2662
|
<xsl:apply-templates select="*[local-name() = 'fmt-name']" mode="update_xml_step1"/>
|
2814
2663
|
</xsl:variable>
|
2815
|
-
<figure id="{@id}" alt-text="{normalize-space($fmt_name)}">
|
2664
|
+
<mn:figure id="{@id}" alt-text="{normalize-space($fmt_name)}">
|
2816
2665
|
<xsl:copy-of select="$fmt_name"/>
|
2817
|
-
</figure>
|
2666
|
+
</mn:figure>
|
2818
2667
|
</xsl:when>
|
2819
2668
|
<xsl:otherwise>
|
2820
|
-
<figure id="{@id}" alt-text="{*[local-name() = 'name']}">
|
2669
|
+
<mn:figure id="{@id}" alt-text="{*[local-name() = 'name']}">
|
2821
2670
|
<xsl:copy-of select="*[local-name() = 'name']"/>
|
2822
|
-
</figure>
|
2671
|
+
</mn:figure>
|
2823
2672
|
</xsl:otherwise>
|
2824
2673
|
</xsl:choose>
|
2825
2674
|
</xsl:for-each>
|
2826
|
-
</figures>
|
2675
|
+
</mn:figures>
|
2827
2676
|
</xsl:template>
|
2828
2677
|
|
2829
2678
|
<xsl:template name="processPrefaceSectionsDefault">
|
@@ -2842,7 +2691,6 @@
|
|
2842
2691
|
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
|
2843
2692
|
<xsl:sort select="@displayorder" data-type="number"/>
|
2844
2693
|
<xsl:apply-templates select="."/>
|
2845
|
-
|
2846
2694
|
</xsl:for-each>
|
2847
2695
|
|
2848
2696
|
<xsl:for-each select="/*/*[local-name()='annex']">
|
@@ -2949,7 +2797,6 @@
|
|
2949
2797
|
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
|
2950
2798
|
<xsl:sort select="@displayorder" data-type="number"/>
|
2951
2799
|
<xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
|
2952
|
-
|
2953
2800
|
</xsl:for-each>
|
2954
2801
|
</xsl:element>
|
2955
2802
|
</xsl:element>
|
@@ -3083,7 +2930,6 @@
|
|
3083
2930
|
<xsl:apply-templates select="." mode="update_xml_step_move_pagebreak">
|
3084
2931
|
<xsl:with-param name="page_sequence_at_top">true</xsl:with-param>
|
3085
2932
|
</xsl:apply-templates>
|
3086
|
-
|
3087
2933
|
</xsl:for-each>
|
3088
2934
|
</xsl:element>
|
3089
2935
|
|
@@ -3123,19 +2969,17 @@
|
|
3123
2969
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
|
3124
2970
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
|
3125
2971
|
<xsl:template match="text()" name="text">
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
|
3135
|
-
|
3136
|
-
|
3137
|
-
</xsl:choose>
|
3138
|
-
|
2972
|
+
<xsl:choose>
|
2973
|
+
<xsl:when test="ancestor::*[local-name() = 'table']"><xsl:value-of select="."/></xsl:when>
|
2974
|
+
<xsl:otherwise>
|
2975
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_fo_inline_keep-together_within-line_open,'$1',$tag_fo_inline_keep-together_within-line_close))"/>
|
2976
|
+
<xsl:call-template name="replace_fo_inline_tags">
|
2977
|
+
<xsl:with-param name="tag_open" select="$tag_fo_inline_keep-together_within-line_open"/>
|
2978
|
+
<xsl:with-param name="tag_close" select="$tag_fo_inline_keep-together_within-line_close"/>
|
2979
|
+
<xsl:with-param name="text" select="$text"/>
|
2980
|
+
</xsl:call-template>
|
2981
|
+
</xsl:otherwise>
|
2982
|
+
</xsl:choose>
|
3139
2983
|
</xsl:template>
|
3140
2984
|
|
3141
2985
|
<xsl:template name="replace_fo_inline_tags">
|
@@ -3189,7 +3033,7 @@
|
|
3189
3033
|
<xsl:with-param name="keep_sep">true</xsl:with-param>
|
3190
3034
|
</xsl:call-template>
|
3191
3035
|
</xsl:variable>
|
3192
|
-
<xsl:for-each select="xalan:nodeset($items)/item">
|
3036
|
+
<xsl:for-each select="xalan:nodeset($items)/mn:item">
|
3193
3037
|
<xsl:choose>
|
3194
3038
|
<xsl:when test=". = $sep">
|
3195
3039
|
<xsl:value-of select="$sep"/><xsl:value-of select="$zero_width_space"/>
|
@@ -3218,17 +3062,13 @@
|
|
3218
3062
|
</xsl:template> <!-- copyright-statement -->
|
3219
3063
|
|
3220
3064
|
<xsl:template match="*[local-name()='copyright-statement']//*[local-name()='title']">
|
3221
|
-
|
3222
|
-
|
3223
|
-
<xsl:call-template name="title"/>
|
3224
|
-
|
3065
|
+
<!-- process in the template 'title' -->
|
3066
|
+
<xsl:call-template name="title"/>
|
3225
3067
|
</xsl:template> <!-- copyright-statement//title -->
|
3226
3068
|
|
3227
3069
|
<xsl:template match="*[local-name()='copyright-statement']//*[local-name()='p']">
|
3228
|
-
|
3229
|
-
|
3230
|
-
<xsl:call-template name="paragraph"/>
|
3231
|
-
|
3070
|
+
<!-- process in the template 'paragraph' -->
|
3071
|
+
<xsl:call-template name="paragraph"/>
|
3232
3072
|
</xsl:template> <!-- copyright-statement//p -->
|
3233
3073
|
|
3234
3074
|
<xsl:template match="*[local-name()='license-statement']">
|
@@ -3238,42 +3078,34 @@
|
|
3238
3078
|
</xsl:template> <!-- license-statement -->
|
3239
3079
|
|
3240
3080
|
<xsl:template match="*[local-name()='license-statement']//*[local-name()='title']">
|
3241
|
-
|
3242
|
-
|
3243
|
-
<xsl:call-template name="title"/>
|
3244
|
-
|
3081
|
+
<!-- process in the template 'title' -->
|
3082
|
+
<xsl:call-template name="title"/>
|
3245
3083
|
</xsl:template> <!-- license-statement/title -->
|
3246
3084
|
|
3247
3085
|
<xsl:template match="*[local-name()='license-statement']//*[local-name()='p']">
|
3248
|
-
|
3249
|
-
|
3250
|
-
<xsl:call-template name="paragraph"/>
|
3251
|
-
|
3086
|
+
<!-- process in the template 'paragraph' -->
|
3087
|
+
<xsl:call-template name="paragraph"/>
|
3252
3088
|
</xsl:template> <!-- license-statement/p -->
|
3253
3089
|
|
3254
3090
|
<xsl:template match="*[local-name()='legal-statement']">
|
3255
3091
|
<xsl:param name="isLegacy">false</xsl:param>
|
3256
3092
|
<fo:block xsl:use-attribute-sets="legal-statement-style">
|
3257
|
-
|
3258
3093
|
<xsl:apply-templates/>
|
3259
3094
|
</fo:block>
|
3260
3095
|
</xsl:template> <!-- legal-statement -->
|
3261
3096
|
|
3262
3097
|
<xsl:template match="*[local-name()='legal-statement']//*[local-name()='title']">
|
3263
|
-
|
3264
|
-
|
3265
|
-
<xsl:call-template name="title"/>
|
3098
|
+
<!-- process in the template 'title' -->
|
3099
|
+
<xsl:call-template name="title"/>
|
3266
3100
|
|
3267
3101
|
</xsl:template> <!-- legal-statement/title -->
|
3268
3102
|
|
3269
3103
|
<xsl:template match="*[local-name()='legal-statement']//*[local-name()='p']">
|
3270
3104
|
<xsl:param name="margin"/>
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
</xsl:call-template>
|
3276
|
-
|
3105
|
+
<!-- process in the template 'paragraph' -->
|
3106
|
+
<xsl:call-template name="paragraph">
|
3107
|
+
<xsl:with-param name="margin" select="$margin"/>
|
3108
|
+
</xsl:call-template>
|
3277
3109
|
</xsl:template> <!-- legal-statement/p -->
|
3278
3110
|
|
3279
3111
|
<xsl:template match="*[local-name()='feedback-statement']">
|
@@ -3283,20 +3115,16 @@
|
|
3283
3115
|
</xsl:template> <!-- feedback-statement -->
|
3284
3116
|
|
3285
3117
|
<xsl:template match="*[local-name()='feedback-statement']//*[local-name()='title']">
|
3286
|
-
|
3287
|
-
|
3288
|
-
<xsl:call-template name="title"/>
|
3289
|
-
|
3118
|
+
<!-- process in the template 'title' -->
|
3119
|
+
<xsl:call-template name="title"/>
|
3290
3120
|
</xsl:template>
|
3291
3121
|
|
3292
3122
|
<xsl:template match="*[local-name()='feedback-statement']//*[local-name()='p']">
|
3293
3123
|
<xsl:param name="margin"/>
|
3294
|
-
|
3295
|
-
|
3296
|
-
|
3297
|
-
|
3298
|
-
</xsl:call-template>
|
3299
|
-
|
3124
|
+
<!-- process in the template 'paragraph' -->
|
3125
|
+
<xsl:call-template name="paragraph">
|
3126
|
+
<xsl:with-param name="margin" select="$margin"/>
|
3127
|
+
</xsl:call-template>
|
3300
3128
|
</xsl:template>
|
3301
3129
|
|
3302
3130
|
<!-- ================================= -->
|
@@ -3349,7 +3177,6 @@
|
|
3349
3177
|
<xsl:template match="*[local-name()='table']" name="table">
|
3350
3178
|
|
3351
3179
|
<xsl:variable name="table-preamble">
|
3352
|
-
|
3353
3180
|
</xsl:variable>
|
3354
3181
|
|
3355
3182
|
<xsl:variable name="table">
|
@@ -3367,10 +3194,8 @@
|
|
3367
3194
|
|
3368
3195
|
<!-- Display table's name before table as standalone block -->
|
3369
3196
|
<!-- $namespace = 'iso' or -->
|
3370
|
-
|
3371
|
-
|
3372
|
-
|
3373
|
-
<xsl:call-template name="table_name_fn_display"/>
|
3197
|
+
<xsl:apply-templates select="*[local-name()='name']"/> <!-- table's title rendered before table -->
|
3198
|
+
<xsl:call-template name="table_name_fn_display"/>
|
3374
3199
|
|
3375
3200
|
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)/*/tr[1]/td)"/>
|
3376
3201
|
|
@@ -3423,8 +3248,7 @@
|
|
3423
3248
|
|
3424
3249
|
<xsl:variable name="table_width_default">100%</xsl:variable>
|
3425
3250
|
<xsl:variable name="table_width">
|
3426
|
-
<!-- for centered table always 100% (@width will be set for middle/second cell of outer table)
|
3427
|
-
<xsl:value-of select="$table_width_default"/>
|
3251
|
+
<!-- for centered table always 100% (@width will be set for middle/second cell of outer table) --><xsl:value-of select="$table_width_default"/>
|
3428
3252
|
</xsl:variable>
|
3429
3253
|
|
3430
3254
|
<xsl:variable name="table_attributes">
|
@@ -3567,27 +3391,25 @@
|
|
3567
3391
|
<xsl:when test="@width and @width != 'full-page-width' and @width != 'text-width'">
|
3568
3392
|
|
3569
3393
|
<!-- centered table when table name is centered (see table-name-style) -->
|
3570
|
-
|
3571
|
-
<fo:table
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3575
|
-
<fo:table-
|
3576
|
-
|
3577
|
-
|
3578
|
-
<fo:
|
3579
|
-
<xsl:
|
3580
|
-
|
3581
|
-
<xsl:
|
3582
|
-
|
3583
|
-
|
3584
|
-
|
3585
|
-
|
3586
|
-
|
3587
|
-
|
3588
|
-
|
3589
|
-
</fo:table-body>
|
3590
|
-
</fo:table>
|
3394
|
+
<fo:table table-layout="fixed" width="100%" xsl:use-attribute-sets="table-container-style" role="SKIP">
|
3395
|
+
<fo:table-column column-width="proportional-column-width(1)"/>
|
3396
|
+
<fo:table-column column-width="{@width}"/>
|
3397
|
+
<fo:table-column column-width="proportional-column-width(1)"/>
|
3398
|
+
<fo:table-body role="SKIP">
|
3399
|
+
<fo:table-row role="SKIP">
|
3400
|
+
<fo:table-cell column-number="2" role="SKIP">
|
3401
|
+
<xsl:copy-of select="$table-preamble"/>
|
3402
|
+
<fo:block role="SKIP">
|
3403
|
+
<xsl:call-template name="setTrackChangesStyles">
|
3404
|
+
<xsl:with-param name="isAdded" select="$isAdded"/>
|
3405
|
+
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
3406
|
+
</xsl:call-template>
|
3407
|
+
<xsl:copy-of select="$table"/>
|
3408
|
+
</fo:block>
|
3409
|
+
</fo:table-cell>
|
3410
|
+
</fo:table-row>
|
3411
|
+
</fo:table-body>
|
3412
|
+
</fo:table>
|
3591
3413
|
|
3592
3414
|
</xsl:when>
|
3593
3415
|
<xsl:otherwise>
|
@@ -3613,7 +3435,6 @@
|
|
3613
3435
|
</xsl:template>
|
3614
3436
|
|
3615
3437
|
<xsl:template name="setBordersTableArray">
|
3616
|
-
|
3617
3438
|
</xsl:template>
|
3618
3439
|
|
3619
3440
|
<!-- table/name-->
|
@@ -3622,51 +3443,50 @@
|
|
3622
3443
|
<xsl:param name="cols-count"/>
|
3623
3444
|
<xsl:if test="normalize-space() != ''">
|
3624
3445
|
|
3625
|
-
|
3626
|
-
|
3627
|
-
<xsl:call-template name="refine_table-name-style">
|
3628
|
-
<xsl:with-param name="continued" select="$continued"/>
|
3629
|
-
</xsl:call-template>
|
3446
|
+
<fo:block xsl:use-attribute-sets="table-name-style">
|
3630
3447
|
|
3631
|
-
|
3632
|
-
|
3448
|
+
<xsl:call-template name="refine_table-name-style">
|
3449
|
+
<xsl:with-param name="continued" select="$continued"/>
|
3450
|
+
</xsl:call-template>
|
3633
3451
|
|
3634
|
-
|
3635
|
-
|
3636
|
-
|
3637
|
-
|
3638
|
-
|
3452
|
+
<xsl:choose>
|
3453
|
+
<xsl:when test="$continued = 'true'">
|
3454
|
+
</xsl:when>
|
3455
|
+
<xsl:otherwise>
|
3456
|
+
<xsl:apply-templates/>
|
3457
|
+
</xsl:otherwise>
|
3458
|
+
</xsl:choose>
|
3639
3459
|
|
3640
|
-
|
3460
|
+
</fo:block>
|
3641
3461
|
|
3642
|
-
|
3643
|
-
|
3462
|
+
<!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'iec' or $namespace = 'iso'"> -->
|
3463
|
+
<xsl:if test="$continued = 'true'">
|
3644
3464
|
|
3645
|
-
|
3465
|
+
<!-- to prevent the error 'THead element may contain only TR elements' -->
|
3646
3466
|
|
3647
|
-
|
3648
|
-
|
3649
|
-
|
3650
|
-
|
3651
|
-
|
3652
|
-
|
3653
|
-
|
3654
|
-
|
3655
|
-
|
3656
|
-
|
3657
|
-
|
3658
|
-
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3467
|
+
<xsl:choose>
|
3468
|
+
<xsl:when test="string(number($cols-count)) != 'NaN'">
|
3469
|
+
<fo:table width="100%" table-layout="fixed" role="SKIP">
|
3470
|
+
<fo:table-body role="SKIP">
|
3471
|
+
<fo:table-row>
|
3472
|
+
<fo:table-cell role="TH" number-columns-spanned="{$cols-count}">
|
3473
|
+
<fo:block text-align="right" role="SKIP">
|
3474
|
+
<xsl:apply-templates select="../*[local-name() = 'note'][@type = 'units']/node()"/>
|
3475
|
+
</fo:block>
|
3476
|
+
</fo:table-cell>
|
3477
|
+
</fo:table-row>
|
3478
|
+
</fo:table-body>
|
3479
|
+
</fo:table>
|
3480
|
+
</xsl:when>
|
3481
|
+
<xsl:otherwise>
|
3482
|
+
<fo:block text-align="right">
|
3483
|
+
<xsl:apply-templates select="../*[local-name() = 'note'][@type = 'units']/node()"/>
|
3484
|
+
</fo:block>
|
3485
|
+
</xsl:otherwise>
|
3486
|
+
</xsl:choose>
|
3667
3487
|
|
3668
|
-
|
3669
|
-
|
3488
|
+
</xsl:if>
|
3489
|
+
<!-- </xsl:if> -->
|
3670
3490
|
|
3671
3491
|
</xsl:if>
|
3672
3492
|
</xsl:template> <!-- table/name -->
|
@@ -4041,7 +3861,6 @@
|
|
4041
3861
|
<xsl:template match="*[local-name()='thead']">
|
4042
3862
|
<xsl:param name="cols-count"/>
|
4043
3863
|
<fo:table-header>
|
4044
|
-
|
4045
3864
|
<xsl:apply-templates/>
|
4046
3865
|
</fo:table-header>
|
4047
3866
|
</xsl:template> <!-- thead -->
|
@@ -4055,21 +3874,20 @@
|
|
4055
3874
|
|
4056
3875
|
<xsl:call-template name="refine_table-header-title-style"/>
|
4057
3876
|
|
4058
|
-
|
4059
|
-
|
4060
|
-
|
4061
|
-
|
3877
|
+
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
3878
|
+
<xsl:with-param name="continued">true</xsl:with-param>
|
3879
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
3880
|
+
</xsl:apply-templates>
|
4062
3881
|
|
4063
|
-
|
4064
|
-
|
4065
|
-
|
3882
|
+
<xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='name'])"> <!-- to prevent empty fo:table-cell in case of missing table's name -->
|
3883
|
+
<fo:block role="SKIP"/>
|
3884
|
+
</xsl:if>
|
4066
3885
|
|
4067
3886
|
</fo:table-cell>
|
4068
3887
|
</fo:table-row>
|
4069
3888
|
</xsl:template> <!-- table-header-title -->
|
4070
3889
|
|
4071
3890
|
<xsl:template name="refine_table-header-title-style">
|
4072
|
-
|
4073
3891
|
</xsl:template> <!-- refine_table-header-title-style -->
|
4074
3892
|
|
4075
3893
|
<xsl:template match="*[local-name()='thead']" mode="process_tbody">
|
@@ -4099,7 +3917,6 @@
|
|
4099
3917
|
<xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name'] or ../*[local-name()='source'] or ../*[local-name()='p']"/>
|
4100
3918
|
|
4101
3919
|
<xsl:variable name="isNoteOrFnExistShowAfterTable">
|
4102
|
-
|
4103
3920
|
</xsl:variable>
|
4104
3921
|
|
4105
3922
|
<xsl:if test="$isNoteOrFnExist = 'true' or normalize-space($isNoteOrFnExistShowAfterTable) = 'true'">
|
@@ -4161,26 +3978,19 @@
|
|
4161
3978
|
<xsl:call-template name="setBordersTableArray"/>
|
4162
3979
|
|
4163
3980
|
<!-- fn will be processed inside 'note' processing -->
|
4164
|
-
|
4165
|
-
|
4166
|
-
|
4167
|
-
|
4168
|
-
|
4169
|
-
<xsl:apply-templates select="../*[local-name()='p']"/>
|
4170
|
-
<xsl:apply-templates select="../*[local-name()='dl']"/>
|
4171
|
-
<xsl:apply-templates select="../*[local-name()='note'][not(@type = 'units')]"/>
|
4172
|
-
<xsl:apply-templates select="../*[local-name()='example']"/>
|
4173
|
-
<xsl:apply-templates select="../*[local-name()='source']"/>
|
3981
|
+
<xsl:apply-templates select="../*[local-name()='p']"/>
|
3982
|
+
<xsl:apply-templates select="../*[local-name()='dl']"/>
|
3983
|
+
<xsl:apply-templates select="../*[local-name()='note'][not(@type = 'units')]"/>
|
3984
|
+
<xsl:apply-templates select="../*[local-name()='example']"/>
|
3985
|
+
<xsl:apply-templates select="../*[local-name()='source']"/>
|
4174
3986
|
|
4175
3987
|
<xsl:variable name="isDisplayRowSeparator">
|
4176
|
-
|
4177
3988
|
</xsl:variable>
|
4178
3989
|
|
4179
3990
|
<!-- horizontal row separator -->
|
4180
3991
|
<xsl:if test="normalize-space($isDisplayRowSeparator) = 'true'">
|
4181
3992
|
<xsl:if test="(../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example']) and normalize-space($table_fn_block) != ''">
|
4182
3993
|
<fo:block-container border-top="0.5pt solid black" padding-left="1mm" padding-right="1mm">
|
4183
|
-
|
4184
3994
|
<xsl:call-template name="setBordersTableArray"/>
|
4185
3995
|
<fo:block font-size="1pt"> </fo:block>
|
4186
3996
|
</fo:block-container>
|
@@ -4188,11 +3998,8 @@
|
|
4188
3998
|
</xsl:if>
|
4189
3999
|
|
4190
4000
|
<!-- fn processing -->
|
4191
|
-
|
4192
|
-
|
4193
|
-
<xsl:copy-of select="$table_fn_block"/>
|
4194
|
-
|
4195
|
-
<!-- for PAS display Notes after footnotes -->
|
4001
|
+
<!-- <xsl:call-template name="table_fn_display" /> -->
|
4002
|
+
<xsl:copy-of select="$table_fn_block"/>
|
4196
4003
|
|
4197
4004
|
</fo:table-cell>
|
4198
4005
|
</fo:table-row>
|
@@ -4319,7 +4126,7 @@
|
|
4319
4126
|
<xsl:with-param name="pText" select="$border_under_row_"/>
|
4320
4127
|
</xsl:call-template>
|
4321
4128
|
</xsl:variable>
|
4322
|
-
<xsl:if test="xalan:nodeset($border_under_row)/item[. = normalize-space($row_num)]">
|
4129
|
+
<xsl:if test="xalan:nodeset($border_under_row)/mn:item[. = normalize-space($row_num)]">
|
4323
4130
|
<xsl:attribute name="border-bottom"><xsl:value-of select="$table-border"/></xsl:attribute>
|
4324
4131
|
</xsl:if>
|
4325
4132
|
</xsl:when>
|
@@ -4436,7 +4243,7 @@
|
|
4436
4243
|
</xsl:variable>
|
4437
4244
|
<xsl:variable name="quot">"</xsl:variable>
|
4438
4245
|
<xsl:variable name="styles_">
|
4439
|
-
<xsl:for-each select="xalan:nodeset($styles__)/item">
|
4246
|
+
<xsl:for-each select="xalan:nodeset($styles__)/mn:item">
|
4440
4247
|
<xsl:variable name="key" select="normalize-space(substring-before(., ':'))"/>
|
4441
4248
|
<xsl:variable name="value" select="normalize-space(substring-after(translate(.,$quot,''), ':'))"/>
|
4442
4249
|
<xsl:if test="$key = 'color' or $key = 'background-color' or $key = 'border' or $key = 'border-top' or $key = 'border-right' or $key = 'border-left' or $key = 'border-bottom' or $key = 'border-style' or $key = 'border-width' or $key = 'border-color' or $key = 'border-top-style' or $key = 'border-top-width' or $key = 'border-top-color' or $key = 'border-right-style' or $key = 'border-right-width' or $key = 'border-right-color' or $key = 'border-left-style' or $key = 'border-left-width' or $key = 'border-left-color' or $key = 'border-bottom-style' or $key = 'border-bottom-width' or $key = 'border-bottom-color'">
|
@@ -4486,9 +4293,7 @@
|
|
4486
4293
|
<fo:block role="SKIP">
|
4487
4294
|
|
4488
4295
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
4489
|
-
|
4490
|
-
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
4491
|
-
|
4296
|
+
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
4492
4297
|
</xsl:if>
|
4493
4298
|
|
4494
4299
|
<xsl:apply-templates/>
|
@@ -4503,25 +4308,23 @@
|
|
4503
4308
|
|
4504
4309
|
<!-- table/note, table/example, table/tfoot//note, table/tfoot//example -->
|
4505
4310
|
<xsl:template match="*[local-name()='table']/*[local-name()='note' or local-name() = 'example'] | *[local-name()='table']/*[local-name()='tfoot']//*[local-name()='note' or local-name() = 'example']" priority="2">
|
4311
|
+
<xsl:call-template name="setNamedDestination"/>
|
4312
|
+
<fo:block xsl:use-attribute-sets="table-note-style">
|
4313
|
+
<xsl:copy-of select="@id"/>
|
4506
4314
|
|
4507
|
-
|
4508
|
-
<fo:block xsl:use-attribute-sets="table-note-style">
|
4509
|
-
<xsl:copy-of select="@id"/>
|
4510
|
-
|
4511
|
-
<xsl:call-template name="refine_table-note-style"/>
|
4512
|
-
|
4513
|
-
<!-- Table's note/example name (NOTE, for example) -->
|
4514
|
-
<fo:inline xsl:use-attribute-sets="table-note-name-style">
|
4315
|
+
<xsl:call-template name="refine_table-note-style"/>
|
4515
4316
|
|
4516
|
-
|
4317
|
+
<!-- Table's note/example name (NOTE, for example) -->
|
4318
|
+
<fo:inline xsl:use-attribute-sets="table-note-name-style">
|
4517
4319
|
|
4518
|
-
|
4320
|
+
<xsl:call-template name="refine_table-note-name-style"/>
|
4519
4321
|
|
4520
|
-
|
4322
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
4521
4323
|
|
4522
|
-
|
4523
|
-
</fo:block>
|
4324
|
+
</fo:inline>
|
4524
4325
|
|
4326
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
4327
|
+
</fo:block>
|
4525
4328
|
</xsl:template> <!-- table/note -->
|
4526
4329
|
|
4527
4330
|
<xsl:template match="*[local-name()='table']/*[local-name()='note' or local-name()='example']/*[local-name()='p'] | *[local-name()='table']/*[local-name()='tfoot']//*[local-name()='note' or local-name()='example']/*[local-name()='p']" priority="2">
|
@@ -4566,9 +4369,7 @@
|
|
4566
4369
|
<xsl:variable name="current_fn_number" select="@reference"/>
|
4567
4370
|
|
4568
4371
|
<xsl:variable name="current_fn_number_text">
|
4569
|
-
|
4570
|
-
<xsl:value-of select="$current_fn_number"/>
|
4571
|
-
|
4372
|
+
<xsl:value-of select="$current_fn_number"/>
|
4572
4373
|
</xsl:variable>
|
4573
4374
|
|
4574
4375
|
<xsl:variable name="ref_id" select="@target"/>
|
@@ -4580,12 +4381,10 @@
|
|
4580
4381
|
<xsl:choose>
|
4581
4382
|
<xsl:when test="ancestor::*[local-name() = 'bibitem']">
|
4582
4383
|
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
4583
|
-
|
4584
4384
|
</fn_styles>
|
4585
4385
|
</xsl:when>
|
4586
4386
|
<xsl:otherwise>
|
4587
4387
|
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
4588
|
-
|
4589
4388
|
</fn_styles>
|
4590
4389
|
</xsl:otherwise>
|
4591
4390
|
</xsl:choose>
|
@@ -4603,7 +4402,6 @@
|
|
4603
4402
|
<xsl:with-param name="element">
|
4604
4403
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
|
4605
4404
|
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
|
4606
|
-
|
4607
4405
|
<xsl:copy-of select="$current_fn_number_text"/>
|
4608
4406
|
|
4609
4407
|
</fo:inline>
|
@@ -4641,10 +4439,9 @@
|
|
4641
4439
|
<here><xsl:copy-of select="$footnotes"/></here> -->
|
4642
4440
|
<xsl:apply-templates select="$footnotes/*[local-name() = 'fmt-fn-body'][@id = $ref_id]"/>
|
4643
4441
|
</xsl:variable>
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4647
|
-
</fo:block>
|
4442
|
+
<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
|
4443
|
+
<xsl:copy-of select="$fn_block"/>
|
4444
|
+
</fo:block>
|
4648
4445
|
|
4649
4446
|
</fo:block-container>
|
4650
4447
|
</fo:footnote-body>
|
@@ -4721,21 +4518,20 @@
|
|
4721
4518
|
<xsl:variable name="reference" select="@reference"/>
|
4722
4519
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> --> <!-- only unique reference puts in note-->
|
4723
4520
|
<xsl:for-each select="..//*[local-name() = 'fmt-footnote-container']/*[local-name() = 'fmt-fn-body']">
|
4521
|
+
<fo:block xsl:use-attribute-sets="table-fn-style">
|
4522
|
+
<xsl:copy-of select="@id"/>
|
4523
|
+
<xsl:call-template name="refine_table-fn-style"/>
|
4724
4524
|
|
4725
|
-
|
4726
|
-
|
4727
|
-
|
4728
|
-
|
4729
|
-
<xsl:apply-templates select=".//*[local-name() = 'fmt-fn-label']">
|
4730
|
-
<xsl:with-param name="process">true</xsl:with-param>
|
4731
|
-
</xsl:apply-templates>
|
4525
|
+
<xsl:apply-templates select=".//*[local-name() = 'fmt-fn-label']">
|
4526
|
+
<xsl:with-param name="process">true</xsl:with-param>
|
4527
|
+
</xsl:apply-templates>
|
4732
4528
|
|
4733
|
-
|
4734
|
-
|
4735
|
-
|
4736
|
-
|
4529
|
+
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
4530
|
+
<!-- <xsl:copy-of select="./node()"/> -->
|
4531
|
+
<xsl:apply-templates/>
|
4532
|
+
</fo:inline>
|
4737
4533
|
|
4738
|
-
|
4534
|
+
</fo:block>
|
4739
4535
|
|
4740
4536
|
<!-- </xsl:if> -->
|
4741
4537
|
</xsl:for-each>
|
@@ -4788,7 +4584,6 @@
|
|
4788
4584
|
<xsl:param name="process">false</xsl:param>
|
4789
4585
|
<xsl:if test="$process = 'true'">
|
4790
4586
|
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
4791
|
-
|
4792
4587
|
</xsl:if>
|
4793
4588
|
</xsl:template>
|
4794
4589
|
|
@@ -4872,7 +4667,6 @@
|
|
4872
4667
|
<xsl:if test="xalan:nodeset($references)//*[local-name() = 'fmt-fn-body']">
|
4873
4668
|
|
4874
4669
|
<xsl:variable name="key_iso">
|
4875
|
-
|
4876
4670
|
</xsl:variable>
|
4877
4671
|
|
4878
4672
|
<fo:block>
|
@@ -4918,7 +4712,6 @@
|
|
4918
4712
|
<fo:table width="95%" table-layout="fixed">
|
4919
4713
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
4920
4714
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
4921
|
-
|
4922
4715
|
</xsl:if>
|
4923
4716
|
<xsl:choose>
|
4924
4717
|
<!-- if there 'dl', then set same columns width -->
|
@@ -4942,23 +4735,19 @@
|
|
4942
4735
|
<fo:table-row>
|
4943
4736
|
<fo:table-cell>
|
4944
4737
|
<fo:block>
|
4945
|
-
|
4946
|
-
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
</fo:inline>
|
4738
|
+
<fo:inline id="{@id}" xsl:use-attribute-sets="figure-fmt-fn-label-style">
|
4739
|
+
<!-- <xsl:attribute name="padding-right">0mm</xsl:attribute> -->
|
4740
|
+
<!-- <xsl:value-of select="@reference"/> -->
|
4741
|
+
<xsl:value-of select="normalize-space(.//*[local-name() = 'fmt-fn-label'])"/>
|
4742
|
+
</fo:inline>
|
4951
4743
|
|
4952
4744
|
</fo:block>
|
4953
4745
|
</fo:table-cell>
|
4954
4746
|
<fo:table-cell>
|
4955
4747
|
<fo:block xsl:use-attribute-sets="figure-fn-body-style">
|
4956
4748
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
4957
|
-
|
4958
|
-
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
4959
|
-
|
4749
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
4960
4750
|
</xsl:if>
|
4961
|
-
|
4962
4751
|
<!-- <xsl:copy-of select="./node()"/> -->
|
4963
4752
|
<xsl:apply-templates/>
|
4964
4753
|
</fo:block>
|
@@ -5008,11 +4797,9 @@
|
|
5008
4797
|
<!-- figure/dl[@key = 'true']/dt/p/sup -->
|
5009
4798
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'dl'][@key = 'true']/*[local-name() = 'dt']/ *[local-name() = 'p'][count(node()[normalize-space() != '']) = 1]/*[local-name() = 'sup']" priority="3">
|
5010
4799
|
<xsl:variable name="key_iso">
|
5011
|
-
|
5012
4800
|
</xsl:variable>
|
5013
4801
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
5014
4802
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
5015
|
-
|
5016
4803
|
</xsl:if>
|
5017
4804
|
<fo:inline xsl:use-attribute-sets="figure-fn-number-style figure-fmt-fn-label-style"> <!-- id="{@id}" -->
|
5018
4805
|
<!-- <xsl:value-of select="@reference"/> -->
|
@@ -5058,8 +4845,7 @@
|
|
5058
4845
|
<xsl:text>※</xsl:text>
|
5059
4846
|
</xsl:if> -->
|
5060
4847
|
<!-- <xsl:value-of select="@reference"/> -->
|
5061
|
-
|
5062
|
-
<xsl:value-of select="normalize-space(*[local-name() = 'fmt-fn-label'])"/>
|
4848
|
+
<xsl:value-of select="normalize-space(*[local-name() = 'fmt-fn-label'])"/>
|
5063
4849
|
|
5064
4850
|
<!-- <xsl:if test="$namespace = 'bsi'">
|
5065
4851
|
<xsl:text>)</xsl:text>
|
@@ -5131,10 +4917,9 @@
|
|
5131
4917
|
</xsl:if>
|
5132
4918
|
|
5133
4919
|
<xsl:call-template name="setBlockSpanAll"/>
|
5134
|
-
|
5135
|
-
|
5136
|
-
|
5137
|
-
</xsl:if>
|
4920
|
+
<xsl:if test="not(ancestor::*[local-name() = 'quote'])">
|
4921
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
4922
|
+
</xsl:if>
|
5138
4923
|
|
5139
4924
|
<xsl:if test="ancestor::*[local-name() = 'sourcecode']">
|
5140
4925
|
<!-- set font-size as sourcecode font-size -->
|
@@ -5155,7 +4940,6 @@
|
|
5155
4940
|
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
5156
4941
|
</xsl:choose>
|
5157
4942
|
</xsl:attribute>
|
5158
|
-
|
5159
4943
|
</xsl:if>
|
5160
4944
|
|
5161
4945
|
<xsl:call-template name="setTrackChangesStyles">
|
@@ -5164,37 +4948,32 @@
|
|
5164
4948
|
</xsl:call-template>
|
5165
4949
|
|
5166
4950
|
<fo:block-container margin-left="0mm" role="SKIP">
|
5167
|
-
|
5168
|
-
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
4951
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
5169
4952
|
|
5170
4953
|
<xsl:variable name="parent" select="local-name(..)"/>
|
5171
4954
|
|
5172
|
-
<xsl:variable name="key_iso">
|
5173
|
-
<!-- and (not(../@class) or ../@class !='pseudocode') -->
|
4955
|
+
<xsl:variable name="key_iso"> <!-- and (not(../@class) or ../@class !='pseudocode') -->
|
5174
4956
|
</xsl:variable>
|
5175
4957
|
|
5176
4958
|
<xsl:variable name="onlyOneComponent" select="normalize-space($parent = 'formula' and count(*[local-name()='dt']) = 1)"/>
|
5177
4959
|
|
5178
4960
|
<xsl:choose>
|
5179
4961
|
<xsl:when test="$onlyOneComponent = 'true'"> <!-- only one component -->
|
5180
|
-
|
5181
|
-
|
5182
|
-
|
5183
|
-
<!-- <xsl:variable name="title-where">
|
4962
|
+
<fo:block margin-bottom="12pt" text-align="left">
|
4963
|
+
<!-- <xsl:variable name="title-where">
|
5184
4964
|
<xsl:call-template name="getLocalizedString">
|
5185
4965
|
<xsl:with-param name="key">where</xsl:with-param>
|
5186
4966
|
</xsl:call-template>
|
5187
4967
|
</xsl:variable>
|
5188
4968
|
<xsl:value-of select="$title-where"/> -->
|
5189
|
-
|
5190
|
-
|
5191
|
-
|
5192
|
-
|
5193
|
-
|
5194
|
-
|
5195
|
-
|
5196
|
-
|
5197
|
-
|
4969
|
+
<xsl:apply-templates select="preceding-sibling::*[1][local-name() = 'p' and @keep-with-next = 'true']/node()"/>
|
4970
|
+
<xsl:text> </xsl:text>
|
4971
|
+
<xsl:apply-templates select="*[local-name()='dt']/*"/>
|
4972
|
+
<xsl:if test="*[local-name()='dd']/node()[normalize-space() != ''][1][self::text()]">
|
4973
|
+
<xsl:text> </xsl:text>
|
4974
|
+
</xsl:if>
|
4975
|
+
<xsl:apply-templates select="*[local-name()='dd']/node()" mode="inline"/>
|
4976
|
+
</fo:block>
|
5198
4977
|
</xsl:when> <!-- END: only one component -->
|
5199
4978
|
<xsl:when test="$parent = 'formula'"> <!-- a few components -->
|
5200
4979
|
<fo:block margin-bottom="12pt" text-align="left">
|
@@ -5214,19 +4993,17 @@
|
|
5214
4993
|
<xsl:when test="$parent = 'figure' and (not(../@class) or ../@class !='pseudocode')"> <!-- definition list in a figure -->
|
5215
4994
|
<!-- Presentation XML contains 'Key' caption, https://github.com/metanorma/isodoc/issues/607 -->
|
5216
4995
|
<xsl:if test="not(preceding-sibling::*[1][local-name() = 'p' and @keep-with-next])"> <!-- for old Presentation XML -->
|
4996
|
+
<fo:block font-weight="bold" text-align="left" margin-bottom="12pt" keep-with-next="always">
|
5217
4997
|
|
5218
|
-
|
5219
|
-
|
5220
|
-
<xsl:call-template name="refine_figure_key_style"/>
|
5221
|
-
|
5222
|
-
<xsl:variable name="title-key">
|
5223
|
-
<xsl:call-template name="getLocalizedString">
|
5224
|
-
<xsl:with-param name="key">key</xsl:with-param>
|
5225
|
-
</xsl:call-template>
|
5226
|
-
</xsl:variable>
|
5227
|
-
<xsl:value-of select="$title-key"/>
|
5228
|
-
</fo:block>
|
4998
|
+
<xsl:call-template name="refine_figure_key_style"/>
|
5229
4999
|
|
5000
|
+
<xsl:variable name="title-key">
|
5001
|
+
<xsl:call-template name="getLocalizedString">
|
5002
|
+
<xsl:with-param name="key">key</xsl:with-param>
|
5003
|
+
</xsl:call-template>
|
5004
|
+
</xsl:variable>
|
5005
|
+
<xsl:value-of select="$title-key"/>
|
5006
|
+
</fo:block>
|
5230
5007
|
</xsl:if>
|
5231
5008
|
</xsl:when> <!-- END: definition list in a figure -->
|
5232
5009
|
</xsl:choose>
|
@@ -5259,16 +5036,13 @@
|
|
5259
5036
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
5260
5037
|
<xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
|
5261
5038
|
</xsl:if>
|
5262
|
-
|
5263
5039
|
<xsl:choose>
|
5264
5040
|
<xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'"/>
|
5265
5041
|
<xsl:when test="normalize-space($key_iso) = 'true'">
|
5266
5042
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
5267
|
-
|
5268
5043
|
</xsl:when>
|
5269
5044
|
</xsl:choose>
|
5270
|
-
|
5271
|
-
<xsl:attribute name="width">100%</xsl:attribute>
|
5045
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
5272
5046
|
|
5273
5047
|
<xsl:choose>
|
5274
5048
|
<xsl:when test="$isGenerateTableIF = 'true'">
|
@@ -5371,17 +5145,15 @@
|
|
5371
5145
|
<xsl:call-template name="getMaxLength_dt"/>
|
5372
5146
|
</xsl:variable>
|
5373
5147
|
|
5374
|
-
<xsl:variable name="isContainsKeepTogetherTag_">
|
5375
|
-
false
|
5148
|
+
<xsl:variable name="isContainsKeepTogetherTag_">false
|
5376
5149
|
</xsl:variable>
|
5377
5150
|
<xsl:variable name="isContainsKeepTogetherTag" select="normalize-space($isContainsKeepTogetherTag_)"/>
|
5378
5151
|
<!-- isContainsExpressReference=<xsl:value-of select="$isContainsExpressReference"/> -->
|
5379
|
-
|
5380
|
-
|
5381
|
-
|
5382
|
-
|
5383
|
-
|
5384
|
-
</xsl:call-template>
|
5152
|
+
<xsl:call-template name="setColumnWidth_dl">
|
5153
|
+
<xsl:with-param name="colwidths" select="$colwidths"/>
|
5154
|
+
<xsl:with-param name="maxlength_dt" select="$maxlength_dt"/>
|
5155
|
+
<xsl:with-param name="isContainsKeepTogetherTag" select="$isContainsKeepTogetherTag"/>
|
5156
|
+
</xsl:call-template>
|
5385
5157
|
|
5386
5158
|
<fo:table-body>
|
5387
5159
|
|
@@ -5432,25 +5204,19 @@
|
|
5432
5204
|
</xsl:template>
|
5433
5205
|
|
5434
5206
|
<xsl:template name="refine_dl_formula_where_style">
|
5435
|
-
|
5436
5207
|
</xsl:template> <!-- refine_dl_formula_where_style -->
|
5437
5208
|
|
5438
5209
|
<xsl:template name="refine_figure_key_style">
|
5439
|
-
|
5440
5210
|
</xsl:template> <!-- refine_figure_key_style -->
|
5441
5211
|
|
5442
5212
|
<xsl:template name="refine_multicomponent_style">
|
5443
5213
|
<xsl:variable name="parent" select="local-name(..)"/>
|
5444
|
-
|
5445
|
-
<!-- <xsl:attribute name="margin-left">7mm</xsl:attribute> -->
|
5446
|
-
|
5214
|
+
<!-- <xsl:attribute name="margin-left">7mm</xsl:attribute> -->
|
5447
5215
|
</xsl:template> <!-- refine_multicomponent_style -->
|
5448
5216
|
|
5449
5217
|
<xsl:template name="refine_multicomponent_block_style">
|
5450
5218
|
<xsl:variable name="parent" select="local-name(..)"/>
|
5451
|
-
|
5452
|
-
<!-- <xsl:attribute name="margin-left">-3.5mm</xsl:attribute> -->
|
5453
|
-
|
5219
|
+
<!-- <xsl:attribute name="margin-left">-3.5mm</xsl:attribute> -->
|
5454
5220
|
</xsl:template> <!-- refine_multicomponent_block_style -->
|
5455
5221
|
|
5456
5222
|
<!-- ignore 'p' with 'where' in formula, before 'dl' -->
|
@@ -5637,14 +5403,11 @@
|
|
5637
5403
|
<xsl:attribute name="id">
|
5638
5404
|
<xsl:value-of select="concat($id,'@',$row_number,'_2')"/>
|
5639
5405
|
</xsl:attribute>
|
5640
|
-
|
5641
|
-
|
5642
|
-
|
5643
|
-
</xsl:apply-templates>
|
5644
|
-
|
5406
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]">
|
5407
|
+
<xsl:with-param name="process">true</xsl:with-param>
|
5408
|
+
</xsl:apply-templates>
|
5645
5409
|
</td>
|
5646
5410
|
</tr>
|
5647
|
-
|
5648
5411
|
</xsl:template>
|
5649
5412
|
|
5650
5413
|
<!-- Definition's term -->
|
@@ -5653,7 +5416,6 @@
|
|
5653
5416
|
<xsl:param name="split_keep-within-line"/>
|
5654
5417
|
|
5655
5418
|
<fo:table-row xsl:use-attribute-sets="dt-row-style">
|
5656
|
-
|
5657
5419
|
<xsl:call-template name="insert_dt_cell">
|
5658
5420
|
<xsl:with-param name="key_iso" select="$key_iso"/>
|
5659
5421
|
<xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
|
@@ -5675,7 +5437,6 @@
|
|
5675
5437
|
<!-- border is mandatory, to calculate real width -->
|
5676
5438
|
<xsl:attribute name="border">0.1pt solid black</xsl:attribute>
|
5677
5439
|
<xsl:attribute name="text-align">left</xsl:attribute>
|
5678
|
-
|
5679
5440
|
</xsl:if>
|
5680
5441
|
|
5681
5442
|
<xsl:call-template name="refine_dt-cell-style"/>
|
@@ -5685,9 +5446,7 @@
|
|
5685
5446
|
|
5686
5447
|
<xsl:choose>
|
5687
5448
|
<xsl:when test="$isGenerateTableIF = 'true'">
|
5688
|
-
|
5689
|
-
<xsl:copy-of select="@id"/>
|
5690
|
-
|
5449
|
+
<xsl:copy-of select="@id"/>
|
5691
5450
|
</xsl:when>
|
5692
5451
|
<xsl:otherwise>
|
5693
5452
|
<xsl:copy-of select="@id"/>
|
@@ -5724,9 +5483,7 @@
|
|
5724
5483
|
<fo:block role="SKIP">
|
5725
5484
|
|
5726
5485
|
<xsl:if test="$isGenerateTableIF = 'true'">
|
5727
|
-
|
5728
|
-
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
5729
|
-
|
5486
|
+
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
5730
5487
|
</xsl:if>
|
5731
5488
|
|
5732
5489
|
<xsl:choose>
|
@@ -5874,7 +5631,6 @@
|
|
5874
5631
|
</xsl:template>
|
5875
5632
|
|
5876
5633
|
<xsl:template name="refine_italic_style">
|
5877
|
-
|
5878
5634
|
</xsl:template>
|
5879
5635
|
|
5880
5636
|
<xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
|
@@ -5890,7 +5646,6 @@
|
|
5890
5646
|
</xsl:template>
|
5891
5647
|
|
5892
5648
|
<xsl:template name="refine_strong_style">
|
5893
|
-
|
5894
5649
|
<xsl:if test="ancestor::*['preferred']">
|
5895
5650
|
<xsl:attribute name="role">SKIP</xsl:attribute>
|
5896
5651
|
</xsl:if>
|
@@ -5915,11 +5670,7 @@
|
|
5915
5670
|
<xsl:template match="*[local-name()='tt']">
|
5916
5671
|
<fo:inline xsl:use-attribute-sets="tt-style">
|
5917
5672
|
|
5918
|
-
<xsl:variable name="_font-size">
|
5919
|
-
|
5920
|
-
9.5
|
5921
|
-
<!-- inherit -->
|
5922
|
-
|
5673
|
+
<xsl:variable name="_font-size">9.5 <!-- inherit -->
|
5923
5674
|
</xsl:variable>
|
5924
5675
|
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
|
5925
5676
|
<xsl:if test="$font-size != ''">
|
@@ -6135,8 +5886,7 @@
|
|
6135
5886
|
</xsl:otherwise>
|
6136
5887
|
</xsl:choose>
|
6137
5888
|
</xsl:variable>
|
6138
|
-
<xsl:variable name="ratio_">
|
6139
|
-
0.75
|
5889
|
+
<xsl:variable name="ratio_">0.75
|
6140
5890
|
</xsl:variable>
|
6141
5891
|
<xsl:variable name="ratio" select="number(normalize-space($ratio_))"/>
|
6142
5892
|
<fo:inline font-size="{$ratio * 100}%" role="SKIP">
|
@@ -6214,77 +5964,76 @@
|
|
6214
5964
|
<fo:block> </fo:block>
|
6215
5965
|
<fo:block break-after="page"/>
|
6216
5966
|
</xsl:template>
|
5967
|
+
<!-- ================================================================ -->
|
5968
|
+
<!-- landscape/portrait orientation processing (post-processing step) -->
|
5969
|
+
<!-- ================================================================ -->
|
5970
|
+
<xsl:template match="@*|node()" mode="landscape_portrait">
|
5971
|
+
<xsl:copy>
|
5972
|
+
<xsl:apply-templates select="@*|node()" mode="landscape_portrait"/>
|
5973
|
+
</xsl:copy>
|
5974
|
+
</xsl:template>
|
6217
5975
|
|
6218
|
-
|
6219
|
-
<!-- landscape/portrait orientation processing (post-processing step) -->
|
6220
|
-
<!-- ================================================================ -->
|
6221
|
-
<xsl:template match="@*|node()" mode="landscape_portrait">
|
6222
|
-
<xsl:copy>
|
6223
|
-
<xsl:apply-templates select="@*|node()" mode="landscape_portrait"/>
|
6224
|
-
</xsl:copy>
|
6225
|
-
</xsl:template>
|
6226
|
-
|
6227
|
-
<xsl:template match="*[local-name() = 'pagebreak'][not(following-sibling::*[1][local-name() = 'pagebreak'])]" mode="landscape_portrait">
|
6228
|
-
|
6229
|
-
<!-- determine pagebreak is last element before </fo:flow> or not -->
|
6230
|
-
<xsl:variable name="isLast">
|
6231
|
-
<xsl:for-each select="ancestor-or-self::*[ancestor::fo:flow]">
|
6232
|
-
<xsl:if test="following-sibling::*">false</xsl:if>
|
6233
|
-
</xsl:for-each>
|
6234
|
-
</xsl:variable>
|
5976
|
+
<xsl:template match="*[local-name() = 'pagebreak'][not(following-sibling::*[1][local-name() = 'pagebreak'])]" mode="landscape_portrait">
|
6235
5977
|
|
6236
|
-
|
5978
|
+
<!-- determine pagebreak is last element before </fo:flow> or not -->
|
5979
|
+
<xsl:variable name="isLast">
|
5980
|
+
<xsl:for-each select="ancestor-or-self::*[ancestor::fo:flow]">
|
5981
|
+
<xsl:if test="following-sibling::*">false</xsl:if>
|
5982
|
+
</xsl:for-each>
|
5983
|
+
</xsl:variable>
|
6237
5984
|
|
6238
|
-
|
5985
|
+
<xsl:if test="contains($isLast, 'false')">
|
6239
5986
|
|
6240
|
-
|
6241
|
-
<xsl:for-each select="ancestor::*[ancestor::fo:flow]">
|
6242
|
-
<element pos="{position()}">
|
6243
|
-
<xsl:value-of select="name()"/>
|
6244
|
-
</element>
|
6245
|
-
</xsl:for-each>
|
6246
|
-
</xsl:variable>
|
6247
|
-
<xsl:variable name="tree" select="xalan:nodeset($tree_)"/>
|
5987
|
+
<xsl:variable name="orientation" select="normalize-space(@orientation)"/>
|
6248
5988
|
|
6249
|
-
|
6250
|
-
<xsl:for-each select="
|
6251
|
-
<
|
6252
|
-
|
6253
|
-
|
6254
|
-
<xsl:text disable-output-escaping="yes">></xsl:text>
|
5989
|
+
<xsl:variable name="tree_">
|
5990
|
+
<xsl:for-each select="ancestor::*[ancestor::fo:flow]">
|
5991
|
+
<element pos="{position()}">
|
5992
|
+
<xsl:value-of select="name()"/>
|
5993
|
+
</element>
|
6255
5994
|
</xsl:for-each>
|
6256
|
-
|
6257
|
-
|
5995
|
+
</xsl:variable>
|
5996
|
+
<xsl:variable name="tree" select="xalan:nodeset($tree_)"/>
|
6258
5997
|
|
6259
|
-
|
6260
|
-
|
6261
|
-
<xsl:
|
6262
|
-
<
|
6263
|
-
<
|
6264
|
-
|
6265
|
-
|
6266
|
-
|
6267
|
-
|
6268
|
-
<xsl:text disable-output-escaping="yes"><fo:flow flow-name="xsl-region-body"></xsl:text>
|
5998
|
+
<!-- close fo:page-sequence (closing preceding fo elements) -->
|
5999
|
+
<xsl:for-each select="$tree//element">
|
6000
|
+
<xsl:sort data-type="number" order="descending" select="@pos"/>
|
6001
|
+
<xsl:text disable-output-escaping="yes"></</xsl:text>
|
6002
|
+
<xsl:value-of select="."/>
|
6003
|
+
<xsl:text disable-output-escaping="yes">></xsl:text>
|
6004
|
+
</xsl:for-each>
|
6005
|
+
<xsl:text disable-output-escaping="yes"></fo:flow></xsl:text>
|
6006
|
+
<xsl:text disable-output-escaping="yes"></fo:page-sequence></xsl:text>
|
6269
6007
|
|
6270
|
-
|
6271
|
-
|
6008
|
+
<!-- <pagebreak/> -->
|
6009
|
+
<!-- create a new fo:page-sequence (opening fo elements) -->
|
6010
|
+
<xsl:text disable-output-escaping="yes"><fo:page-sequence master-reference="document</xsl:text><xsl:if test="$orientation != ''">-<xsl:value-of select="$orientation"/></xsl:if><xsl:text disable-output-escaping="yes">"></xsl:text>
|
6011
|
+
<fo:static-content flow-name="xsl-footnote-separator">
|
6012
|
+
<fo:block>
|
6013
|
+
<fo:leader leader-pattern="rule" leader-length="30%"/>
|
6014
|
+
</fo:block>
|
6015
|
+
</fo:static-content>
|
6016
|
+
<xsl:call-template name="insertHeaderFooter"/>
|
6017
|
+
<xsl:text disable-output-escaping="yes"><fo:flow flow-name="xsl-region-body"></xsl:text>
|
6018
|
+
|
6019
|
+
<xsl:for-each select="$tree//element">
|
6020
|
+
<xsl:text disable-output-escaping="yes"><</xsl:text>
|
6021
|
+
<xsl:value-of select="."/>
|
6022
|
+
<xsl:for-each select="@*[local-name() != 'pos']">
|
6023
|
+
<xsl:text> </xsl:text>
|
6024
|
+
<xsl:value-of select="local-name()"/>
|
6025
|
+
<xsl:text>="</xsl:text>
|
6272
6026
|
<xsl:value-of select="."/>
|
6273
|
-
<xsl:
|
6274
|
-
|
6275
|
-
|
6276
|
-
|
6277
|
-
<xsl:value-of select="."/>
|
6278
|
-
<xsl:text>"</xsl:text>
|
6279
|
-
</xsl:for-each>
|
6280
|
-
<xsl:text disable-output-escaping="yes">></xsl:text>
|
6281
|
-
</xsl:for-each>
|
6027
|
+
<xsl:text>"</xsl:text>
|
6028
|
+
</xsl:for-each>
|
6029
|
+
<xsl:text disable-output-escaping="yes">></xsl:text>
|
6030
|
+
</xsl:for-each>
|
6282
6031
|
|
6283
|
-
|
6284
|
-
|
6285
|
-
|
6286
|
-
|
6287
|
-
|
6032
|
+
</xsl:if>
|
6033
|
+
</xsl:template>
|
6034
|
+
<!-- ================================================================ -->
|
6035
|
+
<!-- END: landscape/portrait orientation processing (post-processing step) -->
|
6036
|
+
<!-- ================================================================ -->
|
6288
6037
|
|
6289
6038
|
<!-- Example: <span style="font-family:"Noto Sans JP"">styled text</span> -->
|
6290
6039
|
<xsl:template match="*[local-name() = 'span'][@style]" priority="2">
|
@@ -6297,7 +6046,7 @@
|
|
6297
6046
|
|
6298
6047
|
<xsl:variable name="quot">"</xsl:variable>
|
6299
6048
|
<xsl:variable name="styles_">
|
6300
|
-
<xsl:for-each select="xalan:nodeset($styles__)/item">
|
6049
|
+
<xsl:for-each select="xalan:nodeset($styles__)/mn:item">
|
6301
6050
|
<xsl:variable name="key" select="normalize-space(substring-before(., ':'))"/>
|
6302
6051
|
<xsl:variable name="value_" select="normalize-space(substring-after(translate(.,$quot,''), ':'))"/>
|
6303
6052
|
<xsl:variable name="value">
|
@@ -6309,7 +6058,7 @@
|
|
6309
6058
|
</xsl:otherwise>
|
6310
6059
|
</xsl:choose>
|
6311
6060
|
</xsl:variable>
|
6312
|
-
<xsl:if test="$key = 'font-family' or $key = 'font-size' or $key = 'color'">
|
6061
|
+
<xsl:if test="$key = 'font-family' or $key = 'font-size' or $key = 'color' or $key = 'baseline-shift'">
|
6313
6062
|
<style name="{$key}"><xsl:value-of select="$value"/></style>
|
6314
6063
|
</xsl:if>
|
6315
6064
|
<xsl:if test="$key = 'text-indent'">
|
@@ -6323,7 +6072,6 @@
|
|
6323
6072
|
<fo:inline>
|
6324
6073
|
<xsl:for-each select="$styles/style">
|
6325
6074
|
<xsl:attribute name="{@name}"><xsl:value-of select="."/></xsl:attribute>
|
6326
|
-
|
6327
6075
|
</xsl:for-each>
|
6328
6076
|
<xsl:apply-templates/>
|
6329
6077
|
</fo:inline>
|
@@ -7310,10 +7058,9 @@
|
|
7310
7058
|
<xsl:variable name="mathml_content">
|
7311
7059
|
<xsl:apply-templates select="." mode="mathml_actual_text"/>
|
7312
7060
|
</xsl:variable>
|
7313
|
-
|
7314
|
-
|
7315
|
-
|
7316
|
-
</xsl:call-template>
|
7061
|
+
<xsl:call-template name="mathml_instream_object">
|
7062
|
+
<xsl:with-param name="mathml_content" select="$mathml_content"/>
|
7063
|
+
</xsl:call-template>
|
7317
7064
|
|
7318
7065
|
</fo:inline>
|
7319
7066
|
</xsl:template>
|
@@ -7347,7 +7094,6 @@
|
|
7347
7094
|
<xsl:template name="getMathml_asciimath_text">
|
7348
7095
|
<xsl:variable name="asciimath" select="../*[local-name() = 'asciimath']"/>
|
7349
7096
|
<xsl:variable name="latexmath">
|
7350
|
-
|
7351
7097
|
</xsl:variable>
|
7352
7098
|
<xsl:variable name="asciimath_text_following">
|
7353
7099
|
<xsl:choose>
|
@@ -7420,7 +7166,6 @@
|
|
7420
7166
|
</xsl:template>
|
7421
7167
|
|
7422
7168
|
<xsl:template name="refine_mathml_insteam_object_style">
|
7423
|
-
|
7424
7169
|
</xsl:template> <!-- refine_mathml_insteam_object_style -->
|
7425
7170
|
|
7426
7171
|
<xsl:template match="mathml:*" mode="mathml_actual_text">
|
@@ -7818,7 +7563,6 @@
|
|
7818
7563
|
<xsl:variable name="annotation-id" select="@id"/>
|
7819
7564
|
<xsl:variable name="callout" select="//*[@target = $annotation-id]/text()"/>
|
7820
7565
|
<fo:block id="{$annotation-id}" white-space="nowrap">
|
7821
|
-
|
7822
7566
|
<fo:inline>
|
7823
7567
|
<xsl:apply-templates>
|
7824
7568
|
<xsl:with-param name="callout" select="concat('<', $callout, '> ')"/>
|
@@ -7847,7 +7591,6 @@
|
|
7847
7591
|
<xsl:if test="string-length(normalize-space()) < 30 and not(contains(normalize-space(), 'http://')) and not(contains(normalize-space(), 'https://')) and not(ancestor::*[local-name() = 'table' or local-name() = 'dl'])">
|
7848
7592
|
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
7849
7593
|
</xsl:if>
|
7850
|
-
|
7851
7594
|
<xsl:if test="parent::*[local-name() = 'add']">
|
7852
7595
|
<xsl:call-template name="append_add-style"/>
|
7853
7596
|
</xsl:if>
|
@@ -7858,8 +7601,7 @@
|
|
7858
7601
|
</xsl:template>
|
7859
7602
|
|
7860
7603
|
<!-- command between two xref points to non-standard bibitem -->
|
7861
|
-
<xsl:template match="text()[. = ','][preceding-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']] and following-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']]]"
|
7862
|
-
<xsl:value-of select="."/>
|
7604
|
+
<xsl:template match="text()[. = ','][preceding-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']] and following-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']]]"><xsl:value-of select="."/>
|
7863
7605
|
</xsl:template>
|
7864
7606
|
|
7865
7607
|
<!-- ====== -->
|
@@ -7874,7 +7616,6 @@
|
|
7874
7616
|
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
7875
7617
|
</xsl:choose>
|
7876
7618
|
</xsl:attribute>
|
7877
|
-
|
7878
7619
|
</xsl:if>
|
7879
7620
|
<fo:block-container margin-left="0mm" role="SKIP">
|
7880
7621
|
<xsl:call-template name="setNamedDestination"/>
|
@@ -7964,53 +7705,49 @@
|
|
7964
7705
|
|
7965
7706
|
<xsl:template match="*[local-name() = 'note']" name="note">
|
7966
7707
|
|
7967
|
-
|
7968
|
-
|
7969
|
-
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style" role="SKIP">
|
7970
|
-
|
7971
|
-
<xsl:call-template name="setBlockSpanAll"/>
|
7972
|
-
|
7973
|
-
<xsl:call-template name="refine_note-style"/>
|
7708
|
+
<xsl:call-template name="setNamedDestination"/>
|
7974
7709
|
|
7975
|
-
|
7710
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style" role="SKIP">
|
7976
7711
|
|
7977
|
-
|
7712
|
+
<xsl:call-template name="setBlockSpanAll"/>
|
7978
7713
|
|
7979
|
-
|
7714
|
+
<xsl:call-template name="refine_note-style"/>
|
7980
7715
|
|
7981
|
-
|
7716
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
7717
|
+
<fo:block>
|
7982
7718
|
|
7983
|
-
|
7719
|
+
<xsl:call-template name="refine_note_block_style"/>
|
7984
7720
|
|
7985
|
-
|
7721
|
+
<fo:inline xsl:use-attribute-sets="note-name-style" role="SKIP">
|
7986
7722
|
|
7987
|
-
|
7988
|
-
<!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
|
7989
|
-
<xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
7990
|
-
<xsl:call-template name="append_add-style"/>
|
7991
|
-
</xsl:if>
|
7723
|
+
<xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'tab']" mode="tab"/>
|
7992
7724
|
|
7993
|
-
|
7994
|
-
<xsl:if test="count(*[not(local-name() = 'name')]) = 1 and *[not(local-name() = 'name')]/node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
7995
|
-
<xsl:apply-templates select="*[not(local-name() = 'name')]/node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
7996
|
-
<xsl:with-param name="skip">false</xsl:with-param>
|
7997
|
-
</xsl:apply-templates>
|
7998
|
-
</xsl:if>
|
7725
|
+
<xsl:call-template name="refine_note-name-style"/>
|
7999
7726
|
|
8000
|
-
|
7727
|
+
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
7728
|
+
<!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
|
7729
|
+
<xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
7730
|
+
<xsl:call-template name="append_add-style"/>
|
7731
|
+
</xsl:if>
|
8001
7732
|
|
8002
|
-
|
7733
|
+
<!-- if note contains only one element and first and last childs are `add` ace-tag, then move start ace-tag before NOTE's name-->
|
7734
|
+
<xsl:if test="count(*[not(local-name() = 'name')]) = 1 and *[not(local-name() = 'name')]/node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
7735
|
+
<xsl:apply-templates select="*[not(local-name() = 'name')]/node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
7736
|
+
<xsl:with-param name="skip">false</xsl:with-param>
|
7737
|
+
</xsl:apply-templates>
|
7738
|
+
</xsl:if>
|
8003
7739
|
|
8004
|
-
|
8005
|
-
</fo:block>
|
7740
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
8006
7741
|
|
8007
|
-
|
8008
|
-
</fo:block-container>
|
7742
|
+
</fo:inline>
|
8009
7743
|
|
7744
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
7745
|
+
</fo:block>
|
7746
|
+
</fo:block-container>
|
7747
|
+
</fo:block-container>
|
8010
7748
|
</xsl:template>
|
8011
7749
|
|
8012
7750
|
<xsl:template name="refine_note_block_style">
|
8013
|
-
|
8014
7751
|
</xsl:template> <!-- refine_note_block_style -->
|
8015
7752
|
|
8016
7753
|
<xsl:template match="*[local-name() = 'note']/*[local-name() = 'p']">
|
@@ -8063,7 +7800,6 @@
|
|
8063
7800
|
<xsl:value-of select="$sfx"/>
|
8064
7801
|
</xsl:when>
|
8065
7802
|
<xsl:otherwise>
|
8066
|
-
|
8067
7803
|
<!-- https://github.com/metanorma/isodoc/issues/607 -->
|
8068
7804
|
<!-- <xsl:if test="$namespace = 'ieee'">
|
8069
7805
|
<xsl:text>—</xsl:text> em dash —
|
@@ -8071,7 +7807,6 @@
|
|
8071
7807
|
<!-- <xsl:if test="$namespace = 'iho' or $namespace = 'gb' or $namespace = 'm3d' or $namespace = 'unece-rec' or $namespace = 'unece' or $namespace = 'rsd'">
|
8072
7808
|
<xsl:text>:</xsl:text>
|
8073
7809
|
</xsl:if> -->
|
8074
|
-
|
8075
7810
|
<!-- <xsl:if test="$namespace = 'itu' or $namespace = 'nist-cswp' or $namespace = 'nist-sp'">
|
8076
7811
|
<xsl:text> – </xsl:text> en dash –
|
8077
7812
|
</xsl:if> -->
|
@@ -8092,7 +7827,6 @@
|
|
8092
7827
|
<xsl:value-of select="$sfx"/>
|
8093
7828
|
</xsl:when>
|
8094
7829
|
<xsl:otherwise>
|
8095
|
-
|
8096
7830
|
<!-- https://github.com/metanorma/isodoc/issues/607 -->
|
8097
7831
|
<!-- <xsl:if test="$namespace = 'ieee'">
|
8098
7832
|
<xsl:text>—</xsl:text> em dash —
|
@@ -8148,7 +7882,6 @@
|
|
8148
7882
|
<fo:block id="{@id}" xsl:use-attribute-sets="term-style">
|
8149
7883
|
|
8150
7884
|
<xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">
|
8151
|
-
|
8152
7885
|
</xsl:if>
|
8153
7886
|
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
8154
7887
|
</fo:block>
|
@@ -8188,8 +7921,7 @@
|
|
8188
7921
|
<!-- Example: Dimensions in millimeters -->
|
8189
7922
|
<xsl:apply-templates select="*[local-name() = 'note'][@type = 'units']"/>
|
8190
7923
|
|
8191
|
-
<xsl:variable name="show_figure_key_in_block_container">
|
8192
|
-
true
|
7924
|
+
<xsl:variable name="show_figure_key_in_block_container">true
|
8193
7925
|
</xsl:variable>
|
8194
7926
|
|
8195
7927
|
<fo:block xsl:use-attribute-sets="figure-style" role="SKIP">
|
@@ -8204,11 +7936,9 @@
|
|
8204
7936
|
<xsl:if test="normalize-space($show_figure_key_in_block_container) = 'true'">
|
8205
7937
|
<xsl:call-template name="showFigureKey"/>
|
8206
7938
|
</xsl:if>
|
8207
|
-
|
8208
|
-
<xsl:apply-templates select="*[local-name() = 'name']"/> <!-- show figure's name AFTER image -->
|
7939
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/> <!-- show figure's name AFTER image -->
|
8209
7940
|
|
8210
7941
|
</fo:block-container>
|
8211
|
-
|
8212
7942
|
</xsl:template>
|
8213
7943
|
|
8214
7944
|
<xsl:template name="showFigureKey">
|
@@ -8246,13 +7976,12 @@
|
|
8246
7976
|
<!-- SOURCE: ... -->
|
8247
7977
|
<!-- figure/source -->
|
8248
7978
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'source']" priority="2">
|
8249
|
-
|
8250
|
-
<xsl:call-template name="termsource"/>
|
8251
|
-
|
7979
|
+
<xsl:call-template name="termsource"/>
|
8252
7980
|
</xsl:template>
|
8253
7981
|
|
8254
7982
|
<xsl:template match="*[local-name() = 'image']">
|
8255
7983
|
<xsl:param name="indent">0</xsl:param>
|
7984
|
+
<xsl:param name="logo_width"/>
|
8256
7985
|
<xsl:variable name="isAdded" select="../@added"/>
|
8257
7986
|
<xsl:variable name="isDeleted" select="../@deleted"/>
|
8258
7987
|
<xsl:choose>
|
@@ -8274,9 +8003,18 @@
|
|
8274
8003
|
|
8275
8004
|
<!-- debug scale='<xsl:value-of select="$scale"/>', indent='<xsl:value-of select="$indent"/>' -->
|
8276
8005
|
|
8277
|
-
<!-- <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" vertical-align="middle"/> -->
|
8278
8006
|
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" vertical-align="middle">
|
8279
8007
|
|
8008
|
+
<xsl:if test="parent::*[local-name() = 'logo']"> <!-- publisher's logo -->
|
8009
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
8010
|
+
<xsl:if test="normalize-space($logo_width) != ''">
|
8011
|
+
<xsl:attribute name="width"><xsl:value-of select="$logo_width"/></xsl:attribute>
|
8012
|
+
</xsl:if>
|
8013
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
8014
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
8015
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
8016
|
+
</xsl:if>
|
8017
|
+
|
8280
8018
|
<xsl:variable name="width">
|
8281
8019
|
<xsl:call-template name="setImageWidth"/>
|
8282
8020
|
</xsl:variable>
|
@@ -8354,8 +8092,7 @@
|
|
8354
8092
|
</xsl:call-template>
|
8355
8093
|
</xsl:variable>
|
8356
8094
|
|
8357
|
-
<xsl:variable name="scaleRatio">
|
8358
|
-
1
|
8095
|
+
<xsl:variable name="scaleRatio">1
|
8359
8096
|
</xsl:variable>
|
8360
8097
|
|
8361
8098
|
<xsl:if test="number($scale) < 100">
|
@@ -8466,18 +8203,14 @@
|
|
8466
8203
|
</xsl:variable>
|
8467
8204
|
|
8468
8205
|
<xsl:variable name="image_width_effective">
|
8469
|
-
|
8470
|
-
<xsl:value-of select="$width_effective - number($indent_left)"/>
|
8471
|
-
|
8206
|
+
<xsl:value-of select="$width_effective - number($indent_left)"/>
|
8472
8207
|
</xsl:variable>
|
8473
8208
|
<xsl:variable name="image_height_effective" select="$height_effective - number($indent_left)"/>
|
8474
8209
|
<!-- <xsl:message>width_effective=<xsl:value-of select="$width_effective"/></xsl:message>
|
8475
8210
|
<xsl:message>indent_left=<xsl:value-of select="$indent_left"/></xsl:message>
|
8476
8211
|
<xsl:message>image_width_effective=<xsl:value-of select="$image_width_effective"/> for <xsl:value-of select="ancestor::ogc:p[1]/@id"/></xsl:message> -->
|
8477
8212
|
<xsl:variable name="scale">
|
8478
|
-
|
8479
|
-
<xsl:value-of select="java:org.metanorma.fop.utils.ImageUtils.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
8480
|
-
|
8213
|
+
<xsl:value-of select="java:org.metanorma.fop.utils.ImageUtils.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
8481
8214
|
</xsl:variable>
|
8482
8215
|
<xsl:value-of select="$scale"/>
|
8483
8216
|
</xsl:template>
|
@@ -8498,7 +8231,8 @@
|
|
8498
8231
|
</xsl:when>
|
8499
8232
|
<xsl:when test="not(starts-with(@src, 'data:'))">
|
8500
8233
|
<xsl:variable name="src_external"><xsl:call-template name="getImageSrcExternal"/></xsl:variable>
|
8501
|
-
<xsl:
|
8234
|
+
<xsl:variable name="file_protocol"><xsl:if test="not(starts-with($src_external, 'http:')) and not(starts-with($src_external, 'https:')) and not(starts-with($src_external, 'www.'))">file:///</xsl:if></xsl:variable>
|
8235
|
+
<xsl:value-of select="concat('url(', $file_protocol, $src_external, ')')"/>
|
8502
8236
|
</xsl:when>
|
8503
8237
|
<xsl:otherwise>
|
8504
8238
|
<xsl:value-of select="@src"/>
|
@@ -8794,8 +8528,8 @@
|
|
8794
8528
|
</xsl:call-template>
|
8795
8529
|
</xsl:variable>
|
8796
8530
|
<xsl:variable name="viewbox" select="xalan:nodeset($viewbox_)"/>
|
8797
|
-
<xsl:variable name="width" select="normalize-space($viewbox//item[3])"/>
|
8798
|
-
<xsl:variable name="height" select="normalize-space($viewbox//item[4])"/>
|
8531
|
+
<xsl:variable name="width" select="normalize-space($viewbox//mn:item[3])"/>
|
8532
|
+
<xsl:variable name="height" select="normalize-space($viewbox//mn:item[4])"/>
|
8799
8533
|
|
8800
8534
|
<xsl:variable name="parent_image_width" select="normalize-space(ancestor::*[1][local-name() = 'image']/@width)"/>
|
8801
8535
|
<xsl:variable name="parent_image_height" select="normalize-space(ancestor::*[1][local-name() = 'image']/@height)"/>
|
@@ -8867,8 +8601,8 @@
|
|
8867
8601
|
</xsl:variable>
|
8868
8602
|
<xsl:variable name="components" select="xalan:nodeset($components_)"/>
|
8869
8603
|
<xsl:variable name="att_name" select="local-name()"/>
|
8870
|
-
<xsl:attribute name="{$att_name}"><xsl:value-of select="concat('rgb(', $components/item[1], ',', $components/item[2], ',', $components/item[3], ')')"/></xsl:attribute>
|
8871
|
-
<xsl:attribute name="{$att_name}-opacity"><xsl:value-of select="$components/item[4]"/></xsl:attribute>
|
8604
|
+
<xsl:attribute name="{$att_name}"><xsl:value-of select="concat('rgb(', $components/mn:item[1], ',', $components/mn:item[2], ',', $components/mn:item[3], ')')"/></xsl:attribute>
|
8605
|
+
<xsl:attribute name="{$att_name}-opacity"><xsl:value-of select="$components/mn:item[4]"/></xsl:attribute>
|
8872
8606
|
</xsl:template>
|
8873
8607
|
|
8874
8608
|
<!-- ============== -->
|
@@ -8941,13 +8675,13 @@
|
|
8941
8675
|
</xsl:call-template>
|
8942
8676
|
</xsl:variable>
|
8943
8677
|
<xsl:variable name="x_coords">
|
8944
|
-
<xsl:for-each select="xalan:nodeset($points)//item[position() mod 2 = 1]">
|
8678
|
+
<xsl:for-each select="xalan:nodeset($points)//mn:item[position() mod 2 = 1]">
|
8945
8679
|
<xsl:sort select="." data-type="number"/>
|
8946
8680
|
<x><xsl:value-of select="."/></x>
|
8947
8681
|
</xsl:for-each>
|
8948
8682
|
</xsl:variable>
|
8949
8683
|
<xsl:variable name="y_coords">
|
8950
|
-
<xsl:for-each select="xalan:nodeset($points)//item[position() mod 2 = 0]">
|
8684
|
+
<xsl:for-each select="xalan:nodeset($points)//mn:item[position() mod 2 = 0]">
|
8951
8685
|
<xsl:sort select="." data-type="number"/>
|
8952
8686
|
<y><xsl:value-of select="."/></y>
|
8953
8687
|
</xsl:for-each>
|
@@ -9152,11 +8886,11 @@
|
|
9152
8886
|
<xsl:if test="ancestor-or-self::*[local-name() = 'annex']">annex</xsl:if>
|
9153
8887
|
</xsl:variable>
|
9154
8888
|
|
9155
|
-
<item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
|
9156
|
-
<title>
|
8889
|
+
<mn:item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
|
8890
|
+
<mn:title>
|
9157
8891
|
<xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
|
9158
|
-
</title>
|
9159
|
-
</item>
|
8892
|
+
</mn:title>
|
8893
|
+
</mn:item>
|
9160
8894
|
</xsl:if>
|
9161
8895
|
</xsl:template>
|
9162
8896
|
|
@@ -9227,12 +8961,12 @@
|
|
9227
8961
|
<xsl:param name="contents"/>
|
9228
8962
|
<xsl:param name="contents_addon"/>
|
9229
8963
|
<xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
|
9230
|
-
<xsl:if test="$contents_nodes//item">
|
8964
|
+
<xsl:if test="$contents_nodes//mn:item">
|
9231
8965
|
<fo:bookmark-tree>
|
9232
8966
|
<xsl:choose>
|
9233
|
-
<xsl:when test="$contents_nodes/doc">
|
8967
|
+
<xsl:when test="$contents_nodes/mn:doc">
|
9234
8968
|
<xsl:choose>
|
9235
|
-
<xsl:when test="count($contents_nodes/doc) > 1">
|
8969
|
+
<xsl:when test="count($contents_nodes/mn:doc) > 1">
|
9236
8970
|
|
9237
8971
|
<xsl:if test="$contents_nodes/collection">
|
9238
8972
|
<fo:bookmark internal-destination="{$contents/collection/@firstpage_id}">
|
@@ -9240,8 +8974,8 @@
|
|
9240
8974
|
</fo:bookmark>
|
9241
8975
|
</xsl:if>
|
9242
8976
|
|
9243
|
-
<xsl:for-each select="$contents_nodes/doc">
|
9244
|
-
<fo:bookmark internal-destination="{contents/item[@display = 'true'][1]/@id}" starting-state="hide">
|
8977
|
+
<xsl:for-each select="$contents_nodes/mn:doc">
|
8978
|
+
<fo:bookmark internal-destination="{contents/mn:item[@display = 'true'][1]/@id}" starting-state="hide">
|
9245
8979
|
<xsl:if test="@bundle = 'true'">
|
9246
8980
|
<xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
|
9247
8981
|
</xsl:if>
|
@@ -9275,14 +9009,14 @@
|
|
9275
9009
|
</xsl:choose>
|
9276
9010
|
</fo:bookmark-title>
|
9277
9011
|
|
9278
|
-
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
9012
|
+
<xsl:apply-templates select="contents/mn:item" mode="bookmark"/>
|
9279
9013
|
|
9280
9014
|
<xsl:call-template name="insertFigureBookmarks">
|
9281
|
-
<xsl:with-param name="contents" select="contents"/>
|
9015
|
+
<xsl:with-param name="contents" select="mn:contents"/>
|
9282
9016
|
</xsl:call-template>
|
9283
9017
|
|
9284
9018
|
<xsl:call-template name="insertTableBookmarks">
|
9285
|
-
<xsl:with-param name="contents" select="contents"/>
|
9019
|
+
<xsl:with-param name="contents" select="mn:contents"/>
|
9286
9020
|
<xsl:with-param name="lang" select="@lang"/>
|
9287
9021
|
</xsl:call-template>
|
9288
9022
|
|
@@ -9291,16 +9025,16 @@
|
|
9291
9025
|
</xsl:for-each>
|
9292
9026
|
</xsl:when>
|
9293
9027
|
<xsl:otherwise>
|
9294
|
-
<xsl:for-each select="$contents_nodes/doc">
|
9028
|
+
<xsl:for-each select="$contents_nodes/mn:doc">
|
9295
9029
|
|
9296
|
-
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
9030
|
+
<xsl:apply-templates select="mn:contents/mn:item" mode="bookmark"/>
|
9297
9031
|
|
9298
9032
|
<xsl:call-template name="insertFigureBookmarks">
|
9299
|
-
<xsl:with-param name="contents" select="contents"/>
|
9033
|
+
<xsl:with-param name="contents" select="mn:contents"/>
|
9300
9034
|
</xsl:call-template>
|
9301
9035
|
|
9302
9036
|
<xsl:call-template name="insertTableBookmarks">
|
9303
|
-
<xsl:with-param name="contents" select="contents"/>
|
9037
|
+
<xsl:with-param name="contents" select="mn:contents"/>
|
9304
9038
|
<xsl:with-param name="lang" select="@lang"/>
|
9305
9039
|
</xsl:call-template>
|
9306
9040
|
|
@@ -9309,14 +9043,14 @@
|
|
9309
9043
|
</xsl:choose>
|
9310
9044
|
</xsl:when>
|
9311
9045
|
<xsl:otherwise>
|
9312
|
-
<xsl:apply-templates select="$contents_nodes/contents/item" mode="bookmark"/>
|
9046
|
+
<xsl:apply-templates select="$contents_nodes/mn:contents/mn:item" mode="bookmark"/>
|
9313
9047
|
|
9314
9048
|
<xsl:call-template name="insertFigureBookmarks">
|
9315
|
-
<xsl:with-param name="contents" select="$contents_nodes/contents"/>
|
9049
|
+
<xsl:with-param name="contents" select="$contents_nodes/mn:contents"/>
|
9316
9050
|
</xsl:call-template>
|
9317
9051
|
|
9318
9052
|
<xsl:call-template name="insertTableBookmarks">
|
9319
|
-
<xsl:with-param name="contents" select="$contents_nodes/contents"/>
|
9053
|
+
<xsl:with-param name="contents" select="$contents_nodes/mn:contents"/>
|
9320
9054
|
<xsl:with-param name="lang" select="@lang"/>
|
9321
9055
|
</xsl:call-template>
|
9322
9056
|
|
@@ -9333,80 +9067,72 @@
|
|
9333
9067
|
<xsl:template name="insertFigureBookmarks">
|
9334
9068
|
<xsl:param name="contents"/>
|
9335
9069
|
<xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
|
9336
|
-
<xsl:if test="$contents_nodes/figure">
|
9337
|
-
<fo:bookmark internal-destination="{$contents_nodes/figure[1]/@id}" starting-state="hide">
|
9070
|
+
<xsl:if test="$contents_nodes/mn:figure">
|
9071
|
+
<fo:bookmark internal-destination="{$contents_nodes/mn:figure[1]/@id}" starting-state="hide">
|
9338
9072
|
<fo:bookmark-title>Figures</fo:bookmark-title>
|
9339
|
-
<xsl:for-each select="$contents_nodes/figure">
|
9073
|
+
<xsl:for-each select="$contents_nodes/mn:figure">
|
9340
9074
|
<fo:bookmark internal-destination="{@id}">
|
9341
9075
|
<fo:bookmark-title>
|
9342
|
-
<xsl:value-of select="normalize-space(title)"/>
|
9076
|
+
<xsl:value-of select="normalize-space(mn:title)"/>
|
9343
9077
|
</fo:bookmark-title>
|
9344
9078
|
</fo:bookmark>
|
9345
9079
|
</xsl:for-each>
|
9346
9080
|
</fo:bookmark>
|
9347
9081
|
</xsl:if>
|
9082
|
+
<xsl:if test="$contents_nodes//mn:figures/mn:figure">
|
9083
|
+
<fo:bookmark internal-destination="empty_bookmark" starting-state="hide">
|
9348
9084
|
|
9349
|
-
<xsl:
|
9350
|
-
|
9351
|
-
|
9352
|
-
|
9353
|
-
|
9354
|
-
|
9355
|
-
|
9356
|
-
</xsl:variable>
|
9357
|
-
<fo:bookmark-title><xsl:value-of select="normalize-space($bookmark-title)"/></fo:bookmark-title>
|
9358
|
-
<xsl:for-each select="$contents_nodes//figures/figure">
|
9359
|
-
<fo:bookmark internal-destination="{@id}">
|
9360
|
-
<fo:bookmark-title><xsl:value-of select="normalize-space(.)"/></fo:bookmark-title>
|
9361
|
-
</fo:bookmark>
|
9362
|
-
</xsl:for-each>
|
9085
|
+
<xsl:variable name="bookmark-title">
|
9086
|
+
<xsl:value-of select="$title-list-figures"/>
|
9087
|
+
</xsl:variable>
|
9088
|
+
<fo:bookmark-title><xsl:value-of select="normalize-space($bookmark-title)"/></fo:bookmark-title>
|
9089
|
+
<xsl:for-each select="$contents_nodes//mn:figures/mn:figure">
|
9090
|
+
<fo:bookmark internal-destination="{@id}">
|
9091
|
+
<fo:bookmark-title><xsl:value-of select="normalize-space(.)"/></fo:bookmark-title>
|
9363
9092
|
</fo:bookmark>
|
9364
|
-
</xsl:
|
9365
|
-
|
9093
|
+
</xsl:for-each>
|
9094
|
+
</fo:bookmark>
|
9095
|
+
</xsl:if>
|
9366
9096
|
</xsl:template> <!-- insertFigureBookmarks -->
|
9367
9097
|
|
9368
9098
|
<xsl:template name="insertTableBookmarks">
|
9369
9099
|
<xsl:param name="contents"/>
|
9370
9100
|
<xsl:param name="lang"/>
|
9371
9101
|
<xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
|
9372
|
-
<xsl:if test="$contents_nodes/table">
|
9373
|
-
<fo:bookmark internal-destination="{$contents_nodes/table[1]/@id}" starting-state="hide">
|
9102
|
+
<xsl:if test="$contents_nodes/mn:table">
|
9103
|
+
<fo:bookmark internal-destination="{$contents_nodes/mn:table[1]/@id}" starting-state="hide">
|
9374
9104
|
<fo:bookmark-title>
|
9375
9105
|
<xsl:choose>
|
9376
9106
|
<xsl:when test="$lang = 'fr'">Tableaux</xsl:when>
|
9377
9107
|
<xsl:otherwise>Tables</xsl:otherwise>
|
9378
9108
|
</xsl:choose>
|
9379
9109
|
</fo:bookmark-title>
|
9380
|
-
<xsl:for-each select="$contents_nodes/table">
|
9110
|
+
<xsl:for-each select="$contents_nodes/mn:table">
|
9381
9111
|
<fo:bookmark internal-destination="{@id}">
|
9382
9112
|
<fo:bookmark-title>
|
9383
|
-
<xsl:value-of select="normalize-space(title)"/>
|
9113
|
+
<xsl:value-of select="normalize-space(mn:title)"/>
|
9384
9114
|
</fo:bookmark-title>
|
9385
9115
|
</fo:bookmark>
|
9386
9116
|
</xsl:for-each>
|
9387
9117
|
</fo:bookmark>
|
9388
9118
|
</xsl:if>
|
9119
|
+
<xsl:if test="$contents_nodes//mn:tables/mn:table">
|
9120
|
+
<fo:bookmark internal-destination="empty_bookmark" starting-state="hide">
|
9389
9121
|
|
9390
|
-
<xsl:
|
9391
|
-
|
9392
|
-
|
9393
|
-
<xsl:variable name="bookmark-title">
|
9394
|
-
|
9395
|
-
<xsl:value-of select="$title-list-tables"/>
|
9396
|
-
|
9397
|
-
</xsl:variable>
|
9122
|
+
<xsl:variable name="bookmark-title">
|
9123
|
+
<xsl:value-of select="$title-list-tables"/>
|
9124
|
+
</xsl:variable>
|
9398
9125
|
|
9399
|
-
|
9126
|
+
<fo:bookmark-title><xsl:value-of select="$bookmark-title"/></fo:bookmark-title>
|
9400
9127
|
|
9401
|
-
|
9402
|
-
|
9403
|
-
|
9404
|
-
|
9405
|
-
</fo:bookmark>
|
9406
|
-
</xsl:for-each>
|
9128
|
+
<xsl:for-each select="$contents_nodes//mn:tables/mn:table">
|
9129
|
+
<fo:bookmark internal-destination="{@id}">
|
9130
|
+
<!-- <fo:bookmark-title><xsl:value-of select="normalize-space(.)"/></fo:bookmark-title> -->
|
9131
|
+
<fo:bookmark-title><xsl:apply-templates mode="bookmark_clean"/></fo:bookmark-title>
|
9407
9132
|
</fo:bookmark>
|
9408
|
-
</xsl:
|
9409
|
-
|
9133
|
+
</xsl:for-each>
|
9134
|
+
</fo:bookmark>
|
9135
|
+
</xsl:if>
|
9410
9136
|
</xsl:template> <!-- insertTableBookmarks -->
|
9411
9137
|
<!-- End Bookmarks -->
|
9412
9138
|
|
@@ -9436,17 +9162,15 @@
|
|
9436
9162
|
<xsl:param name="title" select="''"/>
|
9437
9163
|
<xsl:choose>
|
9438
9164
|
<xsl:when test="$lang = 'en'">
|
9439
|
-
|
9440
9165
|
</xsl:when>
|
9441
9166
|
<xsl:when test="$lang = 'fr'">
|
9442
|
-
|
9443
9167
|
</xsl:when>
|
9444
9168
|
<xsl:when test="$lang = 'de'">Deutsche</xsl:when>
|
9445
9169
|
<xsl:otherwise><xsl:value-of select="$lang"/> version</xsl:otherwise>
|
9446
9170
|
</xsl:choose>
|
9447
9171
|
</xsl:template>
|
9448
9172
|
|
9449
|
-
<xsl:template match="item" mode="bookmark">
|
9173
|
+
<xsl:template match="mn:item" mode="bookmark">
|
9450
9174
|
<xsl:choose>
|
9451
9175
|
<xsl:when test="@id != ''">
|
9452
9176
|
<fo:bookmark internal-destination="{@id}" starting-state="hide">
|
@@ -9456,7 +9180,7 @@
|
|
9456
9180
|
<xsl:text> </xsl:text>
|
9457
9181
|
</xsl:if>
|
9458
9182
|
<xsl:variable name="title">
|
9459
|
-
<xsl:for-each select="title/node()">
|
9183
|
+
<xsl:for-each select="mn:title/node()">
|
9460
9184
|
<xsl:choose>
|
9461
9185
|
<xsl:when test="local-name() = 'add' and starts-with(., $ace_tag)"><!-- skip --></xsl:when>
|
9462
9186
|
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
@@ -9474,7 +9198,7 @@
|
|
9474
9198
|
</xsl:choose>
|
9475
9199
|
</xsl:template>
|
9476
9200
|
|
9477
|
-
<xsl:template match="title" mode="bookmark"/>
|
9201
|
+
<xsl:template match="mn:title" mode="bookmark"/>
|
9478
9202
|
<xsl:template match="text()" mode="bookmark"/>
|
9479
9203
|
|
9480
9204
|
<!-- figure/name -->
|
@@ -9703,9 +9427,9 @@
|
|
9703
9427
|
<xsl:template match="text()" mode="contents_item">
|
9704
9428
|
<xsl:variable name="text">
|
9705
9429
|
<!-- to split by '_' and other chars -->
|
9706
|
-
<text><xsl:call-template name="add-zero-spaces-java"/></text>
|
9430
|
+
<mn:text><xsl:call-template name="add-zero-spaces-java"/></mn:text>
|
9707
9431
|
</xsl:variable>
|
9708
|
-
<xsl:for-each select="xalan:nodeset($text)/text/text()">
|
9432
|
+
<xsl:for-each select="xalan:nodeset($text)/mn:text/text()">
|
9709
9433
|
<xsl:call-template name="keep_together_standard_number"/>
|
9710
9434
|
</xsl:for-each>
|
9711
9435
|
</xsl:template>
|
@@ -9738,15 +9462,7 @@
|
|
9738
9462
|
|
9739
9463
|
<xsl:template name="get_sourcecode_attributes">
|
9740
9464
|
<xsl:element name="sourcecode_attributes" use-attribute-sets="sourcecode-style">
|
9741
|
-
<xsl:variable name="_font-size">
|
9742
|
-
|
9743
|
-
9.5
|
9744
|
-
<!-- inherit -->
|
9745
|
-
|
9746
|
-
<!-- <xsl:if test="$namespace = 'ieee'">
|
9747
|
-
<xsl:if test="$current_template = 'standard'">8</xsl:if>
|
9748
|
-
</xsl:if> -->
|
9749
|
-
|
9465
|
+
<xsl:variable name="_font-size">9.5<!-- inherit -->
|
9750
9466
|
</xsl:variable>
|
9751
9467
|
|
9752
9468
|
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
|
@@ -9802,7 +9518,6 @@
|
|
9802
9518
|
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
9803
9519
|
</xsl:choose>
|
9804
9520
|
</xsl:attribute>
|
9805
|
-
|
9806
9521
|
</xsl:if>
|
9807
9522
|
<fo:block-container margin-left="0mm" role="SKIP">
|
9808
9523
|
|
@@ -9826,8 +9541,7 @@
|
|
9826
9541
|
</fo:block>
|
9827
9542
|
|
9828
9543
|
<xsl:apply-templates select="*[local-name() = 'dl']"/> <!-- Key table -->
|
9829
|
-
|
9830
|
-
<xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->
|
9544
|
+
<xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->
|
9831
9545
|
|
9832
9546
|
</fo:block-container>
|
9833
9547
|
</fo:block-container>
|
@@ -10004,25 +9718,6 @@
|
|
10004
9718
|
</xsl:choose>
|
10005
9719
|
</xsl:template>
|
10006
9720
|
|
10007
|
-
<!-- insert 'char' between each character in the string -->
|
10008
|
-
<xsl:template name="interspers">
|
10009
|
-
<xsl:param name="str"/>
|
10010
|
-
<xsl:param name="char" select="$zero_width_space"/>
|
10011
|
-
<xsl:if test="$str != ''">
|
10012
|
-
<xsl:value-of select="substring($str, 1, 1)"/>
|
10013
|
-
|
10014
|
-
<xsl:variable name="next_char" select="substring($str, 2, 1)"/>
|
10015
|
-
<xsl:if test="not(contains(concat(' -.:=_— ', $char), $next_char))">
|
10016
|
-
<xsl:value-of select="$char"/>
|
10017
|
-
</xsl:if>
|
10018
|
-
|
10019
|
-
<xsl:call-template name="interspers">
|
10020
|
-
<xsl:with-param name="str" select="substring($str, 2)"/>
|
10021
|
-
<xsl:with-param name="char" select="$char"/>
|
10022
|
-
</xsl:call-template>
|
10023
|
-
</xsl:if>
|
10024
|
-
</xsl:template>
|
10025
|
-
|
10026
9721
|
<xsl:template name="interspers-java">
|
10027
9722
|
<xsl:param name="str"/>
|
10028
9723
|
<xsl:param name="char" select="$zero_width_space"/>
|
@@ -10119,7 +9814,7 @@
|
|
10119
9814
|
</xsl:variable>
|
10120
9815
|
<xsl:variable name="classes" select="xalan:nodeset($classes_)"/>
|
10121
9816
|
|
10122
|
-
<xsl:for-each select="$classes
|
9817
|
+
<xsl:for-each select="$classes/*[local-name() = 'item']">
|
10123
9818
|
<xsl:variable name="class_name" select="."/>
|
10124
9819
|
<xsl:for-each select="$syntax_highlight_styles/style[@class = $class_name]/@*[not(local-name() = 'class')]">
|
10125
9820
|
<xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute>
|
@@ -10202,10 +9897,9 @@
|
|
10202
9897
|
|
10203
9898
|
<xsl:template match="*[local-name() = 'permission']/*[local-name() = 'name']">
|
10204
9899
|
<xsl:if test="normalize-space() != ''">
|
10205
|
-
|
10206
|
-
|
10207
|
-
|
10208
|
-
</fo:inline>
|
9900
|
+
<fo:inline xsl:use-attribute-sets="permission-name-style">
|
9901
|
+
<xsl:apply-templates/><xsl:text>:</xsl:text>
|
9902
|
+
</fo:inline>
|
10209
9903
|
|
10210
9904
|
</xsl:if>
|
10211
9905
|
</xsl:template>
|
@@ -10234,10 +9928,9 @@
|
|
10234
9928
|
|
10235
9929
|
<xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'name']">
|
10236
9930
|
<xsl:if test="normalize-space() != ''">
|
10237
|
-
|
10238
|
-
|
10239
|
-
|
10240
|
-
</fo:inline>
|
9931
|
+
<fo:inline xsl:use-attribute-sets="requirement-name-style">
|
9932
|
+
<xsl:apply-templates/><xsl:text>:</xsl:text>
|
9933
|
+
</fo:inline>
|
10241
9934
|
|
10242
9935
|
</xsl:if>
|
10243
9936
|
</xsl:template>
|
@@ -10276,10 +9969,9 @@
|
|
10276
9969
|
|
10277
9970
|
<xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'name']">
|
10278
9971
|
<xsl:if test="normalize-space() != ''">
|
10279
|
-
|
10280
|
-
|
10281
|
-
|
10282
|
-
</fo:inline>
|
9972
|
+
<fo:inline xsl:use-attribute-sets="recommendation-name-style">
|
9973
|
+
<xsl:apply-templates/><xsl:text>:</xsl:text>
|
9974
|
+
</fo:inline>
|
10283
9975
|
|
10284
9976
|
</xsl:if>
|
10285
9977
|
</xsl:template>
|
@@ -10406,7 +10098,6 @@
|
|
10406
10098
|
|
10407
10099
|
<xsl:if test="parent::*[local-name()='thead'] or starts-with(*[local-name()='td' or local-name()='th'][1], 'Requirement ') or starts-with(*[local-name()='td' or local-name()='th'][1], 'Recommendation ')">
|
10408
10100
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
10409
|
-
|
10410
10101
|
</xsl:if>
|
10411
10102
|
|
10412
10103
|
<xsl:apply-templates mode="requirement"/>
|
@@ -10451,7 +10142,6 @@
|
|
10451
10142
|
|
10452
10143
|
<xsl:template match="*[local-name() = 'p'][@class='RecommendationTitle' or @class = 'RecommendationTestTitle']" priority="2">
|
10453
10144
|
<fo:block font-size="11pt">
|
10454
|
-
|
10455
10145
|
<xsl:apply-templates/>
|
10456
10146
|
</fo:block>
|
10457
10147
|
</xsl:template>
|
@@ -10491,7 +10181,6 @@
|
|
10491
10181
|
<xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
10492
10182
|
<xsl:variable name="element">inline
|
10493
10183
|
|
10494
|
-
|
10495
10184
|
</xsl:variable>
|
10496
10185
|
<xsl:choose>
|
10497
10186
|
<xsl:when test="contains($element, 'block')">
|
@@ -10523,110 +10212,105 @@
|
|
10523
10212
|
text line 2
|
10524
10213
|
-->
|
10525
10214
|
<xsl:template match="*[local-name() = 'example']" name="example">
|
10215
|
+
<xsl:call-template name="setNamedDestination"/>
|
10216
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">
|
10526
10217
|
|
10527
|
-
|
10528
|
-
<fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">
|
10218
|
+
<xsl:call-template name="setBlockSpanAll"/>
|
10529
10219
|
|
10530
|
-
|
10220
|
+
<xsl:call-template name="refine_example-style"/>
|
10531
10221
|
|
10532
|
-
|
10222
|
+
<xsl:variable name="fo_element">
|
10223
|
+
<xsl:if test=".//*[local-name() = 'table'] or .//*[local-name() = 'dl'] or *[not(local-name() = 'name')][1][local-name() = 'sourcecode']">block</xsl:if>inline
|
10224
|
+
</xsl:variable>
|
10533
10225
|
|
10534
|
-
|
10535
|
-
<xsl:if test=".//*[local-name() = 'table'] or .//*[local-name() = 'dl'] or *[not(local-name() = 'name')][1][local-name() = 'sourcecode']">block</xsl:if>
|
10536
|
-
inline
|
10537
|
-
</xsl:variable>
|
10226
|
+
<fo:block-container margin-left="0mm" role="SKIP">
|
10538
10227
|
|
10539
|
-
|
10228
|
+
<xsl:choose>
|
10540
10229
|
|
10541
|
-
|
10230
|
+
<xsl:when test="contains(normalize-space($fo_element), 'block')">
|
10542
10231
|
|
10543
|
-
|
10232
|
+
<!-- display name 'EXAMPLE' in a separate block -->
|
10233
|
+
<fo:block>
|
10234
|
+
<xsl:apply-templates select="*[local-name()='name']">
|
10235
|
+
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10236
|
+
</xsl:apply-templates>
|
10237
|
+
</fo:block>
|
10544
10238
|
|
10545
|
-
|
10546
|
-
|
10547
|
-
|
10239
|
+
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
10240
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
10241
|
+
<xsl:variable name="example_body">
|
10242
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]">
|
10548
10243
|
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10549
10244
|
</xsl:apply-templates>
|
10550
|
-
</fo:block>
|
10551
|
-
|
10552
|
-
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
10553
|
-
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
10554
|
-
<xsl:variable name="example_body">
|
10555
|
-
<xsl:apply-templates select="node()[not(local-name() = 'name')]">
|
10556
|
-
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10557
|
-
</xsl:apply-templates>
|
10558
|
-
</xsl:variable>
|
10559
|
-
<xsl:choose>
|
10560
|
-
<xsl:when test="xalan:nodeset($example_body)/*">
|
10561
|
-
<xsl:copy-of select="$example_body"/>
|
10562
|
-
</xsl:when>
|
10563
|
-
<xsl:otherwise><fo:block/><!-- prevent empty block-container --></xsl:otherwise>
|
10564
|
-
</xsl:choose>
|
10565
|
-
</fo:block-container>
|
10566
|
-
</fo:block-container>
|
10567
|
-
</xsl:when> <!-- end block -->
|
10568
|
-
|
10569
|
-
<xsl:when test="contains(normalize-space($fo_element), 'list')">
|
10570
|
-
|
10571
|
-
<xsl:variable name="provisional_distance_between_starts_">
|
10572
|
-
7
|
10573
10245
|
</xsl:variable>
|
10574
|
-
<xsl:
|
10575
|
-
|
10576
|
-
|
10577
|
-
|
10578
|
-
|
10579
|
-
|
10580
|
-
|
10581
|
-
|
10582
|
-
|
10583
|
-
<fo:block>
|
10584
|
-
<xsl:apply-templates select="*[local-name()='name']">
|
10585
|
-
<xsl:with-param name="fo_element">block</xsl:with-param>
|
10586
|
-
</xsl:apply-templates>
|
10587
|
-
</fo:block>
|
10588
|
-
</fo:list-item-label>
|
10589
|
-
<fo:list-item-body start-indent="body-start()">
|
10590
|
-
<fo:block>
|
10591
|
-
<xsl:apply-templates select="node()[not(local-name() = 'name')]">
|
10592
|
-
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10593
|
-
</xsl:apply-templates>
|
10594
|
-
</fo:block>
|
10595
|
-
</fo:list-item-body>
|
10596
|
-
</fo:list-item>
|
10597
|
-
</fo:list-block>
|
10598
|
-
</xsl:when> <!-- end list -->
|
10246
|
+
<xsl:choose>
|
10247
|
+
<xsl:when test="xalan:nodeset($example_body)/*">
|
10248
|
+
<xsl:copy-of select="$example_body"/>
|
10249
|
+
</xsl:when>
|
10250
|
+
<xsl:otherwise><fo:block/><!-- prevent empty block-container --></xsl:otherwise>
|
10251
|
+
</xsl:choose>
|
10252
|
+
</fo:block-container>
|
10253
|
+
</fo:block-container>
|
10254
|
+
</xsl:when> <!-- end block -->
|
10599
10255
|
|
10600
|
-
|
10256
|
+
<xsl:when test="contains(normalize-space($fo_element), 'list')">
|
10601
10257
|
|
10602
|
-
|
10603
|
-
|
10604
|
-
|
10605
|
-
|
10606
|
-
|
10607
|
-
|
10608
|
-
|
10258
|
+
<xsl:variable name="provisional_distance_between_starts_">7
|
10259
|
+
</xsl:variable>
|
10260
|
+
<xsl:variable name="provisional_distance_between_starts" select="normalize-space($provisional_distance_between_starts_)"/>
|
10261
|
+
<xsl:variable name="indent_">0
|
10262
|
+
</xsl:variable>
|
10263
|
+
<xsl:variable name="indent" select="normalize-space($indent_)"/>
|
10264
|
+
|
10265
|
+
<fo:list-block provisional-distance-between-starts="{$provisional_distance_between_starts}mm">
|
10266
|
+
<fo:list-item>
|
10267
|
+
<fo:list-item-label start-indent="{$indent}mm" end-indent="label-end()">
|
10268
|
+
<fo:block>
|
10269
|
+
<xsl:apply-templates select="*[local-name()='name']">
|
10270
|
+
<xsl:with-param name="fo_element">block</xsl:with-param>
|
10271
|
+
</xsl:apply-templates>
|
10272
|
+
</fo:block>
|
10273
|
+
</fo:list-item-label>
|
10274
|
+
<fo:list-item-body start-indent="body-start()">
|
10275
|
+
<fo:block>
|
10276
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]">
|
10609
10277
|
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10610
10278
|
</xsl:apply-templates>
|
10611
|
-
</fo:
|
10612
|
-
</fo:
|
10279
|
+
</fo:block>
|
10280
|
+
</fo:list-item-body>
|
10281
|
+
</fo:list-item>
|
10282
|
+
</fo:list-block>
|
10283
|
+
</xsl:when> <!-- end list -->
|
10613
10284
|
|
10614
|
-
|
10615
|
-
<!-- display further elements in blocks -->
|
10616
|
-
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
10617
|
-
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
10618
|
-
<xsl:apply-templates select="*[not(local-name() = 'name')][position() > 1]">
|
10619
|
-
<xsl:with-param name="fo_element" select="'block'"/>
|
10620
|
-
</xsl:apply-templates>
|
10621
|
-
</fo:block-container>
|
10622
|
-
</fo:block-container>
|
10623
|
-
</xsl:if>
|
10624
|
-
</xsl:otherwise> <!-- end inline -->
|
10285
|
+
<xsl:otherwise> <!-- inline -->
|
10625
10286
|
|
10626
|
-
|
10627
|
-
|
10628
|
-
|
10287
|
+
<!-- display 'EXAMPLE' and first element in the same line -->
|
10288
|
+
<fo:block>
|
10289
|
+
<xsl:apply-templates select="*[local-name()='name']">
|
10290
|
+
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10291
|
+
</xsl:apply-templates>
|
10292
|
+
<fo:inline>
|
10293
|
+
<xsl:apply-templates select="*[not(local-name() = 'name')][1]">
|
10294
|
+
<xsl:with-param name="fo_element" select="$fo_element"/>
|
10295
|
+
</xsl:apply-templates>
|
10296
|
+
</fo:inline>
|
10297
|
+
</fo:block>
|
10298
|
+
|
10299
|
+
<xsl:if test="*[not(local-name() = 'name')][position() > 1]">
|
10300
|
+
<!-- display further elements in blocks -->
|
10301
|
+
<fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
|
10302
|
+
<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
|
10303
|
+
<xsl:apply-templates select="*[not(local-name() = 'name')][position() > 1]">
|
10304
|
+
<xsl:with-param name="fo_element" select="'block'"/>
|
10305
|
+
</xsl:apply-templates>
|
10306
|
+
</fo:block-container>
|
10307
|
+
</fo:block-container>
|
10308
|
+
</xsl:if>
|
10309
|
+
</xsl:otherwise> <!-- end inline -->
|
10629
10310
|
|
10311
|
+
</xsl:choose>
|
10312
|
+
</fo:block-container>
|
10313
|
+
</fo:block-container>
|
10630
10314
|
</xsl:template>
|
10631
10315
|
|
10632
10316
|
<!-- example/name -->
|
@@ -10641,7 +10325,6 @@
|
|
10641
10325
|
</xsl:when>
|
10642
10326
|
<xsl:when test="contains(normalize-space($fo_element), 'block')">
|
10643
10327
|
<fo:block xsl:use-attribute-sets="example-name-style">
|
10644
|
-
|
10645
10328
|
<xsl:apply-templates/>
|
10646
10329
|
</fo:block>
|
10647
10330
|
</xsl:when>
|
@@ -10658,7 +10341,6 @@
|
|
10658
10341
|
<!-- table/example/name, table/tfoot//example/name -->
|
10659
10342
|
<xsl:template match="*[local-name() = 'table']/*[local-name() = 'example']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'tfoot']//*[local-name() = 'example']/*[local-name() = 'name']">
|
10660
10343
|
<fo:inline xsl:use-attribute-sets="example-name-style">
|
10661
|
-
|
10662
10344
|
<xsl:apply-templates/>
|
10663
10345
|
</fo:inline>
|
10664
10346
|
</xsl:template>
|
@@ -10668,7 +10350,6 @@
|
|
10668
10350
|
|
10669
10351
|
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
10670
10352
|
<xsl:variable name="element">
|
10671
|
-
|
10672
10353
|
<xsl:value-of select="$fo_element"/>
|
10673
10354
|
</xsl:variable>
|
10674
10355
|
<xsl:choose>
|
@@ -10786,7 +10467,7 @@
|
|
10786
10467
|
</xsl:call-template>
|
10787
10468
|
</xsl:variable>
|
10788
10469
|
|
10789
|
-
|
10470
|
+
<xsl:variable name="text"><xsl:apply-templates/></xsl:variable>
|
10790
10471
|
<xsl:choose>
|
10791
10472
|
<xsl:when test="$lang = 'zh'"><xsl:text>、</xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text>—</xsl:text></xsl:if></xsl:when>
|
10792
10473
|
<xsl:otherwise><xsl:text>, </xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text> — </xsl:text></xsl:if></xsl:otherwise>
|
@@ -10823,7 +10504,6 @@
|
|
10823
10504
|
<xsl:attribute name="margin-left">5mm</xsl:attribute>
|
10824
10505
|
</xsl:if>
|
10825
10506
|
</xsl:if>
|
10826
|
-
|
10827
10507
|
<fo:block-container margin-left="0mm" role="SKIP">
|
10828
10508
|
<fo:block-container xsl:use-attribute-sets="quote-style" role="SKIP">
|
10829
10509
|
|
@@ -10906,7 +10586,6 @@
|
|
10906
10586
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
10907
10587
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
10908
10588
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
10909
|
-
|
10910
10589
|
</xsl:if>
|
10911
10590
|
|
10912
10591
|
<xsl:call-template name="refine_eref-style"/>
|
@@ -10955,10 +10634,8 @@
|
|
10955
10634
|
</xsl:template>
|
10956
10635
|
|
10957
10636
|
<xsl:template name="refine_basic_link_style">
|
10958
|
-
|
10959
|
-
|
10960
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
10961
|
-
|
10637
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
10638
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
10962
10639
|
</xsl:template> <!-- refine_basic_link_style -->
|
10963
10640
|
|
10964
10641
|
<!-- ====== -->
|
@@ -10975,13 +10652,11 @@
|
|
10975
10652
|
</xsl:variable>
|
10976
10653
|
|
10977
10654
|
<xsl:variable name="padding">
|
10978
|
-
|
10979
|
-
<xsl:
|
10980
|
-
|
10981
|
-
|
10982
|
-
|
10983
|
-
</xsl:choose>
|
10984
|
-
|
10655
|
+
<xsl:choose>
|
10656
|
+
<xsl:when test="$depth = 2">3</xsl:when>
|
10657
|
+
<xsl:when test="$depth = 3">3</xsl:when>
|
10658
|
+
<xsl:otherwise>4</xsl:otherwise>
|
10659
|
+
</xsl:choose>
|
10985
10660
|
</xsl:variable>
|
10986
10661
|
|
10987
10662
|
<xsl:variable name="padding-right">
|
@@ -10992,7 +10667,6 @@
|
|
10992
10667
|
</xsl:otherwise>
|
10993
10668
|
</xsl:choose>
|
10994
10669
|
</xsl:variable>
|
10995
|
-
|
10996
10670
|
<xsl:choose>
|
10997
10671
|
<xsl:when test="$lang = 'zh'">
|
10998
10672
|
<fo:inline role="SKIP"><xsl:value-of select="$tab_zh"/></fo:inline>
|
@@ -11016,9 +10690,7 @@
|
|
11016
10690
|
<xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'name']/*[local-name() = 'tab']" priority="2"/>
|
11017
10691
|
|
11018
10692
|
<xsl:template match="*[local-name() = 'note']/*[local-name() = 'name']/*[local-name() = 'tab']" mode="tab">
|
11019
|
-
|
11020
|
-
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
11021
|
-
|
10693
|
+
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
11022
10694
|
</xsl:template>
|
11023
10695
|
|
11024
10696
|
<xsl:template name="insertNonBreakSpaces">
|
@@ -11036,8 +10708,7 @@
|
|
11036
10708
|
<xsl:variable name="level">
|
11037
10709
|
<xsl:call-template name="getLevel"/>
|
11038
10710
|
</xsl:variable>
|
11039
|
-
<xsl:variable name="font-size">
|
11040
|
-
inherit
|
10711
|
+
<xsl:variable name="font-size">inherit
|
11041
10712
|
</xsl:variable>
|
11042
10713
|
<xsl:variable name="levelTerm">
|
11043
10714
|
<xsl:call-template name="getLevelTermName"/>
|
@@ -11089,11 +10760,9 @@
|
|
11089
10760
|
</xsl:template>
|
11090
10761
|
|
11091
10762
|
<xsl:template name="setStyle_preferred">
|
11092
|
-
|
11093
|
-
|
11094
|
-
|
11095
|
-
</xsl:if>
|
11096
|
-
|
10763
|
+
<xsl:if test="*[local-name() = 'strong']">
|
10764
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
10765
|
+
</xsl:if>
|
11097
10766
|
</xsl:template>
|
11098
10767
|
|
11099
10768
|
<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
|
@@ -11170,7 +10839,6 @@
|
|
11170
10839
|
|
11171
10840
|
<!-- main sections -->
|
11172
10841
|
<xsl:template match="/*/*[local-name() = 'sections']/*" name="sections_node" priority="2">
|
11173
|
-
|
11174
10842
|
<xsl:call-template name="setNamedDestination"/>
|
11175
10843
|
<fo:block>
|
11176
10844
|
<xsl:call-template name="setId"/>
|
@@ -11205,13 +10873,10 @@
|
|
11205
10873
|
</xsl:template>
|
11206
10874
|
|
11207
10875
|
<xsl:template name="sections_element_style">
|
11208
|
-
|
11209
10876
|
</xsl:template> <!-- sections_element_style -->
|
11210
10877
|
|
11211
10878
|
<xsl:template match="//*[local-name() = 'metanorma']/*[local-name() = 'preface']/*" priority="2" name="preface_node"> <!-- /*/*[local-name() = 'preface']/* -->
|
11212
|
-
|
11213
|
-
<fo:block break-after="page"/>
|
11214
|
-
|
10879
|
+
<fo:block break-after="page"/>
|
11215
10880
|
<xsl:call-template name="setNamedDestination"/>
|
11216
10881
|
<fo:block>
|
11217
10882
|
<xsl:call-template name="setId"/>
|
@@ -11260,7 +10925,6 @@
|
|
11260
10925
|
</xsl:template>
|
11261
10926
|
|
11262
10927
|
<xsl:template name="refine_clause_style">
|
11263
|
-
|
11264
10928
|
</xsl:template> <!-- refine_clause_style -->
|
11265
10929
|
|
11266
10930
|
<xsl:template match="*[local-name() = 'definitions']">
|
@@ -11300,7 +10964,6 @@
|
|
11300
10964
|
</xsl:template>
|
11301
10965
|
|
11302
10966
|
<xsl:template name="refine_annex_style">
|
11303
|
-
|
11304
10967
|
</xsl:template>
|
11305
10968
|
|
11306
10969
|
<!-- document text (not figures, or tables) footnotes -->
|
@@ -11404,18 +11067,16 @@
|
|
11404
11067
|
<!-- Lists processing -->
|
11405
11068
|
<!-- ===================================== -->
|
11406
11069
|
<xsl:variable name="ul_labels_">
|
11407
|
-
|
11408
|
-
|
11409
|
-
|
11410
|
-
|
11411
|
-
<label level="3" font-size="75%">o</label> <!-- white circle -->
|
11070
|
+
<!-- <label>—</label> --> <!-- em dash -->
|
11071
|
+
<label level="1" font-size="150%" line-height="80%">•</label>
|
11072
|
+
<label level="2">—</label><!-- em dash -->
|
11073
|
+
<label level="3" font-size="75%">o</label> <!-- white circle -->
|
11412
11074
|
|
11413
11075
|
</xsl:variable>
|
11414
11076
|
<xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/>
|
11415
11077
|
|
11416
11078
|
<xsl:template name="setULLabel">
|
11417
|
-
<xsl:variable name="list_level__"
|
11418
|
-
<xsl:value-of select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
11079
|
+
<xsl:variable name="list_level__"><xsl:value-of select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
11419
11080
|
</xsl:variable>
|
11420
11081
|
<xsl:variable name="list_level_" select="number($list_level__)"/>
|
11421
11082
|
<xsl:variable name="list_level">
|
@@ -11472,28 +11133,22 @@
|
|
11472
11133
|
<xsl:variable name="label">
|
11473
11134
|
|
11474
11135
|
<xsl:variable name="style_prefix_">
|
11475
|
-
<xsl:if test="$type = 'roman'">
|
11476
|
-
<!-- Example: (i) -->
|
11136
|
+
<xsl:if test="$type = 'roman'"> <!-- Example: (i) -->
|
11477
11137
|
</xsl:if>
|
11478
11138
|
<xsl:if test="$type = 'alphabet'">
|
11479
|
-
|
11480
11139
|
</xsl:if>
|
11481
11140
|
</xsl:variable>
|
11482
11141
|
<xsl:variable name="style_prefix" select="normalize-space($style_prefix_)"/>
|
11483
11142
|
|
11484
11143
|
<xsl:variable name="style_suffix_">
|
11485
11144
|
<xsl:choose>
|
11486
|
-
<xsl:when test="$type = 'arabic'">
|
11487
|
-
)
|
11145
|
+
<xsl:when test="$type = 'arabic'">)
|
11488
11146
|
</xsl:when>
|
11489
|
-
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
|
11490
|
-
)
|
11147
|
+
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">)
|
11491
11148
|
</xsl:when>
|
11492
|
-
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'"
|
11493
|
-
.
|
11149
|
+
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">.
|
11494
11150
|
</xsl:when>
|
11495
|
-
<xsl:when test="$type = 'roman'">
|
11496
|
-
)
|
11151
|
+
<xsl:when test="$type = 'roman'">)
|
11497
11152
|
</xsl:when>
|
11498
11153
|
<xsl:when test="$type = 'roman_upper'">.</xsl:when> <!-- Example: I. -->
|
11499
11154
|
</xsl:choose>
|
@@ -11510,8 +11165,7 @@
|
|
11510
11165
|
<xsl:value-of select="$style_suffix"/>
|
11511
11166
|
</xsl:if>
|
11512
11167
|
</xsl:variable>
|
11513
|
-
|
11514
|
-
<xsl:value-of select="normalize-space($label)"/>
|
11168
|
+
<xsl:value-of select="normalize-space($label)"/>
|
11515
11169
|
|
11516
11170
|
</xsl:when>
|
11517
11171
|
<xsl:otherwise> <!-- for ordered lists 'ol' -->
|
@@ -11568,17 +11222,13 @@
|
|
11568
11222
|
|
11569
11223
|
<xsl:variable name="format">
|
11570
11224
|
<xsl:choose>
|
11571
|
-
<xsl:when test="$type = 'arabic'">
|
11572
|
-
1)
|
11225
|
+
<xsl:when test="$type = 'arabic'">1)
|
11573
11226
|
</xsl:when>
|
11574
|
-
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
|
11575
|
-
a)
|
11227
|
+
<xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">a)
|
11576
11228
|
</xsl:when>
|
11577
|
-
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">
|
11578
|
-
A.
|
11229
|
+
<xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">A.
|
11579
11230
|
</xsl:when>
|
11580
|
-
<xsl:when test="$type = 'roman'">
|
11581
|
-
i)
|
11231
|
+
<xsl:when test="$type = 'roman'">i)
|
11582
11232
|
</xsl:when>
|
11583
11233
|
<xsl:when test="$type = 'roman_upper'">I.</xsl:when>
|
11584
11234
|
<xsl:otherwise>1.</xsl:otherwise> <!-- for any case, if $type has non-determined value, not using -->
|
@@ -11615,19 +11265,16 @@
|
|
11615
11265
|
</fo:block-container>
|
11616
11266
|
</xsl:when>
|
11617
11267
|
<xsl:otherwise>
|
11618
|
-
|
11619
|
-
|
11620
|
-
|
11621
|
-
|
11622
|
-
|
11623
|
-
</fo:block>
|
11624
|
-
|
11268
|
+
<fo:block role="SKIP">
|
11269
|
+
<xsl:apply-templates select="." mode="list">
|
11270
|
+
<xsl:with-param name="indent" select="$indent"/>
|
11271
|
+
</xsl:apply-templates>
|
11272
|
+
</fo:block>
|
11625
11273
|
</xsl:otherwise>
|
11626
11274
|
</xsl:choose>
|
11627
11275
|
</xsl:template>
|
11628
11276
|
|
11629
11277
|
<xsl:template name="refine_list_container_style">
|
11630
|
-
|
11631
11278
|
</xsl:template> <!-- refine_list_container_style -->
|
11632
11279
|
|
11633
11280
|
<xsl:template match="*[local-name()='ul'] | *[local-name()='ol']" mode="list" name="list">
|
@@ -11691,7 +11338,6 @@
|
|
11691
11338
|
</xsl:template>
|
11692
11339
|
|
11693
11340
|
<xsl:template name="refine_list-style_provisional-distance-between-starts">
|
11694
|
-
|
11695
11341
|
</xsl:template> <!-- refine_list-style_provisional-distance-between-starts -->
|
11696
11342
|
|
11697
11343
|
<xsl:template match="*[local-name() = 'ol' or local-name() = 'ul']/*[local-name() = 'name']">
|
@@ -11976,7 +11622,6 @@
|
|
11976
11622
|
<xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
11977
11623
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
11978
11624
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
11979
|
-
|
11980
11625
|
<xsl:apply-templates/>
|
11981
11626
|
</fo:block>
|
11982
11627
|
</xsl:template>
|
@@ -12028,7 +11673,6 @@
|
|
12028
11673
|
<fo:table-column column-width="15mm"/>
|
12029
11674
|
<fo:table-body>
|
12030
11675
|
<fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">
|
12031
|
-
|
12032
11676
|
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Date</fo:block></fo:table-cell>
|
12033
11677
|
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Type</fo:block></fo:table-cell>
|
12034
11678
|
<fo:table-cell border="1pt solid black"><fo:block role="SKIP">Change</fo:block></fo:table-cell>
|
@@ -12064,7 +11708,6 @@
|
|
12064
11708
|
<xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/>
|
12065
11709
|
<xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3">
|
12066
11710
|
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/>
|
12067
|
-
|
12068
11711
|
</xsl:template>
|
12069
11712
|
<!-- don't display bibitem with @id starts with '_hidden', that was introduced for references integrity -->
|
12070
11713
|
<xsl:template match="*[local-name() = 'bibitem'][starts-with(@id, 'hidden_bibitem_')]" priority="3"/>
|
@@ -12075,14 +11718,12 @@
|
|
12075
11718
|
<xsl:call-template name="setNamedDestination"/>
|
12076
11719
|
<fo:block id="{@id}">
|
12077
11720
|
<xsl:apply-templates/>
|
12078
|
-
|
12079
11721
|
</fo:block>
|
12080
11722
|
</xsl:template>
|
12081
11723
|
|
12082
11724
|
<!-- Bibliography (non-normative references) -->
|
12083
11725
|
<xsl:template match="*[local-name() = 'references']">
|
12084
11726
|
<xsl:if test="not(ancestor::*[local-name() = 'annex'])">
|
12085
|
-
|
12086
11727
|
</xsl:if>
|
12087
11728
|
|
12088
11729
|
<!-- <xsl:if test="ancestor::*[local-name() = 'annex']">
|
@@ -12098,9 +11739,7 @@
|
|
12098
11739
|
|
12099
11740
|
<fo:block xsl:use-attribute-sets="references-non-normative-style">
|
12100
11741
|
<xsl:apply-templates select="node()[not(local-name() = 'title' and @columns = 1)]"/>
|
12101
|
-
|
12102
11742
|
</fo:block>
|
12103
|
-
|
12104
11743
|
</xsl:template> <!-- references -->
|
12105
11744
|
|
12106
11745
|
<xsl:template match="*[local-name() = 'bibitem']">
|
@@ -12110,50 +11749,47 @@
|
|
12110
11749
|
<!-- Normative references -->
|
12111
11750
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
12112
11751
|
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
11752
|
+
<xsl:call-template name="setNamedDestination"/>
|
11753
|
+
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-normative-list-style">
|
12113
11754
|
|
12114
|
-
|
12115
|
-
<
|
12116
|
-
|
12117
|
-
|
12118
|
-
|
12119
|
-
|
12120
|
-
|
12121
|
-
|
12122
|
-
|
12123
|
-
<xsl:
|
12124
|
-
|
12125
|
-
|
12126
|
-
|
12127
|
-
<xsl:when test="string-length($docidentifier) > 10">37mm</xsl:when>
|
12128
|
-
<xsl:otherwise>24.5mm</xsl:otherwise>
|
12129
|
-
</xsl:choose>
|
12130
|
-
</xsl:attribute>
|
11755
|
+
<xsl:variable name="docidentifier">
|
11756
|
+
<xsl:apply-templates select="*[local-name() = 'biblio-tag']">
|
11757
|
+
<xsl:with-param name="biblio_tag_part">first</xsl:with-param>
|
11758
|
+
</xsl:apply-templates>
|
11759
|
+
</xsl:variable>
|
11760
|
+
<xsl:attribute name="provisional-distance-between-starts">
|
11761
|
+
<xsl:choose>
|
11762
|
+
<xsl:when test="string-length($docidentifier) = 0">0mm</xsl:when>
|
11763
|
+
<xsl:when test="string-length($docidentifier) > 19">46.5mm</xsl:when>
|
11764
|
+
<xsl:when test="string-length($docidentifier) > 10">37mm</xsl:when>
|
11765
|
+
<xsl:otherwise>24.5mm</xsl:otherwise>
|
11766
|
+
</xsl:choose>
|
11767
|
+
</xsl:attribute>
|
12131
11768
|
|
12132
|
-
|
12133
|
-
|
12134
|
-
|
12135
|
-
|
12136
|
-
|
12137
|
-
|
12138
|
-
|
12139
|
-
|
12140
|
-
|
12141
|
-
|
12142
|
-
|
12143
|
-
|
12144
|
-
|
12145
|
-
|
12146
|
-
|
12147
|
-
|
12148
|
-
|
11769
|
+
<fo:list-item>
|
11770
|
+
<fo:list-item-label end-indent="label-end()">
|
11771
|
+
<fo:block>
|
11772
|
+
<fo:inline>
|
11773
|
+
<xsl:copy-of select="$docidentifier"/>
|
11774
|
+
</fo:inline>
|
11775
|
+
</fo:block>
|
11776
|
+
</fo:list-item-label>
|
11777
|
+
<fo:list-item-body start-indent="body-start()">
|
11778
|
+
<fo:block xsl:use-attribute-sets="bibitem-normative-list-body-style">
|
11779
|
+
<xsl:call-template name="processBibitem">
|
11780
|
+
<xsl:with-param name="biblio_tag_part">last</xsl:with-param>
|
11781
|
+
</xsl:call-template>
|
11782
|
+
</fo:block>
|
11783
|
+
</fo:list-item-body>
|
11784
|
+
</fo:list-item>
|
11785
|
+
</fo:list-block>
|
12149
11786
|
|
12150
11787
|
</xsl:template> <!-- bibitem -->
|
12151
11788
|
|
12152
11789
|
<!-- Bibliography (non-normative references) -->
|
12153
11790
|
<xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
|
12154
11791
|
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
12155
|
-
|
12156
|
-
<xsl:call-template name="bibitem"/>
|
11792
|
+
<xsl:call-template name="bibitem"/>
|
12157
11793
|
|
12158
11794
|
</xsl:template> <!-- references[not(@normative='true')]/bibitem -->
|
12159
11795
|
|
@@ -12163,7 +11799,6 @@
|
|
12163
11799
|
<xsl:otherwise>
|
12164
11800
|
<xsl:call-template name="setNamedDestination"/>
|
12165
11801
|
<fo:list-item id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-item-style">
|
12166
|
-
|
12167
11802
|
<fo:list-item-label end-indent="label-end()">
|
12168
11803
|
<fo:block role="SKIP">
|
12169
11804
|
<fo:inline role="SKIP">
|
@@ -12190,18 +11825,16 @@
|
|
12190
11825
|
|
12191
11826
|
<xsl:template name="processBibitem">
|
12192
11827
|
<xsl:param name="biblio_tag_part">both</xsl:param>
|
11828
|
+
<!-- start bibitem processing -->
|
11829
|
+
<xsl:if test=".//*[local-name() = 'fn']">
|
11830
|
+
<xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
|
11831
|
+
</xsl:if>
|
12193
11832
|
|
12194
|
-
|
12195
|
-
|
12196
|
-
|
12197
|
-
|
12198
|
-
|
12199
|
-
<xsl:apply-templates select="*[local-name() = 'biblio-tag']">
|
12200
|
-
<xsl:with-param name="biblio_tag_part" select="$biblio_tag_part"/>
|
12201
|
-
</xsl:apply-templates>
|
12202
|
-
<xsl:apply-templates select="*[local-name() = 'formattedref']"/>
|
12203
|
-
<!-- end bibitem processing -->
|
12204
|
-
|
11833
|
+
<xsl:apply-templates select="*[local-name() = 'biblio-tag']">
|
11834
|
+
<xsl:with-param name="biblio_tag_part" select="$biblio_tag_part"/>
|
11835
|
+
</xsl:apply-templates>
|
11836
|
+
<xsl:apply-templates select="*[local-name() = 'formattedref']"/>
|
11837
|
+
<!-- end bibitem processing -->
|
12205
11838
|
</xsl:template> <!-- processBibitem (bibitem) -->
|
12206
11839
|
|
12207
11840
|
<xsl:template match="*[local-name() = 'title']" mode="title">
|
@@ -12344,8 +11977,7 @@
|
|
12344
11977
|
<xsl:choose>
|
12345
11978
|
<xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
12346
11979
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
12347
|
-
<xsl:otherwise><!-- default value -->
|
12348
|
-
2
|
11980
|
+
<xsl:otherwise><!-- default value -->2
|
12349
11981
|
</xsl:otherwise>
|
12350
11982
|
</xsl:choose>
|
12351
11983
|
</xsl:variable>
|
@@ -12553,27 +12185,21 @@
|
|
12553
12185
|
<!-- ================ -->
|
12554
12186
|
<!-- Admonition -->
|
12555
12187
|
<!-- ================ -->
|
12556
|
-
<xsl:template match="*[local-name() = 'admonition']">
|
12557
|
-
|
12558
|
-
|
12559
|
-
<xsl:call-template name="setNamedDestination"/>
|
12560
|
-
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
12561
|
-
|
12562
|
-
<xsl:call-template name="setBlockSpanAll"/>
|
12563
|
-
|
12564
|
-
<fo:block-container xsl:use-attribute-sets="admonition-container-style" role="SKIP">
|
12565
|
-
|
12566
|
-
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
12567
|
-
<xsl:call-template name="displayAdmonitionName"/>
|
12568
|
-
</fo:block>
|
12569
|
-
<fo:block xsl:use-attribute-sets="admonition-p-style">
|
12570
|
-
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
12571
|
-
</fo:block>
|
12572
|
-
|
12573
|
-
</fo:block-container>
|
12188
|
+
<xsl:template match="*[local-name() = 'admonition']"> <!-- text in the box -->
|
12189
|
+
<xsl:call-template name="setNamedDestination"/>
|
12190
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
12574
12191
|
|
12575
|
-
|
12192
|
+
<xsl:call-template name="setBlockSpanAll"/>
|
12193
|
+
<fo:block-container xsl:use-attribute-sets="admonition-container-style" role="SKIP">
|
12194
|
+
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
12195
|
+
<xsl:call-template name="displayAdmonitionName"/>
|
12196
|
+
</fo:block>
|
12197
|
+
<fo:block xsl:use-attribute-sets="admonition-p-style">
|
12198
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
12199
|
+
</fo:block>
|
12576
12200
|
|
12201
|
+
</fo:block-container>
|
12202
|
+
</fo:block-container>
|
12577
12203
|
</xsl:template>
|
12578
12204
|
|
12579
12205
|
<xsl:template name="displayAdmonitionName">
|
@@ -12620,9 +12246,8 @@
|
|
12620
12246
|
</xsl:if>
|
12621
12247
|
</xsl:template> -->
|
12622
12248
|
|
12623
|
-
<xsl:template match="*[local-name() = 'admonition']/*[local-name() = 'p']">
|
12624
|
-
|
12625
|
-
<xsl:call-template name="paragraph"/>
|
12249
|
+
<xsl:template match="*[local-name() = 'admonition']/*[local-name() = 'p']"> <!-- processing for admonition/p found in the template for 'p' -->
|
12250
|
+
<xsl:call-template name="paragraph"/>
|
12626
12251
|
|
12627
12252
|
</xsl:template>
|
12628
12253
|
|
@@ -12659,11 +12284,9 @@
|
|
12659
12284
|
|
12660
12285
|
<!-- STEP2: add 'fn' after 'eref' and 'origin', if referenced to bibitem with 'note' = Withdrawn.' or 'Cancelled and replaced...' -->
|
12661
12286
|
<xsl:variable name="updated_xml_step2">
|
12662
|
-
|
12663
|
-
|
12664
|
-
|
12665
|
-
</xsl:if>
|
12666
|
-
|
12287
|
+
<xsl:if test="$table_if = 'false'">
|
12288
|
+
<xsl:copy-of select="$updated_xml_step1"/>
|
12289
|
+
</xsl:if>
|
12667
12290
|
</xsl:variable>
|
12668
12291
|
|
12669
12292
|
<xsl:variable name="endTime2" select="java:getTime(java:java.util.Date.new())"/>
|
@@ -13138,7 +12761,6 @@
|
|
13138
12761
|
</xsl:template>
|
13139
12762
|
|
13140
12763
|
<xsl:template name="addNamedDestinationAttribute">
|
13141
|
-
|
13142
12764
|
</xsl:template>
|
13143
12765
|
|
13144
12766
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
@@ -13633,7 +13255,6 @@
|
|
13633
13255
|
<!-- enclose standard's number into tag 'keep-together_within-line' -->
|
13634
13256
|
<xsl:if test="not(ancestor::*[local-name() = 'table'])"><regex><xsl:value-of select="$regex_standard_reference"/></regex></xsl:if>
|
13635
13257
|
<!-- if EXPRESS reference -->
|
13636
|
-
|
13637
13258
|
<!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
|
13638
13259
|
<regex><xsl:value-of select="$regex_solidus_units"/></regex>
|
13639
13260
|
<!-- keep-together_within-line for: a.b, aaa.b, a.bbb, .b in table's cell ONLY -->
|
@@ -13687,8 +13308,7 @@
|
|
13687
13308
|
|
13688
13309
|
<xsl:variable name="text2">
|
13689
13310
|
<xsl:element name="text" namespace="{$namespace_full}">
|
13690
|
-
<xsl:for-each select="xalan:nodeset($text)/*[local-name() = 'text']/node()"
|
13691
|
-
<xsl:copy-of select="."/>
|
13311
|
+
<xsl:for-each select="xalan:nodeset($text)/*[local-name() = 'text']/node()"><xsl:copy-of select="."/>
|
13692
13312
|
</xsl:for-each>
|
13693
13313
|
</xsl:element>
|
13694
13314
|
</xsl:variable>
|
@@ -13980,9 +13600,7 @@
|
|
13980
13600
|
</xsl:attribute>
|
13981
13601
|
<xsl:variable name="skip_footnote_body_" select="not($p_fn//fn[@gen_id = $gen_id] and (1 = 1))"/>
|
13982
13602
|
<xsl:attribute name="skip_footnote_body"> <!-- false for repeatable footnote -->
|
13983
|
-
|
13984
|
-
<xsl:value-of select="$skip_footnote_body_"/>
|
13985
|
-
|
13603
|
+
<xsl:value-of select="$skip_footnote_body_"/>
|
13986
13604
|
</xsl:attribute>
|
13987
13605
|
<xsl:attribute name="ref_id">
|
13988
13606
|
<xsl:value-of select="concat('footnote_', $lang, '_', $reference, '_', $current_fn_number)"/>
|
@@ -14071,7 +13689,6 @@
|
|
14071
13689
|
|
14072
13690
|
<xsl:template name="printEdition">
|
14073
13691
|
<xsl:variable name="edition_i18n" select="normalize-space((//*[local-name() = 'metanorma'])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>
|
14074
|
-
|
14075
13692
|
<xsl:choose>
|
14076
13693
|
<xsl:when test="$edition_i18n != ''">
|
14077
13694
|
<!-- Example: <edition language="fr">deuxième édition</edition> -->
|
@@ -14300,8 +13917,7 @@
|
|
14300
13917
|
<dc:title>
|
14301
13918
|
<xsl:variable name="title">
|
14302
13919
|
<xsl:for-each select="(//*[local-name() = 'metanorma'])[1]/*[local-name() = 'bibdata']">
|
14303
|
-
|
14304
|
-
<xsl:value-of select="*[local-name() = 'title'][@language = $lang]"/>
|
13920
|
+
<xsl:value-of select="*[local-name() = 'title'][@language = $lang]"/>
|
14305
13921
|
|
14306
13922
|
</xsl:for-each>
|
14307
13923
|
</xsl:variable>
|
@@ -14320,16 +13936,14 @@
|
|
14320
13936
|
</dc:title>
|
14321
13937
|
<xsl:variable name="dc_creator">
|
14322
13938
|
<xsl:for-each select="(//*[local-name() = 'metanorma'])[1]/*[local-name() = 'bibdata']">
|
14323
|
-
|
14324
|
-
|
14325
|
-
|
14326
|
-
|
14327
|
-
|
14328
|
-
|
14329
|
-
|
14330
|
-
|
14331
|
-
</rdf:Seq>
|
14332
|
-
|
13939
|
+
<rdf:Seq>
|
13940
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role'][not(*[local-name() = 'description'])]/@type='author']">
|
13941
|
+
<rdf:li>
|
13942
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
13943
|
+
</rdf:li>
|
13944
|
+
<!-- <xsl:if test="position() != last()">; </xsl:if> -->
|
13945
|
+
</xsl:for-each>
|
13946
|
+
</rdf:Seq>
|
14333
13947
|
</xsl:for-each>
|
14334
13948
|
</xsl:variable>
|
14335
13949
|
<xsl:if test="normalize-space($dc_creator) != ''">
|
@@ -14340,9 +13954,7 @@
|
|
14340
13954
|
|
14341
13955
|
<xsl:variable name="dc_description">
|
14342
13956
|
<xsl:variable name="abstract">
|
14343
|
-
|
14344
|
-
<xsl:copy-of select="//*[local-name() = 'metanorma']/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'fmt-title']) and not(ancestor::*[local-name() = 'title']) and not(ancestor::*[local-name() = 'fmt-xref-label'])]"/>
|
14345
|
-
|
13957
|
+
<xsl:copy-of select="//*[local-name() = 'metanorma']/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'fmt-title']) and not(ancestor::*[local-name() = 'title']) and not(ancestor::*[local-name() = 'fmt-xref-label'])]"/>
|
14346
13958
|
</xsl:variable>
|
14347
13959
|
<rdf:Alt>
|
14348
13960
|
<rdf:li xml:lang="x-default">
|
@@ -14407,7 +14019,9 @@
|
|
14407
14019
|
<xsl:for-each select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment']]">
|
14408
14020
|
<xsl:variable name="attachment_path" select="*[local-name() = 'uri'][@type = 'attachment']"/>
|
14409
14021
|
<xsl:variable name="attachment_name" select="java:org.metanorma.fop.Util.getFilenameFromPath($attachment_path)"/>
|
14410
|
-
<xsl:variable name="url" select="concat('url(file:///',$basepath, $attachment_path, ')')"/>
|
14022
|
+
<!-- <xsl:variable name="url" select="concat('url(file:///',$basepath, $attachment_path, ')')"/> -->
|
14023
|
+
<!-- See https://github.com/metanorma/metanorma-iso/issues/1369 -->
|
14024
|
+
<xsl:variable name="url" select="concat('url(file:///',$outputpdf_basepath, $attachment_path, ')')"/>
|
14411
14025
|
<xsl:variable name="description" select="normalize-space(*[local-name() = 'formattedref'])"/>
|
14412
14026
|
<!-- Todo: need update -->
|
14413
14027
|
<xsl:variable name="afrelationship" select="normalize-space(.//*[local-name() = 'classification'][@type = 'pdf-AFRelationship'])"/>
|
@@ -14572,7 +14186,7 @@
|
|
14572
14186
|
<xsl:param name="normalize-space" select="'true'"/>
|
14573
14187
|
<xsl:param name="keep_sep" select="'false'"/>
|
14574
14188
|
<xsl:if test="string-length($pText) >0">
|
14575
|
-
<item>
|
14189
|
+
<xsl:element name="item" namespace="{$namespace_mn_xsl}">
|
14576
14190
|
<xsl:choose>
|
14577
14191
|
<xsl:when test="$normalize-space = 'true'">
|
14578
14192
|
<xsl:value-of select="normalize-space(substring-before(concat($pText, $sep), $sep))"/>
|
@@ -14581,8 +14195,8 @@
|
|
14581
14195
|
<xsl:value-of select="substring-before(concat($pText, $sep), $sep)"/>
|
14582
14196
|
</xsl:otherwise>
|
14583
14197
|
</xsl:choose>
|
14584
|
-
</
|
14585
|
-
<xsl:if test="$keep_sep = 'true' and contains($pText, $sep)"><item><xsl:value-of select="$sep"/></
|
14198
|
+
</xsl:element>
|
14199
|
+
<xsl:if test="$keep_sep = 'true' and contains($pText, $sep)"><xsl:element name="item" namespace="{$namespace_mn_xsl}"><xsl:value-of select="$sep"/></xsl:element></xsl:if>
|
14586
14200
|
<xsl:call-template name="split">
|
14587
14201
|
<xsl:with-param name="pText" select="substring-after($pText, $sep)"/>
|
14588
14202
|
<xsl:with-param name="sep" select="$sep"/>
|
@@ -14600,30 +14214,6 @@
|
|
14600
14214
|
<xsl:call-template name="getLang_fromCurrentNode"/><xsl:value-of select=".//*[local-name() = 'p'][1]/@id"/>
|
14601
14215
|
</xsl:template>
|
14602
14216
|
|
14603
|
-
<xsl:template name="namespaceCheck">
|
14604
|
-
<xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
|
14605
|
-
<xsl:variable name="XSLNS">
|
14606
|
-
|
14607
|
-
<xsl:value-of select="document('')//*/namespace::iho"/>
|
14608
|
-
|
14609
|
-
</xsl:variable>
|
14610
|
-
<!-- <xsl:if test="$documentNS != $XSLNS">
|
14611
|
-
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
14612
|
-
</xsl:if> -->
|
14613
|
-
</xsl:template> <!-- namespaceCheck -->
|
14614
|
-
|
14615
|
-
<xsl:template name="getLanguage">
|
14616
|
-
<xsl:param name="lang"/>
|
14617
|
-
<xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
|
14618
|
-
<xsl:choose>
|
14619
|
-
<xsl:when test="$language = 'en'">English</xsl:when>
|
14620
|
-
<xsl:when test="$language = 'fr'">French</xsl:when>
|
14621
|
-
<xsl:when test="$language = 'de'">Deutsch</xsl:when>
|
14622
|
-
<xsl:when test="$language = 'cn'">Chinese</xsl:when>
|
14623
|
-
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
14624
|
-
</xsl:choose>
|
14625
|
-
</xsl:template>
|
14626
|
-
|
14627
14217
|
<xsl:template name="setId">
|
14628
14218
|
<xsl:param name="prefix"/>
|
14629
14219
|
<xsl:attribute name="id">
|