On Wed, Mar 26, 2025 at 09:45:05PM +0000, Gavin Smith wrote:
> On Wed, Mar 26, 2025 at 10:13:39PM +0100, Patrice Dumas wrote:
> > Hello,
> > 
> > Currently in texi2any there is no expansion of alias, value, macro on
> > @clickstyle line.  I think that it would be better if there was, such
> > that it is possible to use consistently those commands substitution in a
> > document.  It would also be more similar to Texinfo TeX.  Not exactly
> > the same, as unless I missed something, Texinfo TeX can also substitute
> > when expanding @click, which is not what I propose.  It would also be
> > more similar to @table and @itemize, though I do not think that it is
> > important.
> > 
> > Any opposition?
> 
> It is not completely clear from your message what the current behaviour
> is and how texinfo.tex and texi2any differ.

Thinking more about this issue, it is not clear to me why @clickstyle is
used to change the formatting of @click while there are other options,
in particular @alias (or @macro) that are well integrated in the Texinfo
language.

I found this message of Karl announcing the feature.  He said that he
discussed with Ben, but there isn't more information than what is
in the manual:
https://lists.gnu.org/archive/html/bug-texinfo/2008-01/msg00049.html

How about deprecating clickstyle and asking users to replace

 @clickstyle @result
by
 @alias click=result

Before removal, it could be possible to modify texi2any to replace
@clickstyle by @alias, and texinfo.tex could remain as it is now.

Also, I think that this @-command is not used in any manual, a search on
the internet gives nothing else than the Texinfo manual, and it is not
in the contrib/mass_test manuals (which do not include important manuals,
such as lilypond, maxima, octave, gnupg...).

-- 
Pat

Reply via email to