bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texi to epub


From: Per Bothner
Subject: Re: texi to epub
Date: Thu, 16 Dec 2021 11:46:08 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0



On 12/16/21 10:08, Patrice Dumas wrote:
On Thu, Dec 16, 2021 at 06:33:32PM +0100, Kurt Hornik wrote:

There are two major sources of warnings in my case (using texinfo 6.8):

* The data-manual attribute in the hyperlinks

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 know nothing about it - appears to have been added by Gavin:

2020-11-25  Gavin Smith  <gavinsmith0123@gmail.com>

        data-manual attribute

        * tp/Texinfo/Convert/HTML.pm (_convert_xref_commands):
        Set data-manual attribute instead of class="texi-manual"
        on links to other Texinfo manuals.

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.

Why bother? What problem does it solve?  It avoids some warnings from
an overly-picky validator. I don't see that as a strong reason to change 
anything.

* Tables which do their header and footer inside thead and tfoot, but
   not the content inside tbody (which seems valid in XHTML 1.0 but not
   in 1.1).

I think that it would make sens to always use tbody.

Again, it's just a warning - but if it's easy to fix, we might as well.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]