> I confess, I only looked at the manual for the 2-arg form of xref and
> didn't make the distinction between online labels and printed labels
> mentioned in the 3-arg form. Maybe the manual should mention the 3-arg
> form for printed labels.
Yes, I see how that could happen. Maybe we should combine the nodes
"Two Arguments" and "Three Arguments" in the manual as people would
normally want to use the three-argument form rather than the two-argument
form.
> However, I tried again with your suggested 3-arg form with the 2nd arg
> missing. This still doesn't work for me.
>
> Oh. It's the macro. When I replace @mxref (3-arg version) with @ref,
> everything works out. The printed manual has the right label and it's
> clickable. In the info version, @ref also works, but @mxref has the
> correct label, but it's not a link that you can click.
I'm not sure I quite understand. You should still be able to use your
@mxref macro, if you change the definition to have an extra comma:
@macro mxref {nodename, text}
@code{@ref{\nodename\,, \text\}}
@end macro