[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: texlive and includegraphics{}

On Mon, Mar 03, 2008 at 06:02:01PM +0530, Kushal Kumaran wrote:

> On Mon, Mar 3, 2008 at 4:51 PM, Richard Lyons <richard@the-place.net> wrote:
> > I've just found texlive on a new etch install cannot find graphics called
> >  with includegraphics{}.  These are files that ran with Latex, and have
> >  '\usepackage{graphicx}'.  The only error message is
> >  dvips: Could not find figure file /home/richard/foo/bar.eps; continuing
> >  The graphics files are still there and permissions are ok.
> >
> >  Is this a problem with the debian package, or an inherent characteristic
> >  of tex-live.  I.e. do I have to revert to latex or look for some
> >  additional package?
> >
> Are you using latex? or pdflatex?  pdflatex will not use EPS files.
> Please show us the complete error message you are getting, including
> the command you used to invoke it.
> You can also try reproducing the problem with an absolutely minimal
> .tex file, perhaps with nothing else but the \includegraphics in it.
> PS: I assume you mean reverting to 'tetex' when you write reverting to 'latex'.

Well, yes, perhaps that is the old latex package in Debian.  These templates
have worked for years with no problem.  It is only now with a fresh
install (but retaining my old /home partition) that they suddenly fail.

I am not sure all the following detail helps much, but here it comes:

The commands to process the file are given from a script and are

latex template
dvips template

It is actually in a perl script and says

system ("latex $outfile && dvips $outf && ps2pdf $outf.ps $path$bod.pdf");

The section of the template which triggers it is  line 25 of this




%% letterhead with se1 logo %%%%%%%%%%%%%%%%%%%%5
\begin{tabular}{b{135pt} b{43pt}>{\raggedright}b{80pt} b{130pt}}

\textsf{Richard Lyons}
\parbox[b]{80pt}{\textsf{Coign House, }\\
\textsf{14 London Road}\\
\textsf{SE1 - 6JZ}}&
\parbox[b]{130pt}{\textsf{\emph{email:}} \textsf{richard@the-place.net }\\
\textsf{\emph{telephone:}} \textsf{(020)}\\
\textsf{\emph{facsimile:}} \textsf{(08707)62.68.14}}\\

It looks as though latex completes normally with

    Output written on marcello08c03-print.dvi (1 page, 1484 bytes).

And the error message is as I reported while dvips is running:

    dvips: Could not find figure file /home/richard/0/ico/14p5b-25mm.eps; continuing

The resulting ps file is perfect but lacking the images.

The file is readable:

$ ls -l /home/richard/0/ico/14p5b-25mm.eps
-rw-r--r-- 1 richard richard 137562 2006-10-05 11:37 /home/richard/0/ico/14p5b-25mm.eps

And the eps extension has been correctly assumed so I suppose it is
still the default as it was with latex.


Reply to: