On Thu, Jan 30, 2025 at 10:42:54AM +0000, Werner LEMBERG wrote:
> Thanks for the quick fix!
>
> However, it seems that your recent code shifting introduced a bug.
> Processing a test file `url.texi` containing
>
> ```
> \input texinfo
>
> @uref{http://foo.org/,Foo}
>
> @bye
> ```
>
> with `PDFTEX=xetex texi2pdf url.texi` yields
>
> ```
> ./url.texi:3: Undefined control sequence.
> @endlink ->@setcolor {@maincolor }@pdfendlink
Apologies, this was due to \endlink actually being defined *twice*
for XeTeX and the second definition was the one that was actually
used. I've committed a fix (version 2025-01-30.16).