From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Kerns Subject: Re: How to get BibTeX to work with Org mode LaTeX export? Date: Sat, 18 May 2013 05:36:17 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UddZA-0003Pa-8C for emacs-orgmode@gnu.org; Sat, 18 May 2013 05:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UddZ9-0006CY-3V for emacs-orgmode@gnu.org; Sat, 18 May 2013 05:36:40 -0400 Received: from mail-qe0-f50.google.com ([209.85.128.50]:37435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UddZ8-0006CG-U8 for emacs-orgmode@gnu.org; Sat, 18 May 2013 05:36:38 -0400 Received: by mail-qe0-f50.google.com with SMTP id x7so975604qeu.23 for ; Sat, 18 May 2013 02:36:38 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Omid Cc: Yury Bulka , emacs-orgmode@gnu.org Hi Omid, On Sat, May 18, 2013 at 4:40 AM, Omid wrote: > - The \bibliographystyle and \bibliography commands are at the end of the > document. > - The question is about how to get Org mode to do the whole job, as there is > a command for it which is supposed to do exactly that but it doesn't. > Have you tried (something like) the following in your init file? (setq org-latex-pdf-process (quote ("texi2dvi --pdf --clean --verbose --batch %f" "bibtex %b" "texi2dvi --pdf --clean --verbose --batch %f" "texi2dvi --pdf --clean --verbose --batch %f"))) You can read more about this variable (and customize it) with C-h v org-latex-pdf-process RET I hope this helps, -- Jay