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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
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 238 times
Pi.eps
eps that cannot be seen in pdf.
(23.88 KiB) Downloaded 215 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: 10348
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 138 times
Post Reply