01-25-2012, 11:22 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle 2
|
Help generating TOC
Hello forums. This is my first post here.
I just downloaded Calibre tonight. I've had a Kindle since the first one came out and generally just haven't done much but read books. I need help generating a Table of Contents for a book that my brother-in-law is in the process of writing. I can't figure out how to make an XPath expression that will find the proper phrasing and generate a table of contents. He's decided his chapters won't be like "Chapter Two", etc. The denotion of a chapter will be a single word in BOLD CAPITAL letters for the geographic location of that chapter. For instance: DALLAS TAMPA LONDON The only places in his book that will have all bold capital letters will be the chapter headings. Calibre has located his more obvious items such as Prologue and Epilogue, which by the way also happen to be in BOLD CAPTIAL letters. I guess it just looks for those types of words automatically. Can anyone help me figure out how to help my bro in law not only generate a table of contents, but just start a chapter on a new page? Right now the chapters all run together. You can see the BOLD CAPITAL geography and tell that you are in a new chapter, but otherwise you'd never know. The last sentence of the previous chapter is one line above DALLAS. Can Calibre help me find those BOLD CAPITAL letters, insert a page break and generate a TOC or do I need to find some way to do this manually or use a different program or whatnot? Any help is very much appreciated. The source material he's given me is a PDF. Thanks in advance. Carl |
01-26-2012, 03:56 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
PDF is a terrible format for processing into another format. Since your brother-in-law is in the process of writing it, cannot he provide an alternative format that would be better.
As an example, if he is using Microsoft Word and saves the files as either RTF or HTML(filtered) then the headings can simply be found by the fact that they have a heading style associated with them. |
Advert | |
|
01-26-2012, 09:50 AM | #3 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle 2
|
Quote:
If I know him, he isn't using any styles though. He's simply doing the new chapter names in BOLD CAPS rather than using preformated headings, body, etc. He's one of those 2 finger typists... HA! |
|
01-26-2012, 10:42 AM | #4 | |
Well trained by Cats
Posts: 29,800
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:
As others have pointed out: RTF or (Doc saved as) HTML (Filtered) is the way to go and will save a ton of time and effort. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem generating TOC | ronin712 | Calibre | 11 | 09-06-2015 11:53 PM |
New Calibre isn't generating TOC | ccraig13 | Conversion | 2 | 10-07-2011 09:58 AM |
TOC - Kindle - Not Generating | superted | Conversion | 2 | 05-15-2011 07:28 AM |
Generating TOC entries for prelims / end matter in InDesign | forlor | ePub | 7 | 07-07-2010 08:26 AM |
Trouble generating a TOC | foghat | Calibre | 2 | 05-07-2010 06:00 PM |