metanorma-itu 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90350e6a300e01e4327d1a69fd38f52ad84272e842c3860bf7e6b57215eb3423
4
- data.tar.gz: 2646b06d8cbbe3e53e21964a01724c808b448a8a978cfc394c49e88a7db59fb2
3
+ metadata.gz: 98c289e39795abb1c15414fc4fbdb77cb0b00ee177fa60665418ef632f890836
4
+ data.tar.gz: 86afffa7cac2450cc55508d70f9adfd26f78dc9293de302a0b0c00535f394182
5
5
  SHA512:
6
- metadata.gz: b517cd345042b080c195f487d61dbf8fcd21acf54b81119bfbca0d8089eb0620da2b891f3e597d79d2d36cd4796854a6548c775abb419656cc11ca317d7591f0
7
- data.tar.gz: 7f7029e0e13c113df3fb7e56250a0d59eddde5eec9ede6dc43355d06730e47f24f71d375bf2e1fab79203a766382df1ede31a3582ae96ab5ef058deb13e035b5
6
+ metadata.gz: 66c288bd747517c746161707352ea93ecdeda253a5e552d5063f392d7d7e046d8a73f73a1bc63618830dcfdd5d6625efb620a39b91d50f808357642efe5bfb76
7
+ data.tar.gz: d3d193e9c93fdc9ca072a03349ecf1596185d5d5146a251bb8800b19308982e20d1d57ddaf6d456220ec77b495c9cd75e45300e95ca7a0c6a1b3edbeb41751bf
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -3304,6 +3304,7 @@
3304
3304
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
3305
3305
 
3306
3306
 
3307
+
3307
3308
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3308
3309
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3309
3310
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3311,6 +3312,7 @@
3311
3312
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
3312
3313
 
3313
3314
 
3315
+
3314
3316
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
3315
3317
  <xsl:attribute name="margin-left">14mm</xsl:attribute>
3316
3318
  <xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3955,6 +3957,14 @@
3955
3957
 
3956
3958
 
3957
3959
 
3960
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3961
+ <fo:block keep-with-previous="always" line-height="0.1">
3962
+ <xsl:for-each select="*[local-name()='bookmark']">
3963
+ <xsl:call-template name="bookmark"/>
3964
+ </xsl:for-each>
3965
+ </fo:block>
3966
+ </xsl:if>
3967
+
3958
3968
  </fo:block-container>
3959
3969
  </xsl:variable>
3960
3970
 
@@ -7817,7 +7827,7 @@
7817
7827
 
7818
7828
 
7819
7829
  <!-- <xsl:if test="$namespace = 'ieee'">
7820
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7830
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7821
7831
  </xsl:if> -->
7822
7832
  10
7823
7833
 
@@ -9150,7 +9160,7 @@
9150
9160
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
9151
9161
  <!-- to split by '_' and other chars -->
9152
9162
  <xsl:call-template name="add-zero-spaces-java"/>
9153
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9163
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
9154
9164
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
9155
9165
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
9156
9166
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -9934,6 +9944,7 @@
9934
9944
  </xsl:call-template>
9935
9945
  </xsl:template><xsl:template name="insertKeywords">
9936
9946
  <xsl:param name="sorting" select="'true'"/>
9947
+ <xsl:param name="meta" select="'false'"/>
9937
9948
  <xsl:param name="charAtEnd" select="'.'"/>
9938
9949
  <xsl:param name="charDelim" select="', '"/>
9939
9950
  <xsl:choose>
@@ -9941,6 +9952,7 @@
9941
9952
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9942
9953
  <xsl:sort data-type="text" order="ascending"/>
9943
9954
  <xsl:call-template name="insertKeyword">
9955
+ <xsl:with-param name="meta" select="$meta"/>
9944
9956
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9945
9957
  <xsl:with-param name="charDelim" select="$charDelim"/>
9946
9958
  </xsl:call-template>
@@ -9949,6 +9961,7 @@
9949
9961
  <xsl:otherwise>
9950
9962
  <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
9951
9963
  <xsl:call-template name="insertKeyword">
9964
+ <xsl:with-param name="meta" select="$meta"/>
9952
9965
  <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
9953
9966
  <xsl:with-param name="charDelim" select="$charDelim"/>
9954
9967
  </xsl:call-template>
@@ -9958,7 +9971,15 @@
9958
9971
  </xsl:template><xsl:template name="insertKeyword">
9959
9972
  <xsl:param name="charAtEnd"/>
9960
9973
  <xsl:param name="charDelim"/>
9961
- <xsl:apply-templates/>
9974
+ <xsl:param name="meta"/>
9975
+ <xsl:choose>
9976
+ <xsl:when test="$meta = 'true'">
9977
+ <xsl:value-of select="."/>
9978
+ </xsl:when>
9979
+ <xsl:otherwise>
9980
+ <xsl:apply-templates/>
9981
+ </xsl:otherwise>
9982
+ </xsl:choose>
9962
9983
  <xsl:choose>
9963
9984
  <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
9964
9985
  <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
@@ -10009,7 +10030,9 @@
10009
10030
  <xsl:value-of select="normalize-space($abstract)"/>
10010
10031
  </dc:description>
10011
10032
  <pdf:Keywords>
10012
- <xsl:call-template name="insertKeywords"/>
10033
+ <xsl:call-template name="insertKeywords">
10034
+ <xsl:with-param name="meta">true</xsl:with-param>
10035
+ </xsl:call-template>
10013
10036
  </pdf:Keywords>
10014
10037
  </rdf:Description>
10015
10038
  <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
@@ -2504,6 +2504,16 @@
2504
2504
  <text/>
2505
2505
  </element>
2506
2506
  </optional>
2507
+ <optional>
2508
+ <element name="amendment">
2509
+ <text/>
2510
+ </element>
2511
+ </optional>
2512
+ <optional>
2513
+ <element name="corrigendum">
2514
+ <text/>
2515
+ </element>
2516
+ </optional>
2507
2517
  <optional>
2508
2518
  <element name="language">
2509
2519
  <text/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "2.1.4".freeze
3
+ VERSION = "2.1.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities