Olof Liungman wrote:
>
> Hi!
>
> I am afraid I have a newbie question, but I'm a real baby at LaTeX and LyX
> (great software, by the way :). I want to convert my LyX document to PDF. The
> LyX document works fine, viewing and printing. What I did was first to export to
> LaTeX (File->Export->LaTeX). Everything appeared to work fine. I then ran
> 'pdflatex filename' on the resulting .tex-file. However, I then get loads of
> warnings saying that all of my cross-references and BibTex citations are
> undefined.
For me it seems that exporting your file as LaTeX isn�t enough. The
missing (the warnings) of croos-references and so on indicates that you
missed to "latex" your exported file.
You can do so by typing "latex [yourfilename.tex]" at the command line.
> Also, LaTeX claims that it does not know the graphics extension .eps.
> What am I doing wrong? I am using LyX 1.1.5 under Sun Solaris 2.6 (SPARC) and
> LaTeX version 1999/12/01. I can send the .tex-file gzipped if that might help.
>
> Please cc me as I am on the digest list and would like to hear any comments as
> soon as possible.
I do not know much abpout pdflatex; I managed the problem to convert
LyX-files to PDF as follows:
1. include a
\usepackage[ps2pdf,pdftitle={whatever you
want},linktocpage,colorlinks=true]{hyperref}
in your LaTeX-preamble (Layout -> LaTeX...)
2. Export your LyX-file as Postscript.
3. Use ps2pdf to create the PDF-file (at the command line: "ps2pdf
[yourfilename.ps]"
For me this works quite perfectly - but I agree with you that a "direct"
PDF-export would be much more comfortable (hint for the developers :-).
>
> Cheers,
>
> Olof
Regards
Stephan
--
Stephan E. Schlierf M.A.
- Product Management -
PHONE: ++49 9254 960673
FAX: ++49 9254 960674
CSE GmbH Germany