metanorma-m3aawg 2.1.13 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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" vertical-align="super">3</fo:inline>AAWG </fo:inline>
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" vertical-align="super">3</fo:inline>AAWG </fo:inline>
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" vertical-align="super">3</fo:inline><fo:inline>AAWG Companion Document: </fo:inline>
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" vertical-align="super">3</fo:inline> AAWG Tutorial on Third Party Recursive Resolvers and Encrypting DNS Stub Resolver-to-Recursive Resolver Traffic”
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" vertical-align="super">3</fo:inline> AAWG Data and Identity Protection Committee. </fo:block>
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,6 +631,12 @@
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-M3AAWG-Logo">
635
641
  <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAjUAAAA8CAYAAACehUt5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA99pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICA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1260
  <xsl:attribute name="font-size">80%</xsl:attribute>
1255
1261
  <xsl:attribute name="padding-right">5mm</xsl:attribute>
1256
1262
 
1257
- <xsl:attribute name="vertical-align">super</xsl:attribute>
1263
+ <xsl:attribute name="baseline-shift">30%</xsl:attribute>
1258
1264
 
1259
1265
  </xsl:attribute-set> <!-- table-fn-number-style -->
1260
1266
 
@@ -1273,6 +1279,8 @@
1273
1279
  <xsl:attribute name="padding-right">5mm</xsl:attribute>
1274
1280
  <xsl:attribute name="vertical-align">super</xsl:attribute>
1275
1281
 
1282
+ <xsl:attribute name="baseline-shift">30%</xsl:attribute>
1283
+
1276
1284
  </xsl:attribute-set>
1277
1285
 
1278
1286
  <xsl:attribute-set name="figure-fn-body-style">
@@ -1417,6 +1425,12 @@
1417
1425
  <xsl:attribute name="font-weight">bold</xsl:attribute>
1418
1426
  </xsl:attribute-set>
1419
1427
 
1428
+ <xsl:attribute-set name="figure-block-style">
1429
+
1430
+ <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
1431
+
1432
+ </xsl:attribute-set>
1433
+
1420
1434
  <xsl:attribute-set name="figure-style">
1421
1435
 
1422
1436
  </xsl:attribute-set>
@@ -1425,7 +1439,7 @@
1425
1439
 
1426
1440
  <xsl:attribute name="text-align">center</xsl:attribute>
1427
1441
  <xsl:attribute name="margin-top">12pt</xsl:attribute>
1428
- <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
1442
+ <xsl:attribute name="space-after">12pt</xsl:attribute>
1429
1443
  <xsl:attribute name="keep-with-previous">always</xsl:attribute>
1430
1444
 
1431
1445
  </xsl:attribute-set>
@@ -1592,7 +1606,7 @@
1592
1606
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
1593
1607
 
1594
1608
  <xsl:attribute name="font-size">7pt</xsl:attribute>
1595
- <xsl:attribute name="vertical-align">super</xsl:attribute>
1609
+ <xsl:attribute name="baseline-shift">30%</xsl:attribute>
1596
1610
 
1597
1611
  </xsl:attribute-set>
1598
1612
 
@@ -1611,7 +1625,7 @@
1611
1625
  <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
1612
1626
 
1613
1627
  <xsl:attribute name="font-size">6pt</xsl:attribute>
1614
- <xsl:attribute name="vertical-align">super</xsl:attribute>
1628
+ <xsl:attribute name="baseline-shift">30%</xsl:attribute>
1615
1629
  <xsl:attribute name="padding-right">1mm</xsl:attribute>
1616
1630
 
1617
1631
  </xsl:attribute-set> <!-- fn-body-num-style -->
@@ -2827,6 +2841,10 @@
2827
2841
  <xsl:with-param name="continued">true</xsl:with-param>
2828
2842
  </xsl:apply-templates>
2829
2843
 
2844
+ <xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='name'])"> <!-- to prevent empty fo:table-cell in case of missing table's name -->
2845
+ <fo:block/>
2846
+ </xsl:if>
2847
+
2830
2848
  </fo:table-cell>
2831
2849
  </fo:table-row>
2832
2850
  </xsl:template> <!-- table-header-title -->
@@ -3211,7 +3229,26 @@
3211
3229
 
3212
3230
  <xsl:variable name="ref_id" select="concat('footnote_', $lang, '_', $reference, '_', $current_fn_number)"/>
3213
3231
  <xsl:variable name="footnote_inline">
