02-13-2014, 04:30 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2014
Device: none
|
Conversion to PDF, footers
Hi
I am converting a book from HTML to PDF, though input format does not really matter here. I am using _PAGENUM_ and _AUTHOR_ to add footers to the output pdf. What I would really like to do is have the footers starting from, say, a third or fourth page, so that they do NOT appear as the part of the front matter (the title page, copyright, TOC etc), but DO appear on all the other pages. (it would be even better if I could exclude them from certain pages within the book too, but skipping only the first few would do) I have been trying to get this to work for a couple of days now, with no success, does anyone know a way to do it? Many Thanks PS not attaching an example as it would not help here, will knock one together if anyone thinks it would be of help to them |
02-13-2014, 04:39 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use something like this as your template:
Code:
<div class="page_PAGENUM_">whatever you want</div><style>.page1, page2, page3, .page4 { display:none}</style> |
Advert | |
|
02-13-2014, 04:57 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2014
Device: none
|
you rule
works a charm |
02-13-2014, 06:52 AM | #4 |
Wizard
Posts: 3,117
Karma: 9269999
Join Date: Feb 2011
Location: UK
Device: Sony- T3, PRS650, 350, T1/2/3, Paperwhite, Fire 8.9,Samsung Tab S 10.5
|
I think Kovid should have a halo added to his piccy ...... he surely deserves canonisation for his services to ereadery
(Admittedly, I envy those who can ask such erudite questions as to merit a solution "straight from the horses mouth" - I sometimes can't understand their problems, let alone the obviously correct answers - but I do keep trying ) |
Tags |
footer, pdf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can headers/footers be removed in bulk conversion? | Mamaijee | Conversion | 0 | 04-08-2013 10:36 PM |
Easy PDF ebook conversion. Eliminates header/footers | wtw1936 | Conversion | 0 | 08-09-2011 10:44 PM |
PDF reflow problem with headers & footers | errata | Ectaco jetBook | 11 | 09-03-2010 08:32 PM |