xqms / graphicscache

Caching & DPI control for the LaTeX graphicx package
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Feature Request: Support -output-directory #1

Closed MatthiasNieuwenhuisen closed 5 years ago

MatthiasNieuwenhuisen commented 5 years ago

I use the pdflatex parameter -output-directory to keep the source directory clean. It would be great if the graphicscache and graphicscacheout.* files also would be written to the specified output directory.

A workaround could be to subsume the build artifacts of this extension into one directory, e.g., into the graphicscache directory.

xqms commented 5 years ago

related: https://tex.stackexchange.com/questions/294931/access-value-of-output-directory

xqms commented 5 years ago

I implemented your suggested workaround and set the output dir to graphicscache/ for the pdflatex runs. Using the original -output-directory is not easily possible.