3214
- <fo:inline xsl:use-attribute-sets="fn-num-style">
3232
+ <fo:inline>
3233
+
3234
+ <xsl:variable name="fn_styles">
3235
+ <xsl:choose>
3236
+ <xsl:when test="ancestor::*[local-name() = 'bibitem']">
3237
+ <fn_styles xsl:use-attribute-sets="bibitem-note-fn-style"/>
3238
+ </xsl:when>
3239
+ <xsl:otherwise>
3240
+ <fn_styles xsl:use-attribute-sets="fn-num-style"/>
3241
+ </xsl:otherwise>
3242
+ </xsl:choose>
3243
+ </xsl:variable>
3244
+
3245
+ <xsl:for-each select="xalan:nodeset($fn_styles)/fn_styles/@*">
3246
+ <xsl:copy-of select="."/>
3247
+ </xsl:for-each>
3248
+
3249
+ <xsl:if test="following-sibling::*[1][local-name() = 'fn']">
3250
+ <xsl:attribute name="padding-right">0.5mm</xsl:attribute>
3251
+ </xsl:if>
3215
3252
 
3216
3253
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
3217
3254
  <xsl:value-of select="$current_fn_number_text"/>
@@ -3271,7 +3308,10 @@
3271
3308
  </xsl:for-each>
3272
3309
  <xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='boilerplate']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
3273
3310
  <xsl:sort select="@displayorder" data-type="number"/>
3274
- <xsl:for-each select=".//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] | .//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
3311
+ <!-- commented:
3312
+ .//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] |
3313
+ because 'fn' there is in biblio-tag -->
3314
+ <xsl:for-each select=".//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
3275
3315
  <!-- copy unique fn -->
3276
3316
  <fn gen_id="{generate-id(.)}">
3277
3317
  <xsl:copy-of select="@*"/>
@@ -4120,7 +4160,7 @@
4120
4160
 
4121
4161
  <xsl:variable name="_font-size">
4122
4162
 
4123
- <!-- 10 -->
4163
+ <!-- inherit -->
4124
4164
 
4125
4165
  <xsl:choose>
4126
4166
  <xsl:when test="not(ancestor::*[local-name()='note'])">10</xsl:when>
@@ -4366,6 +4406,23 @@
4366
4406
  <xsl:apply-templates/>
4367
4407
  </xsl:template>
4368
4408
 
4409
+ <!-- Don't break standard's numbers -->
4410
+ <!-- Example : <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
4411
+ <xsl:template match="*[local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']" priority="2">
4412
+ <xsl:choose>
4413
+ <xsl:when test="ancestor::*[local-name() = 'table']"><xsl:apply-templates/></xsl:when>
4414
+ <xsl:when test="following-sibling::*[2][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']">
4415
+ <fo:inline keep-with-next.within-line="always"><xsl:apply-templates/></fo:inline>
4416
+ </xsl:when>
4417
+ <xsl:otherwise>
4418
+ <xsl:apply-templates/>
4419
+ </xsl:otherwise>
4420
+ </xsl:choose>
4421
+ </xsl:template>
4422
+ <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">
4423
+ <fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
4424
+ </xsl:template>
4425
+
4369
4426
  <!-- ========================= -->
4370
4427
  <!-- END Rich text formatting -->
4371
4428
  <!-- ========================= -->
@@ -4761,7 +4818,7 @@
4761
4818
  <xsl:choose>
4762
4819
  <xsl:when test="@colspan">
4763
4820
  <xsl:variable name="td">
4764
- <xsl:element name="td">
4821
+ <xsl:element name="{local-name()}">
4765
4822
  <xsl:attribute name="divide"><xsl:value-of select="@colspan"/></xsl:attribute>
4766
4823
  <xsl:if test="local-name()='th'">
4767
4824
  <xsl:attribute name="font-weight">bold</xsl:attribute>
@@ -4776,7 +4833,7 @@
4776
4833
  </xsl:call-template>
4777
4834
  </xsl:when>
4778
4835
  <xsl:otherwise>
4779
- <xsl:element name="td">
4836
+ <xsl:element name="{local-name()}">
4780
4837
  <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
4781
4838
  <xsl:if test="local-name()='th'">
4782
4839
  <xsl:attribute name="font-weight">bold</xsl:attribute>
@@ -4843,7 +4900,7 @@
4843
4900
  <xsl:variable name="currentRow" select="."/>
4844
4901
 
4845
4902
  <xsl:variable name="normalizedTDs">
4846
- <xsl:for-each select="xalan:nodeset($previousRow)//td">
4903
+ <xsl:for-each select="xalan:nodeset($previousRow)//*[self::td or self::th]">
4847
4904
  <xsl:choose>
4848
4905
  <xsl:when test="@rowspan &gt; 1">
4849
4906
  <xsl:copy>
@@ -4855,7 +4912,7 @@
4855
4912
  </xsl:copy>
4856
4913
  </xsl:when>
4857
4914
  <xsl:otherwise>
4858
- <xsl:copy-of select="$currentRow/td[1 + count(current()/preceding-sibling::td[not(@rowspan) or (@rowspan = 1)])]"/>
4915
+ <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)])]"/>
4859
4916
  </xsl:otherwise>
