[Tex/LaTex] bundle images in the source file

graphics

I am including some jpeg images in a LaTeX file using \includegraphics. Is there a way I can bundle the image files with the source file, and so just send one file to other machines, or collaborators?

The comment by Aditya to Can you embed an image so it doesn't need to be stored as a separate file? seems to be to my point. But it does not tell me what I need to know. I am already using \includegraphics. My question is how to copy the relevant files.

I'm afraid David Carlisle is right that you really cannot bundle the files. But sending them separately by cloud or any other method raises the problem of getting MiKTeX to locate jpeg files. MDR's solution at \includegraphics — file not found, even when in same directory, using FNDB, works intermittently for me. But even on a single machine it is not reliable. I do not want to depend on it between several different machines.

David, can you give your comment as an answer?

Best Answer

In general no, just send a zip archive of all the files. TeX can write text files so (some) EPS files you can include in the file and write with filecontents environment.

Related Question