Graphics, Figures & Tablesnew psfrag install

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

new psfrag install

Post by jbroida »

I just installed mactex and texshop on an iMac running El Cap. This is the first time in 6yrs I've used LaTex and psfrag isn't working on files I have previously typeset successfully. I suspect there is a preference or path I have to specify, but I don't remember what it is. Can somebody please help?

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: 10324
Joined: Mon Mar 10, 2008 9:44 pm

new psfrag install

Post by Stefan Kottwitz »

Welcome to the forum!

You could run the TeX Live utility to see if the psfrag package is installed. If it's missing in the packages list, install it.

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

Re: new psfrag install

Post by jbroida »

Stefan, thanks for your response.

I downloaded and installed the TeXLive Utility and ran Update All. Checking packages shows that psfrag is installed, so that doesn't appear to be the problem. What's the next thing I should check?

Joel
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

new psfrag install

Post by Stefan Kottwitz »

Hi Joel,

one very important thing: you need to compile using a PS driver, such as dvips. Don't use pdfLaTeX to compile. Check this in TeXshop.

You could post sample code here, and if it's not working, add .log file here to a post as attachment. The information in the .log file could help.

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

Re: new psfrag install

Post by jbroida »

That did it. Thank you. Under TeXShop prefs in the Typesetting tab I changed the default script from Pdftex to Tex + DVI. I thought that was the first thing I tried and it didn't work, but apparently I was mistaken.
Post Reply