On Sat, Dec 18, 2021 at 03:34:42PM +0000, Gavin Smith wrote: > On Thu, Dec 16, 2021 at 07:08:33PM +0100, Patrice Dumas wrote: > > I remember not being in favor of an attribute that is not defined in > > HTML, even if it is acceptable in HTML5. But if it has been added, I am > > pretty sure that it is usefull for somebody (maybe Per javascript?). I > > propose to add a customization variable like 'NO_CUSTOM_ATTRIBUTE' to > > set to 1 to avoid data-manual and use it too for future custom > > attributes. > > I don't mind if a customization variable is added for this but I'd > suggest it could be done automatically if texi2any is run as texi2any > --epub. (I haven't researched what else would be needed to support > epub directly so this could be a long time in the future.) Otherwise > custom attributes are fine.
The idea is that it would be set if doing XHTML 1.1, be it for epub or as an output, as it is a prerequisite for epub if I understood right. For now, my plan is to do XHTML1.1 as a separate init file. -- Pat
