RE: Embedding documents/text files in PDF

2009-05-07 Thread Parul Bali
Thanks a ton, Xie. Placing the file to be attached   in the temp location  
helped. 

 

Many thanks,

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 06 May 2009 08:23
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

Is it because lyx is trying to compile your file in a temp folder, but the file 
you want to attach was not copied over to the temp location, so a relative path 
(relative to the actual lyx file, not the temp file) doesn't work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao



On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.com wrote:

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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'


Cc: lyx-users@lists.lyx.org

Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 

 



RE: Embedding documents/text files in PDF

2009-05-07 Thread Parul Bali
Thanks a ton, Xie. Placing the file to be attached   in the temp location  
helped. 

 

Many thanks,

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 06 May 2009 08:23
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

Is it because lyx is trying to compile your file in a temp folder, but the file 
you want to attach was not copied over to the temp location, so a relative path 
(relative to the actual lyx file, not the temp file) doesn't work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao



On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.com wrote:

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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'


Cc: lyx-users@lists.lyx.org

Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 

 



RE: Embedding documents/text files in PDF

2009-05-07 Thread Parul Bali
Thanks a ton, Xie. Placing the file to be attached   in the temp location  
helped. 

 

Many thanks,

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 06 May 2009 08:23
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

Is it because lyx is trying to compile your file in a temp folder, but the file 
you want to attach was not copied over to the temp location, so a relative path 
(relative to the actual lyx file, not the temp file) doesn't work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao



On Wed, May 6, 2009 at 5:41 AM, Parul Bali <parul.sarasw...@gmail.com> wrote:

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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'


Cc: lyx-users@lists.lyx.org

Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> 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?



Thanks,

Parul

 

 



Re: Embedding documents/text files in PDF

2009-05-06 Thread Xie Chao
Is it because lyx is trying to compile your file in a temp folder, but the
file you want to attach was not copied over to the temp location, so a
relative path (relative to the actual lyx file, not the temp file) doesn't
work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao


On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.comwrote:

  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 great.



 Any help  will be greatly  appreciated.



 Thanks,

 Parul



 *From:* Parul Bali [mailto:parul.sarasw...@gmail.com]
 *Sent:* 05 May 2009 22:30
 *To:* 'Xie Chao'
 *Cc:* lyx-users@lists.lyx.org
 *Subject:* RE: Embedding documents/text files in PDF



 Many thanks to everyone for their responses.



 Xie,



 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.



 Parul



 *From:* Xie Chao [mailto:xiech...@gmail.com]
 *Sent:* 05 May 2009 20:09
 *To:* Parul Bali
 *Cc:* lyx-users@lists.lyx.org
 *Subject:* Re: Embedding documents/text files in PDF



 I guess you are looking for this:
 http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

 Regards,
 Xie Chao

 On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com
 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?



 Thanks,

 Parul





Re: Embedding documents/text files in PDF

2009-05-06 Thread Xie Chao
Is it because lyx is trying to compile your file in a temp folder, but the
file you want to attach was not copied over to the temp location, so a
relative path (relative to the actual lyx file, not the temp file) doesn't
work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao


On Wed, May 6, 2009 at 5:41 AM, Parul Bali parul.sarasw...@gmail.comwrote:

  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 great.



 Any help  will be greatly  appreciated.



 Thanks,

 Parul



 *From:* Parul Bali [mailto:parul.sarasw...@gmail.com]
 *Sent:* 05 May 2009 22:30
 *To:* 'Xie Chao'
 *Cc:* lyx-users@lists.lyx.org
 *Subject:* RE: Embedding documents/text files in PDF



 Many thanks to everyone for their responses.



 Xie,



 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.



 Parul



 *From:* Xie Chao [mailto:xiech...@gmail.com]
 *Sent:* 05 May 2009 20:09
 *To:* Parul Bali
 *Cc:* lyx-users@lists.lyx.org
 *Subject:* Re: Embedding documents/text files in PDF



 I guess you are looking for this:
 http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

 Regards,
 Xie Chao

 On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com
 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?



 Thanks,

 Parul





Re: Embedding documents/text files in PDF

2009-05-06 Thread Xie Chao
Is it because lyx is trying to compile your file in a temp folder, but the
file you want to attach was not copied over to the temp location, so a
relative path (relative to the actual lyx file, not the temp file) doesn't
work?

I am also new to lyx, so lyxers, please correct me if I am wrong.

Regards,
Xie Chao


On Wed, May 6, 2009 at 5:41 AM, Parul Bali <parul.sarasw...@gmail.com>wrote:

>  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 great.
>
>
>
> Any help  will be greatly  appreciated.
>
>
>
> Thanks,
>
> Parul
>
>
>
> *From:* Parul Bali [mailto:parul.sarasw...@gmail.com]
> *Sent:* 05 May 2009 22:30
> *To:* 'Xie Chao'
> *Cc:* lyx-users@lists.lyx.org
> *Subject:* RE: Embedding documents/text files in PDF
>
>
>
> Many thanks to everyone for their responses.
>
>
>
> Xie,
>
>
>
> 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.
>
>
>
> Parul
>
>
>
> *From:* Xie Chao [mailto:xiech...@gmail.com]
> *Sent:* 05 May 2009 20:09
> *To:* Parul Bali
> *Cc:* lyx-users@lists.lyx.org
> *Subject:* Re: Embedding documents/text files in PDF
>
>
>
> I guess you are looking for this:
> http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf
>
> You can use this LaTeX package to attach files in your PDF.
>
> Regards,
> Xie Chao
>
> On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com>
> 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?
>
>
>
> Thanks,
>
> Parul
>
>
>


