# [texhax] pdflatex and figure

mahi mahi2308 at rediffmail.com
Thu May 21 10:45:39 CEST 2009

Hi

If i process pdflatex with below example

\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\epstopdfsetup{update,prepend}
\begin{document}

Just a test:

\begin{figure}[h!]
\includegraphics{nj275598fig5}%
\caption{}
\end{figure}

\end{document}

I am getting an error as

Error: pdflatex (file nj275598fig5.pdf): cannot find image file
==> Fatal error occurred, the output PDF file is not finished!

And thank you for the suggestion but i don't want to process my figure through pstricks. If any other suggestion kindly advise.

Is there any other way to process the figure through pdflatex without changing the fonts inside the figures.

Thanks

On Wed, 20 May 2009 12:49:00 +0530  wrote
>On  20 May, 2009, at 00:20, mahi wrote:
>
>> I am using the miktex 2.4
>> Acrobat illustrator 11
>
>and Acrobat Distiller 7.
>
>> I am attaching the .eps and pdf files, in this figure varpi symbol
>> is missing when i process this figure through pdflatex and i am
>> attaching the processed pdf also.
>
>Not only the varphi, but pi as well.
>-------
>(By the way, On  19 May, 2009, at 12:33, Pierre MacKay wrote:
>
>> Could this be related to the bug in Acrobat reader 8, which makes all
>> the characters in the Adobe Expert Set invisible?  (supposed toe
>
>I don't think so, as I see the same (missing symbols) with TeXShop,
>Reader 9 and Acrobat 6 on a Mac.)
>--------
>
>Mahi,
>
>You're using pdfTeX 1.20, and I'm using pdfTeX 1.40.9, so the first
>solution might not work for you, but the second most certainly will.
>
>1) Don't convert yourself the EPS figures to PDF ---let epstopdf do
>it; the following works for me:
>
>\documentclass{article}
>\usepackage[pdftex]{graphicx}
>\usepackage{epstopdf}
>\epstopdfsetup{update,prepend}
>\begin{document}
>
>Just a test:
>
>\begin{figure}[h!]
>\includegraphics{nj275598fig5}%
>\caption{}
>\end{figure}
>
>\end{document}
>
>Just like that ---call the graphic by its name, without extension.
>
>2) We are using different pdfTeX versions (and I'm sure different
>versions of epstopdf), but we have the *same* version of Illustrator,
>so this will work for you:
>
>First, backup your figures so you can make changes easily afterwards.
>Now, with the figures you will actually use in your TeX document, open
>the EPS file in Illustrator, select the text, go to menu Type and
>select Create Outlines. Characters will become just another graphic
>element. That's why you need a backup ---to edit text easily if you
>have to.
>
>Best,
>
>Axel
>
>
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>Mailing list archives: http://tug.org/pipermail/texhax/