problem with pdfpages

2008-02-01 Thread Eli Brosh
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


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





problem with pdfpages-solved

2008-02-02 Thread Eli Brosh
The problem with pdfpages is now solved.
Everything works if I put the full filename for the files I attach.

Thank you all
especially to Eran Kaplinsky and Robert Orr.

Best regards
Eli




citation in round brackets

2008-07-08 Thread Eli Brosh
Hello,
I am using LyX with the native bibliography facility.
Now, when I insert a citation in the text, the result is a reference in
square brackets [1] or, if I put a different label [different label].
Is there a simple method to change the brackets around the label from square
to round, like (1) and (different label) ?

Thanks
Eli Brosh


space before Eqnarray

2008-07-13 Thread Eli Brosh
Hello,
When I insert a displayed eqnarray equation LyX puts extra space (around two
blank lines) before the equation.
How can this be avoided ?

Thanks
Eli


epsilon and varepsilon

2008-10-30 Thread Eli Brosh
Hello,
I encountered a problem when trying to use \epsilon and \varepsilon symbols.
When I typed these symbols in the math mode, they look different in the LyX
window.
However, in the PDF made using pdfLaTeX and in the DVI the symbols look
identical.
What can I do to make the pdfLaTeX distinguish between the two ?

I am using LyX 1.5.5

Thanks,
Eli


Re: epsilon and varepsilon

2008-10-30 Thread Eli Brosh
Thank you Paul,
I attach the LyX file and the DVI output.

Can you see the problem ?

Eli


epsilon_and_varepsilon.lyx
Description: application/lyx


epsilon_and_varepsilon.dvi
Description: TeX dvi file


epsilon_and_varepsilon.pdf
Description: Adobe PDF document


Re: epsilon and varepsilon

2008-10-30 Thread Eli Brosh
Thank you Uwe,
I changed the font to default and encoding to utf8 and the problem was gone.

Thanks again,
Eli

On Thu, Oct 30, 2008 at 5:38 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> Eli Brosh schrieb:
>
>  I attach the LyX file and the DVI output.
>>
>
> The reason is the font that you are using. Times doesn't include the
> \var*** characters.
>
> In your file you use the encoding "UTF8" that is designed for Chinese,
> Korean, and Japanese. Either use the language default encoding or an
> encoding that fits to the language you are writing in.
> I admit that the encoding names in LyX 1.5 are not self-explanatory. In the
> upcoming LyX 1.6.0 this is much better.
> Nevertheless, Appendix A of the UserGuide of LyX 1.5.6 describes all
> encodings.
>
> regards Uwe
>