# [Tuglist] PDF Figure and pdfscreen.sty

Manoj Kummini tuglist@tug.org.in
Fri, 28 Jun 2002 12:05:28 +0530

Dear All,

Dileep writes as below of a problem that he has been facing with a PDF
figure that he wants to have inserted in a slide.

Dileep sent me the .eps and the .pdf files. I can view the PDF file
properly in acroread and gv, but when I include it in a slide I get a
photographic negative of the figure, with some distortion. Here is how I
included it.

\documentclass{article}
\usepackage[screen,nopanel]{pdfscreen}
\margins{1in}{1in}{1in}{1in}
\screensize{6.25in}{8in}
\bottombuttons
\notesname{Notes:}
\makeatletter
\def\@captype{figure}
\makeatother
\begin{document}

\begin{slide}
\includegraphics{paperfacs.pdf}
\caption{Dileep's figure}
\end{slide}
\end{document}

Then I tried converting the eps file to PDF with epstopdf, which failed
with an error Broken Pipe'.

I tried converting the eps file to PDF with the following line:
gs -q -dNOPAUSE -c quit -sOutputFile=paperfacs.pdf -sDEVICE=pdfwrite
paperfacs.eps

This gave a pdf file which when included in the above TeX document gave a
slide with a cropped version of the image, which was expected because the
above line gives a US letter size PDF page.

Is it possible that a PDF file which acroread and gv can display properly
gives a distorted image when included in a slide with pdfscreen?

Thanks.

Manoj.

----- Forwarded message from Dileep Padinjarae Vengasseri <dileep_pv@yahoo.com> -----

Date: Thu, 27 Jun 2002 17:17:16 +0100 (BST)
To: Manoj Kummini <knm@india.ti.com>

Can you just send this to TUG list? I do not have

<snip>

--- Manoj Kummini <knm@india.ti.com> wrote:

> I see the photographic negative of your figure when
> I include it in a
> slide. Thinking that the file is non-standard PDF, I
> tried viewing it in
> gv, and I got a decent picture. Why do you not write
> to TUG.
>
> Manoj.
>
> On Fri, Jun 21, 2002 at 10:11:03PM +0100, Dileep
>
> > Just check the attached pdf file. I can see this
> pdf
> > nicely in acroread. But when I am inserting in the
> > slide it is not viewable.
> >
> > The only difference between this pdf and the
> others
> > that I am using is that the .eps of this file was
> > generated by gimp. Then I used epstopdf
> conversion.
> > When I open this pdf in acrobat it opens at very
> high
> > magnifiation (all the other pdfs open with in the
> > screen). Just try this once and let me know. I
> have
> > the .jpg of this file; but I want to know why is
> this
> > happening like this.

<snip>

----- End forwarded message -----

--
Manoj K N,
Texas Instruments India Limited,
`