[texhax] Insert images .eps/.png

Darío Salvador Licata Caruso darioslc at gmail.com
Fri Dec 16 20:42:33 CET 2011


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

this comand save the image generated by a function.

But when in tex archive write:

\begin{figure}[h]
  \centering
    \includegraphics[width=0.4
\textwidth]{/media/disk/Documentos/espectro}
  \caption{$I(\Delta L)$}
  %\label{$\I(\lambda)$}
\end{figure}

don't include graphic in the .dvi generated (with latex archive.tex).

If the image is saved with the format .png, and then in console execute:
pdflatex archive.tex 

get the following error:

Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special
ignored!{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]libpng
error: Not a PNG file

!pdfTeX error: pdflatex (file /media/disk/Documentos/espectro.png):
libpng: int
ernal error
 ==> Fatal error occurred, no output PDF file produced!

I think that the problem has to do format images, because only can
opened with The Gimp and not with Visor Images currently  as Image
Viewer.

My preambule tex archive is:

\documentclass[10pt,a4paper]{article}
\parindent=5mm
%\usepackage{fancyhdr}
%\usepackage{fancy}
%\usepackage{pst-node}
\oddsidemargin 0in
\textwidth 5.75in %ancho de la hoja
%\topmargin 0in
%\textheight 8.5in
%\parindent 0em
%\parskip 2ex
\usepackage[spanish,activeacute]{babel}
\usepackage[latin1]{inputenc}
%\usepackage[autostyle, english=quotes]{csquotes}
\usepackage{pst-all}
\usepackage{upgreek} %para letras griegas en modo matem\'atico
\usepackage{times}
%\usepackage{tipa}
\usepackage{textcomp}
\usepackage[pdftex]{graphicx}
\usepackage[pdftex]{color}
\usepackage[all]{xy}
%\usepackage{pb-diagram} %para diagramas conmutativos
\usepackage{graphicx}
%\usepackage{esint} % para la integral doble
%\usepackage{mathabx}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb} %para usar el \therefore
\usepackage{amsfonts}

may be a conflict in the packages {graphicx} and 
\usepackage[pdftex]{graphicx}??

Thank all

-- 
Darío
 

|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
|-| Por favor, no utilice formatos de archivo propietarios para el 
|-| intercambio de documentos, como DOC, XLS, BMP, PPT, RAR, MP3,  DWG,
|-| MOV,  FLV,  WMV, etc.  sino  HTML, ODT,  ODT,  DJVU,  PDF, TXT,
|-| CSV, PNG, FLAC, OGV, 7Z o cualquier otro que no obligue  a utilizar
|-| un programa de un fabricante concreto.
|-| Vea http://www.gnu.org/philosophy/no-word-attachments.es.html     
|-| también http://www.vaslibre.org.ve/publicaciones/odfvsooxml-es.pdf
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|



More information about the texhax mailing list