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 f5e6db7171)
This commit is contained in:
Enrico Forestieri 2018-10-10 19:41:31 +02:00
parent 3d2cc5edeb
commit e323f74b78
2 changed files with 5 additions and 2 deletions

View 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

View 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