4860
4917
  </xsl:choose>
4861
4918
  </xsl:for-each>
@@ -5076,6 +5133,33 @@
5076
5133
  </xsl:choose>
5077
5134
  </xsl:template>
5078
5135
 
5136
+ <xsl:template name="getLang_fromCurrentNode">
5137
+ <xsl:variable name="language_current" select="normalize-space(.//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
5138
+ <xsl:variable name="language">
5139
+ <xsl:choose>
5140
+ <xsl:when test="$language_current != ''">
5141
+ <xsl:value-of select="$language_current"/>
5142
+ </xsl:when>
5143
+ <xsl:otherwise>
5144
+ <xsl:variable name="language_current_2" select="normalize-space(xalan:nodeset($bibdata)//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
5145
+ <xsl:choose>
5146
+ <xsl:when test="$language_current_2 != ''">
5147
+ <xsl:value-of select="$language_current_2"/>
5148
+ </xsl:when>
5149
+ <xsl:otherwise>
5150
+ <xsl:value-of select=".//*[local-name()='bibdata']//*[local-name()='language']"/>
5151
+ </xsl:otherwise>
5152
+ </xsl:choose>
5153
+ </xsl:otherwise>
5154
+ </xsl:choose>
5155
+ </xsl:variable>
5156
+
5157
+ <xsl:choose>
5158
+ <xsl:when test="$language = 'English'">en</xsl:when>
5159
+ <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
5160
+ </xsl:choose>
5161
+ </xsl:template>
5162
+
5079
5163
  <xsl:template name="capitalizeWords">
5080
5164
  <xsl:param name="str"/>
5081
5165
  <xsl:variable name="str2" select="translate($str, '-', ' ')"/>
@@ -5525,12 +5609,6 @@
5525
5609
 
5526
5610
  <fo:block-container margin-left="0mm">
5527
5611
 
5528
- <!-- <xsl:if test="$namespace = 'iho'">
5529
- <xsl:if test="ancestor::iho:td">
5530
- <xsl:attribute name="font-size">12pt</xsl:attribute>
5531
- </xsl:if>
5532
- </xsl:if> -->
5533
-
5534
5612
  <fo:block>
5535
5613
 
5536
5614
  <fo:inline xsl:use-attribute-sets="note-name-style">
@@ -5702,7 +5780,7 @@
5702
5780
  <xsl:template match="*[local-name() = 'figure']" name="figure">
5703
5781
  <xsl:variable name="isAdded" select="@added"/>
5704
5782
  <xsl:variable name="isDeleted" select="@deleted"/>
5705
- <fo:block-container id="{@id}">
5783
+ <fo:block-container id="{@id}" xsl:use-attribute-sets="figure-block-style">
5706
5784
 
5707
5785
  <xsl:call-template name="setTrackChangesStyles">
5708
5786
  <xsl:with-param name="isAdded" select="$isAdded"/>
@@ -6038,6 +6116,31 @@
6038
6116
  <xsl:apply-templates mode="svg_update"/>
6039
6117
  </xsl:copy>
6040
6118
  </xsl:template>
6119
+
6120
+ <!-- regex for 'display: inline-block;' -->
6121
+ <xsl:variable name="regex_svg_style_notsupported">display(\s|\h)*:(\s|\h)*inline-block(\s|\h)*;</xsl:variable>
6122
+ <xsl:template match="*[local-name() = 'svg']//*[local-name() = 'style']/text()" mode="svg_update">
6123
+ <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.), $regex_svg_style_notsupported, '')"/>
6124
+ </xsl:template>
6125
+
6126
+ <!-- replace
6127
+ stroke="rgba(r, g, b, alpha)" to
6128
+ stroke="rgb(r,g,b)" stroke-opacity="alpha", and
6129
+ fill="rgba(r, g, b, alpha)" to
6130
+ fill="rgb(r,g,b)" fill-opacity="alpha" -->
6131
+ <xsl:template match="@*[local-name() = 'stroke' or local-name() = 'fill'][starts-with(normalize-space(.), 'rgba')]" mode="svg_update">
6132
+ <xsl:variable name="components_">
6133
+ <xsl:call-template name="split">
6134
+ <xsl:with-param name="pText" select="substring-before(substring-after(., '('), ')')"/>
6135
+ <xsl:with-param name="sep" select="','"/>
6136
+ </xsl:call-template>
6137
+ </xsl:variable>
6138
+ <xsl:variable name="components" select="xalan:nodeset($components_)"/>
6139
+ <xsl:variable name="att_name" select="local-name()"/>
6140
+ <xsl:attribute name="{$att_name}"><xsl:value-of select="concat('rgb(', $components/item[1], ',', $components/item[2], ',', $components/item[3], ')')"/></xsl:attribute>
6141
+ <xsl:attribute name="{$att_name}-opacity"><xsl:value-of select="$components/item[4]"/></xsl:attribute>
6142
+ </xsl:template>
6143
+
6041
6144
  <!-- ============== -->
