First of all, my apologies Paul, for not answering earlier. I had problems
sending the question and I thought it never went through.
Matthieu, no luck yet. I keep a local copy of my project, so I can create the 
pdfs from lyx.

The error shown in the LaTex Errors windows is:"Package pdftex.def
Error: File `0_media_H_Projects_Cancun_Docs_Presentati"
I don't know how to get a more complete error message. 
I've tried entering the path with an absolute and a relative path, none
of them worked. The preview of the pdf looks fine, in case it makes a
difference.

The code in lyx looks like:
\begin{figure}
\caption{TheTitle}
\includegraphics{/media/H/Projects/Cancun/Docs/Presentation/Figures/harvbau1}
\end{figure}

I've also tried inserting it as External Material, the preview looks
fine, but Lyx crashes immediately after pressing the pdf button.

If anybody has any ideas on how to fix it, I would really appreciate.
This problem is obliging me to keep a copy of the full project on my
hard drive. 
Clara

----- Original Message -----
From: "Matthieu Stigler" <[email protected]>
To: [email protected], [email protected], [email protected]
Sent: Thursday, January 20, 2011 11:34:09 AM GMT +01:00 Amsterdam / Berlin / 
Bern / Rome / Stockholm / Vienna
Subject: Re: Can't create a pdf when the document contains a pdf in a mounted 
drive

Hi 

I have the same problem as documented here (also Ubuntu 10.4 but Lyx 1.6.5) : 
can't include a graphic if on a samba share. 

The error message is not very verbose: 
Package pdftex.def: Error File (file path....) 

The path is: 
/media/S/.../pdf/Chap_1_Fig_1_cer_prices.pdf 

The pronostic of P Rubin seems verified, in the sense that the file does not 
seem to be copied into the /tmp/... folder. 

Clara, could you resolve the problem in the meanwhile? Any idea? 

Thanks! 

Subject: Re: Can't create a pdf when the document contains a pdf in a mounted 
drive 
Newsgroups: gmane.editors.lyx.general 
Date: 2010-08-29 15:10:56 GMT (20 weeks, 3 days, 19 hours and 13 minutes ago) 
On 8/29/2010 9:45 AM, Clara Anton wrote:
> Hi,
> I am using Lyx 1.6.7 on Ubuntu 10.04. I have a document with several figures 
> in
> pdf format. The pdf files are stored in a mounted windows share. The document 
> is
> stored in the same share. When I try to make a pdf from the document I get an
> error "Package pdf tex.def Error: File 'O_media_H....". If I move the pdf 
> files
> to any other drive (e.g. external hard drive ) it works fine. I tried to 
> create a
> dvi or ps, but I get the same type of error.

What is the full error message for one of the files, and exactly how is 
the file path entered into the graphics widget in LyX?  LyX needs to 
copy all included files to the temp directory (deliberately fiddling 
with their names), and chances are the files from the Samba share are 
not being copied correctly, but the question is why.

/Paul 

Reply via email to