Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-09-2024, 05:00 PM   #1
nikclucas
Junior Member
nikclucas began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Calibre
Add header to only chapter pages and not every page of the book

Looking at https://manual.calibre-ebook.com/con...rs-and-footers it seems to imply that headers or footers will be applied to every single page. But there are definitely pages -- e.g. such as the first chapter page where it's very redundant. Is it possilbe to selectively apply headers or footer templates to only particular section types? Perhaps using the javascript angle (I haven't been able to find a lot of info about how much control the javascript portion gives you).
nikclucas is offline   Reply With Quote
Old 09-09-2024, 09:38 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,377
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's full javascript so you can do pretty much anything, the only limitation is whatever html your output will be rendered only in the header footer areas and you have access only to the variables defined in the docs with regard to metadata about the document.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
custom, footers, headers, javascript, templates

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make page 1 the last page number for pages left in a chapter #7549 JSWolf KOReader 8 05-29-2021 03:30 AM
Forma Turn one page, Pages in chapter increases 1, Pages in book increases 2 codychan Kobo Reader 15 03-14-2021 08:51 PM
PDF to ePUB how to remove chapter header from pages when viewing ePUB in Flow mode codeowl Conversion 1 02-08-2020 12:49 AM
How to add a page break before each chapter barryem Editor 13 10-03-2016 10:11 PM
Is there a way to show chapter name as header on every page? Dragan Tanevski ePub 10 10-28-2015 03:27 PM


All times are GMT -4. The time now is 01:42 PM.


MobileRead.com is a privately owned, operated and funded community.