When I compile with LaTeX + dvips, I get the following warning message:
Package hyperref Warning: You have enabled option `breaklinks'.
(hyperref) But driver `hdvips.def' does not suppport this.
(hyperref) Expect trouble with the link areas of broken links.
Right now, I am using the report document class and call the hyperref package with the following commands (I am using MikTeX 2.9 and WinEdt 7.0 on Windows 7)
\usepackage[breaklinks]{hyperref}
\usepackage[hyphenbreaks]{breakurl}
The document compiles (using LaTeX+dvips) and the links spanning two lines appear to break correctly, but I receive the warning message. Is this a problem? How can I fix it? I tried to add the following package and compile using pdflatex (instead of LaTeX + dvips)
\usepackage[pdf]{pstricks}
but it produced the following warning message:
>>> Loading package auto-pst-pdf <<<
Package pstricks Warning: ************************************
(pstricks) Option pdf needs a "pdflatex -shell-escape <file>"
(pstricks) or a "pdflatex -enable-write18 <file>"
(pstricks) (if you are using MikTeX)
(pstricks) ************************************.
I also get the following error, which prevented me from being able to compile with pdflatex:
Package ifplatform Warning:
shell escape is disabled, so I can only detect \ifwindows
! Package auto-pst-pdf Error:
"shell escape" (or "write18") is not enabled:
auto-pst-pdf will not work!
Alternatively, I tried using the epstopdf package (and compiled with pdflatex), but that package is not compatible with the psfrag package. I am looking for a way to fix the breaklinks warning message (see above), without losing the ability to use eps figures and the psfrag package.
pdflatex, otherwise this won't work (see Hyperref link spanning two lines and Link text doesn’t break at end line). Is there a reason (or requirement) for usingdvips? – Werner Apr 02 '12 at 18:52pdflatex, and eps-figures-with-pdflatex – cmhughes Apr 02 '12 at 19:44latex+dvipsyou mustn't loadpstrickswith thepdfoption. Load the packagebreakurlafterhyperreffor being able to break URLs. However, switching topdflatexby converting EPS files to PDF (which can be done automatically with theepstopdfpackage and the option--shell-escapetopdflatex) is better. – egreg Apr 03 '12 at 12:16auto-pst-pdfinstead ofepstopdf. It handles\psfragquite well... – cgnieder Apr 05 '12 at 12:41