6042
6145
  <!-- END: svg_update -->
6043
6146
  <!-- ============== -->
@@ -6663,7 +6766,13 @@
6663
6766
  </xsl:template>
6664
6767
 
6665
6768
  <xsl:template match="text()" mode="contents_item">
6666
- <xsl:call-template name="keep_together_standard_number"/>
6769
+ <xsl:variable name="text">
6770
+ <!-- to split by '_' and other chars -->
6771
+ <text><xsl:call-template name="add-zero-spaces-java"/></text>
6772
+ </xsl:variable>
6773
+ <xsl:for-each select="xalan:nodeset($text)/text/text()">
6774
+ <xsl:call-template name="keep_together_standard_number"/>
6775
+ </xsl:for-each>
6667
6776
  </xsl:template>
6668
6777
 
6669
6778
  <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
@@ -6674,34 +6783,52 @@
6674
6783
  <!-- =============== -->
6675
6784
  <!-- sourcecode -->
6676
6785
  <!-- =============== -->
6677
- <xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
6678
6786
 
6679
- <xsl:variable name="sourcecode_attributes">
6680
- <xsl:element name="sourcecode_attributes" use-attribute-sets="sourcecode-style">
6681
- <xsl:variable name="_font-size">
6787
+ <xsl:variable name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'source-highlighter-css']"/>
6788
+ <xsl:variable name="sourcecode_css_" select="java:org.metanorma.fop.Util.parseCSS($source-highlighter-css_)"/>
6789
+ <xsl:variable name="sourcecode_css" select="xalan:nodeset($sourcecode_css_)"/>
6790
+
6791
+ <xsl:template match="*[local-name() = 'property']" mode="css">
6792
+ <xsl:attribute name="{@name}">
6793
+ <xsl:value-of select="@value"/>
6794
+ </xsl:attribute>
6795
+ </xsl:template>
6682
6796
 
6683
- <!-- 9 -->
6797
+ <xsl:template name="get_sourcecode_attributes">
6798
+ <xsl:element name="sourcecode_attributes" use-attribute-sets="sourcecode-style">
6799
+ <xsl:variable name="_font-size">
6684
6800
 
6685
- <!-- <xsl:if test="$namespace = 'ieee'">
6686
- <xsl:if test="$current_template = 'standard'">8</xsl:if>
6687
- </xsl:if> -->
6801
+ <!-- inherit -->
6688
6802
 
6689
- </xsl:variable>
6803
+ <!-- <xsl:if test="$namespace = 'ieee'">
6804
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6805
+ </xsl:if> -->
6690
6806
 
6691
- <xsl:variable name="font-size" select="normalize-space($_font-size)"/>
6692
- <xsl:if test="$font-size != ''">
6693
- <xsl:attribute name="font-size">
6694
- <xsl:choose>
6695
- <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
6696
- <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
6697
- <xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
6698
- <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
6699
- </xsl:choose>
6700
- </xsl:attribute>
6701
- </xsl:if>
6702
- </xsl:element>
6807
+ </xsl:variable>
6808
+
6809
+ <xsl:variable name="font-size" select="normalize-space($_font-size)"/>
6810
+ <xsl:if test="$font-size != ''">
6811
+ <xsl:attribute name="font-size">
6812
+ <xsl:choose>
6813
+ <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
6814
+ <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
6815
+ <xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
6816
+ <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
6817
+ </xsl:choose>
6818
+ </xsl:attribute>
6819
+ </xsl:if>
6820
+ <xsl:apply-templates select="$sourcecode_css//class[@name = 'sourcecode']" mode="css"/>
6821
+ </xsl:element>
6822
+ </xsl:template>
6823
+
6824
+ <xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
6825
+
6826
+ <xsl:variable name="sourcecode_attributes">
6827
+ <xsl:call-template name="get_sourcecode_attributes"/>
6703
6828
  </xsl:variable>
6704
6829
 
6830
+ <!-- <xsl:copy-of select="$sourcecode_css"/> -->
6831
+
6705
6832
  <xsl:choose>
6706
6833
  <xsl:when test="$isGenerateTableIF = 'true' and (ancestor::*[local-name() = 'td'] or ancestor::*[local-name() = 'th'])">
6707
6834
  <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*">
@@ -6755,9 +6882,10 @@
6755
6882
  </xsl:choose>
6756
6883
  </xsl:template>
6757
6884
 
6758
- <xsl:template match="*[local-name()='sourcecode']/text()" priority="2">
6885
+ <xsl:template match="*[local-name()='sourcecode']/text() | *[local-name()='sourcecode']//*[local-name()='span']/text()" priority="2">
6759
6886
  <xsl:choose>
