From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref code Date: Thu, 15 May 2014 09:15:33 -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> <87zjil4ex1.fsf@ucl.ac.uk> <87k39ojkc2.fsf@ucl.ac.uk> <8738gbr0i5.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428cae85745104f97017e7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkvVY-0002rK-T5 for emacs-orgmode@gnu.org; Thu, 15 May 2014 09:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkvVX-0004gN-9o for emacs-orgmode@gnu.org; Thu, 15 May 2014 09:15:36 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:58665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkvVX-0004fw-00 for emacs-orgmode@gnu.org; Thu, 15 May 2014 09:15:35 -0400 Received: by mail-wg0-f43.google.com with SMTP id l18so3365289wgh.26 for ; Thu, 15 May 2014 06:15:33 -0700 (PDT) In-Reply-To: <8738gbr0i5.fsf@ucl.ac.uk> 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 , "emacs-orgmode@gnu.org" --f46d04428cae85745104f97017e7 Content-Type: text/plain; charset=UTF-8 I can see the desire to avoid the space with a superscript, but that is a latex specific formatting issue, that is probably taken care of with some package. In the packages we use (usually natmove), citations are moved to the correct side of punctuation, for example, so we always put them on the left where the logically make sense (eg because it is "grouped" in the sentence being cited. the latex package moves the superscripts to the right. I think it also works on spaces In org-mode some text[[cite:yoo-2014-theor-analy]] is also "ugly" ;) and harder to read. That gives us the best of both worlds (org and latex) I don't think I have done anything to make the naked links work. 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 Thu, May 15, 2014 at 2:58 AM, Eric S Fraga wrote: > On Wednesday, 14 May 2014 at 16:35, John Kitchin wrote: > > [...] > > > I wonder if you are adding another cite link later that overrides my cite > > link. do the other citation links export ok, e.g. autocite, citeyear, > > etc...? > > The problem is not how links are handled but the fact that implicit > links, i.e. those not surrounded by [[...]], are not recognised as links > on export. This applies to all citation links but not, for instance, > http:. There has to be something in org that I need to set or that I > have set that affects this behaviour but I just do not seem to find it. > > I am now bisecting my initialisation code to see if it is me setting > something but I do wonder if there is something you have set to tell org > to recognise implicitly defined links? > > In any case, would it be possible to have org-ref insert proper links, > i.e. [[cite:joe-2014]], maybe as an option? I often use superscripts > for citation references and a space before the superscript looks ugly! > And my problem would be solved... :) > > thanks again, > eric > -- > : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org > release_8.2.6-958-g7c8559-git > --f46d04428cae85745104f97017e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can see the desire to avoid the space with a supers= cript, but that is a latex specific formatting issue, that is probably take= n care of with some package. In the packages we use (usually natmove), cita= tions are moved to the correct side of punctuation, for example, so we alwa= ys put them on the left where the logically make sense (eg because it is &q= uot;grouped" in the sentence being cited. the latex package moves the = superscripts to the right. I think it also works on spaces In org-mode some= text[[cite:yoo-2014-theor-analy]] is also "ugly" ;) and harder t= o read. That gives us the best of both worlds (org and latex)

I don't think I have done anything to make the naked links wo= rk.

John

= -----------------------------------
John Kitchin
Associate Professor<= br> Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon= University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.e= du



On Thu, May 15, 2014 at 2:58 AM, Eric S = Fraga <e.fraga@ucl.ac.uk> wrote:
On Wednesday, 14 May 2014 at 16:35, John Kitchin wrote:

[...]

> I wonder if you are adding another cite link later that overrides my c= ite
> link. do the other citation links export ok, e.g. autocite, citeyear,<= br> > etc...?

The problem is not how links are handled but the fact that implicit links, i.e. those not surrounded by [[...]], are not recognised as links on export. =C2=A0This applies to all citation links but not, for instance,<= br> http:. =C2=A0There has to be something in org that I need to set or that I<= br> have set that affects this behaviour but I just do not seem to find it.

I am now bisecting my initialisation code to see if it is me setting
something but I do wonder if there is something you have set to tell org to recognise implicitly defined links?

In any case, would it be possible to have org-ref insert proper links,
i.e. [[cite:joe-2014]], maybe as an option? =C2=A0I often use superscripts<= br> for citation references and a space before the superscript looks ugly!
And my problem would be solved... :)

thanks again,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-958-g7c8559= -git

--f46d04428cae85745104f97017e7--