help-texinfo
[Top][All Lists]
Advanced

[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:
> https://sourceforge.net/p/testlilyissues/issues/4848/
>
> This is the link:
> @uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29,
> this book}
>
> I found only this discussion in the archives:
> https://lists.gnu.org/archive/html/help-texinfo/2002-09/msg00019.html
>
> I tried to use the workaround suggested there, in the following way:
>
> @set urlComma
> http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29
> @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.

@uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon@
>comma{}_Jean-Pierre%29, this book}

produces the correct output for me.



reply via email to

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