lib/isodoc/ogc/ogc.white-paper.xsl in metanorma-ogc-2.1.4 vs lib/isodoc/ogc/ogc.white-paper.xsl in metanorma-ogc-2.1.5

- old
+ new

@@ -2029,14 +2029,16 @@ </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style"> + </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style"> + </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style"> <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute> <xsl:attribute name="font-size">65%</xsl:attribute> @@ -2698,10 +2700,18 @@ <xsl:apply-templates select="*[local-name()='name']"/> + <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"/> @@ -6483,11 +6493,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> --> @@ -7827,10 +7837,10 @@ <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']"> \ No newline at end of file