To be more specific, it doesn’t seem to locate the file when I specify relative 
path in the Lyx file and try converting it to pdflatex. However, if the same 
lyx file is exported to tex format and then converted to pdflatex, it works 


Any help  will be greatly  appreciated.





From: Parul Bali [] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'
Subject: RE: Embedding documents/text files in PDF


Many thanks to everyone for their responses.




The `attachfile’ package you suggested works great if I export  lyx file to tex 
format and then convert the tex file to pdflatex. However, if I try converting 
the lyx file  to pdflatex directly, it  throws me an error –  “pdftex error: 
cannot open file for embedding” . 

It doesn’t seem to locate the  file. Any pointers on how to resolve this would 
be very helpful.


Thank you.




From: Xie Chao [] 
Sent: 05 May 2009 20:09
To: Parul Bali
Subject: Re: Embedding documents/text files in PDF


I guess you are looking for this:

You can use this LaTeX package to attach files in your PDF.

Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali <> wrote:

This may  sound strange, but does anybody know if its possible to embed text
file or doc file in a PDF generated from Lyx/Latex?  I have seen facility to
attach documents to PDFs through  Adobe writer.  Is the same possible
through Lyx/Latex?




Reply via email to