Hi all,
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
General ⇒ no figure (.eps) shown in generated pdf file
no figure (.eps) shown in generated pdf file
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 construction
for 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

- localghost
- Site Moderator
- Posts: 9201
- 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¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1