- I like to attach the graphic files that I use in a
beamerpresentation to the generated pdf file. - The background is, that I want to enable my colleagues at work to be able to use the graphic files e. g. in PowerPoint (I am the only one using LaTeX at work).
- I can attach the graphic files using the
attachfilepackage.
Is there a way to automatize this, so that every
\includegraphicsautomatically embeds/attaches the used graphic file?It would be perfect if I still can use the
\includegraphicscommand unchanged so that I can use this with already existing presentations.
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{attachfile}
\begin{document}
% For example image, see http://tex.stackexchange.com/questions/231738
\begin{frame}[c]
\frametitle{Frame With Image}
\centering
\includegraphics[width=0.5\textwidth]{example-image.png}
\textattachfile{example-image.png}{}
\end{frame}
\end{document}

includegraphicscommand unchanged so that I can use this with already existing presentations. – Dr. Manuel Kuehner Jan 15 '17 at 15:56graphicxpackage?! – Dr. Manuel Kuehner Jan 15 '17 at 16:05