![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
|
![]()
Hello,
Surprisingly, searching this section for "Document Outline" in titles returned no hit ![]() When converting a PDF into EPUB, Calibre appends an annoying "Document Outline" section. Is there a way to tell it not to? Code:
"C:\Program Files\Calibre2\ebook-convert.exe" "001.pdf" "001.epub" --enable-heuristics --no-default-epub-cover --authors "John Doe" --title "Some great book" ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,005
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's because calibre does not append any such section. Indeed the string 'document outline' is not even present in calibre's source code.
|
![]() |
![]() |
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,438
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
It's something already in some of your PDFs.
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
|
It's not in the PDF as far as displayed in SumatraPDF. It's only visible in the EPUB when I run this command to turn the PDF into EPUB:
Code:
"C:\Program Files\Calibre2\ebook-convert.exe" "003.pdf" "003.epub" --enable-heuristics --no-default-epub-cover --authors "Some author" --title "Some book" -- Edit: Must first remove the bookmarks from the input PDF: Code:
cpdf -remove-bookmarks 003.pdf -o 003.NO.BOOKMARKS.pdf "C:\Program Files\Calibre2\ebook-convert.exe" "003.NO.BOOKMARKS.pdf" "003.epub" --enable-heuristics --no-default-epub-cover --authors "Some author" --title "Some book" … Parsing all content... Generating default TOC from spine... … This EPUB file has no Table of Contents. Creating a default TOC EPUB output written to c:\003.epub Output saved to c:\003.epub Last edited by Shohreh; 01-26-2024 at 11:44 AM. |
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,438
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Loads of things are in PDFs that are not displayed in viewers.
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,005
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre-generated epub (from .docx) gives "e21027" "multiple opf files" on KindleGen | GhostRider | Conversion | 2 | 08-28-2024 10:14 AM |
Want to change "Document" to "Book" on Kindle | Dash | Editor | 2 | 08-23-2023 01:21 AM |
I imported a "kepub.ebub" book into Calibre, but Calibre converted to "epub". Why? | droopy | Calibre | 5 | 12-23-2019 07:33 AM |
Does Calibre server work when computer is in "Sleep"/can it prevent Sleep | Backdraft | Calibre | 1 | 01-14-2011 07:47 PM |
How to prevent recipe read "files" pdf on web rss? | KRorschachZ | Recipes | 12 | 11-10-2010 02:59 PM |