On Sun, Feb 16, 2025 at 01:00:24PM +0100, pertu...@free.fr wrote: > On Sat, Feb 15, 2025 at 02:26:11PM +0000, Gavin Smith wrote: > > @label could be ok for the command, but it could be confusing as there > > Even without a confusion with LaTeX command, @label is confusing to be > used as a target to cross references, because it is exactly the opposite > of what seems to me to be used in general. To me if there is something > like > > @labet label > @section section > > Then 'section' would be the label of a cross-reference to the label > target. A target is an anchor, where it is placed. Maybe @identifier > could be better than @label?
Since the command is giving the name of an anchor, then @anchorname would be appropriate. It would make clear that it is doing the same thing as @anchor: @anchorname name @section section LaTeX uses the term "label" but as you say, this is confusing and we don't need to do the same.