I can build Latex documents, and including (PDF) images using
\includegraphics works great when the image is directly available.
However, when I replace the image by a symbolic (soft) link to the
image, Latex cannot find the image. The same occurs when the image
included is part of a directory that is symbolically linked.
Is there something I could be doing wrong? Below a minimal example:
\documentclass[]{article}
\RequirePackage[pdftex]{graphicx}
\begin{document}
% In the following link, Signatures is a symbolic link to another
directory,
% and blank.pdf is present in that directory. Result:
%
% package pdftex.def Error: File `../Links/Signatures/blank.pdf' not
found.
\includegraphics[height=1.3cm]{../Links/Signatures/blank.pdf}
% Doing the same as above with the same directories but replacing the
% symbolic linked directory with an actual copy of the directory works
perfectly;
% it finds the file and inserts it.
\end{document}
I'm using MacTex on Mac OS X Lion. Latex report the following
version:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
Best regards,
Filip
I can build Latex documents, and including (PDF) images using
\includegraphics works great when the image is directly available.
However, when I replace the image by a symbolic (soft) link to the
image, Latex cannot find the image. The same occurs when the image
included is part of a directory that is symbolically linked.
Is there something I could be doing wrong?
Thanks Peter. Unfortunately, that doesn't work either. In your linked
webpage, it seems symlinks work in Linux but in my testing it does not
seem to work in Mac OS X (Lion).