Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-08-2014, 03:07 PM
|
#1
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
|
Converting PDFS to ebooks (preferably epub or mobi)
Is there a trick to converting PDFs to an ebook format and still have it legible?
My tools: Calibre, a Kindle (e-ink, bog standard one), Slackware. Heuristic processing in Calibre makes it a tad better, but there are usually fluctuations.
Any tips or advice? Upgrading the kindle to some other tablet isn't really feasible so long as the Kindle works.
|
|
|
07-09-2014, 04:23 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,603
|
I have a lazy way out of that - non kosher, I am sure.
Open in Acrobat Reader. Copy & paste into LibreOffice (with epub extension). Hack to your heart's content. Export as something and read into calibre or write as an epub.
|
|
|
07-09-2014, 07:40 AM
|
#3
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
Original Poster
|
You know, that might actually work...Or use Scrivener for it.
|
|
|
07-09-2014, 09:38 AM
|
#4
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
There's pandoc, but it depends on a ton of Haskell.
http://slackbuilds.org/repository/14.1/office/pandoc/
Edit:
No, don't think it can convert from pdf to epub. Must learn to read things properly before giving advice. 
Last edited by brianL; 07-09-2014 at 09:44 AM.
|
|
|
07-10-2014, 04:01 AM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,603
|
The problem is, everything can write pdf, because Adobe released the code. Very little can read them into an editor, because the standard is so obfuscated that it's next to impossible to do. Adobe decided internally how this was to work, and (guessing  gave the standard to their lawyers who probably wrote the standard you can read.
|
|
|
07-10-2014, 11:48 AM
|
#6
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
Original Poster
|
Hrm...seems like my options are buy a better tablet/reader once the Kindle dies or learn to like weird artifacts and letter combinations. 
|
|
|
07-11-2014, 03:36 AM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,603
|
FWIW, there are android and apple tablets here. Both handle epub and pdf, but handle epub better than pdf (text resizing, page movement, more inventive links).
Personally, I find the Apple a bit Nazi. It PRESUMES you are buying all your e-books and buying all music from itunes and suchlike.If you don't like iBooks, that's tough; they make it difficult for anyone to offer options; TTS is also a disaster if you don't like their voices. Downloading and saving a file seems to be impossible.
|
|
|
07-11-2014, 10:13 AM
|
#8
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Note that Libreoffice has an extension called writer2epub. If you don't have it you can get it via Libreoffice's extension manager located in the Tools menu.
jdk
|
|
|
07-11-2014, 11:46 PM
|
#9
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
Original Poster
|
Seeing as though I'm Linux-only these days, Apple's not an option. NOt overly enthused with android, either.
|
|
|
07-12-2014, 02:43 AM
|
#10
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,603
|
Me neither. but it's a neat package for a tablet.
|
|
|
07-13-2014, 04:33 PM
|
#11
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,256
|
Honestly, the best source to work from is a word-processor document . . . if you can possibly manage that, do that.
The main problem is that PDF is, at its core and by design, a page layout/formatting language, designed to tell a printer what to do. An electronic book-reader is an entirely different beast, and its book-file formats are basically HTML-driven. So, there is a gigantic "impedance mismatch" between the two. Any attempt at "conversion," then, is likely to produce very unsatisfactory results.
Last edited by sundialsvcs; 07-13-2014 at 04:34 PM.
|
|
|
10-09-2014, 10:48 PM
|
#12
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
Original Poster
|
If anyone's reading I figured something out that seems to work well.
In Calibre, there are options to specify output format for a specific device. Instead of "generic eInk device," I chose my model of Kindle. Also, heuristic processing cleans up things a bunch.
|
|
|
10-10-2014, 03:23 AM
|
#13
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,603
|
I am reading. We only have to decide if I fit your definition of somebody  .
Allow me to correct myself. Apple IOS 8.0.2 doesn't seem to like pdf any more. iBooks had some on my wife's tablet; they are gone after the update.
Calibre is good. I recently tried it with a massive index file for pdf --> epub conversion and it did get most of the way through before barfing.The PDF spec is wilfully legalistic and obscure. I honestly expected a middle finger in the early stages.
|
|
1 members found this post helpful.
|
10-10-2014, 11:19 PM
|
#14
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,942
Original Poster
|
Yeah, Calibre's nice for organization and the like, but for conversion, it can be touchy. For instance, if I try to convert something from PDF to MOBI, it'll throw an error. But if I go from PDF to epub to mobi, it'll convert just fine.
I haven't heard about PDF going away in iOS 8.0. My fiance and his dad are both iOS users, so I would've heard the cussing, if it was an issue. 
|
|
|
10-11-2014, 01:07 AM
|
#15
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Quote:
Originally Posted by garpu
Yeah, Calibre's nice for organization and the like, but for conversion, it can be touchy. For instance, if I try to convert something from PDF to MOBI, it'll throw an error. But if I go from PDF to epub to mobi, it'll convert just fine.
|
I don't have that experience at all. I'm using a Kindle now (to replace my worn-out Cybook3) When I use Calibre to convert pdf files to the Kindle format (mobi) I get no errors. I'm using Calibre 2.5. I don't use the Mobi Output option but when Calibre converts the pdf to a Kindle format epub it comes out as a mobi file.
jdk
|
|
|
All times are GMT -5. The time now is 12:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|