bug-texinfo
[Top][All Lists]
Advanced

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

Re: EPUB 3.3 spec conformity issues


From: Patrice Dumas
Subject: Re: EPUB 3.3 spec conformity issues
Date: Sun, 8 Sep 2024 18:46:39 +0200

Hello,

I have added the EPUB_STRICT customization variable, it does 2 things
1) sets dcterms:modified
2) set an internal customization variable such that td width is not
   set with an attribute but with inline CSS

Should I document it?


I set testing of tp/t/*.t Texinfo code, in tp:
./maintain/check_epubcheck_texi_t.sh

Even though when generating EPUB, NO_TOP_NODE_OUTPUT is set, it is unset
in check_epubcheck_texi_t.sh because it leads to many false positives.
Because of that I could have missed some true errors.  If anybody feels
like removing the option and checking all the errors, that would be nice,
but I do not feel motivated to do it.

I have fixed some bugs, and main epubcheck errors and warnings.  To me
the current state is good.

There were few warnings to begin with, the warnings that remain (there
is also one because of an empty @section that we need not care about)
are about spaces in file names, to me this is up to the user to avoid
spaces in filenames.

Here are the main errors that remain:
* false positives (for instance when we have incorrect HTML generated
  for the test, wrong @U, missing image files...)

* errors we can not do much about
  - reference to a manual without htmlxref.cnf entry
  - missing nav for document without sectioning commands
  - <a> in <a> for nested @-commands formatted with <a>

* errors for unusual/wrong Texinfo constructs
  - multiple @printindex for a given index
  - multiple @insertcopying with anchors/footnotes
  - empty sections

* some errors that I think should be handled by the user who cares
  - <dl> formatting error for @table and similar when there is content
    before the first @item or missing content for <dd>
  - Form feeds remaining in output:
    Character reference "&#12" is an invalid XML character

Tell me if something else should be done.

-- 
Pat



reply via email to

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