6760
- <xsl:when test="normalize-space($syntax-highlight) = 'true' and normalize-space(../@lang) != ''"> <!-- condition for turn on of highlighting -->
6887
+ <!-- disabled -->
6888
+ <xsl:when test="1 = 2 and normalize-space($syntax-highlight) = 'true' and normalize-space(../@lang) != ''"> <!-- condition for turn on of highlighting -->
6761
6889
  <xsl:variable name="syntax" select="java:org.metanorma.fop.Util.syntaxHighlight(., ../@lang)"/>
6762
6890
  <xsl:choose>
6763
6891
  <xsl:when test="normalize-space($syntax) != ''"><!-- if there is highlighted result -->
@@ -6772,8 +6900,75 @@
6772
6900
  <xsl:call-template name="add_spaces_to_sourcecode"/>
6773
6901
  </xsl:otherwise>
6774
6902
  </xsl:choose>
6903
+ </xsl:template>
6904
+
6905
+ <!-- add sourcecode highlighting -->
6906
+ <xsl:template match="*[local-name()='sourcecode']//*[local-name()='span'][@class]" priority="2">
6907
+ <xsl:variable name="class" select="@class"/>
6908
+ <xsl:choose>
6909
+ <xsl:when test="$sourcecode_css//class[@name = $class]">
6910
+ <fo:inline>
6911
+ <xsl:apply-templates select="$sourcecode_css//class[@name = $class]" mode="css"/>
6912
+ <xsl:apply-templates/>
6913
+ </fo:inline>
6914
+ </xsl:when>
6915
+ <xsl:otherwise>
6916
+ <xsl:apply-templates/>
6917
+ </xsl:otherwise>
6918
+ </xsl:choose>
6919
+ </xsl:template>
6920
+
6921
+ <!-- outer table with line numbers for sourcecode -->
6922
+ <xsl:template match="*[local-name()='table'][@type = 'sourcecode']" priority="2">
6923
+ <fo:block>
6924
+ <fo:table width="100%" table-layout="fixed">
6925
+ <xsl:copy-of select="@id"/>
6926
+ <fo:table-column column-width="8%"/>
6927
+ <fo:table-column column-width="92%"/>
6928
+ <fo:table-body>
6929
+ <xsl:apply-templates/>
6930
+ </fo:table-body>
6931
+ </fo:table>
6932
+ </fo:block>
6933
+ </xsl:template>
6934
+ <xsl:template match="*[local-name()='table'][@type = 'sourcecode']/*[local-name() = 'tbody']" priority="2">
6935
+ <xsl:apply-templates/>
6936
+ </xsl:template>
6937
+ <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']" priority="2">
6938
+ <fo:table-row>
6939
+ <xsl:apply-templates/>
6940
+ </fo:table-row>
6941
+ </xsl:template>
6942
+ <!-- first td with line numbers -->
6943
+ <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']/*[local-name()='td'][not(preceding-sibling::*)]" priority="2">
6944
+ <fo:table-cell>
6945
+ <fo:block>
6946
+
6947
+ <!-- set attibutes for line numbers - same as sourcecode -->
6948
+ <xsl:variable name="sourcecode_attributes">
6949
+ <xsl:for-each select="following-sibling::*[local-name() = 'td']/*[local-name() = 'sourcecode']">
6950
+ <xsl:call-template name="get_sourcecode_attributes"/>
6951
+ </xsl:for-each>
6952
+ </xsl:variable>
6953
+ <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*[not(starts-with(local-name(), 'margin-') or starts-with(local-name(), 'space-'))]">
6954
+ <xsl:attribute name="{local-name()}">
6955
+ <xsl:value-of select="."/>
6956
+ </xsl:attribute>
6957
+ </xsl:for-each>
6775
6958
 
6959
+ <xsl:apply-templates/>
6960
+ </fo:block>
6961
+ </fo:table-cell>
6962
+ </xsl:template>
6963
+ <!-- second td with sourcecode -->
6964
+ <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']/*[local-name()='td'][preceding-sibling::*]" priority="2">
6965
+ <fo:table-cell>
6966
+ <fo:block>
6967
+ <xsl:apply-templates/>
6968
+ </fo:block>
6969
+ </fo:table-cell>
6776
6970
  </xsl:template>
6971
+ <!-- END outer table with line numbers for sourcecode -->
6777
6972
 
6778
6973
  <xsl:template name="add_spaces_to_sourcecode">
6779
6974
  <xsl:variable name="text_step1">
@@ -8463,17 +8658,17 @@
8463
8658
  <fo:block>
8464
8659
  <fo:inline>
8465
8660
 
