On Sun, Oct 11, 2026 at 10:03:36PM +0200, Patrice Dumas wrote: > Therefore another customization variable could be needed. Another > possibility would be to use a string instead a boolean for > AUTO_SECTION_NODE, with 3 possibilities > * AUTO_SECTION_NODE=add: add nodes in Info and HTML only if not > ambiguous (otherwise add nodes with postpended [+1+] and [+2+]), > and for other formats add targets only if not ambiguous. The default. > * AUTO_SECTION_NODE=warn: always add a target and warn if there are duplicate > * AUTO_SECTION_NODE=silent: always add a target if there are duplicate and do > not warn
This is not good, it is not possible with this scheme to differenciate between HTML/Info (added nodes) and other formats (added targets only). One possibility would be, instead, to add another boolean variable: NO_WARN_DUPLICATE_ADDED_SECTION_TARGET It could probably also be possible to have a string option with 4 possibilities, but I can't come up with good names. -- Pat
