Re: Insert image

Ruslan Sharipov <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
>Sunday, Sept 11, 2016, 20:59 +06:00 from "James Ridley" <[email protected]>:
>
>Dear Ruslan
>
>Please can you take a moment to tell me why this doesn’t work. 
>I have extracted one example out of dozens I need to insert in some elementary lecture notes.
>Many thanks
>
>James

Dear James,

Previously you told: "I am running some old files under amstex and amsppt.sty and would like to include some figures. Most of my old figures were in .eps format". So don't convert EPS to PDF. I have changed your example a little bit and it works for me:

\input amstex 
\documentstyle{amsppt}
\def\newfig#1#2#3#4{{\global\advance\figno by 1}\parindent=0pt\par
\vbox{\hphantom{M}\vskip#2 true cm
\centerline{\hbox to#1 true cm{\special{PSfile=#3 hoffset=#1cm voffset=#2cm}
\hfil}}\par\centerline{\sl Figure \the\chapno.\the\figno. #4}}\parindent=20pt}
\newcount\figno\newcount\chapno\figno=1\chapno=1 
 \newfig{13}{8}{iiecal1fig2.eps hscale=80 vscale=80}{Values of 
 $\dfrac1{|P(s)|}$ for $s$ in the left half plane}
\bye

In this case should use the AmSTeX -> DVI -> PS -> PDF scheme i.e. tex instead of pdftex compiler.

Best rtegards, Ruslan
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.