Graphics, Figures & Tables ⇒ is it possible to have pdf and eps in the same file?
is it possible to have pdf and eps in the same file?
is it possible to have pdf and eps in the same file?
I have a huge file (a PhD thesis!)
That apparently accepts only eps...
How can i make it accept pdf also? is there a command to add?
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
is it possible to have pdf and eps in the same file?
is it possible to have pdf and eps in the same file?
frabjous wrote:Try loading the epstopdf package and use pdflatex. This package is loaded automatically with the most recent versions of pdflatex (TeXlive 2010; MikTeX 2.9). With older versions, you'll need to manually load the package, and use the -shell-escape or -enable-write18 option at compile time.
thanks but am confused...it is a executale to download???
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
is it possible to have pdf and eps in the same file?
What about following the link and reading the package description? It's a LaTeX package as usual which executes the epstopdf command line tool. Both can be installed by the package manager of your LaTeX distribution.Sam wrote:thanks but am confused...it is a executale to download???
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
is it possible to have pdf and eps in the same file?
thnaks very much... but ...localghost wrote:What about following the link and reading the package description? It's a LaTeX package as usual which executes the epstopdf command line tool. Both can be installed by the package manager of your LaTeX distribution.Sam wrote:thanks but am confused...it is a executale to download???
As soon as the problem is sorted pout, please act exactly according to Section 3 of the Board Rules.
Thorsten
I think you misunderstood my problem guys!
I wanna have both figures of .eps and .pdf format in the same file...
is this possible?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
is it possible to have pdf and eps in the same file?
There wouldn't have been these recommendations if it would be possible. And to say it unmistakably clear: No, it is not possible. You will have to convert the one or the other.Sam wrote:[…] I wanna have both figures of .eps and .pdf format in the same file...
is this possible?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
is it possible to have pdf and eps in the same file?
Well, if you compiled with XeLaTeX, you could .eps and .pdf in the same file without converting.localghost wrote:There wouldn't have been these recommendations if it would be possible. And to say it unmistakably clear: No, it is not possible. You will have to convert the one or the other.
But I don't see what the problem is with using the epstopdf package. Yes, strictly speaking, that is converting the .eps files to .pdf in the background, but it's basically the same thing as supporting both eps to pdf -- afterall, the eps file has to be displayed in the resultant pdf somehow, so at some point it needs to be converted!
There are two things both called "epstopodf". One is a command line tool, one is a LaTeX package. They are related in that if you load the LaTeX package, what it does is that when it encounters an .eps figure in your document, it automatically uses the command line tool in the background to convert it to PDF and then uses the PDF in its place. It does this automatically for you, so you don't need to think about it. This would, in a sense, allow you to use both .eps and .pdf in the same document.
Obviously, the LaTeX package only works if you have the command line tool installed. The command line tool is part of Ghostscript, and most people who have a TeX installation installed also have Ghostscript installed, since nearly every guide or instructions on installing LaTeX will also recommend (or even insist) that you install Ghostscript at the same time. And then for the package, there's a good chance you already have that installed as well, and if you don't, you can do so through your TeX distrubution's package manager, as already noted.