Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2014, 12:58 PM   #1
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
How to add a header/footer

I apologise in advance, but couldn't find what I am looking for anywhere (including the manual).

I have an Epub/awf3 and I need to add a header/footer. Is there an easy way? The only one I know is to carry out an epub->epub conversion, but I wonder if that is the best way.

Thanks
Arkadian is offline   Reply With Quote
Old 09-24-2014, 01:03 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Header for what? ebooks don't have headers. They are reflowable, so where would you put them?

The ereader engine may use headers derived from the ebook metadata, but that is not part of the book.

A PDF can and maybe should have a header, but that will be generated by the conversion, not placed in dynamically changing locations throughout the ebook.
eschwartz is offline   Reply With Quote
Advert
Old 09-24-2014, 01:05 PM   #3
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
Oh... I thought you could define something so that at the top of the page you would have some set text, even if the page moves dynamically.

I take it you can't and that's why I couldn't find a way to do it (and yes, i was thinking along the same lines of the headers/footers you can add in a pdf)
Arkadian is offline   Reply With Quote
Old 09-24-2014, 01:16 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The headers and footers in a PDF are merely a part of the text, which a conversion will insert right before/after every pagebreak. And PDF is a fixed-position format, so it works there.

Kobo does headers and footers for their store-bought KEPUB format, and it irritates at least as many people as it pleases. Personally, I fall in the "irritated" category -- I want my ereader to just show the book (and location/progress/pagenumbers in a sliver of the bottom).
eschwartz is offline   Reply With Quote
Old 09-24-2014, 01:22 PM   #5
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
OK, forget that then...

What about instead if I want to add a page at the beginning... Do I just go about creating a docx, converting it, exporting it and importing it where I want?
I don't think I could write it from scratch in HTML...
Arkadian is offline   Reply With Quote
Advert
Old 09-24-2014, 01:30 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
All it takes is basic CSS. You can create a blank file, move it to where you need it, and just fill stuff in in the body tag.

You can also liberally copy-paste from the other files.

Most likely all you will be doing is inserting some
<p>paragraph text</p>
sections, maybe with a style you liked from elsewhere in the book.

Alternatively, if your master copy was a DOCX, you can update that and regenerate the EPUB.
eschwartz is offline   Reply With Quote
Old 09-24-2014, 02:23 PM   #7
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
Actually you are quite right. It was way easier than I envisaged.

Thanks for the support
Arkadian is offline   Reply With Quote
Old 09-24-2014, 02:28 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,884
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The file <head> block contains:
<title>stuff</title>

may get used by Some (I guess very few ) ) devices for the top line/window frame title.

I would not count on it
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header and Footer in EPUB Raja1205 ePub 7 08-29-2012 02:36 AM
Header Footer- New Updates lmccurry78 Conversion 6 02-01-2011 03:33 PM
Add Header/Footer hrwriter Calibre 3 12-08-2010 05:11 AM
Removing header and footer radicalnomad Calibre 2 08-26-2010 10:34 AM
Header/Footer removal Solicitous Calibre 2 03-30-2010 05:53 AM


All times are GMT -4. The time now is 05:47 AM.


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