8466
- <xsl:value-of select="*[local-name()='docidentifier'][@type = 'metanorma-ordinal']"/>
8467
- <xsl:if test="not(*[local-name()='docidentifier'][@type = 'metanorma-ordinal'])">
8468
- <xsl:number format="[1]" count="*[local-name()='bibitem'][not(@hidden = 'true')]"/>
8469
- </xsl:if>
8470
-
8661
+ <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
8662
+ <xsl:with-param name="biblio_tag_part">first</xsl:with-param>
8663
+ </xsl:apply-templates>
8471
8664
  </fo:inline>
8472
8665
  </fo:block>
8473
8666
  </fo:list-item-label>
8474
8667
  <fo:list-item-body start-indent="body-start()">
8475
8668
  <fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style">
8476
- <xsl:call-template name="processBibitem"/>
8669
+ <xsl:call-template name="processBibitem">
8670
+ <xsl:with-param name="biblio_tag_part">last</xsl:with-param>
8671
+ </xsl:call-template>
8477
8672
  </fo:block>
8478
8673
  </fo:list-item-body>
8479
8674
  </fo:list-item>
@@ -8482,176 +8677,51 @@
8482
8677
  </xsl:template> <!-- references[not(@normative='true')]/bibitem -->
8483
8678
 
8484
8679
  <xsl:template name="processBibitem">
8680
+ <xsl:param name="biblio_tag_part">both</xsl:param>
8485
8681
 
8486
8682
  <!-- start bibitem processing -->
8487
8683
  <xsl:if test=".//*[local-name() = 'fn']">
8488
8684
  <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
8489
8685
  </xsl:if>
8490
8686
 
8491
- <!-- display document identifier, not number [1] -->
8492
- <xsl:variable name="docidentifier">
8493
- <xsl:choose>
8494
- <xsl:when test="*[local-name() = 'docidentifier']/@type = 'metanorma'"/>
8495
- <xsl:otherwise><xsl:value-of select="*[local-name() = 'docidentifier'][not(@type = 'metanorma-ordinal')]"/></xsl:otherwise>
8496
- </xsl:choose>
8497
- </xsl:variable>
8498
- <xsl:value-of select="$docidentifier"/>
8499
-
8500
- <xsl:apply-templates select="*[local-name() = 'note']"/>
8501
-
8502
- <xsl:if test="normalize-space($docidentifier) != '' and *[local-name() = 'formattedref']">
8503
- <xsl:text>,</xsl:text>
8504
- <xsl:text> </xsl:text>
8505
- </xsl:if>
8506
-
8687
+ <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
8688
+ <xsl:with-param name="biblio_tag_part" select="$biblio_tag_part"/>
8689
+ </xsl:apply-templates>
8507
8690
  <xsl:apply-templates select="*[local-name() = 'formattedref']"/>
8508
8691
  <!-- end bibitem processing -->
8509
8692
 
8510
8693
  </xsl:template> <!-- processBibitem (bibitem) -->
8511
8694
 
8512
- <xsl:template name="processBibitemDocId">
8513
- <xsl:variable name="_doc_ident" select="*[local-name() = 'docidentifier'][not(@type = 'DOI' or @type = 'metanorma' or @type = 'metanorma-ordinal' or @type = 'ISSN' or @type = 'ISBN' or @type = 'rfc-anchor')]"/>
8514
- <xsl:choose>
8515
- <xsl:when test="normalize-space($_doc_ident) != ''">
8516
- <!-- <xsl:variable name="type" select="*[local-name() = 'docidentifier'][not(@type = 'DOI' or @type = 'metanorma' or @type = 'ISSN' or @type = 'ISBN' or @type = 'rfc-anchor')]/@type"/>
8517
- <xsl:if test="$type != '' and not(contains($_doc_ident, $type))">
8518
- <xsl:value-of select="$type"/><xsl:text> </xsl:text>
8519
- </xsl:if> -->
8520
- <xsl:value-of select="$_doc_ident"/>
8521
- </xsl:when>
8522
- <xsl:otherwise>
8523
- <!-- <xsl:variable name="type" select="*[local-name() = 'docidentifier'][not(@type = 'metanorma')]/@type"/>
8524
- <xsl:if test="$type != ''">
8525
- <xsl:value-of select="$type"/><xsl:text> </xsl:text>
8526
- </xsl:if> -->
8527
- <xsl:value-of select="*[local-name() = 'docidentifier'][not(@type = 'metanorma') and not(@type = 'metanorma-ordinal')]"/>
8528
- </xsl:otherwise>
8529
- </xsl:choose>
8530
- </xsl:template> <!-- processBibitemDocId -->
8695
+ <xsl:template match="*[local-name() = 'title']" mode="title">
8696
+ <fo:inline><xsl:apply-templates/></fo:inline>
8697
+ </xsl:template>
8531
8698
 
