On Sun, Dec 29, 2024 at 11:27:18PM +0000, Gavin Smith wrote: > Could the USE_REL_REV customization variable of texi2any be > removed? It is does not seem very useful to disable use of the > 'rel' attribute and I propose that these attributes be output > unconditionally.
I have no precise idea on that question, and I have no idea if this option is actually set by users or not. > Here's what the manual says: > > ...if the ‘USE_REL_REV’ customization variable is set, the default, > the ‘rel’ attribute is used in navigation to define the relationship > between the current page and the linked resource. For example, the > ‘contents’ ‘rel’ attribute is set for a link to the table of > contents, the ‘next’ ‘rel’ attribute is set for a link to the > next node or section. > > It is set to '0' for TEXI2HTML=1. I do not remember clearly, but when we released the first Perl version, there was the idea that the texi2html mode could be used as a replacement of texi2html. Nowaday, this is not really important. > The name is confusing as well, as it does not touch the 'rev' attribute > of HTML elements, only 'rel'. That's historical, I think there was rev before, but no more, either because it was an incorrect use or because it is deprecated. The name could be changed to include only REL, but I do not think that it matters much, not changing the name seems better to me if we keep the option. -- Pat