Graphics, Figures & Tables ⇒ "LaTeX -> PDF" Compilation with EPS Graphics Files
"LaTeX -> PDF" Compilation with EPS Graphics Files
I'm writing my thesis using MiKTeX 2.9 and TeXnicCenter (64bit). I want to use the output file "LaTeX -> PDF" and all my figure are in EPS format. So, how to can I use PDFLaTeX? I don't want to convert the EPS files to PDF first. Is there any way that LaTeX can do it automatically using "LaTeX -> PDF"?
thanks
sam
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
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
"LaTeX -> PDF" Compilation with EPS Graphics Files
welcome to the board!
Have a look at LaTeX => PS => PDF, there's an example output profile. Perhaps you can use it if you adjust the paths to the current MiKTeX version.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
"LaTeX -> PDF" Compilation with EPS Graphics Files
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
"LaTeX -> PDF" Compilation with EPS Graphics Files
Hi Stefan,Stefan_K wrote:Hi Sam,
welcome to the board!
Have a look at LaTeX => PS => PDF, there's an example output profile. Perhaps you can use it if you adjust the paths to the current MiKTeX version.
Stefan
thanks for the reply. I used this output setting, Latex-->PS-->PDF, b4 but i found its very slow in viewing as i hoped that i can build it directly from Latex to PDF,
thx again,
Best regards
sam..
"LaTeX -> PDF" Compilation with EPS Graphics Files
Hi Thorsten,localghost wrote:On MiKTeX 2.9 the conversion process should be initiated automatically in the background. If not, include the epstopdf package and pay special attention to its manual (keyword "shell escape", details by forum search).
Best regards and welcome to the board
Thorsten
thanks for the reply. I already spent two days on trying with epstopdf package but no good results yet as I'm quiet new with Latex. Anyway, I'll try it again..
Best regards
sam..
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
"LaTeX -> PDF" Compilation with EPS Graphics Files
yes you can do it directly. Thorsten's solution would be the best choice. What do you mean by you tried but did not get good results yet? Didn't it work at all? Did you get an error message?
Have a look at: Enable shell escape for epstopdf, this is for activating that feature in TeXnicCenter. The forum search might show more, as Thorsten said.
Also here are screenshots, showing how to set in in various editors: PDF export, scroll a bit down there.
Stefan
"LaTeX -> PDF" Compilation with EPS Graphics Files
Dear Stefan,Stefan_K wrote:Hi Sam,
yes you can do it directly. Thorsten's solution would be the best choice. What do you mean by you tried but did not get good results yet? Didn't it work at all? Did you get an error message?
Have a look at: Enable shell escape for epstopdf, this is for activating that feature in TeXnicCenter. The forum search might show more, as Thorsten said.
Also here are screenshots, showing how to set in in various editors: PDF export, scroll a bit down there.
Stefan
I wrote like that in my lates:
\documentclass[a4paper,oneside,12pt]{D:/My_thesis/Classes/MyReport}
\usepackage{epstopdf}
......
....
then in the output profile setting:
Latex-->PDF:
D:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe
-enable-write18 -interaction=nonstopmode "%pm"
but still doesn't work.. what i miss? pls any help?
best regards
sam...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
"LaTeX -> PDF" Compilation with EPS Graphics Files
Not quite an adequate problem description. Check the log file for any irregularities, especially for messages from the epstopdf package.giant30 wrote:[…] but still doesn't work. […]
Hard to say with a remote diagnosis. You could check out the working directory where your source file is located and look if there are any PDF files that have been converted from your EPS files. If not the log file should have some information here, too.giant30 wrote:[…] what i miss? […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
"LaTeX -> PDF" Compilation with EPS Graphics Files
Dear localghost,localghost wrote:Not quite an adequate problem description. Check the log file for any irregularities, especially for messages from the epstopdf package.giant30 wrote:[…] but still doesn't work. […]Hard to say with a remote diagnosis. You could check out the working directory where your source file is located and look if there are any PDF files that have been converted from your EPS files. If not the log file should have some information here, too.giant30 wrote:[…] what i miss? […]
Thank you for the reply.
I run my code and found the there were only five .eps figures converted to .pdf and saved in the same directory where i saved the .eps figures. The five figures appeared in the thesis pdf file. However, the rest of figures were not converted and just i can see a blank space in the thesis pdf..
so i dun know where is the problem

best regards
sam..
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
"LaTeX -> PDF" Compilation with EPS Graphics Files
check the .log file what happened, check how the other figures differ. Perhaps try
Code: Select all
epstopdf filename.eps
Stefan