12-10-2012, 05:29 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
|
HTML to PDF, printing page numbers
Just started using Calibre and it has been great so far. Sorry if this question has been answered elsewhere, I can't figure it out for the life of me.
I'm compiling a large HTML file then using Calibre via command line to convert it to a PDF. In order to publish it, I need the PDF to include page numbers on each page but they aren't showing. I've looked everywhere but I can't figure out how to get the page numbers to show. Any thoughts? Below I've included the command I'm using to run Calibre. Code:
xvfb-run ebook-convert public_html/pm4id.html public_html/pm4id.pdf --output-profile=default --smarten-punctuation --cover=public_html/Images/cover.jpg --margin-left=72 --margin-right=72 --margin-top=72 --margin-bottom=72 --pretty-print --level1-toc=//h:h1 --level2-toc=//h:h2 |
12-10-2012, 11:32 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre's PDF Output engine currently has no support for generating page numbers.
Last edited by kovidgoyal; 12-10-2012 at 11:43 PM. |
12-11-2012, 01:59 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
|
Dang, well thanks for getting back to me. Calibre is a great program.
|
12-12-2012, 02:33 PM | #4 | ||
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
|
I wanted to write my solution here in case anyone else needs it.
I send my pdf which was created by Calibre through pdflatex to create page numbers. Below I copied my .tex file that is being sent to pdflatex. pdf.pdf is the name of the Calibre generated pdf. Quote:
The command I used is here: Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
larger top page margin when printing to pdf? | whbenson | Sigil | 0 | 05-15-2010 12:38 AM |
DX, PDF, and Page Numbers | tklaus | Amazon Kindle | 1 | 06-28-2009 08:20 PM |
pdf and page numbers | pimpoum | Sony Reader | 2 | 04-21-2009 12:52 PM |