General ⇒ no figure (.eps) shown in generated pdf file
no figure (.eps) shown in generated pdf file
I am having trouble inserting .eps files. I have installed the following:
MikTex2.5 Ghostscript 8.54 GSview 4.9 Acrobat reader
I have also imported localghost's latex=>ps=>pdf .tco file and carefully
setup the executable paths.
The problem is, I cannot see any pictures in the generated pdf file but
only empty spaces.
BTW, I also noticed the following error messages at the end of the log:
Transcript written on "****.log"
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (http://www.radicaleye.com)
C:\Program Files\MiKTeX2.5\miktex\bin\dvips.exe: ! DVI file can't be opened.
LaTeX-Result: 0 Error(s), 1 Warning(s), ....
Thanks in advance!
Song
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
no figure (.eps) shown in generated pdf file
Code: Select all
\ifx\pdfoutput\undefined
\usepackage{graphicx}
\else
\usepackage[pdftex]{graphicx}
\fi- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
no figure (.eps) shown in generated pdf file
This is absolutely unnecessary. The graphicx package doesn't need any driver option and detects on its own which compiler is running and searches the file with the matching suffix. Furthermore, the request mentions that the profile "LaTeX => PS => PDF" is used, hence the compiler will accept EPS files.engraver wrote:LaTeX take image from *.eps file, and PDFTeX from *.pdf. Use program epstopdf.exe from MikTeX to convert your files. In some places I saw next constructionfor compiling file by LaTeX or PDFTeX and don't write filename extensions for images. Good luck!Code: Select all
\ifx\pdfoutput\undefined \usepackage{graphicx} \else \usepackage[pdftex]{graphicx} \fi
misou wrote: [...] I have also imported localghost's latex=>ps=>pdf .tco file and carefully
setup the executable paths.
The problem is, I cannot see any pictures in the generated pdf file but
only empty spaces. [...]
Code: Select all
Transcript written on "****.log"
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (http://www.radicaleye.com)
C:\Program Files\MiKTeX2.5\miktex\bin\dvips.exe: ! DVI file can't be opened.
LaTeX-Result: 0 Error(s), 1 Warning(s), ...Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10