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 <n.goaz...@gmail.com> wrote: > Hello, > > Jonathan Leech-Pepin <jonathan.leechpe...@gmail.com> 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 | s...@rentrakmail.com RENTRAK | www.rentrak.com | NASDAQ: RENT