Graphics, Figures & TablesHyperlinks and psfrag

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jbroida
Posts: 6
Joined: Sun Feb 14, 2016 6:36 pm

Hyperlinks and psfrag

Post by jbroida »

I'm not sure how to use both psfrag and create hyperlinks in a pdf output. Using TexShop I have the Typeset option at "TeX and DVI" and psfrag works fine. But to use package hyperref I have to set the Typeset option to "Pdftex" which gives me the proper hyperlink, but psfrag doesn't work. How can I get both working?

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

Hyperlinks and psfrag

Post by Stefan Kottwitz »

Hi!

hyperref works with LaTeX in DVI mode too and is able to generate hyperlinks in a PDF converted using dvips, for example.
Perhaps post some details, such as your code and a PS file.

Stefan
LaTeX.org admin
jbroida
Posts: 6
Joined: Sun Feb 14, 2016 6:36 pm

Hyperlinks and psfrag

Post by jbroida »

Stefan, if you give me an email address I'll send you the codes I use to get either psfrag to work or the hyperlink to work, the xfig generated eps graphic that requires psfrag, as well as the outputs I get.
jbroida
Posts: 6
Joined: Sun Feb 14, 2016 6:36 pm

Hyperlinks and psfrag

Post by jbroida »

And here is the error message I get when I try to typeset everything with the Typeset option set to "TeX and DVI."
Attachments
Screen Shot 2017-01-16 at 9.07.30 PM.png
Screen Shot 2017-01-16 at 9.07.30 PM.png (140.39 KiB) Viewed 2297 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Hyperlinks and psfrag

Post by Johannes_B »

Do not load hyperref with the pdftex option.
That mistake is often seen with old templates that never get updated.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply