commit f5e6db717167ecbe9e5934c937467bf0fca90ba1
Author: Enrico Forestieri <[email protected]>
Date:   Wed Oct 10 19:41:31 2018 +0200

    Fix bug #11332
    
    Add the "hyperref-driver=dvips" option to the extra flags of the
    latex->dvi converter so that the breakurl package is automatically
    loaded when needed.
---
 lib/configure.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 1aaecb8..bd5eb44 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -556,10 +556,10 @@ def checkLatex(dtl_tools):
         PPLATEX = LATEX
     if dtl_tools:
         # Windows only: DraftDVI
-        addToRC(r'''\converter latex      dvi2       "%s"      "latex"
+        addToRC(r'''\converter latex      dvi2       "%s"      
"latex,hyperref-driver=dvips"
 \converter dvi2       dvi        "python -tt $$s/scripts/clean_dvi.py $$i $$o" 
""''' % PPLATEX)
     else:
-        addToRC(r'\converter latex      dvi        "%s"        "latex"' % 
PPLATEX)
+        addToRC(r'\converter latex      dvi        "%s"        
"latex,hyperref-driver=dvips"' % PPLATEX)
     # no latex
     if LATEX != '':
         # Check if latex is usable

Reply via email to