View Single Post
Old 02-23-2022, 02:57 AM   #11
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 671
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by spelunker View Post
In a real book, pages like dedication and copyright and others may not have big honking h1 titles. But your app uses h1s to make the toc and maybe toc.ncx (I don't know how you do that). So we have to add them into our epub whether we want them or not.

All you have to do is change the thing that creates the toc from <h> tags in the actual text of the book to the <title> in the head section of the page. The reader never has to see that except for when it shows up in the toc and toc.ncx.
You can style the <h1>'s like almost any other tag via css. So if you want some of your headers to be smaller, you just make <h1 class="smaller_h1"> (or something), and a corresponding style in your stylesheet. And Sigil willl of course still take those headers in consideration as <h1> when making the toc.

Regards,

Kim
elibrarian is offline   Reply With Quote