[OS X TeX] \psfragfig no longer working if eps files are in subdirectory

Dan Fridline dan.fridline at gmail.com
Mon Mar 15 14:27:50 EDT 2021


I've been using \psfragig replacements for years on MacOS quite successfully. My general workflow is to have my main .tex file in a directory and all of my image files (bar*.eps) along with the corresponding text replacement files (bar*.tex) in a subdirectory (foo) under the main directory. I have never had any problems with this setup.

However, I just switched to a new machine (also a Mac) with an upgraded OS (Big Sur) and the process just described no longer seems to work. If my images are in a subdirectory I get the following error:

I can't write on file `foo/bar-pstool.tex'
The process works fine as long as the images are in the main directory so at least I know that I set the --shell-escape up correctly. I believe it to be some kind of OS permissions issue.  I did add the following line to my local texmf.cnf file:

openout_any = a
But no success (I didn’t think it would help but tried since that is supposed to allow processing of image files in directories outside of the main source directory).

Any suggestions (other than don't use \psfragfig would be appreciated.

Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210315/03dc8427/attachment.htm>


More information about the MacOSX-TeX mailing list