LaTeX forum ⇒ Graphics, Figures & Tablespsfrag installation

Information and discussion about graphics, figures & tables in LaTeX documents.
Posts: 1
Joined: Tue Jan 20, 2009 12:57 am

psfrag installation

Postby slong1 » Tue Jan 20, 2009 1:23 am

I'm using the TexLive distribution on Ubuntu Linux 8.10. I learned how to use the psfrag package on other computers. I found it was missing on this installation. I downloaded psfrag.dtx and psfrag.ins and ran it to make and psfrag.sty. I copied psfrag.sty to
/usr/share/texmf-texlive/tex/latex/graphics/psfrag.sty and
When I placed in the folder with,
/usr/share/texmf-texlive/dvips/base, and ran dvipdf, I saw this error:
dvips: ! Couldn't find header file
Note that an absolute path or a relative path with .. are denied in -R2 mode.
When I looked at that pdf, I found the psfrag tags on the left.
However, when I copied to the folder where I placed my file, the psfrag tags wrote over the text in my eps figures as they were supposed to. Where should I place so that this won't happen again if I need to use this package on a document not in that folder?

User avatar
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Jan 20, 2009 1:56 am

The psfrag package is part of the texlive-latex-recommended bundle from the Ubuntu repositories [1]. If not done yet, you should install this bundle with your system's package manager. But before that you have to undo all operations you described above, especially the double copy of psfrag.sty in two different directories.

[1] Ubuntu - package texlive-latex-recommended

Best egards
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Postby daleif » Tue Jan 20, 2009 2:17 am

One anoying thing though, ubuntu still only has TeXLive 2007.

TeXLive 2008 has been released and now contains its own package manager.

It is still unknown when TL2008 will be added to Ubuntu.

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 2 guests