From e323f74b7889d9a8d620085512ff8eb2cd054979 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 10 Oct 2018 19:41:31 +0200 Subject: [PATCH] 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. (cherry picked from commit f5e6db717167ecbe9e5934c937467bf0fca90ba1) --- lib/configure.py | 4 ++-- status.23x | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index e64a8af54e..c317e79399 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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 diff --git a/status.23x b/status.23x index 80a1c2a6a0..a10b9834e1 100644 --- a/status.23x +++ b/status.23x @@ -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 -- 2.39.5