View Single Post
Old 09-06-2022, 12:47 PM   #14
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,839
Karma: 8006346
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by KevinH View Post
... So long as you used the correct file names it should work.

For epub2:

user-template2.xhtml
user-template2.css

and for epub3:

user-template3.xhtml
user-template3.css
Ha! I knew I was doing something stupid.

From the ChangeLog ("add ability for a user-template*.xhtml and user-template*.css") I thought the * was a true wildcard and you could append anything to "user-template". I didn't realize you had to use 2 and 3 specifically and exclusively, and 2 and 3 referred to epub2 and epub3. So I was testing with user-template2.css and user-template2.xhtml, so of course it only worked with epub2.

Now that I've changed it to user-template3.css/xhtml, it works

I'll do a pull request to add this to the User Guide in the next few days.

As always, thank you @KevinH and @DiapDealer for the new release. Sigil is awesome
odamizu is offline   Reply With Quote