On Wed, Dec 15, 2021 at 07:06:37PM +0100, Kurt Hornik wrote: > Friends, > > calibre does not guarantee that an EPUB produced by it is valid. The > only guarantee it makes is that if you feed it valid XHTML 1.1 + CSS > 2.1 it will output a valid EPUB. > > and of course makeinfo gives HTML 4.01 Transitional: I also tried the > effect of going through HTML tidy to turn that into XHTML, but that did > not make epubcheck happy.
My wild guess is that outputting valid XHTML directly with texi2any is probably the simplest way to go. This is actually probably a prerequisite for generating epub anyway. I recall somebody else wanting XHTML too. I could have a try, but before I would like to have an XHTML command-line offline validator, is there something like that existing? -- Pat
