Skip to content

Commit cb05463

Browse files
Merge pull request #803 from metanorma/update_hyphenation
Plateau xslt updated for hyphenation support, metanorma/metanorma-pla…
2 parents 22a38dc + 0f605d7 commit cb05463

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

xslt_src/plateau.international-standard.core.xsl

+8
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,14 @@
12591259
<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
12601260
</xsl:if>
12611261

1262+
<xsl:if test="(ancestor::*[local-name() = 'td' or local-name() = 'th']) and
1263+
(.//*[local-name() = 'font_en' or local-name() = 'font_en_bold'])">
1264+
<xsl:if test="$isGenerateTableIF = 'false'">
1265+
<xsl:attribute name="language">en</xsl:attribute>
1266+
<xsl:attribute name="hyphenate">true</xsl:attribute>
1267+
</xsl:if>
1268+
</xsl:if>
1269+
12621270
<xsl:if test="parent::plateau:clause or (ancestor::plateau:note and not(ancestor::plateau:table))">
12631271
<xsl:text>&#x3000;</xsl:text>
12641272
</xsl:if>

0 commit comments

Comments
 (0)