I am trying to email a .tex file that uses \includegraphics. The file compiles on my computer but does not compile on the computer of the person I am emailing because of the \includegraphics. Is there any way to fix this?
Asked
Active
Viewed 167 times
1 Answers
0
Make sure that the computer where the perseon is opening your tex file has graphics package installed. In Fedora Linux when using texlive for example it is necessary to have the teclive-graphics, which can be installed via YUM.
rememebr that this is a similar case to send a tex file without dependencies such as a document class when writing a conference paper.
For further help please give more contextual information about your problem and maybe some excerpts fo the problematic code and error output from compilation.
Felipe Leão
- 101
.texfile, and place both in your working folder for the recipient to compile it. Alternatively, include everything as part of the PDF. For that see How do you store all your TeX files long-term? – Werner Apr 14 '14 at 17:11.texfile is. Also: you can create an archive (zip,tar, etc.) that includes both the.texand image file and just mail that... – jon Apr 14 '14 at 17:27\includegraphicscommand probably has the path as well (unless the document contains a\graphicspathcommand). So this advice is not accurate: @Jerry should email the.texfile as well as all images that it contains in\includegraphicscommands, and the recipient should put them in the same (hopefully relative) paths. Of course, the easiest (and most probable) thing to do is to have everything in one folder (for small-scale documents). – nplatis Apr 14 '14 at 18:52\graphicspathspecified or not. The only problem would be if the\includegraphicscommand itself specified a relative or absolute path rather than just the filename of the image. – cfr Apr 14 '14 at 23:51