On 12/30/25 9:50 AM, Gavin Smith wrote:
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:
Well, now I'm not sure what's going on. I made this simple example
(attached). Everything seems to work, except in the info file, the text
says "see foo-text", where foo-text is clickable. The pdf and html files
have the appropriate text and is clickable, but doesn't have "see" in
the output.
Maxima must be doing something weird; I'll have to investigate. I don't
know what's going on. I certainly wasn't expected Maxima to do something
weird.
​
\input texinfo
@macro mxref {nodename, text}
@code{@ref{\nodename\,,\text\}}
@end macro
@node Top
@top Top
@node First
@chapter First
@anchor{foo}
Describe foo here
Here's the link with mxref: @mxref{foo,foo-text}.
Samething but using ref: @ref{foo,foo-text}.
@bye