LaTeX Problem with LaTeX hyperref package

  • Thread starter Thread starter toam
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The issue with the LaTeX hyperref package not providing links in internal references when using latex to dvi2pdf was resolved by specifying the package with the option \usepackage[dvipdfm]{hyperref}. This adjustment allows the links to work correctly during the conversion process. The user initially faced limitations due to the inclusion of .eps images, which prevented the use of pdflatex. However, it was noted that converting .eps images to .pdf using the ps2pdf utility could allow the use of pdflatex if desired. The discussion highlights a common solution for ensuring hyperlink functionality in LaTeX documents.
toam
Messages
13
Reaction score
0
I am having some trouble with the hyperref package in terms of it not actually providing links to my internal references.

If I use the pdflatex command to compile my document to a pdf, the links work fine.

However if I use the latex command to compile to a dvi and then dvi2pdf (or whatever this command is actually called) to create the pdf, there will be no linking at all.

Since I am including .eps images, I cannot use pdflatex.

Is there any way to get the hyperref package to work correctly when using latex -> dvi2pdf rather than pdflatex?


Thanks in advance...
 
Physics news on Phys.org
Ok I managed to solve the problem.


For anyone else that might be interested:

I was including the package with:
\usepackage{hyperref}


However if I include it with:
\usepackage[dvipdfm]{hyperref}


Then it works when I use dvipdfm to convert to pdf.
 
toam said:
Ok I managed to solve the problem.


For anyone else that might be interested:

I was including the package with:
\usepackage{hyperref}


However if I include it with:
\usepackage[dvipdfm]{hyperref}


Then it works when I use dvipdfm to convert to pdf.
great, you have solved the problems yourself.
 
toam said:
Since I am including .eps images, I cannot use pdflatex.

You can use pdflatex if you convert your .eps images to .pdf files using the ps2pdf utility that comes bundled with ghostscript.
 

Similar threads

Back
Top