Skip to content

Commit

Permalink
Merge pull request #357 from metanorma/feature/xslt-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 10, 2024
2 parents 9cb6b75 + e718502 commit cddd7f7
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions lib/isodoc/iec/iec.international-standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5804,6 +5804,11 @@

<xsl:value-of select="@reference"/>

<!-- commented https://github.com/metanorma/isodoc/issues/614 -->
<!-- <xsl:if test="$namespace = 'itu'">
<xsl:text>)</xsl:text>
</xsl:if> -->

</fo:inline>
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
<xsl:copy-of select="./node()"/>
Expand All @@ -5813,7 +5818,7 @@

</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:template> <!-- table_fn_display -->

<xsl:template name="create_fn">
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
Expand Down Expand Up @@ -5844,7 +5849,7 @@
<!-- ============================ -->
<!-- figure's footnotes rendering -->
<!-- ============================ -->
<xsl:template name="fn_display_figure">
<xsl:template name="fn_display_figure"> <!-- figure_fn_display -->

<!-- current figure id -->
<xsl:variable name="figure_id_">
Expand Down Expand Up @@ -5996,6 +6001,10 @@

<xsl:value-of select="@reference"/>

<!-- commented, https://github.com/metanorma/isodoc/issues/614 -->
<!-- <xsl:if test="$namespace = 'jis'">
<fo:inline font-weight="normal">)</fo:inline>
</xsl:if> -->
</fo:basic-link>
</fo:inline>
</xsl:template>
Expand Down Expand Up @@ -11076,7 +11085,7 @@
<xsl:if test="normalize-space() != ''">
<fo:inline xsl:use-attribute-sets="termexample-name-style">
<xsl:call-template name="refine_termexample-name-style"/>
<xsl:apply-templates/>
<xsl:apply-templates/> <!-- commented $namespace = 'ieee', https://github.com/metanorma/isodoc/issues/614-->
</fo:inline>
</xsl:if>
</xsl:template>
Expand Down Expand Up @@ -11244,7 +11253,7 @@
<xsl:otherwise>
<fo:inline xsl:use-attribute-sets="example-name-style">
<xsl:call-template name="refine_example-name-style"/>
<xsl:apply-templates/>
<xsl:apply-templates/> <!-- $namespace = 'ieee', see https://github.com/metanorma/isodoc/issues/614 -->
</fo:inline>
</xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit cddd7f7

Please sign in to comment.