[Tugindia] epstopdf.sty

Manjusha Joshi manjusha.joshi at gmail.com
Sat May 17 10:21:18 CEST 2008


>                          I am trying to insert png and jpg figures to my
> latex file which is used with pdflatex which I  have pasted below.
> But when I am running pdf latex I get the below error

> /usr/share/texmf/tex/latex/oberdiek/pdftex.def
> where the epstopdf.sty file is also located, But still the problem continues
> the figure is not getting inserted. I am using latex under Red hat linux EL

I tried your TeX file on Redhat Linux machine.
I guess figure you are trying to insert, may be huge. So you can try


I have inserted it at the proper place in the tex file you sent.
> \documentclass[10pt,a4paper]{article}
> \usepackage[latin1]{inputenc}
> \usepackage{amsmath}
> \usepackage{amsfonts}
> \usepackage{amssymb}
> \usepackage{graphicx}
> \usepackage{epstopdf}

% epstopdf not required in this situation

> \begin{document}
> This is a test for graphics
> \begin{figure}
> \centering

>%% \includegraphics[bb=0 0 1200 1425]{2900272_2.jpg}
%% Simply use line below. This will shrink your figure to fit in the page.


> % 2900272_2.jpg: 72dpi, width=42.33cm, height=50.27cm, bb=0 0 1200 1425
> \caption{test}
> \label{fig:f}
> \end{figure}
> \end{document}

Let us know if it solves the problem.

Best Regards,


More information about the tugindia mailing list