8532
- <xsl:template name="processPersonalAuthor">
8699
+ <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'docidentifier']"/>
8700
+
8701
+ <xsl:template match="*[local-name() = 'formattedref']">
8702
+ <!-- <xsl:if test="$namespace = 'unece' or $namespace = 'unece-rec'">
8703
+ <xsl:text>, </xsl:text>
8704
+ </xsl:if> -->
8705
+ <xsl:apply-templates/>
8706
+ </xsl:template>
8707
+
8708
+ <xsl:template match="*[local-name() = 'biblio-tag']">
8709
+ <xsl:param name="biblio_tag_part">both</xsl:param>
8533
8710
  <xsl:choose>
8534
- <xsl:when test="*[local-name() = 'name']/*[local-name() = 'completename']">
8535
- <author>
8536
- <xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'completename']"/>
8537
- </author>
8711
+ <xsl:when test="$biblio_tag_part = 'first' and *[local-name() = 'tab']">
8712
+ <xsl:apply-templates select="./*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
8538
8713
  </xsl:when>
8539
- <xsl:when test="*[local-name() = 'name']/*[local-name() = 'surname'] and *[local-name() = 'name']/*[local-name() = 'initial']">
8540
- <author>
8541
- <xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'surname']"/>
8542
- <xsl:text> </xsl:text>
8543
- <xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'initial']" mode="strip"/>
8544
- </author>
8545
- </xsl:when>
8546
- <xsl:when test="*[local-name() = 'name']/*[local-name() = 'surname'] and *[local-name() = 'name']/*[local-name() = 'forename']">
8547
- <author>
8548
- <xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'surname']"/>
8549
- <xsl:text> </xsl:text>
8550
- <xsl:apply-templates select="*[local-name() = 'name']/*[local-name() = 'forename']" mode="strip"/>
8551
- </author>
8714
+ <xsl:when test="$biblio_tag_part = 'last'">
8715
+ <xsl:apply-templates select="./*[local-name() = 'tab'][1]/following-sibling::node()"/>
8552
8716
  </xsl:when>
8553
8717
  <xsl:otherwise>
8554
8718
  <xsl:apply-templates/>
8555
8719
  </xsl:otherwise>
8556
8720
  </xsl:choose>
8557
- </xsl:template> <!-- processPersonalAuthor -->
8558
-
8559
- <xsl:template name="renderDate">
8560
- <xsl:if test="normalize-space(*[local-name() = 'on']) != ''">
8561
- <xsl:value-of select="*[local-name() = 'on']"/>
8562
- </xsl:if>
8563
- <xsl:if test="normalize-space(*[local-name() = 'from']) != ''">
8564
- <xsl:value-of select="concat(*[local-name() = 'from'], '–', *[local-name() = 'to'])"/>
8565
- </xsl:if>
8566
- </xsl:template>
8567
-
8568
- <xsl:template match="*[local-name() = 'name']/*[local-name() = 'initial']/text()" mode="strip">
8569
- <xsl:value-of select="translate(.,'. ','')"/>
8570
8721
  </xsl:template>
8571
8722
 
