From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Target and link text normalised to `orgtargetn' Date: Sun, 19 Apr 2015 15:49:28 +0200 Message-ID: <20150419134928.GC14328@chitra.no-ip.org> References: <20150414092530.GC2957@chitra.no-ip.org> <20150414120852.GD2957@chitra.no-ip.org> <87zj699ez9.fsf@gmx.us> <20150416001830.GC14328@chitra.no-ip.org> <87egnk9ycz.fsf@gmx.us> <87k2x9cddu.fsf@nicolasgoaziou.fr> <20150419121305.GZ14328@chitra.no-ip.org> <87618smg2i.fsf@nicolasgoaziou.fr> <20150419132425.GA14328@chitra.no-ip.org> <87618sfd8o.fsf@nicolasgoaziou.fr> 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]:60597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjpbN-0000GD-VM for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 09:49:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjpbK-00066z-NL for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 09:49:37 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:34924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjpbK-0005zI-Gh for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 09:49:34 -0400 Received: by widdi4 with SMTP id di4so70185385wid.0 for ; Sun, 19 Apr 2015 06:49:31 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87618sfd8o.fsf@nicolasgoaziou.fr> 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, Rasmus Hi Nicolas, On Sun, Apr 19, 2015 at 03:40:07PM +0200, Nicolas Goaziou wrote: > Suvayu Ali writes: > > > Okay I see it now, in your last email I got a bit confused, but now I > > follow. With your solution I use both label and reference using LaTeX, > > bypassing Org. Of course this leaves me with links not working inside > > Org. I was eventually going to use filters to transform the ref > > commands to the alternate ones from refstyle and varioref to get both > > LaTeX and Org side working as I wanted. Something like this: > > > > <> > > > > [[sec:interesting]] > > > > Then transform \ref{sec:interesting} → \secref{sec:interesting} with a > > filter; that way I would have my cake and eat it too! I see your point > > though. > > You can do that with a non-nil `org-latex-prefer-user-labels'. > Otherwise, <> becomes \label{whatever}, defeating your > filter. Ah, that was my report, that option did not work for me completely. See: http://thread.gmane.org/gmane.emacs.orgmode/96887/focus=96888. To summarise quickly, with the above option set to t all references/links behave as I expect, except the ones where the target is a `bare target'. Does that mean there was indeed a bug? Cheers, -- Suvayu Open source is the future. It sets us free.