[texhax] Insert images .eps/.png
Reinhard Kotucha
reinhard.kotucha at web.de
Sat Dec 17 01:39:18 CET 2011
On 2011-12-16 at 16:42:33 -0300, Darío Salvador Licata Caruso wrote:
> Hi list, i have a problem when i want to insert images generated by
> OCTAVE with next comand:
>
> in the console OCTAVE:
> octave:NN>print -deps espectro.eps
[...]
> !pdfTeX error: pdflatex [...]
[...]
> Non-PDF special ignored!
You are obviously using pdflatex. Then try
print -dpdf espectro.pdf
in order to create PDF directly, which is supported by pdflatex.
Works like a charm for me.
If you want to produce both, DVI and PDF (i.e. run latex and
pdflatex), then create both, EPS and PDF
print -deps espectro.eps
print -dpdf espectro.pdf
and remove the driver options from \usepackage. Replace
\usepackage[pdftex]{graphicx}
\usepackage[pdftex]{color}
by
\usepackage{graphicx}
\usepackage{color}
as suggested by Heiko already.
Just for interest, who or what made you believe that you have to
specify a driver explicitly? A book? An online manual? I'm
wondering because automatic driver selection (almost) predates the
Imperium Romanum. I'm wondering why so many people go the most
inconvenient way.
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the texhax
mailing list