[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] @uref and workaround for URL containing commas

From: Gavin Smith
Subject: Re: [help-texinfo] @uref and workaround for URL containing commas
Date: Tue, 31 May 2016 19:50:33 +0100

On 31 May 2016 at 10:58, Federico Bruni <address@hidden> wrote:
> Hi all
> I'm trying to address the problem described here:
> This is the link:
> @uref{,_Jean-Pierre%29,
> this book}
> I found only this discussion in the archives:
> I tried to use the workaround suggested there, in the following way:
> @set urlComma
> @address@hidden, this book}
> but didn't work.

It is not surprising that this didn't work, because that was a
different implementation of makeinfo, which had various differences in
how macros were interpreted.

Clearly, the comma in the @value is being taken as ending the argument
to @uref. I don't know if the way it is being done at the moment is
correct: it depends on when exactly the @value is expanded, before or
after the argument is extracted.

There is the @comma command that looks like a good solution in this
situation, and which avoids any possible ambiguity.

>comma{}_Jean-Pierre%29, this book}

produces the correct output for me.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]