Skip to content

Commit

Permalink
Merge pull request #179 from metanorma/feature/xslt-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Dec 18, 2022
2 parents 0e2c207 + 2ff7a1b commit 3d58f96
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/isodoc/iec/iec.international-standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,12 @@
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>

<xsl:attribute-set name="figure-block-style">

<xsl:attribute name="margin-bottom">12pt</xsl:attribute>

</xsl:attribute-set>

<xsl:attribute-set name="figure-style">

</xsl:attribute-set>
Expand All @@ -2811,7 +2817,7 @@
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="text-align">center</xsl:attribute>
<xsl:attribute name="margin-top">12pt</xsl:attribute>
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
<xsl:attribute name="space-after">12pt</xsl:attribute>
<xsl:attribute name="keep-with-previous">always</xsl:attribute>

</xsl:attribute-set>
Expand Down Expand Up @@ -7207,7 +7213,7 @@
<xsl:template match="*[local-name() = 'figure']" name="figure">
<xsl:variable name="isAdded" select="@added"/>
<xsl:variable name="isDeleted" select="@deleted"/>
<fo:block-container id="{@id}">
<fo:block-container id="{@id}" xsl:use-attribute-sets="figure-block-style">

<xsl:call-template name="setTrackChangesStyles">
<xsl:with-param name="isAdded" select="$isAdded"/>
Expand Down

0 comments on commit 3d58f96

Please sign in to comment.