vu wrote:



Hi, thanks for the help. I've exported it to LaTex (using pdflatex), but I
don't know how to "compile it manually". I haven't had a chance to really
get into the fine details of Lyx. How would I do this?
http://www.nabble.com/file/p17527137/CONS6017-Essay.log CONS6017-Essay.log http://www.nabble.com/file/p17527137/CONS6017-Essay.pdf CONS6017-Essay.pdf http://www.nabble.com/file/p17527137/CONS6017-Essay.tex CONS6017-Essay.tex

In a terminal, run 'pdflatex CONS6017-Essay.tex', which should produce a file with extension .aux. Then run 'bibtex CONS6017-Essay', then 'pdflatex CONS6017-Essay.tex' again.

I've also checked the Lyx log in my tmp folder, and fould that it says
"LaTeX Warning: There were undefined references.".

This is not entirely surprising. The LaTeX/BibTeX combination requires multiple passes. On the first LaTeX pass, an auxiliary file is generated with information about required citations. BibTeX uses that file and the .bib bibliography file to create a file of stuff to insert in the document (.bbl). The initial LaTeX pass flags all references as undefined. On the second LaTeX pass, it uses the .bbl file to fix things up.

I'm not sure if this will be helpful, but I've included both the exported
.tex file, the tmp .log file, and the PDF output as an attachment here.

Please note that I have changed nothing in my setup of Lyx since changing to
Ubuntu 8.04. I've had pretty much the same document settings (usually at
Natbib, but sometimes Jurabib), and usually the same bst files (usually the
ones included in Lyx, such as naturemag or author-date).

Between the last time you successfully used the JabRef file and now, did you edit anything in the JabRef (.bib) file? Frequently something gets broken in a .bib file -- either a syntactically incorrect entry is produced, or a character from an encoding that does not match the document is inserted -- and the sequence above breaks down.

/Paul

Reply via email to