Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2015, 09:05 AM   #1
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
Html snippets for pdf page numbers

Hey, im not so good with html code, and would like to use something similar to whats suggested at http://manual.calibre-ebook.com/conv...rs-and-footers with the snippet

Code:
<p id="pagenum" style="text-align:center;"></p><script>document.getElementById("pagenum").innerHTML = "" + (_PAGENUM_ + 3)</script>
that tell page 1 to have 4 printed instead, and soforth, but if the + is made - it starts to resemble what i wanto do:

Id like to know some html snippets to use for the Calibre book conversion, PDF Output > 'Page Headers and Footers' to customise how page numbers appear with two preferences being to

- have header/footer numbers only print after a certain number of innitial pages, like nothing till pg 10 if thats the intro page, and

- instead of blank header/footer for the first 10 pages, to have them using roman numerals instead

cheers

Last edited by ni_c; 08-10-2015 at 10:21 AM.
ni_c is offline   Reply With Quote
Reply

Tags
html, page number, snippet


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub code snippets (html / css) zelda_pinwheel ePub 196 10-09-2016 04:21 AM
Kindle (AZW3/MOBI) ebooks with "real page numbers" to PDF with same page numbers? abvgd Conversion 2 05-24-2013 01:24 PM
HTML to PDF, printing page numbers jbuckh Calibre 3 12-12-2012 02:33 PM
Removing TOC page numbers in MobiPocket Creator HTML Editor pstjmack Kindle Formats 0 10-29-2012 09:19 AM
page numbers in pdf jacktanner Calibre 2 10-08-2011 08:11 PM


All times are GMT -4. The time now is 11:49 AM.


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