Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-10-2016, 11:57 AM   #1
jayr
Junior Member
jayr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2016
Device: none
Question PDF to TXT, Windows vs Ubuntu?

Hello,

I'm trying to convert a library of PDFs to TXT and having kind of an.. odd(?) issue. When converting using the command line on Windows it comes out absolutely beautiful, exactly what I'm looking for. When converting in Ubuntu command line, it's ... not great.

Ubuntu: "ebook-convert file1.PDF file1.TXT", it runs all together and is difficult to read.

Windows: using the same command, "ebook-convert.exe file1.PDF file1.TXT", it comes out beautifully!


Is there a difference in engines or possibly default settings? I have checked that both boxes are running the same version, 2.56.0 (ebook-convert --version).
jayr is offline   Reply With Quote
Old 05-10-2016, 12:10 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Are you using a distro-installed version of calibre on Ubuntu?

Because I am betting that is the problem.
eschwartz is offline   Reply With Quote
Advert
Old 05-10-2016, 12:28 PM   #3
jayr
Junior Member
jayr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2016
Device: none
Quote:
Originally Posted by eschwartz View Post
Are you using a distro-installed version of calibre on Ubuntu?

Because I am betting that is the problem.
I've used the instructions from https://calibre-ebook.com/download_linux to install. Both my windows box and ubuntu have v2.56.0 installed.

Is that correct?

Last edited by jayr; 05-10-2016 at 12:51 PM.
jayr is offline   Reply With Quote
Old 05-10-2016, 12:55 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jayr View Post
I've used the instructions from https://calibre-ebook.com/download_linux to install. Both my windows box and ubuntu have v2.56.0 installed.

Is that correct?
Yes

Do read the sticky about PDF at the top of this section.
theducks is offline   Reply With Quote
Old 05-10-2016, 02:41 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, that is odd, because when using the command-line the default settings from the GUI aren't considered.

And the code should be the same on both platforms (with the exception of certain distros that modify the calibre sources before compiling and redistributing).

But if you installed the binary build like you said, then that shouldn't be a problem.
So apparently the official Windows build and the official Linux build are producing different results on the same input. Which shouldn't happen.
eschwartz is offline   Reply With Quote
Advert
Old 05-10-2016, 09:02 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
headless ebook-convert running on Ubuntu for Windows wooverine Devices 2 05-02-2016 10:25 PM
Ubuntu userland running on Windows 10 kacir News 22 04-10-2016 08:45 AM
Ubuntu Headless, Windows 8.1 and database malformation (Cygwin?) Kouwezakkie Devices 2 03-01-2015 01:56 PM
news works in windows but not in ubuntu butitsmyname Calibre 1 12-09-2010 01:29 PM
Seriously thoughtful Should I switch to Ubuntu, or stay with Windows XP? frabjous Lounge 197 06-15-2009 05:21 AM


All times are GMT -4. The time now is 08:41 AM.


MobileRead.com is a privately owned, operated and funded community.