Graphics, Figures & Tables ⇒ getting ps files to show up on a pdf
getting ps files to show up on a pdf
I have a tex file that calls upon several ps files in order to convert them to pictures on my pdf output. Here is an example:
\begin{figure}[h]
\hspace{0.033\textwidth}
\begin{minipage}{0.45\textwidth}
\includegraphics[height=2in,width=2.6in]{E:/arclengthplot1.ps}
\caption{}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\includegraphics[height=2in,width=2.6in]{E:/arclengthplot2.ps}
\caption{}
\end{minipage}
\hfill
\end{figure}
When I compile the tex file, I get several error messages (one for each ps file that I call upon) each of which says "Unknown Graphics Extension: .ps". I know I am calling upon the right directory and I am using the package "epsfig". Everything used to run fine, but LaTeX has (seemingly) changed on me. I have no idea why this is happening. Can somebody please help me?
Thanks, Ferebee
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
Re: getting ps files to show up on a pdf
getting ps files to show up on a pdf
the error message is quite descriptive:
In general, you cannot use graphics in PS format (the bounding box could be missing, for example). Convert them to EPS (or to another of the valid formats: JPG, PNG, PDF).otunno wrote:...Unknown Graphics Extension: .ps...
The epslatex document (section 3.3 Converting PS files to EPS) contains information about how to convert images from PS to EPS.
Once converted to EPS, you must compile your document as frabjous suggested.