File: 20_endless_processing_loop.patch

package info (click to toggle)
dblatex 0.3.12py3-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,880 kB
  • sloc: xml: 102,889; python: 8,274; makefile: 117; sh: 48
file content (20 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Andreas Hoenen <andreas@hoenen-terstappen.de>
Description: Hotfix for BTS report #576217:
Avoid pdflatex runs repeating ad infinitum in case of:
- <book> document with german umlauts in headings
- dblatex processing options:
  * latex.encoding=utf8
  * latex.unicode.use=1
Please note that this patch only resolves the special case reported to BTS,
a fundamental solution must take into account also other non-ASCII characters,
e.g. î, …
--- a/xsl/lang.xsl
+++ b/xsl/lang.xsl
@@ -252,6 +252,7 @@
     <xsl:text>\usepackage[T2A,T2D,T1]{fontenc}&#10;</xsl:text>
     <xsl:text>\usepackage{ucs}&#10;</xsl:text>
     <xsl:text>\usepackage[utf8x]{inputenc}&#10;</xsl:text>
+    <xsl:text>\PrerenderUnicode{äöüÄÜÖß}&#10;</xsl:text>
     <xsl:text>\def\hyperparamadd{unicode=true}&#10;</xsl:text>
   </xsl:when>
   </xsl:choose>