From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org-ref code Date: Wed, 14 May 2014 19:17:49 +0100 Message-ID: <87k39ojkc2.fsf@ucl.ac.uk> 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> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkdkk-0003c5-Ih for emacs-orgmode@gnu.org; Wed, 14 May 2014 14:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkdkd-0000yA-SJ for emacs-orgmode@gnu.org; Wed, 14 May 2014 14:18:06 -0400 Received: from mail-db3lp0083.outbound.protection.outlook.com ([213.199.154.83]:4962 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkdkd-0000wa-Ip for emacs-orgmode@gnu.org; Wed, 14 May 2014 14:17:59 -0400 In-Reply-To: (John Kitchin's message of "Tue, 13 May 2014 20:28:37 -0400") 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: John Kitchin Cc: "emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain On Tuesday, 13 May 2014 at 20:28, John Kitchin wrote: > interesting. I do have auxtex installed, but I don't think I configure it > anywhere. I do require reftex and reftex-cite in my init files. I also set > the default reftex bibliography. > > (setq reftex-default-bibliography > '("~/Dropbox/bibliography/references.bib")) > > I will try to reproduce this tomorrow. Hi John, In case this helps, if I start emacs with -q and evaluate the contents of emacs-minimal.el (attached) and then visit orgref.org (attached), I can insert a reference (references.bib also attached) but the resulting latex doesn't work because bibtex complains about missing bibstyle. If I add the LaTeX directive to specify the bibliography style (as the attached file has), everthing works. This includes C-u C-c ] asking for type of citation. How do I specify the bibstyle for org-ref? When I say that everything works, it works with this minimal configuration but not yet in my full configuration. But that's my problem. Somehow, I am making the latex exporter not handle cite: links. Very strange. I'll get back to you on this in due course! I am actually using Emacs 24.4, not 24.3. I'm tracking emacs-snapshot which is the development version as I like to live dangerously ;-) thanks again for org-ref, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-958-g7c8559-git --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename="orgref.org" # -*- org-latex-pdf-process: ("pdflatex %b" "bibtex %b" "pdflatex %b" "pdflatex %b") -*- #+title: test out org-ref * Introduction The paper by somebody cite:aaltola-2002 is most interesting. Also, autocite:aaltola-2002 is exciting. * References #+latex: \bibliographystyle{acm} bibliography:references.bib --=-=-= Content-Type: text/x-bibtex Content-Disposition: attachment; filename="references.bib" @Article{aaltola-2002, author = {J. Aaltola}, title = {Simultaneous synthesis of flexible heat exchanger network}, journal = {Applied Thermal Engineering}, year = 2002, volume = 22, number = 8, pages = {907-918} } --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename="emacs-minimal.el" Content-Transfer-Encoding: quoted-printable (add-to-list 'load-path "~/git/org-mode/lisp") (require 'org) (add-to-list 'load-path "~/s/emacs") (require 'org-ref) --=-=-=--