From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref for biblatex Date: Sun, 18 May 2014 17:40:54 -0400 Message-ID: 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> <87ha4tmexn.fsf@a-rx.info> <874n0nknxr.fsf_-_@a-rx.info> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f50309e54ad4404f9b38091 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wm8pF-0003R2-91 for emacs-orgmode@gnu.org; Sun, 18 May 2014 17:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wm8pE-0004Z2-2V for emacs-orgmode@gnu.org; Sun, 18 May 2014 17:40:57 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:53238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wm8pD-0004Yl-Ok for emacs-orgmode@gnu.org; Sun, 18 May 2014 17:40:56 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so7205642wgh.32 for ; Sun, 18 May 2014 14:40:54 -0700 (PDT) In-Reply-To: <874n0nknxr.fsf_-_@a-rx.info> 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: Andreas Reuleaux Cc: "emacs-orgmode@gnu.org" --e89a8f50309e54ad4404f9b38091 Content-Type: text/plain; charset=UTF-8 I added the multicite commands. you have to use cites:foo,bar,baz, and it will export to the format you suggested. org-ref is not smart enough to automatically add the s to the link type if you add more than one reference, you have to be smart enough to do that. can you try it out and let me know if it does what you need? John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Sun, May 18, 2014 at 1:16 PM, Andreas Reuleaux wrote: > John, > > to come back to org-ref, which basically runs fine for me now, thanks. > > I am running biblatex (as opposed to bibtex) though, with meanwhile > biber as a backend. > > The biblatex manual is very comprehensible and explains the different > citation commands from page 79 onwards. > > > http://ctan.mirrorcatalogs.com/macros/latex/contrib/biblatex/doc/biblatex.pdf > > I just ran into this: Having added a few citations to an existing > one with C-u C-c d, I have something like > > cite:foo,bar,baz > > which gets exported to latex as > > \cite{foo,bar,baz} > > whereas biblatex expects > > \cites{foo}{bar}{baz} > > as I understand (note the plural s as well), and there are other config > tweekings I am doing for biblatex (that I intend to explain some other > time). > > Maybe a switch (an org-ref variable) would be a good idea, that lets > one choose: use either biblatex or plain old bibtex? > > thanks in advance > > -Andreas > > > --e89a8f50309e54ad4404f9b38091 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I added the multicite commands. you have to use cites= :foo,bar,baz, and it will export to the format you suggested. org-ref is no= t smart enough to automatically add the s to the link type if you add more = than one reference, you have to be smart enough to do that.

can you try it out and let me know if it does what you need?
<= /div>

John

--------= ---------------------------
John Kitchin
Associate Professor
Doher= ty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsbu= rgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Sun, May 18, 2014 at 1:16 PM, Andreas= Reuleaux <andreas@a-rx.info> wrote:
John,

to come back to org-ref, which basically runs fine for me now, thanks.

I am running biblatex (as opposed to bibtex) though, with meanwhile
biber as a backend.

The biblatex manual is very comprehensible and explains the different
citation commands from page 79 onwards.

=C2=A0 http://ctan.mirrorcatalogs.com/macr= os/latex/contrib/biblatex/doc/biblatex.pdf

I just ran into this: Having added a few citations to an existing
one with C-u C-c d, I have something like

=C2=A0 cite:foo,bar,baz

which gets exported to latex as

=C2=A0 \cite{foo,bar,baz}

whereas biblatex expects

=C2=A0 \cites{foo}{bar}{baz}

as I understand (note the plural s as well), and there are other config
tweekings I am doing for biblatex (that I intend to explain some other
time).

Maybe a switch (an org-ref variable) would be a good idea, that lets
one choose: use either biblatex or plain old bibtex?

thanks in advance

-Andreas



--e89a8f50309e54ad4404f9b38091--