From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-ref no bibliography generated in pdf Date: Sun, 07 Feb 2016 21:57:34 -0500 Message-ID: <87twljlxi9.fsf@pierrot.dokosmarshall.org> References: <87twlmoru8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSc1N-0002zo-H3 for emacs-orgmode@gnu.org; Sun, 07 Feb 2016 21:57:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSc1H-00086Q-FD for emacs-orgmode@gnu.org; Sun, 07 Feb 2016 21:57:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:32840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSc1H-00086M-90 for emacs-orgmode@gnu.org; Sun, 07 Feb 2016 21:57:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSc1G-0001Jv-4x for emacs-orgmode@gnu.org; Mon, 08 Feb 2016 03:57:42 +0100 Received: from pool-74-104-158-160.bstnma.fios.verizon.net ([74.104.158.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 03:57:42 +0100 Received: from ndokos by pool-74-104-158-160.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 03:57:42 +0100 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: emacs-orgmode@gnu.org Andreas Kiermeier writes: > On 7 February 2016 at 04:38, John Kitchin wrote: > > that is why you don't get bibtex run then ;) try this > (setq org-latex-pdf-process >        '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b" >          "bibtex %b" >          "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b" >          "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b")) > > ​Hi John & list, > > is there any reason why we should be hardcoding multiple runs of pdflatex​ >   > ​(& bibtex) instead of using texify? > > I have my org-latex-to-pdf set to  > "texify -p -b --tex-option=-shell-escape %f"​ > ​ (I'm on Windows 10, running MikTex 2.9), which hasn't given my any problems to date and > seem to be a little more efficient​. > They are not hardcoded: that's just the default value of org-latex-pdf-process which can be customized. The three pdflatex runs are a "safe" default which avoids incompatibilities between systems. The customization options for org-latex-pdf-process list some other possibilities which one might choose in preference to the default. If texify can do the job (even if it does not exist on all systems of interest), I would suggest adding it to the customizations menu of the variable, so it can be chosen by a user as his/her personal default. -- Nick