View Single Post
Old 02-14-2025, 09:06 PM   #1
BookieBlue
Junior Member
BookieBlue began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2023
Device: none
Question [Q] Simple table inside a (pop-up) footnote or endnote.

Hello!

As in title: I need to create a simple table (3 columns, 6 rows) inside a footnote, one that looks like this:

Name Value 1 Value 2
Name Value 1 Value 2
Name Value 1 Value 2
Name Value 1 Value 2
Name Value 1 Value 2
Name Value 1 Value 2

I tried what was advised on other threads (related to tables but unrelated to footnotes): building the table on a WYSIWYG editor. I did that and pasted the code inside the <p> Paragraph tags of the Foot/End-note but EpubCheck gives a RSC-005 error ("Element '<table>' not allowed anywhere; expected the element end-tag, text or element [...]).

Some others advised on using SPAN tags and the error moves to the following nesting tag: <tbody>. If I delete tbody the error then moves to the <tr> elements and I guess you can't make tables without those, right?

I even tried making the table outside the note's <p> tags but the error persists (and as it's a new paragraph the table doesn't appear in the pop-up footnote box on both Calibre and desktop Apple Books).

I've been tinkering with the code for about 3 nights now and ran short of ideas and Google searches. I'd stick to what I have but I think this is messing with the Google Books reader app as well (which I use to test epubs as it's very finicky): The table in question is in note #82 but I can't load the notes from numbers ∼65 on, be it clicking the link to jump to the Notes page where they are located in or just flipping through the pages until reaching the relevant section.

How would you tackle this?

Any advice is the most welcomed.
BookieBlue is offline   Reply With Quote