Re: Embedding documents/text files in PDF

2009-05-05 Thread Xie Chao
I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao


On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.comwrote:

 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?



 Thanks,

 Parul




RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao



On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 



RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'
Cc: lyx-users@lists.lyx.org
Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 



Re: Embedding documents/text files in PDF

2009-05-05 Thread Xie Chao
I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao


On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.comwrote:

 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?



 Thanks,

 Parul




RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao



On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 



RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'
Cc: lyx-users@lists.lyx.org
Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali parul.sarasw...@gmail.com 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?



Thanks,

Parul

 



Re: Embedding documents/text files in PDF

2009-05-05 Thread Xie Chao
I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
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?
>
>
>
> Thanks,
>
> Parul
>
>


RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao



On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> 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?



Thanks,

Parul

 



RE: Embedding documents/text files in PDF

2009-05-05 Thread Parul Bali
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 
great.

 

Any help  will be greatly  appreciated.

 

Thanks,

Parul

 

From: Parul Bali [mailto:parul.sarasw...@gmail.com] 
Sent: 05 May 2009 22:30
To: 'Xie Chao'
Cc: lyx-users@lists.lyx.org
Subject: RE: Embedding documents/text files in PDF

 

Many thanks to everyone for their responses.

 

Xie,

 

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.

 

Parul

 

From: Xie Chao [mailto:xiech...@gmail.com] 
Sent: 05 May 2009 20:09
To: Parul Bali
Cc: lyx-users@lists.lyx.org
Subject: Re: Embedding documents/text files in PDF

 

I guess you are looking for this:
http://www.ctan.org/get/macros/latex/contrib/attachfile/attachfile.pdf

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

Regards,
Xie Chao

On Tue, May 5, 2009 at 5:39 AM, Parul Bali <parul.sarasw...@gmail.com> 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?



Thanks,

Parul

 



Re: Embedding documents/text files in PDF

2009-05-04 Thread Uwe Stöhr

Parul Bali schrieb:


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?


You can convert the document that you want to include to PDF. Then you can insert it via PDFpages, 
see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: Embedding documents/text files in PDF

2009-05-04 Thread Micha Feigin
On Mon, 04 May 2009 23:47:53 +0200
Uwe Stöhr uwesto...@web.de wrote:

 Parul Bali schrieb:
 
  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?
 
 You can convert the document that you want to include to PDF. Then you can 
 insert it via PDFpages, 
 see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.
 
 regards Uwe
 

for text files you can also probably abuse the listing package to include an 
external program
insert-file-child document
and change the type to program listing. Verbatim may also give you what you 
want.


Re: Embedding documents/text files in PDF

2009-05-04 Thread Rich Shepard

On Mon, 4 May 2009, 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?


Parul,

  Check out pdftk, the PDF Tool Kit. It will let you do almost anything you
want with a pdf document.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Embedding documents/text files in PDF

2009-05-04 Thread Uwe Stöhr

Parul Bali schrieb:


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?


You can convert the document that you want to include to PDF. Then you can insert it via PDFpages, 
see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: Embedding documents/text files in PDF

2009-05-04 Thread Micha Feigin
On Mon, 04 May 2009 23:47:53 +0200
Uwe Stöhr uwesto...@web.de wrote:

 Parul Bali schrieb:
 
  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?
 
 You can convert the document that you want to include to PDF. Then you can 
 insert it via PDFpages, 
 see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.
 
 regards Uwe
 

for text files you can also probably abuse the listing package to include an 
external program
insert-file-child document
and change the type to program listing. Verbatim may also give you what you 
want.


Re: Embedding documents/text files in PDF

2009-05-04 Thread Rich Shepard

On Mon, 4 May 2009, 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?


Parul,

  Check out pdftk, the PDF Tool Kit. It will let you do almost anything you
want with a pdf document.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Embedding documents/text files in PDF

2009-05-04 Thread Uwe Stöhr

Parul Bali schrieb:


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?


You can convert the document that you want to include to PDF. Then you can insert it via PDFpages, 
see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: Embedding documents/text files in PDF

2009-05-04 Thread Micha Feigin
On Mon, 04 May 2009 23:47:53 +0200
Uwe Stöhr  wrote:

> Parul Bali schrieb:
> 
> > 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?
> 
> You can convert the document that you want to include to PDF. Then you can 
> insert it via PDFpages, 
> see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.
> 
> regards Uwe
> 

for text files you can also probably abuse the listing package to include an 
external program
insert->file->child document
and change the type to program listing. Verbatim may also give you what you 
want.


Re: Embedding documents/text files in PDF

2009-05-04 Thread Rich Shepard

On Mon, 4 May 2009, 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?


Parul,

  Check out pdftk, the PDF Tool Kit. It will let you do almost anything you
want with a pdf document.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863