Skip to content

Commit

Permalink
xslt update based on metanorma/mn-native-pdf@417944f
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 authored Jan 16, 2025
1 parent cf838e9 commit fb389f4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/isodoc/cc/cc.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4051,7 +4051,9 @@
<xsl:with-param name="element">
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->

<xsl:copy-of select="$current_fn_number_text"/>

</fo:inline>
</fo:basic-link>
</xsl:with-param>
Expand All @@ -4070,18 +4072,23 @@

<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">

<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">

<xsl:variable name="fn_block">
<xsl:call-template name="refine_fn-body-style"/>

<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">

<xsl:call-template name="refine_fn-body-num-style"/>

<xsl:value-of select="$current_fn_number_text"/>

</fo:inline>
<xsl:apply-templates/>
</fo:block>
</xsl:variable>

<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
<xsl:copy-of select="$fn_block"/>
</fo:block>

</fo:block-container>
</fo:footnote-body>
</fo:footnote>
Expand Down

0 comments on commit fb389f4

Please sign in to comment.