On Thu, Jul 23, 2026 at 03:08:58PM +0100, Gavin Smith wrote: > It could make sense for texi2any to print a warning or error if an > document tries to reference a shadow target that is ambiguous.
If it is a warning, it is ok for me. > > Also it would prevent having two > > sectioning commands with the same name, which could be ok in a manual > > without nodes at all. > > It's fine for two sectioning commands to have the same name, as long as the > manual doesn't try to reference them with @xref or similar. Does it mean that you propose no warning unless there is an @xref? I think that there should always be a warning, be it only because external manuals can do a cross-ref. -- Pat
