Skip to content
Snippets Groups Projects
Commit eb4dcbf4 authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

Merge branch 'fix/#81-render-foreign' into 'master'

fix(tei2tex): update `lang` attribute of `foreign` nodes

Closes #81

See merge request !32
parents 4cba1621 35fbd69b
No related branches found
No related tags found
1 merge request!32fix(tei2tex): update `lang` attribute of `foreign` nodes
Pipeline #129194 passed
......@@ -927,7 +927,7 @@
</xsl:template>
<xsl:template match="foreign[@xml:lang = 'gr']">
<xsl:template match="foreign[@xml:lang = 'grc']">
<xsl:apply-templates/>
<xsl:if test="@break-after = 'yes'">
<xsl:text> </xsl:text>
......@@ -936,7 +936,7 @@
<!-- because of ascenders and descenders in Hebrew letters the font size has to
be reduced in order to fit into the layout -->
<xsl:template match="foreign[@xml:lang = 'he']">
<xsl:template match="foreign[@xml:lang = 'hbo']">
<xsl:text>{\switchtobodyfont[7pt] </xsl:text>
<xsl:text>\ezraFont </xsl:text>
<xsl:apply-templates/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment