From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Tindall Subject: Re: pxref in texinfo export Date: Mon, 25 Feb 2013 13:48:40 -0800 Message-ID: References: <87hal0dqgn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA5uf-0001qo-1P for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 16:48:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA5uc-0007DE-Dp for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 16:48:44 -0500 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:58886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA5uc-0007Cw-6O for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 16:48:42 -0500 Received: by mail-la0-f53.google.com with SMTP id fr10so3134048lab.26 for ; Mon, 25 Feb 2013 13:48:40 -0800 (PST) In-Reply-To: <87hal0dqgn.fsf@gmail.com> 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: Nicolas Goaziou Cc: Org-mode , Jonathan Leech-Pepin I don't think there is a specific context that can clearly separate them. The differences are largely semantic, not syntactic. What is needed is some sort of marker on the tag in the original file telling it what kind of link is to be used. On Mon, Feb 25, 2013 at 1:38 PM, Nicolas Goaziou wrote: > Hello, > > Jonathan Leech-Pepin writes: > >> I had to compare these possible outcomes when working on the texinfo >> exporter. Since links are parsed before being included in their >> paragraphs, I did not have a way to obtain context and therefore >> attempt to guess (and be successful) at which type of reference was >> intended by a link in Org. > > What kind of context would you need to know? The string that will be > exported just before the current ref link? > > > Regards, > > -- > Nicolas Goaziou -- Subhan Michael Tindall | Software Developer | smt@rentrakmail.com RENTRAK | www.rentrak.com | NASDAQ: RENT