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: Sat, 18 Dec 2021 08:43:23 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/18/21 07:38, Patrice Dumas wrote:
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.

Why? XHTML 1.1 is an obsolete format.  It is not required for EPUB 3.x,
which is a 10-year old specification.

EPUB does requires content document to be XML:
http://idpf.org/epub/30/spec/epub30-contentdocs.html#sec-xhtml

However, my reading of the spec finds no indications that custom data 
attributes are
disallowed.  It notes that data attributes must be stripped before being fed
to a validator - which implies that they are allowed, but the validator does 
not handle them:
http://idpf.org/epub/30/spec/epub30-contentdocs.html#app-xhtml-schema

So my recommendation is: Just leave the data attributes in, even for XHTML/EPUB.

I think my previous poposal is still reasonable:
https://lists.gnu.org/archive/html/bug-texinfo/2021-09/msg00000.html
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

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