![]() |
#1 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Apr 2009
Device: none
|
bookmarks in PDF input, and TOC in output
Hi all,
I'm sure someone have had this problem before but I can't find a post on it, and I just don't understand how calibre works... THe problem: I have a kindle DX, and I want to convert my OCR'ed & Bookmarked PDF files into PRC/MOBI files to read on my kindle. Moreover, I'd like the bookmarks in my PDF to show as a TOC in my PRC/MOBI, just as they used to do on my PRS505 when I converted them into LRF... Can anyone help? Thanks guys |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
There is no support for pdf bookmarks to be analyzed during conversion, and I haven't heard of anyone planning to do so. Many common types of Chapter Headers are automatically detected during pdf conversion. What do your chapter headers look like?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Apr 2009
Device: none
|
(thanks for replying)
hmm..I see.. I'm not sure what you're asking...I guess they are in "bold". But if you're asking the html tag I just don't have a clue...How can I know? |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Hmm.. I'm asking what the actual text headings are. But if they're in bold you can probably write an xpath for it. I had a similar book, and I used this xpath (under the structure detection preferences):
Code:
//*[((name()='b' or name()='h2') and re:test(., '\w{2,}', 'i')) or @class = 'chapter'] Alternatively you can post your book over on the bug tracker - bugs.calibre-ebook.com. I've been working on some new Chapter markup/splitting routines for pdf conversion, I can use your book as a test case, since it doesn't seem to work with the current functionality. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page breaks - PDF input to ePub output | JoTH | Calibre | 9 | 11-18-2010 04:35 PM |
TOC location of Calibre recipe ebook output | tylau0 | Calibre | 8 | 11-06-2010 09:48 AM |
Input/Output error | tulsa | Calibre | 9 | 04-11-2010 10:51 AM |
Fb2 Input (Do not insert a ToC at the beginning) | Garfunkel | Calibre | 0 | 10-08-2009 01:49 PM |
Using bookmarks for input/feedback | mcortez | Sony Reader Dev Corner | 5 | 02-05-2008 01:59 AM |