Skip to content

Commit

Permalink
xslt update based on metanorma/mn-native-pdf@50752d4
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 authored Jan 4, 2025
1 parent 212685f commit e59a4c7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/isodoc/bipm/bipm.brochure.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8909,6 +8909,12 @@
</xsl:if>
</xsl:template>

<xsl:template match="*[local-name()='strike']">
<fo:inline text-decoration="line-through">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>

<xsl:template match="*[local-name() = 'pagebreak']">
<fo:block break-after="page"/>
<fo:block> </fo:block>
Expand Down
6 changes: 6 additions & 0 deletions lib/isodoc/bipm/bipm.guide.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8909,6 +8909,12 @@
</xsl:if>
</xsl:template>

<xsl:template match="*[local-name()='strike']">
<fo:inline text-decoration="line-through">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>

<xsl:template match="*[local-name() = 'pagebreak']">
<fo:block break-after="page"/>
<fo:block> </fo:block>
Expand Down
6 changes: 6 additions & 0 deletions lib/isodoc/bipm/bipm.mise-en-pratique.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8909,6 +8909,12 @@
</xsl:if>
</xsl:template>

<xsl:template match="*[local-name()='strike']">
<fo:inline text-decoration="line-through">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>

<xsl:template match="*[local-name() = 'pagebreak']">
<fo:block break-after="page"/>
<fo:block> </fo:block>
Expand Down
6 changes: 6 additions & 0 deletions lib/isodoc/bipm/bipm.rapport.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8909,6 +8909,12 @@
</xsl:if>
</xsl:template>

<xsl:template match="*[local-name()='strike']">
<fo:inline text-decoration="line-through">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>

<xsl:template match="*[local-name() = 'pagebreak']">
<fo:block break-after="page"/>
<fo:block> </fo:block>
Expand Down
6 changes: 6 additions & 0 deletions lib/isodoc/bipm/jcgm.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6732,6 +6732,12 @@
</xsl:if>
</xsl:template>

<xsl:template match="*[local-name()='strike']">
<fo:inline text-decoration="line-through">
<xsl:apply-templates/>
</fo:inline>
</xsl:template>

<xsl:template match="*[local-name() = 'pagebreak']">
<fo:block break-after="page"/>
<fo:block> </fo:block>
Expand Down

0 comments on commit e59a4c7

Please sign in to comment.