RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase \usepackage{pdfpages} in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase \usepackage{pdfpages} in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
>I think you might have to move the .pdf file which you
>would like to include into the temporary directory
>where LyX compiles the document. 

>I usually make the temp directory ( you can change it
>in the preferences) someplace close to where the
>actual document is.Copy and PAste the .pdf's you
>want to include into the temp directory.   Then you
>should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase "\usepackage{pdfpages}" in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



Re: problem with pdfpages

2008-02-01 Thread Robert Orr

--- Eran Kaplinsky [EMAIL PROTECTED] wrote:

 I don't know if this is the source of your problem,
 but I always omit 
 the .pdf extension. So:
 
 \includepdf[pages=1-11]{filename}
 
 
 

I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


Re: problem with pdfpages

2008-02-01 Thread Robert Orr

--- Eran Kaplinsky [EMAIL PROTECTED] wrote:

 I don't know if this is the source of your problem,
 but I always omit 
 the .pdf extension. So:
 
 \includepdf[pages=1-11]{filename}
 
 
 

I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


Re: problem with pdfpages

2008-02-01 Thread Robert Orr

--- Eran Kaplinsky <[EMAIL PROTECTED]> wrote:

> I don't know if this is the source of your problem,
> but I always omit 
> the .pdf extension. So:
> 
> \includepdf[pages=1-11]{filename}
> 
> 
> 

I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs