| 1 |
Author: Andreas Hoenen <[email protected]> |
| 2 |
Description: Hotfix for BTS report #576217: |
| 3 |
Avoid pdflatex runs repeating ad infinitum in case of: |
| 4 |
- <book> document with german umlauts in headings |
| 5 |
- dblatex processing options: |
| 6 |
* latex.encoding=utf8 |
| 7 |
* latex.unicode.use=1 |
| 8 |
Please note that this patch only resolves the special case reported to BTS, |
| 9 |
a fundamental solution must take into account also other non-ASCII characters, |
| 10 |
e.g. î, … |
| 11 |
--- a/xsl/lang.xsl |
| 12 |
+++ b/xsl/lang.xsl |
| 13 |
@@ -252,6 +252,7 @@ |
| 14 |
<xsl:text>\usepackage[T2A,T2D,T1]{fontenc} </xsl:text> |
| 15 |
<xsl:text>\usepackage{ucs} </xsl:text> |
| 16 |
<xsl:text>\usepackage[utf8x]{inputenc} </xsl:text> |
| 17 |
+ <xsl:text>\PrerenderUnicode{äöüÄÜÖß} </xsl:text> |
| 18 |
<xsl:text>\def\hyperparamadd{unicode=true} </xsl:text> |
| 19 |
</xsl:when> |
| 20 |
</xsl:choose> |