My thesis has both jpg and eps figures. In texniccenter I can compile my thesis without any probolem if I use only jpg (latex > pdf) or eps (latex > ps > pdf) figures.
What should I do if I want to keep both jpg and eps figures and compile successfully?
Many thanks!
General ⇒ Problem with jpg and eps file in compiling
NEW: TikZ book now 40% off at Amazon.com for a short time.
Problem with jpg and eps file in compiling
Plain latex cannot handle .jpg; pdflatex cannot handle .eps. Your best bet would be to convert the .eps files to .pdf for use with pdflatex, either by using the epstopdf command line program, or adding the epstopdf package to do this "on the fly". One last option would be to try compiling with xelatex, the newer versions of which I think can handle both eps and jpg.
Re: Problem with jpg and eps file in compiling
You can keep files in both eps and jpg format (note that pdf would be better than jpg). Just don't enter the file extension in your includegraphic calls and Latex will choose the right one.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with jpg and eps file in compiling
Since when? Which compiler (except XeLaTeX) manages that? As far as I know this feature will find it's way into TeX Live 2010.MartinC wrote:You can keep files in both eps and jpg format (note that pdf would be better than jpg). [...]
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10