Graphics, Figures & Tablesdvi to ps to pdf -- problem in hyperref

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ozlemeges
Posts: 8
Joined: Sat Nov 19, 2011 4:47 am

dvi to ps to pdf -- problem in hyperref

Post by ozlemeges »

I have to use bookmarks and link to pages in my document and using dvi ps pdf. However, in this case hyperref package does not work.

If I use dvipdfm, then hyperref (bookmarks, links, etc.) works but this time some of my eps figure files are not shown completely (some of them are OK), i.e., I can see half of a figure.

Any suggestion to solve this issue?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

dvi to ps to pdf -- problem in hyperref

Post by Stefan Kottwitz »

ozlemeges wrote:... using dvi ps pdf. However, in this case hyperref package does not work.
Perhaps explain what you did. If you would post a Infominimal working example which shows the problem, we could verify and help to fix it. Otherwise it's possible that there's something wrong in your code, but not visible here, so we hardly can tell you the cause.

Stefan

PS: some advice I saw on: hyperref Tipps.
LaTeX.org admin
ozlemeges
Posts: 8
Joined: Sat Nov 19, 2011 4:47 am

dvi to ps to pdf -- problem in hyperref

Post by ozlemeges »

Here is the code that I included the figure. I also attached the eps file.

Code: Select all

\begin{figure}[b!]
\centerline{\psfig{figure=Pi.eps, width = 6.50in, height = 4.25in}}
\caption{\footnotesize{Comparison}}
\label{fig:Pi}
\end{figure}
I am using WinEdt and compile through dvipdfm. In this case, half of this figure (Pi.eps) can be seen in the pdf. I tried decreasing the width or
width=0.490\textwidth but did not work.

However, the following figure and code works very well.

Code: Select all

\begin{figure}[ht]
\centering
\includegraphics[width=0.60\textwidth]{transmissionqueue.eps}
\caption{Graphical depiction.}
\label{fig:transmissionqueue}
\end{figure}
I also attached that eps file.


In order to deal with this, I also tried to get the pdf through dvi->ps then ps->pdf. In this case, I can't see the bookmarks and hyperlinks to pages in the pdf.

I hope it is clear now. I'd appreciate any help.
Attachments
transmissionqueue.eps
eps that can be seen in pdf.
(193.59 KiB) Downloaded 235 times
Pi.eps
eps that cannot be seen in pdf.
(23.88 KiB) Downloaded 212 times
Last edited by cgnieder on Wed Apr 03, 2013 9:46 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: dvi to ps to pdf -- problem in hyperref

Post by Stefan Kottwitz »

The code snippets don't contain any hyperref settings. Please post a complete small example which shows the problem (i.e. with your preamble), just follow the link I posted above to know why and how.

Stefan
LaTeX.org admin
ozlemeges
Posts: 8
Joined: Sat Nov 19, 2011 4:47 am

Re: dvi to ps to pdf -- problem in hyperref

Post by ozlemeges »

Stefan_K thanks.

All, please see the attachment. I created a simple case but kept all the formatting. In addition to the tex file, I also included cls file. It is the cls for the dissertation.

Also, there are 2 pdf files:
1- test_DVIPDFM.pdf: Created through dvipdfm.
2- test_DVIPSDF.pdf: Created through dvi->ps->pdf.

I need hyperref and bookmarks as seen in #1. But in #1, please see the last page. it looks horrible.

At #2, last page is good but no hyperref and bookmarks.

Will appreciate any help. I am using WinEdt and Miktex 2.7.
Attachments
test.zip
(225.54 KiB) Downloaded 133 times
Post Reply