05-02-2013, 04:35 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2013
Device: Kindle and CreateSpace Publishing
|
Adding page numbers to Table of Contents in PDF output
I am trying to use Calibre to convert a Kindle eBook I have published to a print book.
I cannot get Calibre to add page numbers to the table of contents - either the one already stored in the ePub format, or the one Calibre generates. What am I missing? |
05-02-2013, 07:09 PM | #2 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(x)HTML, the core of EPUB uses anchors . Yes you could make the Anchor id="P234" (the old Print number. and The Link is the TOC title entry (no visible page number section eg Map You simply click on 'Map' Code:
<h2 id="toc">CONTENTS</h2> <p class="contentsHead"><a href="../Text/Map.html#P234">Map</a></p> |
|
Advert | |
|
05-02-2013, 08:10 PM | #3 | |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you go back to that format (e.g. MS Word .doc(x), OOo Writer .odt, Quark .qxd/p etc) you can paginate and layout as you want it to appear on paper, as well as create TOC's etc, then export in a form suitable for the book printer. The book printers I've used have always wanted postscript or PDF. If all you have is the MOBI/AZW then: If its a simple text (as in a novel), then maybe the simplest thing would be convert to RTF and then use a Word Processor. However, if its complex, i.e. lots of pictures, tables, graphics etc, then you could possibly use a PDF Editor like Acrobat or Nitro to do the pagination and TOC creation etc. BR Last edited by BetterRed; 05-02-2013 at 11:26 PM. |
|
05-02-2013, 11:50 PM | #4 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2013
Device: Kindle and CreateSpace Publishing
|
I create the .HTM files myself - extracting them from a Wiki, and zipping them into an EPUB. There are no page numbers in the EPUB. But when I convert to PDF using calibre, it cleverly adds pages and page numbers in the Footer, (snce I use _PAGENUM_).
Calaber also creates a table of contents from my <h1> and <h2> paragraphs. So my question, (since Calibre generates the pages and page numbers itself), is can Calibre also put page numbers into the Table of Context? Last edited by Albert Hart; 05-02-2013 at 11:53 PM. |
05-03-2013, 12:08 AM | #5 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does not create a table of contents inside the document it creates a metadata table of contents, in PDF lingo what is called an Outline, that outline automatically has page numbers, but whether they are displayed or not, depends on the PDF viewer.
Last edited by kovidgoyal; 05-03-2013 at 12:20 AM. |
Advert | |
|
05-03-2013, 01:18 AM | #6 | |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2013
Device: Kindle and CreateSpace Publishing
|
Quote:
If you have a minute, create a PDF from the Quick Start Guide, included with Calibre, force ti to create a Table of contents, and see if you can find a reader which can show the page numbers. I am trying to solve the problem of how to convert my Kindle book (which I created in EPUB) to a format which will work well for a printed copy using Amazon's company - CreateSpace. Everything is working great - except the table of contents. |
|
05-03-2013, 01:29 AM | #7 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Outlines are not displayed when printing. If you want a printable table of contents, you have to create it by hand, and merge it into the PDF produced by calibre. I suppose I could add a feature to the PDF output to generate a printable ToC, but, that's a fair but of work and if I do that, then people will want ways to customize the appearance of the ToC and I dont want to open that can of worms.
|
05-03-2013, 05:58 PM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2013
Device: Kindle and CreateSpace Publishing
|
Page numbers wowuld have been handy - especially for a Reference Manual like this.
I would up adding Chapter number and section number to each section, and putting in in the section names in the footer. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
adding table of contents to html files | jfs999 | Conversion | 2 | 09-30-2011 02:25 PM |
Adding Table of Contents | denmarks | Conversion | 4 | 08-14-2011 10:54 PM |
903 missing page numbers in table of contents (EPUB) | ANico | PocketBook | 4 | 05-19-2011 08:12 AM |
Adding a Table of Contents for PRS-650 | daviestown | Recipes | 6 | 12-31-2010 10:39 PM |
Adding Table of Contents to ePub problems... | cates | Calibre | 2 | 10-10-2010 04:18 PM |