]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #11332
authorEnrico Forestieri <forenr@lyx.org>
Wed, 10 Oct 2018 17:41:31 +0000 (19:41 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 12 Oct 2018 06:27:23 +0000 (08:27 +0200)
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.

(cherry picked from commit f5e6db717167ecbe9e5934c937467bf0fca90ba1)

lib/configure.py
status.23x

index e64a8af54e6f8bb49f27c68cd404179d4ba3356a..c317e79399d2cb4aa72a8694d1a5ad9fdb167aff 100644 (file)
@@ -552,10 +552,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
index 80a1c2a6a0c15961c16542131485759de748cfa2..a10b9834e1de8f44af94f4ad5bca27b1da41058a 100644 (file)
@@ -133,6 +133,9 @@ What's new
 
 - Fix issue with erroneous qualified citations (bug 11308).
 
+- Add "hyperref-driver=dvips" option to the extra flags of the
+  latex->dvi converter (bug 11332).
+
 
 
 * USER INTERFACE