|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2012
Location: Bangalore
Device: none
|
I am using Calibre 0.8.38 in Ubuntu 12.04. I use the command-line tool 'ebook-convert' to convert a EPUB to PDF. But the TOC is not converted to PDF Bookmarks. Can anyone tell me which option i should use for that? |
|
|
|
|
|
#2 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Why would you want to convert ePub to PDF? Why not just read the ePub as is?
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,322
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
I don't believe this is an option.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#4 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,746
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Sigil (beta) 5.902 TOC generator now has an option to generate an 'Inline' TOC page from the normal (NCX) one.
So, try that, place the file (order) as desired, and see if that helps
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2012
Location: Bangalore
Device: none
|
Sorry, i brought a confusion in here.
Actually i just wanted the TOC. I am converting the EPUB->PDF->SWF. To index the swfs into a flashbook i need the TOC. I thought if it converts to a PDF, then i can take TOC from the PDF metadata. But then as you said, the TOC is added in page. So, Is there any other way to extract TOC seperately?? |
|
|
|
|
|
#6 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,746
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
EPUB > Mobi generates a 'inline TOC' from the NCX (Mobi does not use NCX) Converting Back ( Use a New folder/Test Library) should now have a book with the a TOC page that you could copy from the Tweak EPUB file manager)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2012
Location: Bangalore
Device: none
|
Thanks dude.
But is the step possible over Linux command line? |
|
|
|
|
|
#8 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,746
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
All features that I listed work on All platforms in the GUI. But since an EPUB is basically a Zip File and you will throw the unzipped folder away after saving the correct (the one with the TOC) file, that should work also instead of using Tweak EPUB to get at the file with the TOC.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#9 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2012
Location: Bangalore
Device: none
|
Yup,
Am command line only dude. GUI based wont work for me as i am doing a shell script for all this process. I used the command Code:
xvfb-run ebook-convert file.epub file.pdf So any commands you can provide me?? |
|
|
|
|
|
#10 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 23400772
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
There are currently no calibre options that will convert an ePub ToC into PDF bookmarks. None that I know of anyway.
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” |
|
|
|
|
|
#11 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jul 2012
Location: Bangalore
Device: none
|
|
|
|
|
|
|
#12 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 23400772
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
I'm not sure I understand what you're asking. If you're talking about being able to manipulate the physical toc.ncx file from an ePub, then yes. Simply unzip the ePub (it's a zip archive with a different extension) and have a look at the toc.ncx file. But that has nothing to do with calibre or any of its conversion options.
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi-level TOC broken in epub->epub conversion | siebert | Conversion | 14 | 03-09-2011 05:38 PM |
| ePub TOC to mobi TOC | edmnddntes | Conversion | 5 | 01-24-2011 02:56 AM |
| Epub to Epub loses TOC | edbro | Calibre | 6 | 10-12-2010 04:24 PM |
| epub TOC | crutledge | ePub | 2 | 02-14-2010 04:57 PM |
| Extract html from epub | Waltarro | ePub | 3 | 08-27-2009 05:21 AM |