On Tue, Jul 26, 2011 at 3:33 AM, Aditya Mandayam <adity...@gmail.com> wrote: >> Internal references (using \ref{..}) (e.g. to figures, tables, >> equations) are shown just fine here. Whereas for external citations >> (using \cite{..}), it is customary to list them in a bibliography. You >> need to use the bibtex command to achieve that. >> > > does this mean running bibtex on the tex file again? > > incidentally, i used to run rubber with xelatex using the following > commented line at the top of my tex files: > > % rubber: set program xelatex > > now, upon looking at the tex file generated by org, i added the above > line and ran rubber again on the tex file, and the bibliography came > out just fine. > > is this expected? to massage the tex generated by org? or am i seeing > it wrong and it is assumed that i have a tex file in the first place? >
You need to customise org-latex-to-pdf-process. This is what I use: (setq org-latex-to-pdf-process '("pdflatex -interaction nonstopmode %b" "/usr/bin/bibtex %b" "pdflatex -interaction nonstopmode %b" "pdflatex -interaction nonstopmode %b")) -- Suvayu Open source is the future. It sets us free.