LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-19-2012, 08:53 PM   #1
linux_BSD
Member
 
Registered: Sep 2012
Posts: 47

Rep: Reputation: 4
Is there a way to export pdf files to mobi or epub without weird artifacts/characters


Hi,

Is there an alternative to calibre. Calibre does not seem export certain pdf files that well.

Simple pdf files are fine when exported to mobi/epub, but the more complex pdfs files don't render that well. Sometimes they have weird artifacts and characters. Is this normal when converting pdfs with calibre or are pdf files difficult to render no matter what application does it?


thanks

Last edited by linux_BSD; 10-19-2012 at 08:55 PM.
 
Old 10-19-2012, 10:04 PM   #2
linux_BSD
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: 4
After doing more research. Adobe pdf files have features that are proprietary such as tables in pdf files and mobi/epub doesn't support tables. I read a work-a-round is to export the pdf file to epub and then use an application call sigil, a WYSIWYG ebook editor to make adjustments to the epub file.

Oh well.........

Last edited by linux_BSD; 10-19-2012 at 11:44 PM.
 
Old 10-19-2012, 10:35 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
PDF files are my speciality... Just kidding,... But I do know a bit about them...

One possible way around the problem is to break up the PDFs with a tool like PDFsam, pdfedit, or some others that can be found, exporting problematic things like tables to images, and reassembling the PDF for conversion. It's time consuming and labor intensive for automatic conversion though, unless the real goal is getting the document into reader form for wider distribution, or for self-publishing.

Anything that is in the ISO 32000-1 standard for PDFs has been essentially open sourced (Adobe has granted a public patent license for free use). Of course, there are other features that extend PDFs from there that are not open. Most of what can be found in ISO 32000-1 has been incorporated, to some extent, into open source PDF editors. One suggestion is to make sure you're using the most up to date versions of the editing tools available (so not necessarily repo versions).
 
Old 10-19-2012, 11:17 PM   #4
linux_BSD
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: 4
Thanks for the info JaseP, I will look into those apps you mentioned.
 
Old 10-20-2012, 01:42 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Try using KindleGen or one of the other programs that are similar>
Kindle Publishing Programs - http://www.amazon.com/gp/feature.htm...cId=1000234621
 
Old 10-20-2012, 05:16 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,157

Rep: Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626
Working from the other end, I use Aldiko on Android. Imports/converts technical (reference manuals) pdfs fine. They are page-format just like the pdf rather than a truly flowable epub, but work just fine for me when read on a tablet in portrait.
Might be an option.
 
Old 10-20-2012, 05:48 PM   #7
linux_BSD
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: 4
@ craigevil

Kindlegen produce the same results as calibre. If a pdf has tables or a complex layout it is not formatted as the original pdf and the table of contents i.e chapters are replace by dots, cryptic symbols and incomplete sentences. See below
Quote:
. . . . . .

.

.

.

. . . . . . . .2

43

H

ack 92. Du Command

.................................................. .2

44

H
However, the main content of the ebook which calibre/kindlegen produces is readable. Which is fine.
Quote:
Linux 101 Hacks www.thegeekstuff.com

Chapter 2: Essential Linux

Commands

Hack 7. Grep Command

grep command is used to search files for a specific text. This is

incredibly powerful command with lots of options.
@ syg00

Even though the main content is readable I am always willing to try other means to improve the conversion. How do you do this with Aldiko?

Thanks to all with the suggestions

Last edited by linux_BSD; 10-20-2012 at 06:41 PM.
 
Old 10-20-2012, 07:01 PM   #8
linux_BSD
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: 4
I tried this experiment to see if kindle can open native pdf files and it did. I drop the original unmodified pdf file into the kindle directory and then launch the kindle app. The only drawback is I have to zoom in to read it. But hey, it works!

Last edited by linux_BSD; 10-20-2012 at 07:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Listen to your books (ePUB or PDF) with Okular, KDE's PDF Reader LXer Syndicated Linux News 0 06-22-2012 07:30 AM
[SOLVED] HP F2480 shows artifacts when printing colored .PDF tortenteufel Linux - Hardware 3 03-23-2010 04:11 PM
LXer: Mastering Characters Sets in Linux (Weird Characters, part 2) LXer Syndicated Linux News 0 11-26-2009 12:30 AM
how to export djvu files to pdf files sagsriv Linux - Software 2 08-24-2008 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration