Skip to content

Commit

Permalink
https://redmine.le-tex.de/issues/16122 do not switch back lang at end…
Browse files Browse the repository at this point in the history
… of footnote
  • Loading branch information
mkraetke committed Jan 17, 2024
1 parent d66e68d commit db1a400
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,9 @@
<xsl:if test="not($suppress-select-lang)">
<xsl:value-of select="concat('\selectlanguage{', xml2tex:lang-to-babel-lang(@xml:lang), '}%&#xa;')"/>
<xsl:next-match/>
<xsl:value-of select="concat('\selectlanguage{', xml2tex:lang-to-babel-lang($langs[1]), '}')"/>
<xsl:if test="not(parent::dbk:footnote and not(following-sibling::*))">
<xsl:value-of select="concat('\selectlanguage{', xml2tex:lang-to-babel-lang($langs[1]), '}')"/>
</xsl:if>
</xsl:if>
</template>

Expand Down

0 comments on commit db1a400

Please sign in to comment.