lib/isodoc/itu/itu.recommendation-supplement.xsl in metanorma-itu-1.3.10 vs lib/isodoc/itu/itu.recommendation-supplement.xsl in metanorma-itu-1.3.11
- old
+ new
@@ -123,14 +123,14 @@
<xsl:variable name="isAmendment" select="normalize-space(/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:amendment[@language = $lang])"/>
<xsl:variable name="isCorrigendum" select="normalize-space(/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:corrigendum[@language = $lang])"/>
<xsl:template match="/">
<xsl:call-template name="namespaceCheck"/>
- <fo:root xsl:use-attribute-sets="root-style">
- <xsl:if test="$lang != 'ar'">
+ <fo:root xsl:use-attribute-sets="root-style" xml:lang="{$lang}">
+ <!-- <xsl:if test="$lang != 'ar'">
<xsl:attribute name="xml:lang"><xsl:value-of select="$lang"/></xsl:attribute>
- </xsl:if>
+ </xsl:if> -->
<xsl:if test="$doctype = 'resolution'">
<xsl:attribute name="font-size">11pt</xsl:attribute>
</xsl:if>
<xsl:if test="$doctype = 'service-publication'">
<xsl:attribute name="font-size">11pt</xsl:attribute>
@@ -6750,9 +6750,10 @@
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'ul']" priority="4">
<xsl:apply-templates/>
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
+
<xsl:apply-templates/>
</fo:block>
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
<fo:inline id="{@id}" font-size="1pt"/>
</xsl:template><xsl:template match="*[local-name() = 'errata']">
\ No newline at end of file