The boxes the hyperref package creates around links in my document are too small, hiding out the characters. I'm using latex to get a DVI, then dvi2pdfm to get a PDF. Both from MikTex 2.8. Here's an example:

\section{Example} \label{example}
Section \ref{example}.

As you can see in the picture below, the resulting box overlaps the "2". Below it is how I expect it to look, copied from some PDF on the web (not mine).

enter image description here

I get the same problem if I use the "hypertex" driver in hyperref.

Any ideas on how to fix this?

  • Is there any reason you don't use pdflatex? – Andrey Vihrov Jul 13 '11 at 10:39
  • 1
    @Andrey, pdflatex works, thanks! It means I have to use epstopdf for my images and slow down the first compilation, but I can live with that. Still I'm curious about the original problem. – Adam Morrison Jul 13 '11 at 10:50
  • Is there any reason to use latex->dvi2pdfm? Are you importing EPS or using PSTricks code? If your input file (.tex file) imports PNG, JPEG or PDF files, you should use pdflatex. If it does not solve the issue, try update your MikTeX. – xport Jul 13 '11 at 12:37
  • @xport, yes I'm importing EPS. – Adam Morrison Jul 13 '11 at 13:48

use the driver dvips and then run latex->dvips->ps2pdf

  • Thanks, that works. Sadly it adds an extra step. So is the problem in dvipdfm? – Adam Morrison Jul 13 '11 at 13:49
  • yes, I think so – user2478 Jul 13 '11 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.