nlbdev / nordic-epub3-dtbook-migrator

Tools for converting between a strict subset of DTBook and EPUB3.
http://nlbdev.github.io/nordic-epub3-dtbook-migrator/
GNU Lesser General Public License v2.1
8 stars 7 forks source link

Allow table footnotes to be present in `<tfoot>` #496

Closed martinpub closed 2 years ago

martinpub commented 2 years ago

Many tables have in-table footnotes, with noterefs in the table data, and the notes themselves placed in a footer at the end of the table.

Current state of the validator is to require regular footnotes always to be placed at the end of a section ([nordic204a] 'footnote' must be placed at the end of a section.).

The guidelines text says:

Footnotes are to be placed in an <aside> at the end of the relevant <section>. If there are more than one note reference in the section, notes must not be grouped in a single <aside>, but separated so that each note is contained in its own <aside>.

but I would say table notes is better off being presented in a <tfoot> at the end of the <table>, don't you think? My suggestion is to allow table footnotes, still as asides as the regular format, in a <tfoot> of the table in which the refs are present. This would need a clarification in the guidelines as well as an update to the validation rules.

Let's discuss this in this issue or at the next meeting.

martinpub commented 2 years ago

Discussed today with @kalaspuffar et al. The benefit for the user of this change is not apparent, it might be that the strongest argument is cosmetic, i.e. easier visual rendering of table footnotes -- in which case that argument is maybe a bit weak.

martinpub commented 2 years ago

No clear motivation behind this. Decision is to abandon this idea. Footnotes to be treated the same as body text footnotes.