mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
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.
This commit is contained in:
parent
9d8fbc7fd1
commit
f5e6db7171
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user