On Wed, Feb 12, 2025 at 10:12:15PM +0100, pertu...@free.fr wrote:
> > If that is not enough, we could add a Texinfo command to be used thus:
> > 
> > @anchorlabel Bögen
> > @anchor{Bows}
> > 
> > This would work exactly the same way, except no heading would be printed.

(I will try to read through and understand all the mail in this discussion
but it may take me some time to understand all the points that have been
raised.)

> I do not like the automatic association of an inline command like
> @anchor, that may happen anywhere, to another command.

An @anchor occuring anywhere is an issue.  It could make more sense to
give the label with a brace command, that could occur anywhere:

@anchorlabel{Bögen}@anchor{Bows}

The argument to @anchorlabel would give the label for anchors to be used
up until the next @node (or possibly until the next section or
heading command).

Or one command could be used for both:

@anchorlabel{Bows, Bögen}

It could help with cross-references into commands like @table (for the
likes of glossaries) that also produce headings of a sort, just not with
sectioning or heading tables.

The only real advantage I can think of for having it as a separate command
is that it would cover multiple anchors:

@anchorlabel{Bögen}@anchor{Bows}@anchor{Ties}

Then both @xref{Bows} and @xref{Ties} would produce "See Bögen".

Reply via email to