lib/isodoc/itu/itu.implementers-guide.xsl in metanorma-itu-2.1.4 vs lib/isodoc/itu/itu.implementers-guide.xsl in metanorma-itu-2.1.5
- old
+ new
@@ -3302,17 +3302,19 @@
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
<xsl:attribute name="margin-left">14mm</xsl:attribute>
<xsl:attribute name="text-indent">-14mm</xsl:attribute>
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
<xsl:attribute name="margin-left">14mm</xsl:attribute>
<xsl:attribute name="text-indent">-14mm</xsl:attribute>
@@ -3953,10 +3955,18 @@
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
+ <fo:block keep-with-previous="always" line-height="0.1">
+ <xsl:for-each select="*[local-name()='bookmark']">
+ <xsl:call-template name="bookmark"/>
+ </xsl:for-each>
+ </fo:block>
+ </xsl:if>
+
</fo:block-container>
</xsl:variable>
<xsl:variable name="isAdded" select="@added"/>
<xsl:variable name="isDeleted" select="@deleted"/>
@@ -7815,11 +7825,11 @@
<!-- 9 -->
<!-- <xsl:if test="$namespace = 'ieee'">
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
</xsl:if> -->
10
@@ -9148,11 +9158,11 @@
<xsl:apply-templates/>
</fo:block>
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
<!-- to split by '_' and other chars -->
<xsl:call-template name="add-zero-spaces-java"/>
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
<!-- <fo:inline id="{@id}" font-size="1pt"/> -->
<fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
<!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
<xsl:if test="not(following-sibling::node()[normalize-space() != ''])"><fo:inline font-size="1pt"> </fo:inline></xsl:if>
</xsl:template><xsl:template match="*[local-name() = 'errata']">
@@ -9932,36 +9942,47 @@
<xsl:call-template name="getLocalizedString">
<xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param>
</xsl:call-template>
</xsl:template><xsl:template name="insertKeywords">
<xsl:param name="sorting" select="'true'"/>
+ <xsl:param name="meta" select="'false'"/>
<xsl:param name="charAtEnd" select="'.'"/>
<xsl:param name="charDelim" select="', '"/>
<xsl:choose>
<xsl:when test="$sorting = 'true' or $sorting = 'yes'">
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
<xsl:sort data-type="text" order="ascending"/>
<xsl:call-template name="insertKeyword">
+ <xsl:with-param name="meta" select="$meta"/>
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
<xsl:with-param name="charDelim" select="$charDelim"/>
</xsl:call-template>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
<xsl:call-template name="insertKeyword">
+ <xsl:with-param name="meta" select="$meta"/>
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
<xsl:with-param name="charDelim" select="$charDelim"/>
</xsl:call-template>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template><xsl:template name="insertKeyword">
<xsl:param name="charAtEnd"/>
<xsl:param name="charDelim"/>
- <xsl:apply-templates/>
+ <xsl:param name="meta"/>
<xsl:choose>
+ <xsl:when test="$meta = 'true'">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
<xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
</xsl:choose>
</xsl:template><xsl:template name="addPDFUAmeta">
<pdf:catalog xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
@@ -10007,10 +10028,12 @@
</xsl:variable>
<xsl:value-of select="normalize-space($abstract)"/>
</dc:description>
<pdf:Keywords>
- <xsl:call-template name="insertKeywords"/>
+ <xsl:call-template name="insertKeywords">
+ <xsl:with-param name="meta">true</xsl:with-param>
+ </xsl:call-template>
</pdf:Keywords>
</rdf:Description>
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
<!-- XMP properties go here -->
<xmp:CreatorTool/>
\ No newline at end of file