Quote:
Originally Posted by odamizu
Am I the only one where the templates only work with EPUB2 and don't work with EPUB3?
|
Windows 10 (21H2)
Sigil 1.9.20
I have Sigil set in my preferences to default to EPUB3. I opened the Sigil Preferences directory through the button in the preferences dialog, then closed Sigil. I then created a "user-template3.css" and "user-template3.xhtml" into that same directory, using Notepad++. The CSS has a couple of basic entries, and the XHTML file has a basic framework with a couple paragraphs of "Lorem ipsum" content.
When I start Sigil, the user-template3.xhtml is automatically loaded and shown as the "OEBPS/Text/Section0001.xhtml" file in the Book Browser. When I right-click the Styles directory and select Add Blank Stylesheet, the user-template3.css is loaded as the "OEBPS/Styles/Style0001.css" file.
[Edit] I just tried the same process for EPUB2 (user-template2.*) with a couple changes so I could easily tell if they were the correct files, and when I had Sigil switch to a new EPUB2 document, the xhtml file was loaded as expected as was the CSS file for a new stylesheet. [/Edit]