Re: input graphics in amstex
"George N. White III" <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <CAKTOP46ySc7uKR5AE-_YPfqMpXp3uDq55Tr7BqvB1QpiJtE6PA@mail.gmail.com> |
On Mon, Sep 12, 2016 at 10:00 AM, James Ridley <[email protected]> wrote: > Dear Ulrike, > What I meant was that no image is inserted, and I get a blank space. > I attach a TeX file and a pdf image (because I work in pdfTeX), which are > in > the same directory on my computer. > With Method 2 there is no error message in the log file, so no indication > why no image was inserted. (On the other hand, if I try Method 2 with an > eps > file, it says "Non-pdf special ignored", so the \special command is being > read.) With Method 1, things go wrong right at the beginning: the program cannot > input miniltx. When I accept the offer to search the internet, it goes to a > site at Stellenbosch University (sun.ac.za) and then returns a "404 File > not > found" message. Perhaps you can suggest another URL that might work better. > Many thanks > James > Are you overlooking the vastly improved tools to obtain packages? "miniltx.tex" comes from a MiKTeX package. Use the file search filter in the "MiKTeX Package Manager" to find the package (graphics-pln). Similarly, you can find example-image in the "mwe" package. Here is a MWE that works using MiKTeX-2.9 (64-bit): 1. copy "example-image.eps" from the MiKTeX directory to a working directory 2. run "epstopdf example-image.eps" This should produce "example-image.pdf" 3. create a test file: 1. \input graphicx.tex 2. \includegraphics{example-image.eps} 3. \end Using pdftex, this fails for me with: ! Undefined control sequence. <argument> \ttfamily \expandafter \strip@prefix \meaning \@tempa \rlap #1->\hbox to\z@ {#1 \hss } \Gin@setfile ...r \strip@prefix \meaning \@tempa } \vss \hrule }\hss \vrule }... \Ginclude@graphics ...sname {\Gin@base \Gin@ext }} \fi \endgroup \Gin@ii ...eys {Gin}{#1}\Gin@esetsize \the \toks@ \endgroup \fi l.2 \includegraphics{example-image.eps} Edit line 2 of the test file to change .eps to .pdf and you should get a pdf document with the image. -----Original Message----- > From: Ulrike Fischer [mailto:[email protected]] > Sent: Monday, 12 September 2016 09:04 > To: [email protected] > Subject: Re: [MiKTeX] input graphics in amstex > > Am Sat, 10 Sep 2016 19:12:56 +0200 schrieb James Ridley: > > > My old commands don't work. Please can someone tell me what format the > > figures must be in and what command I must use to import them. > > You should at first show an small, complete example and tell us what > is means that your command "don't work". > > You can use example-image.eps for the example -- it is part of > miktex. > > > -- > Ulrike Fischer > http://www.troubleshooting-tex.de/ > > > ------------------------------------------------------------ > ---------------- > -- > _______________________________________________ > Q: How can I leave the mailing list? > A: See http://docs.miktex.org/faq/support.html#leavingml > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Q: How can I leave the mailing list? > A: See http://docs.miktex.org/faq/support.html#leavingml > > -- George N. White III <[email protected]> Head of St. Margarets Bay, Nova Scotia ------------------------------------------------------------------------------ _______________________________________________ Q: How can I leave the mailing list? A: See http://docs.miktex.org/faq/support.html#leavingml