On Mon, Mar 03, 2008 at 06:02:01PM +0530, Kushal Kumaran wrote:
> On Mon, Mar 3, 2008 at 4:51 PM, Richard Lyons <[EMAIL PROTECTED]> 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
essentially
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
letterheading:
\documentclass[english,a4paper]{letter}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=144pt,bmargin=72pt,lmargin=96pt,rmargin=60pt}
\usepackage{array}
\usepackage{graphicx}
\makeatletter
\usepackage{babel}
\makeatother
\pagestyle{empty}
\begin{document}
\vspace*{-120pt}
%% letterhead with se1 logo %%%%%%%%%%%%%%%%%%%%5
\begin{tabular}{b{135pt} b{43pt}>{\raggedright}b{80pt} b{130pt}}
%\begin{tabular}{b{140pt}|>{\raggedright}b{130pt}|b{180pt}}
\parbox[b]{134pt}{\begin{flushleft}
\textsf{Richard Lyons}
\end{flushleft}}&
\parbox[b]{43pt}
{\includegraphics{/home/richard/0/ico/14p5b-25mm}}
&
\parbox[b]{80pt}{\textsf{Coign House, }\\
\textsf{14 London Road}\\
\textsf{Southwark}\\
\textsf{London}\\
\textsf{SE1 - 6JZ}}&
\parbox[b]{130pt}{\textsf{\emph{email:}} [EMAIL PROTECTED] }\\
\textsf{\emph{telephone:}} \textsf{(020)79.28.65.01}\\
\textsf{\emph{facsimile:}} \textsf{(08707)62.68.14}}\\
\end{tabular}
...
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.
richard
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]