View Single Post
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