Re: "Shadow targets" - an approach to linkable sections without @node
Patrice Dumas <[email protected]>
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 23, 2026 at 05:26:10PM +0100, Gavin Smith wrote:
> That should be ok, as long as we avoid creating shadow targets if there
> is an associated node (my patch to texinfo.tex avoided this). Then
> outputting a warning won't affect many existing manuals.
I have implemented the changes we discussed about.
I am not sure about messages, could you please review?
The message warning when a node is created with the tree transformation
insert_nodes_for_sectioning_commands but there was already one node,
also added, with the same name is:
"\@%s `%s' already added node", current section command, current
section argument (current section line
number)
continuation
"added for \@%s", section with the same name previously added command
(section with the same name previously added line
number)
For "shadow targets", the message is:
"\@%s `%s' already added target", current section command, current
section argument (current section line
number)
continuation
"added for \@%s", section with the same name previously added command
(section with the same name previously added line
number)
--
Pat