## How to insert a ps picture?

as the title

### How to insert a ps picture?

\usepackage{graphicx}
...
\includegraphics[width=2cm]{mypic.eps}

///Peter

### How to insert a ps picture?

> \usepackage{graphicx}
> ...
> \includegraphics[width=2cm]{mypic.eps}

> ///Peter

This (of course) inserts an EPS picture. To insert a PS picture, one
must first convert it to EPS with ps2epsi (comes with Ghostscript).

(Actually, there are ways to insert a PS picture directly, but they
are _not_ for the faint of heart!)

Joe

------------
Just when you think you've made it foolproof,
someone builds a better fool!

### How to insert a ps picture?

> as the title

as the faq

\usepackage{graphicx}
...
\includegraphics{myfile.eps} %% you need genuine eps, not ps

http://www.ctan.org/tex-archive/info/epslatex.pdf

--
Anthony Goreham       The Queen's College, Oxford OX1 4AW, UK

I'm trying to figure out how to use metapost, my sample file is figs.mp :

beginfig(1);
draw (0,0)..(1cm,1cm)..(2cm,0);
endfig;
end

Compile it with the command :

mpost figs

in RH5.2 with tetex-0.9-6.  The output figs.1 (a semi-circle) can be viewed in ghostview
without problem.  The only strange thing is it does not have a bounding box!
In my sample.tex :

\input epsf
...
\$\$epsfbox{figs.1}\$\$
...
end

and compile it with the command:

tex sample

which gives no error in generating sample.dvi, but the figure doesn't seem to show itself
when previewed with xdvi, only a space (like \vskip) is reserved for the figure.  I got
the same result if I use \special{psfile=figs.1}.