On 24 Aug 2000, at 13:42, Baruch Even wrote:


> 
> To the best of my knowledge, and from the little bits of playing, with
> pdflatex it worked with PNG images like a charm, it didn't need the
> bounding box to be specified explicitly.
> 
> You might want to try it yourself.


I _am_ using pdflatex. Perhaps I'm doing something stupido. Could you
point me to right path... here's the top section of my document:


\documentclass[finnish, a4paper, oneside, final]{article}

\usepackage[T1]{fontenc}
\usepackage{babel}

\newif\ifpdf
        \ifx\pdfoutput\undefined
                \pdffalse
                \usepackage[dvips]{graphics}
                \usepackage{pslatex}
                \usepackage[dvips]{hyperref}
                \DeclareGraphicsExtensions{.eps}
        \else
                \pdftrue
                \usepackage[pdftex]{graphicx}
                \usepackage{pslatex}
                \usepackage[ps2pdf,colorlinks=Red]{hyperref}
                \DeclareGraphicsExtensions{.jpg}
                \usepackage{thumbpdf}
                \pdfoutput=1
        \fi
\usepackage{utopia}
\newcommand{\inportpicture}[2]{%
        \ifpdf
                {%
                        \par%
                        \centering%
                        \resizebox*{0,9\columnwidth}{!}{%
                                \rotatebox{0}{%
                                        \includegraphics[bb=#2]{#1}%
                                }%
                        }%
                        \par%
                }
        \else
                {%
                        \par%
                        \centering%
                        \resizebox*{0,9\columnwidth}{!}{%
                                \rotatebox{270}{%
                                        \includegraphics{#1}%
                                }%
                        }%
                        \par%
                }
        \fi
}


Reply via email to