8572
- <xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
8573
- <xsl:value-of select="substring(.,1,1)"/>
8574
- </xsl:template>
8575
-
8576
- <xsl:template match="*[local-name() = 'title']" mode="title">
8577
- <fo:inline><xsl:apply-templates/></fo:inline>
8578
- </xsl:template>
8579
-
8580
- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'title']" priority="2">
8581
- <!-- <fo:inline><xsl:apply-templates /></fo:inline> -->
8582
- <fo:inline font-style="italic"> <!-- BIPM BSI CSD CSA GB IEC IHO ISO ITU JCGM -->
8583
- <xsl:apply-templates/>
8584
- </fo:inline>
8585
- </xsl:template>
8586
-
8587
- <!-- bibitem/note renders as footnote -->
8588
- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'note']" priority="2">
8589
-
8590
- <!-- list of footnotes to calculate actual footnotes number -->
8591
- <xsl:variable name="p_fn_">
8592
- <xsl:call-template name="get_fn_list"/>
8593
- </xsl:variable>
8594
- <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>
8595
- <xsl:variable name="gen_id" select="generate-id(.)"/>
8596
- <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
8597
- <!-- fn sequence number in document -->
8598
- <xsl:variable name="current_fn_number">
8599
- <xsl:choose>
8600
- <xsl:when test="@current_fn_number"><xsl:value-of select="@current_fn_number"/></xsl:when> <!-- for BSI -->
8601
- <xsl:otherwise>
8602
- <!-- <xsl:value-of select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1" /> -->
8603
- <xsl:value-of select="count($p_fn//fn[@gen_id = $gen_id]/preceding-sibling::fn) + 1"/>
8604
- </xsl:otherwise>
8605
- </xsl:choose>
8606
- </xsl:variable>
8607
- <fo:footnote>
8608
- <xsl:variable name="number">
8609
-
8610
- <xsl:value-of select="$current_fn_number"/>
8611
-
8612
- </xsl:variable>
8613
-
8614
- <xsl:variable name="current_fn_number_text">
8615
- <xsl:value-of select="$number"/>
8616
-
8617
- </xsl:variable>
8618
-
8619
- <fo:inline xsl:use-attribute-sets="bibitem-note-fn-style">
8620
- <fo:basic-link internal-destination="{$gen_id}" fox:alt-text="footnote {$number}">
8621
- <xsl:value-of select="$current_fn_number_text"/>
8622
- </fo:basic-link>
8623
- </fo:inline>
8624
- <fo:footnote-body>
8625
- <fo:block xsl:use-attribute-sets="bibitem-note-fn-body-style">
8626
- <fo:inline id="{$gen_id}" xsl:use-attribute-sets="bibitem-note-fn-number-style">
8627
- <xsl:value-of select="$current_fn_number_text"/>
8628
- </fo:inline>
8629
- <xsl:apply-templates/>
8630
- </fo:block>
8631
- </fo:footnote-body>
8632
- </fo:footnote>
8633
- </xsl:template>
8634
-
8635
- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'edition']"> <!-- for iho -->
8636
- <xsl:text> edition </xsl:text>
8637
- <xsl:value-of select="."/>
8638
- </xsl:template>
8639
-
8640
- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'uri']"> <!-- for iho -->
8641
- <xsl:text> (</xsl:text>
8642
- <fo:inline xsl:use-attribute-sets="link-style">
8643
- <fo:basic-link external-destination="." fox:alt-text=".">
8644
- <xsl:value-of select="."/>
8645
- </fo:basic-link>
8646
- </fo:inline>
8647
- <xsl:text>)</xsl:text>
8648
- </xsl:template>
8649
-
8650
- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'docidentifier']"/>
8651
-
8652
- <xsl:template match="*[local-name() = 'formattedref']">
8653
-
8654
- <xsl:apply-templates/>
8723
+ <xsl:template match="*[local-name() = 'biblio-tag']/*[local-name() = 'tab']" priority="2">
8724
+ <xsl:text> </xsl:text>
8655
8725
  </xsl:template>
8656
8726
 
8657
8727
  <!-- ======================= -->
@@ -8981,7 +9051,9 @@
8981
9051
  <!-- Update xml -->
8982
9052
  <!-- ===================================== -->
8983
9053
  <!-- =========================================================================== -->
8984
- <!-- STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
9054
+ <!-- STEP1: -->
9055
+ <!-- - Re-order elements in 'preface', 'sections' based on @displayorder -->
9056
+ <!-- - Ignore 'span' without style -->
8985
9057
  <!-- =========================================================================== -->
8986
9058
  <xsl:template match="@*|node()" mode="update_xml_step1">
8987
9059
  <xsl:copy>
@@ -9064,7 +9136,8 @@
9064
9136
  </xsl:copy>
9065
9137
  </xsl:template>
9066
9138
 
9067
- <xsl:template match="*[local-name() = 'span'][@style]" mode="update_xml_step1" priority="2">
9139
+ <!-- Example with 'class': <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
9140
+ <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">
9068
9141
  <xsl:copy>
9069
9142
  <xsl:copy-of select="@*"/>
9070
9143
  <xsl:apply-templates mode="update_xml_step1"/>
@@ -9074,6 +9147,12 @@
9074
9147
  <xsl:template match="*[local-name() = 'span']" mode="update_xml_step1">
9075
9148
  <xsl:apply-templates mode="update_xml_step1"/>
9076
9149
  </xsl:template>
9150
+ <xsl:template match="*[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
9151
+ <xsl:copy>
9152
+ <xsl:copy-of select="@*"/>
9153
+ <xsl:apply-templates mode="update_xml_step1"/>
9154
+ </xsl:copy>
9155
+ </xsl:template>
9077
9156
  <!-- =========================================================================== -->
9078
9157
  <!-- END STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
9079
9158
  <!-- =========================================================================== -->
@@ -9554,6 +9633,10 @@
9554
9633
  <xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
9555
9634
  </xsl:template>
9556
9635
 
9636
+ <xsl:template name="getDocumentId_fromCurrentNode">
9637
+ <xsl:call-template name="getLang_fromCurrentNode"/><xsl:value-of select=".//*[local-name() = 'p'][1]/@id"/>
9638
+ </xsl:template>
9639
+
9557
9640
  <xsl:template name="namespaceCheck">
9558
9641
  <xsl:variable name="documentNS" select="namespace-uri(/*)"/>
9559
9642
  <xsl:variable name="XSLNS">