bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi to epub


From: Patrice Dumas
Subject: Re: texi to epub
Date: Fri, 17 Dec 2021 01:43:26 +0100

On Thu, Dec 16, 2021 at 11:21:40PM +0000, Gavin Smith wrote:
> On Thu, Dec 16, 2021 at 11:46:08AM -0800, Per Bothner wrote:
> > 
> > 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.
> > 
> 
> The purpose of this was to support locally installed HTML manuals better.
> The idea was that the contents of the data-manual attribute could be used
> for the name of a manual to be found in a search path.

Indeed, I think that it is a relevant feature.

> Use of data-* attributes was suggested in another thread and is valid HTML5:
> 
> https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
> 
> https://lists.gnu.org/archive/html/bug-texinfo/2020-10/msg00085.html

Even if it is valid, I think that it is a good thing to be able to
produce HTML documents without custom attributes.  That being said, if
it seems obvious that such caution is not a needed feature, it is
possible to revert commit cbce0c098353451c0a35d740ba503ba124621272.

-- 
Pat



reply via email to

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