When compiling to EPUB 2 in footnotes.xhtml there is only the following tag in head:
<style type="text/css" />
In all other created xhtml files it has:
<link rel="stylesheet" href="css/stylesheet.css" type="text/css" />
Is this a bug or a limitation of EPUB 2? (In EPUB 3 the link tag is there.)
ePub2 uses CSS 2.0, so including a stylesheet is no limitation of ePub2. Likely it’s a Scrivener bug, easily corrected in an e-book-editor.
So I probably need an (automation) step in Sigil to correct it … I’m quite new to EPUB formatting, I’m going to try an EPUB3 → EBUB2 converter plugin in Sigil to address it.
But… Why? CSS2 is from 1997… So latst century.
ePub3 is more than ten years old.
In Sigil, just paste the stylesheet declaration in the xhtml file.
Yes, I know, I’ve been grown up with CSS right from the beginning (more or less ), but I wanted this to be done automatically every time I compile an EPUB. And because the German Tolino platform I target only accepts EPUB 2, I compiled to that format so far.
But I now do the down conversion to EPUB 2 in Sigil and circumvent the Scrivener bug.
And of course I use CSS3 in my Custom CSS but I edit that in Sigil to see the changes right there and therefore have to very often compile new versions and really don’t like pasting any tags manually into any xhtml file.
That’s what I thought!!
But they have immense ebook market share over here …