metanorma-m3aawg 2.1.12 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/lib/isodoc/m3aawg/html/htmlstyle.css +6 -0
- data/lib/isodoc/m3aawg/html/wordstyle.css +150 -0
- data/lib/isodoc/m3aawg/html/wordstyle.scss +144 -0
- data/lib/isodoc/m3aawg/m3aawg.policy.xsl +251 -66
- data/lib/isodoc/m3aawg/m3aawg.report.xsl +251 -66
- data/lib/isodoc/m3aawg/presentation_xml_convert.rb +1 -1
- data/lib/metanorma/m3aawg/basicdoc.rng +3 -0
- data/lib/metanorma/m3aawg/biblio-standoc.rng +1 -1
- data/lib/metanorma/m3aawg/isodoc.rng +2 -1
- data/lib/metanorma/m3aawg/version.rb +1 -1
- data/metanorma-m3aawg.gemspec +1 -1
- metadata +5 -5
@@ -107,7 +107,7 @@
|
|
107
107
|
<fo:block-container font-size="10pt">
|
108
108
|
<fo:block text-align-last="justify" margin-top="2mm">
|
109
109
|
<fo:inline font-weight="bold">
|
110
|
-
<fo:inline>M<fo:inline font-size="6.5pt"
|
110
|
+
<fo:inline>M<fo:inline font-size="6.5pt" baseline-shift="35%">3</fo:inline>AAWG </fo:inline>
|
111
111
|
<xsl:value-of select="$title-en"/>
|
112
112
|
</fo:inline>
|
113
113
|
<fo:leader font-weight="normal" leader-pattern="space"/>
|
@@ -136,7 +136,7 @@
|
|
136
136
|
<fo:block font-size="10pt">
|
137
137
|
<fo:block text-align-last="justify" margin-top="2mm">
|
138
138
|
<fo:inline font-weight="bold">
|
139
|
-
<fo:inline>M<fo:inline font-size="6.5pt"
|
139
|
+
<fo:inline>M<fo:inline font-size="6.5pt" baseline-shift="35%">3</fo:inline>AAWG </fo:inline>
|
140
140
|
<xsl:value-of select="$title-en"/>
|
141
141
|
</fo:inline>
|
142
142
|
<fo:leader font-weight="normal" leader-pattern="space"/>
|
@@ -158,7 +158,7 @@
|
|
158
158
|
DNS Stub Resolver-to-Recursive Resolver Traffic -->
|
159
159
|
<fo:block font-size="22pt" margin-top="16pt">
|
160
160
|
<fo:inline border-bottom="1pt solid black">
|
161
|
-
<fo:inline>M</fo:inline><fo:inline font-size="13pt"
|
161
|
+
<fo:inline>M</fo:inline><fo:inline font-size="13pt" baseline-shift="35%">3</fo:inline><fo:inline>AAWG Companion Document: </fo:inline>
|
162
162
|
</fo:inline>
|
163
163
|
</fo:block>
|
164
164
|
|
@@ -191,10 +191,10 @@
|
|
191
191
|
<fo:block text-align="center" font-weight="normal" margin-bottom="10pt">
|
192
192
|
<xsl:text>The direct URL to this paper is: </xsl:text><fo:inline color="blue" text-decoration="underline">www.m3aawg.org/dns-crypto-recipes</fo:inline>
|
193
193
|
</fo:block>
|
194
|
-
<fo:block margin-bottom="10pt">This document is intended to accompany and complement the companion document, “M<fo:inline font-size="7pt"
|
194
|
+
<fo:block margin-bottom="10pt">This document is intended to accompany and complement the companion document, “M<fo:inline font-size="7pt" baseline-shift="35%">3</fo:inline> AAWG Tutorial on Third Party Recursive Resolvers and Encrypting DNS Stub Resolver-to-Recursive Resolver Traffic”
|
195
195
|
(<fo:inline color="blue" text-decoration="underline">www.m3aawg.org/dns-crypto-tutorial</fo:inline>).
|
196
196
|
</fo:block>
|
197
|
-
<fo:block margin-bottom="12pt">This document was produced by the M<fo:inline font-size="7pt"
|
197
|
+
<fo:block margin-bottom="12pt">This document was produced by the M<fo:inline font-size="7pt" baseline-shift="35%">3</fo:inline> AAWG Data and Identity Protection Committee. </fo:block>
|
198
198
|
</fo:block-container>
|
199
199
|
|
200
200
|
<xsl:if test="$debug = 'true'">
|
@@ -631,10 +631,18 @@
|
|
631
631
|
</fo:inline>
|
632
632
|
</xsl:template>
|
633
633
|
|
634
|
+
<xsl:template match="*[local-name()='sup']" priority="2">
|
635
|
+
<fo:inline font-size="80%" baseline-shift="30%">
|
636
|
+
<xsl:apply-templates/>
|
637
|
+
</fo:inline>
|
638
|
+
</xsl:template>
|
639
|
+
|
634
640
|
<xsl:variable name="Image-M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D5peZ3C5fFLqB3dI7HfDm2YPzqkkhzFChQ+bC2gOAdpwAOpSxzYdOXJUW8m8/VQPKGr7yVHdJbgdKy+GwcowwKvGOsCgFnZZy2jfUtv7DMAXtgDYy4dHFM5Yakzw/AsXBTBqhR3AXAaFzOI7nKfc9pMjR44KTNh+cmc/OaqTRBCxpIbrgO2dVXWoz6DF+ZLJkSNHjuodOZduR44cOXLkyJEDNY4cOXLkyJEjR7WF/O2nDbnvXd9oIzfEjhw5cuTI0W8L1CAA0DauOxw5clQA6khe84PrCkeOHBWS/l+AAQACYD7v73Ou8wAAAABJRU5ErkJggg==</xsl:text>
|
636
642
|
</xsl:variable>
|
637
643
|
|
644
|
+
<xsl:strip-space elements="m3d:xref"/>
|
645
|
+
|
638
646
|
<!-- external parameters -->
|
639
647
|
|
640
648
|
<xsl:param name="svg_images"/> <!-- svg images array -->
|
@@ -1252,7 +1260,7 @@
|
|
1252
1260
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1253
1261
|
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1254
1262
|
|
1255
|
-
<xsl:attribute name="
|
1263
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
1256
1264
|
|
1257
1265
|
</xsl:attribute-set> <!-- table-fn-number-style -->
|
1258
1266
|
|
@@ -1271,6 +1279,8 @@
|
|
1271
1279
|
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1272
1280
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1273
1281
|
|
1282
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
1283
|
+
|
1274
1284
|
</xsl:attribute-set>
|
1275
1285
|
|
1276
1286
|
<xsl:attribute-set name="figure-fn-body-style">
|
@@ -1590,7 +1600,7 @@
|
|
1590
1600
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1591
1601
|
|
1592
1602
|
<xsl:attribute name="font-size">7pt</xsl:attribute>
|
1593
|
-
<xsl:attribute name="
|
1603
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
1594
1604
|
|
1595
1605
|
</xsl:attribute-set>
|
1596
1606
|
|
@@ -1609,7 +1619,7 @@
|
|
1609
1619
|
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
1610
1620
|
|
1611
1621
|
<xsl:attribute name="font-size">6pt</xsl:attribute>
|
1612
|
-
<xsl:attribute name="
|
1622
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
1613
1623
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1614
1624
|
|
1615
1625
|
</xsl:attribute-set> <!-- fn-body-num-style -->
|
@@ -2008,17 +2018,22 @@
|
|
2008
2018
|
</xsl:for-each>
|
2009
2019
|
</xsl:template>
|
2010
2020
|
|
2021
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
2011
2022
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
|
2012
2023
|
<xsl:variable name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
|
2013
2024
|
<xsl:template match="text()" name="text">
|
2014
2025
|
|
2015
|
-
<xsl:
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2026
|
+
<xsl:choose>
|
2027
|
+
<xsl:when test="ancestor::*[local-name() = 'table']"><xsl:value-of select="."/></xsl:when>
|
2028
|
+
<xsl:otherwise>
|
2029
|
+
<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))"/>
|
2030
|
+
<xsl:call-template name="replace_fo_inline_tags">
|
2031
|
+
<xsl:with-param name="tag_open" select="$tag_fo_inline_keep-together_within-line_open"/>
|
2032
|
+
<xsl:with-param name="tag_close" select="$tag_fo_inline_keep-together_within-line_close"/>
|
2033
|
+
<xsl:with-param name="text" select="$text"/>
|
2034
|
+
</xsl:call-template>
|
2035
|
+
</xsl:otherwise>
|
2036
|
+
</xsl:choose>
|
2022
2037
|
|
2023
2038
|
</xsl:template>
|
2024
2039
|
|
@@ -2391,7 +2406,7 @@
|
|
2391
2406
|
|
2392
2407
|
<!-- centered table when table name is centered (see table-name-style) -->
|
2393
2408
|
|
2394
|
-
<fo:table table-layout="fixed" width="100%">
|
2409
|
+
<fo:table table-layout="fixed" width="100%" xsl:use-attribute-sets="table-container-style">
|
2395
2410
|
<fo:table-column column-width="proportional-column-width(1)"/>
|
2396
2411
|
<fo:table-column column-width="{@width}"/>
|
2397
2412
|
<fo:table-column column-width="proportional-column-width(1)"/>
|
@@ -3044,7 +3059,7 @@
|
|
3044
3059
|
<xsl:template match="*[local-name()='tr']">
|
3045
3060
|
<fo:table-row xsl:use-attribute-sets="table-body-row-style">
|
3046
3061
|
|
3047
|
-
<xsl:if test="*[local-name() = 'th']">
|
3062
|
+
<xsl:if test="count(*) = count(*[local-name() = 'th'])"> <!-- row contains 'th' only -->
|
3048
3063
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
3049
3064
|
</xsl:if>
|
3050
3065
|
|
@@ -3206,6 +3221,10 @@
|
|
3206
3221
|
<xsl:variable name="footnote_inline">
|
3207
3222
|
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
3208
3223
|
|
3224
|
+
<xsl:if test="following-sibling::*[1][local-name() = 'fn']">
|
3225
|
+
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
3226
|
+
</xsl:if>
|
3227
|
+
|
3209
3228
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
|
3210
3229
|
<xsl:value-of select="$current_fn_number_text"/>
|
3211
3230
|
</fo:basic-link>
|
@@ -4003,7 +4022,8 @@
|
|
4003
4022
|
<xsl:copy-of select="node()"/>
|
4004
4023
|
</td>
|
4005
4024
|
<td>
|
4006
|
-
<xsl:copy-of select="following-sibling::*[local-name()='dd'][1]/node()[not(local-name() = 'dl')]"/>
|
4025
|
+
<!-- <xsl:copy-of select="following-sibling::*[local-name()='dd'][1]/node()[not(local-name() = 'dl')]"/> -->
|
4026
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]/node()[not(local-name() = 'dl')]" mode="dl_if"/>
|
4007
4027
|
<!-- get paragraphs from nested 'dl' -->
|
4008
4028
|
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]/*[local-name() = 'dl']" mode="dl_if_nested"/>
|
4009
4029
|
</td>
|
@@ -4011,6 +4031,53 @@
|
|
4011
4031
|
</xsl:template>
|
4012
4032
|
<xsl:template match="*[local-name()='dd']" mode="dl_if"/>
|
4013
4033
|
|
4034
|
+
<xsl:template match="*" mode="dl_if">
|
4035
|
+
<xsl:copy-of select="."/>
|
4036
|
+
</xsl:template>
|
4037
|
+
|
4038
|
+
<xsl:template match="*[local-name() = 'p']" mode="dl_if">
|
4039
|
+
<xsl:param name="indent"/>
|
4040
|
+
<p>
|
4041
|
+
<xsl:copy-of select="@*"/>
|
4042
|
+
<xsl:value-of select="$indent"/>
|
4043
|
+
<xsl:copy-of select="node()"/>
|
4044
|
+
</p>
|
4045
|
+
|
4046
|
+
</xsl:template>
|
4047
|
+
|
4048
|
+
<xsl:template match="*[local-name() = 'ul' or local-name() = 'ol']" mode="dl_if">
|
4049
|
+
<xsl:variable name="list_rendered_">
|
4050
|
+
<xsl:apply-templates select="."/>
|
4051
|
+
</xsl:variable>
|
4052
|
+
<xsl:variable name="list_rendered" select="xalan:nodeset($list_rendered_)"/>
|
4053
|
+
|
4054
|
+
<xsl:variable name="indent">
|
4055
|
+
<xsl:for-each select="($list_rendered//fo:block[not(.//fo:block)])[1]">
|
4056
|
+
<xsl:apply-templates select="ancestor::*[@provisional-distance-between-starts]/@provisional-distance-between-starts" mode="dl_if"/>
|
4057
|
+
</xsl:for-each>
|
4058
|
+
</xsl:variable>
|
4059
|
+
|
4060
|
+
<xsl:apply-templates mode="dl_if">
|
4061
|
+
<xsl:with-param name="indent" select="$indent"/>
|
4062
|
+
</xsl:apply-templates>
|
4063
|
+
</xsl:template>
|
4064
|
+
|
4065
|
+
<xsl:template match="*[local-name() = 'li']" mode="dl_if">
|
4066
|
+
<xsl:param name="indent"/>
|
4067
|
+
<xsl:apply-templates mode="dl_if">
|
4068
|
+
<xsl:with-param name="indent" select="$indent"/>
|
4069
|
+
</xsl:apply-templates>
|
4070
|
+
</xsl:template>
|
4071
|
+
|
4072
|
+
<xsl:template match="@provisional-distance-between-starts" mode="dl_if">
|
4073
|
+
<xsl:variable name="value" select="round(substring-before(.,'mm'))"/>
|
4074
|
+
<!-- emulate left indent for list item -->
|
4075
|
+
<xsl:call-template name="repeat">
|
4076
|
+
<xsl:with-param name="char" select="'x'"/>
|
4077
|
+
<xsl:with-param name="count" select="$value"/>
|
4078
|
+
</xsl:call-template>
|
4079
|
+
</xsl:template>
|
4080
|
+
|
4014
4081
|
<xsl:template match="*[local-name()='dl']" mode="dl_if_nested">
|
4015
4082
|
<xsl:for-each select="*[local-name() = 'dt']">
|
4016
4083
|
<p>
|
@@ -4311,6 +4378,23 @@
|
|
4311
4378
|
<xsl:apply-templates/>
|
4312
4379
|
</xsl:template>
|
4313
4380
|
|
4381
|
+
<!-- Don't break standard's numbers -->
|
4382
|
+
<!-- Example : <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
|
4383
|
+
<xsl:template match="*[local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']" priority="2">
|
4384
|
+
<xsl:choose>
|
4385
|
+
<xsl:when test="ancestor::*[local-name() = 'table']"><xsl:apply-templates/></xsl:when>
|
4386
|
+
<xsl:when test="following-sibling::*[2][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']">
|
4387
|
+
<fo:inline keep-with-next.within-line="always"><xsl:apply-templates/></fo:inline>
|
4388
|
+
</xsl:when>
|
4389
|
+
<xsl:otherwise>
|
4390
|
+
<xsl:apply-templates/>
|
4391
|
+
</xsl:otherwise>
|
4392
|
+
</xsl:choose>
|
4393
|
+
</xsl:template>
|
4394
|
+
<xsl:template match="text()[not(ancestor::*[local-name() = 'table']) and preceding-sibling::*[1][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear'] and following-sibling::*[1][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']]" priority="2">
|
4395
|
+
<fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
|
4396
|
+
</xsl:template>
|
4397
|
+
|
4314
4398
|
<!-- ========================= -->
|
4315
4399
|
<!-- END Rich text formatting -->
|
4316
4400
|
<!-- ========================= -->
|
@@ -4409,6 +4493,7 @@
|
|
4409
4493
|
</word>
|
4410
4494
|
<xsl:call-template name="tokenize_with_tags">
|
4411
4495
|
<xsl:with-param name="text" select="substring-after($text, $separator)"/>
|
4496
|
+
<xsl:with-param name="tags" select="$tags"/>
|
4412
4497
|
</xsl:call-template>
|
4413
4498
|
</xsl:otherwise>
|
4414
4499
|
</xsl:choose>
|
@@ -4448,8 +4533,18 @@
|
|
4448
4533
|
|
4449
4534
|
<xsl:template name="add-zero-spaces-java">
|
4450
4535
|
<xsl:param name="text" select="."/>
|
4451
|
-
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space
|
4452
|
-
<xsl:
|
4536
|
+
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space, arrow right -->
|
4537
|
+
<xsl:variable name="text1" select="java:replaceAll(java:java.lang.String.new($text),'(-|\.|:|=|_|—| |→)','$1')"/>
|
4538
|
+
<!-- add zero-width space (#x200B) after characters: 'great than' -->
|
4539
|
+
<xsl:variable name="text2" select="java:replaceAll(java:java.lang.String.new($text1), '(\u003e)(?!\u003e)', '$1')"/><!-- negative lookahead: 'great than' not followed by 'great than' -->
|
4540
|
+
<!-- add zero-width space (#x200B) before characters: 'less than' -->
|
4541
|
+
<xsl:variable name="text3" select="java:replaceAll(java:java.lang.String.new($text2), '(?<!\u003c)(\u003c)', '$1')"/> <!-- (?<!\u003c)(\u003c) --> <!-- negative lookbehind: 'less than' not preceeded by 'less than' -->
|
4542
|
+
<!-- add zero-width space (#x200B) before character: { -->
|
4543
|
+
<xsl:variable name="text4" select="java:replaceAll(java:java.lang.String.new($text3), '(?<!\W)(\{)', '$1')"/> <!-- negative lookbehind: '{' not preceeded by 'punctuation char' -->
|
4544
|
+
<!-- add zero-width space (#x200B) after character: , -->
|
4545
|
+
<xsl:variable name="text5" select="java:replaceAll(java:java.lang.String.new($text4), '(\,)(?!\d)', '$1')"/> <!-- negative lookahead: ',' not followed by digit -->
|
4546
|
+
|
4547
|
+
<xsl:value-of select="$text5"/>
|
4453
4548
|
</xsl:template>
|
4454
4549
|
|
4455
4550
|
<xsl:template name="add-zero-spaces-link-java">
|
@@ -4595,7 +4690,7 @@
|
|
4595
4690
|
</xsl:copy>
|
4596
4691
|
</xsl:template>
|
4597
4692
|
|
4598
|
-
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p'])]" mode="table-without-br">
|
4693
|
+
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode'])]" mode="table-without-br">
|
4599
4694
|
<xsl:copy>
|
4600
4695
|
<xsl:copy-of select="@*"/>
|
4601
4696
|
<p>
|
@@ -4643,6 +4738,28 @@
|
|
4643
4738
|
</xsl:for-each>
|
4644
4739
|
</xsl:template>
|
4645
4740
|
|
4741
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']/*[local-name() = 'sourcecode']" mode="table-without-br">
|
4742
|
+
<xsl:apply-templates mode="table-without-br"/>
|
4743
|
+
</xsl:template>
|
4744
|
+
|
4745
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']/*[local-name() = 'sourcecode']/text()[contains(., ' ') or contains(., ' ')]" mode="table-without-br">
|
4746
|
+
|
4747
|
+
<xsl:variable name="sep">###SOURCECODE_NEWLINE###</xsl:variable>
|
4748
|
+
<xsl:variable name="sourcecode_text" select="java:replaceAll(java:java.lang.String.new(.),'( | | )', $sep)"/>
|
4749
|
+
<xsl:variable name="items">
|
4750
|
+
<xsl:call-template name="split">
|
4751
|
+
<xsl:with-param name="pText" select="$sourcecode_text"/>
|
4752
|
+
<xsl:with-param name="sep" select="$sep"/>
|
4753
|
+
<xsl:with-param name="normalize-space">false</xsl:with-param>
|
4754
|
+
</xsl:call-template>
|
4755
|
+
</xsl:variable>
|
4756
|
+
<xsl:for-each select="xalan:nodeset($items)/*">
|
4757
|
+
<p>
|
4758
|
+
<sourcecode><xsl:copy-of select="node()"/></sourcecode>
|
4759
|
+
</p>
|
4760
|
+
</xsl:for-each>
|
4761
|
+
</xsl:template>
|
4762
|
+
|
4646
4763
|
<!-- remove redundant white spaces -->
|
4647
4764
|
<xsl:template match="text()[not(ancestor::*[local-name() = 'sourcecode'])]" mode="table-without-br">
|
4648
4765
|
<xsl:variable name="text" select="translate(.,'	 ','')"/>
|
@@ -4673,7 +4790,7 @@
|
|
4673
4790
|
<xsl:choose>
|
4674
4791
|
<xsl:when test="@colspan">
|
4675
4792
|
<xsl:variable name="td">
|
4676
|
-
<xsl:element name="
|
4793
|
+
<xsl:element name="{local-name()}">
|
4677
4794
|
<xsl:attribute name="divide"><xsl:value-of select="@colspan"/></xsl:attribute>
|
4678
4795
|
<xsl:if test="local-name()='th'">
|
4679
4796
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
@@ -4688,7 +4805,7 @@
|
|
4688
4805
|
</xsl:call-template>
|
4689
4806
|
</xsl:when>
|
4690
4807
|
<xsl:otherwise>
|
4691
|
-
<xsl:element name="
|
4808
|
+
<xsl:element name="{local-name()}">
|
4692
4809
|
<xsl:apply-templates select="@*" mode="simple-table-colspan"/>
|
4693
4810
|
<xsl:if test="local-name()='th'">
|
4694
4811
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
@@ -4755,7 +4872,7 @@
|
|
4755
4872
|
<xsl:variable name="currentRow" select="."/>
|
4756
4873
|
|
4757
4874
|
<xsl:variable name="normalizedTDs">
|
4758
|
-
<xsl:for-each select="xalan:nodeset($previousRow)
|
4875
|
+
<xsl:for-each select="xalan:nodeset($previousRow)//*[self::td or self::th]">
|
4759
4876
|
<xsl:choose>
|
4760
4877
|
<xsl:when test="@rowspan > 1">
|
4761
4878
|
<xsl:copy>
|
@@ -4767,7 +4884,7 @@
|
|
4767
4884
|
</xsl:copy>
|
4768
4885
|
</xsl:when>
|
4769
4886
|
<xsl:otherwise>
|
4770
|
-
<xsl:copy-of select="$currentRow
|
4887
|
+
<xsl:copy-of select="$currentRow/*[self::td or self::th][1 + count(current()/preceding-sibling::*[self::td or self::th][not(@rowspan) or (@rowspan = 1)])]"/>
|
4771
4888
|
</xsl:otherwise>
|
4772
4889
|
</xsl:choose>
|
4773
4890
|
</xsl:for-each>
|
@@ -4953,6 +5070,7 @@
|
|
4953
5070
|
<xsl:if test="ancestor::*[local-name() = 'sub']"><tag>sub</tag></xsl:if>
|
4954
5071
|
<xsl:if test="ancestor::*[local-name() = 'sup']"><tag>sup</tag></xsl:if>
|
4955
5072
|
<xsl:if test="ancestor::*[local-name() = 'tt']"><tag>tt</tag></xsl:if>
|
5073
|
+
<xsl:if test="ancestor::*[local-name() = 'sourcecode']"><tag>sourcecode</tag></xsl:if>
|
4956
5074
|
<xsl:if test="ancestor::*[local-name() = 'keep-together_within-line']"><tag>keep-together_within-line</tag></xsl:if>
|
4957
5075
|
</tags>
|
4958
5076
|
</xsl:template>
|
@@ -5943,6 +6061,31 @@
|
|
5943
6061
|
<xsl:apply-templates mode="svg_update"/>
|
5944
6062
|
</xsl:copy>
|
5945
6063
|
</xsl:template>
|
6064
|
+
|
6065
|
+
<!-- regex for 'display: inline-block;' -->
|
6066
|
+
<xsl:variable name="regex_svg_style_notsupported">display(\s|\h)*:(\s|\h)*inline-block(\s|\h)*;</xsl:variable>
|
6067
|
+
<xsl:template match="*[local-name() = 'svg']//*[local-name() = 'style']/text()" mode="svg_update">
|
6068
|
+
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.), $regex_svg_style_notsupported, '')"/>
|
6069
|
+
</xsl:template>
|
6070
|
+
|
6071
|
+
<!-- replace
|
6072
|
+
stroke="rgba(r, g, b, alpha)" to
|
6073
|
+
stroke="rgb(r,g,b)" stroke-opacity="alpha", and
|
6074
|
+
fill="rgba(r, g, b, alpha)" to
|
6075
|
+
fill="rgb(r,g,b)" fill-opacity="alpha" -->
|
6076
|
+
<xsl:template match="@*[local-name() = 'stroke' or local-name() = 'fill'][starts-with(normalize-space(.), 'rgba')]" mode="svg_update">
|
6077
|
+
<xsl:variable name="components_">
|
6078
|
+
<xsl:call-template name="split">
|
6079
|
+
<xsl:with-param name="pText" select="substring-before(substring-after(., '('), ')')"/>
|
6080
|
+
<xsl:with-param name="sep" select="','"/>
|
6081
|
+
</xsl:call-template>
|
6082
|
+
</xsl:variable>
|
6083
|
+
<xsl:variable name="components" select="xalan:nodeset($components_)"/>
|
6084
|
+
<xsl:variable name="att_name" select="local-name()"/>
|
6085
|
+
<xsl:attribute name="{$att_name}"><xsl:value-of select="concat('rgb(', $components/item[1], ',', $components/item[2], ',', $components/item[3], ')')"/></xsl:attribute>
|
6086
|
+
<xsl:attribute name="{$att_name}-opacity"><xsl:value-of select="$components/item[4]"/></xsl:attribute>
|
6087
|
+
</xsl:template>
|
6088
|
+
|
5946
6089
|
<!-- ============== -->
|
5947
6090
|
<!-- END: svg_update -->
|
5948
6091
|
<!-- ============== -->
|
@@ -6581,37 +6724,15 @@
|
|
6581
6724
|
<!-- =============== -->
|
6582
6725
|
<xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
|
6583
6726
|
|
6584
|
-
<
|
6585
|
-
|
6586
|
-
|
6587
|
-
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
6588
|
-
</xsl:if>
|
6589
|
-
|
6590
|
-
<xsl:if test="ancestor::*[local-name() = 'example']">
|
6591
|
-
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
6592
|
-
</xsl:if>
|
6593
|
-
|
6594
|
-
<xsl:copy-of select="@id"/>
|
6595
|
-
|
6596
|
-
<xsl:if test="parent::*[local-name() = 'note']">
|
6597
|
-
<xsl:attribute name="margin-left">
|
6598
|
-
<xsl:choose>
|
6599
|
-
<xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
|
6600
|
-
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
6601
|
-
</xsl:choose>
|
6602
|
-
</xsl:attribute>
|
6603
|
-
|
6604
|
-
</xsl:if>
|
6605
|
-
<fo:block-container margin-left="0mm">
|
6606
|
-
|
6607
|
-
<fo:block xsl:use-attribute-sets="sourcecode-style">
|
6608
|
-
<xsl:variable name="_font-size">
|
6727
|
+
<xsl:variable name="sourcecode_attributes">
|
6728
|
+
<xsl:element name="sourcecode_attributes" use-attribute-sets="sourcecode-style">
|
6729
|
+
<xsl:variable name="_font-size">
|
6609
6730
|
|
6610
|
-
|
6731
|
+
<!-- 9 -->
|
6611
6732
|
|
6612
|
-
|
6613
|
-
|
6614
|
-
|
6733
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
6734
|
+
<xsl:if test="$current_template = 'standard'">8</xsl:if>
|
6735
|
+
</xsl:if> -->
|
6615
6736
|
|
6616
6737
|
</xsl:variable>
|
6617
6738
|
|
@@ -6626,14 +6747,60 @@
|
|
6626
6747
|
</xsl:choose>
|
6627
6748
|
</xsl:attribute>
|
6628
6749
|
</xsl:if>
|
6750
|
+
</xsl:element>
|
6751
|
+
</xsl:variable>
|
6629
6752
|
|
6753
|
+
<xsl:choose>
|
6754
|
+
<xsl:when test="$isGenerateTableIF = 'true' and (ancestor::*[local-name() = 'td'] or ancestor::*[local-name() = 'th'])">
|
6755
|
+
<xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*">
|
6756
|
+
<xsl:attribute name="{local-name()}">
|
6757
|
+
<xsl:value-of select="."/>
|
6758
|
+
</xsl:attribute>
|
6759
|
+
</xsl:for-each>
|
6630
6760
|
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
6631
|
-
</
|
6761
|
+
</xsl:when>
|
6632
6762
|
|
6633
|
-
|
6763
|
+
<xsl:otherwise>
|
6764
|
+
<fo:block-container xsl:use-attribute-sets="sourcecode-container-style">
|
6634
6765
|
|
6635
|
-
|
6636
|
-
|
6766
|
+
<xsl:if test="not(ancestor::*[local-name() = 'li']) or ancestor::*[local-name() = 'example']">
|
6767
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
6768
|
+
</xsl:if>
|
6769
|
+
|
6770
|
+
<xsl:if test="ancestor::*[local-name() = 'example']">
|
6771
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
6772
|
+
</xsl:if>
|
6773
|
+
|
6774
|
+
<xsl:copy-of select="@id"/>
|
6775
|
+
|
6776
|
+
<xsl:if test="parent::*[local-name() = 'note']">
|
6777
|
+
<xsl:attribute name="margin-left">
|
6778
|
+
<xsl:choose>
|
6779
|
+
<xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
|
6780
|
+
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
6781
|
+
</xsl:choose>
|
6782
|
+
</xsl:attribute>
|
6783
|
+
|
6784
|
+
</xsl:if>
|
6785
|
+
<fo:block-container margin-left="0mm">
|
6786
|
+
|
6787
|
+
<fo:block xsl:use-attribute-sets="sourcecode-style">
|
6788
|
+
|
6789
|
+
<xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*">
|
6790
|
+
<xsl:attribute name="{local-name()}">
|
6791
|
+
<xsl:value-of select="."/>
|
6792
|
+
</xsl:attribute>
|
6793
|
+
</xsl:for-each>
|
6794
|
+
|
6795
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
6796
|
+
</fo:block>
|
6797
|
+
|
6798
|
+
<xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->
|
6799
|
+
|
6800
|
+
</fo:block-container>
|
6801
|
+
</fo:block-container>
|
6802
|
+
</xsl:otherwise>
|
6803
|
+
</xsl:choose>
|
6637
6804
|
</xsl:template>
|
6638
6805
|
|
6639
6806
|
<xsl:template match="*[local-name()='sourcecode']/text()" priority="2">
|
@@ -8861,7 +9028,11 @@
|
|
8861
9028
|
<!-- ===================================== -->
|
8862
9029
|
<!-- Update xml -->
|
8863
9030
|
<!-- ===================================== -->
|
8864
|
-
<!--
|
9031
|
+
<!-- =========================================================================== -->
|
9032
|
+
<!-- STEP1: -->
|
9033
|
+
<!-- - Re-order elements in 'preface', 'sections' based on @displayorder -->
|
9034
|
+
<!-- - Ignore 'span' without style -->
|
9035
|
+
<!-- =========================================================================== -->
|
8865
9036
|
<xsl:template match="@*|node()" mode="update_xml_step1">
|
8866
9037
|
<xsl:copy>
|
8867
9038
|
<xsl:apply-templates select="@*|node()" mode="update_xml_step1"/>
|
@@ -8943,7 +9114,8 @@
|
|
8943
9114
|
</xsl:copy>
|
8944
9115
|
</xsl:template>
|
8945
9116
|
|
8946
|
-
|
9117
|
+
<!-- Example with 'class': <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
|
9118
|
+
<xsl:template match="*[local-name() = 'span'][@style or @class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']" mode="update_xml_step1" priority="2">
|
8947
9119
|
<xsl:copy>
|
8948
9120
|
<xsl:copy-of select="@*"/>
|
8949
9121
|
<xsl:apply-templates mode="update_xml_step1"/>
|
@@ -8953,10 +9125,15 @@
|
|
8953
9125
|
<xsl:template match="*[local-name() = 'span']" mode="update_xml_step1">
|
8954
9126
|
<xsl:apply-templates mode="update_xml_step1"/>
|
8955
9127
|
</xsl:template>
|
8956
|
-
|
9128
|
+
<!-- =========================================================================== -->
|
8957
9129
|
<!-- END STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
|
9130
|
+
<!-- =========================================================================== -->
|
8958
9131
|
|
9132
|
+
<!-- =========================================================================== -->
|
8959
9133
|
<!-- XML UPDATE STEP: enclose standard's name into tag 'keep-together_within-line' -->
|
9134
|
+
<!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
|
9135
|
+
<!-- keep-together_within-line for: a.b, aaa.b, a.bbb, .b in table's cell ONLY -->
|
9136
|
+
<!-- =========================================================================== -->
|
8960
9137
|
<!-- Example: <keep-together_within-line>ISO 10303-51</keep-together_within-line> -->
|
8961
9138
|
<xsl:template match="@*|node()" mode="update_xml_enclose_keep-together_within-line">
|
8962
9139
|
<xsl:copy>
|
@@ -8972,10 +9149,15 @@
|
|
8972
9149
|
<xsl:template match="text()[not(ancestor::*[local-name() = 'bibdata'] or ancestor::*[local-name() = 'link'][not(contains(.,' '))] or ancestor::*[local-name() = 'sourcecode'] or ancestor::*[local-name() = 'math'] or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
8973
9150
|
|
8974
9151
|
<!-- enclose standard's number into tag 'keep-together_within-line' -->
|
8975
|
-
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
8976
9152
|
<xsl:variable name="tag_keep-together_within-line_open">###<xsl:value-of select="$element_name_keep-together_within-line"/>###</xsl:variable>
|
8977
9153
|
<xsl:variable name="tag_keep-together_within-line_close">###/<xsl:value-of select="$element_name_keep-together_within-line"/>###</xsl:variable>
|
8978
|
-
<xsl:variable name="
|
9154
|
+
<xsl:variable name="text__" select="java:replaceAll(java:java.lang.String.new(.), $regex_standard_reference, concat($tag_keep-together_within-line_open,'$1',$tag_keep-together_within-line_close))"/>
|
9155
|
+
<xsl:variable name="text_">
|
9156
|
+
<xsl:choose>
|
9157
|
+
<xsl:when test="ancestor::*[local-name() = 'table']"><xsl:value-of select="."/></xsl:when> <!-- no need enclose standard's number into tag 'keep-together_within-line' in table cells -->
|
9158
|
+
<xsl:otherwise><xsl:value-of select="$text__"/></xsl:otherwise>
|
9159
|
+
</xsl:choose>
|
9160
|
+
</xsl:variable>
|
8979
9161
|
<xsl:variable name="text"><text><xsl:call-template name="replace_text_tags">
|
8980
9162
|
<xsl:with-param name="tag_open" select="$tag_keep-together_within-line_open"/>
|
8981
9163
|
<xsl:with-param name="tag_close" select="$tag_keep-together_within-line_close"/>
|
@@ -8991,7 +9173,11 @@
|
|
8991
9173
|
</xsl:variable>
|
8992
9174
|
|
8993
9175
|
<!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
|
8994
|
-
|
9176
|
+
<!-- \S matches any non-whitespace character (equivalent to [^\r\n\t\f\v ]) -->
|
9177
|
+
<!-- <xsl:variable name="regex_solidus_units">((\b((\S{1,3}\/\S+)|(\S+\/\S{1,3}))\b)|(\/\S{1,3})\b)</xsl:variable> -->
|
9178
|
+
<!-- add < and > to \S -->
|
9179
|
+
<xsl:variable name="regex_S">[^\r\n\t\f\v \<>]</xsl:variable>
|
9180
|
+
<xsl:variable name="regex_solidus_units">((\b((<xsl:value-of select="$regex_S"/>{1,3}\/<xsl:value-of select="$regex_S"/>+)|(<xsl:value-of select="$regex_S"/>+\/<xsl:value-of select="$regex_S"/>{1,3}))\b)|(\/<xsl:value-of select="$regex_S"/>{1,3})\b)</xsl:variable>
|
8995
9181
|
<xsl:variable name="text3">
|
8996
9182
|
<text><xsl:for-each select="xalan:nodeset($text2)/text/node()">
|
8997
9183
|
<xsl:choose>
|
@@ -9055,9 +9241,8 @@
|
|
9055
9241
|
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
9056
9242
|
</xsl:choose>
|
9057
9243
|
</xsl:template>
|
9058
|
-
|
9059
9244
|
<!-- ===================================== -->
|
9060
|
-
<!--
|
9245
|
+
<!-- END XML UPDATE STEP: enclose standard's name into tag 'keep-together_within-line' -->
|
9061
9246
|
<!-- ===================================== -->
|
9062
9247
|
|
9063
9248
|
<!-- for correct rendering combining chars -->
|
@@ -12,7 +12,7 @@ module IsoDoc
|
|
12
12
|
def annex1(elem)
|
13
13
|
lbl = @xrefs.anchor(elem["id"], :label)
|
14
14
|
if t = elem.at(ns("./title"))
|
15
|
-
t.children = "<strong>#{t.children
|
15
|
+
t.children = "<strong>#{to_xml(t.children)}</strong>"
|
16
16
|
end
|
17
17
|
prefix_name(elem, "<br/>", lbl, "title")
|
18
18
|
end
|