I want to upload a talk slides to a repository where all material submitted shall be under a certain license. For this, I need to exclude certain images present in the actually sued slides for which the license does not apply, adn have a placeholder instead.
\includegraphics[draft,.. pretty much does what I want, only that the actual command in my document is something like
\includegraphics[draft,widht=0.7\textwidth]{../../../talks/1999/acapulco/filename}
which results in the full path being displayed in, and exceeding the placeholder box.
Can I somehow prevent the path from being displayed? It is both ugly and contains more information than I want to convey. Filename alone would be ok, but is not required. If I remove \includegraphics entirely, the layout changes and/or I would have to manually size and place the placeholder.




\ifdraft .. \else ... \fianywhere in your document. Like this, you have your own draft mode and can include/exclude anything you please. – LaRiFaRi Nov 25 '14 at 10:11\newsavebox\imageboxand then\savebox\imagebox{\includegraphics{imagefile}}\ifdraft\missingfigure[figwidth=\the\wd\imagebox,figheight=\the\ht\imagebox]{removed}\else\usebox\imagebox\fishould be possible (not tested). – yo' Nov 25 '14 at 10:12todonotesis just setting some TikZ node for you, you can just write your own TikZ stuff which may look as you like. I just made a boring black rectangle without a fill here. You may insert what ever style you want. – LaRiFaRi Nov 25 '14 at 14:04