From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Reuleaux Subject: Re: org-ref code Date: Wed, 14 May 2014 20:03:24 +0100 Message-ID: <87a9akkwsj.fsf@a-rx.info> References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> <871tvzm859.fsf@pinto.chemeng.ucl.ac.uk> <87zjimnccb.fsf@a-rx.info> <87tx8uc59f.fsf@ucl.ac.uk> <87zjil4ex1.fsf@ucl.ac.uk> <87k39ojkc2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkeUj-0007x5-Pt for emacs-orgmode@gnu.org; Wed, 14 May 2014 15:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkeUZ-0001Gl-Tq for emacs-orgmode@gnu.org; Wed, 14 May 2014 15:05:37 -0400 Received: from plane.gmane.org ([80.91.229.3]:35672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkeUZ-0001Gg-No for emacs-orgmode@gnu.org; Wed, 14 May 2014 15:05:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WkeUX-0006Me-4p for emacs-orgmode@gnu.org; Wed, 14 May 2014 21:05:25 +0200 Received: from stu826b.kent.ac.uk ([129.12.130.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 21:05:25 +0200 Received: from andreas by stu826b.kent.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 21:05:25 +0200 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 Eric S Fraga writes: > How do I specify the bibstyle for org-ref? I am not sure if I understand your question correctly and John certainly has more insight here, but I have in my org document #+LaTeX_HEADER: \include{ltxhdr} and within that ltxhdr.tex I have among other config settings \usepackage[backend=bibtex,style=authoryear]{biblatex} \addbibresource{refs.bib} I could have written several lines of #+LaTeX_HEADER: \usepackage[backend=bibtex,style=authoryear]{biblatex} #+LaTeX_HEADER: \addbibresource{refs.bib} instead. There is no specific bibstyle of org-ref (correct, John?), that's the job of latex, you will be happy if: * your org mode has clickable citations links, * let's you insert citations in a comfortably manner * you can jump between refs and labels etc. * all of those citations get exported to their latex equivalents If for some reason your citations get exported to latex, say cite:foo to \cite{foo}, but still don't appear in your final pdf, than you have to tweek your latex settings, obviously. - Maybe forgot to call bibtex(8) on your document? I run these: * an emacs batch script, tex.el to get the document.tex from document.org * xelatex -8bit -shell-escape document.tex * bibtex8 document * xelatex document again, etc. You can check your latex toolchain independently from your org-ref config. HTH, -Andreas