Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2009, 04:13 PM   #1
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 235
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Exclamation Converting from txt to epub using defaults

Hi!
I am trying to convert a book in txt format to epub using the command line ebook-convert. Each paragraph is seperate by a cr/lf(I guess) and the first sentence is indented by a tab. When converted, it seems the tabs and lf/cr are stripped away, leaving just one book-length paragraph. I would like there to be paragraphs(of course),either separated by one blank line or an indent of only 3 spaces.
TIA
Paul
p3aul is offline   Reply With Quote
Old 10-08-2009, 08:01 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Use the --single-line-paras option.
user_none is offline   Reply With Quote
Old 10-08-2009, 10:23 PM   #3
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 235
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Commandline responds "No such Option"
p3aul is offline   Reply With Quote
Old 10-09-2009, 04:54 AM   #4
gwynevans
Wizard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,343
Karma: 1065246
Join Date: Nov 2007
Location: UK
Device: Sony 505 (retired), iPad2, iPhone 3GS & Nexus 7 3G
What version are you running (try "ebook-convert --version")?
Can you post the command-line you're trying?
Check for typo's - cut & paste from
http://calibre.kovidgoyal.net/user_m...to-epub-output
gwynevans is offline   Reply With Quote
Old 10-09-2009, 07:45 AM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by p3aul View Post
Commandline responds "No such Option"

Update to the latest version.
user_none is offline   Reply With Quote
Old 10-09-2009, 12:02 PM   #6
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 235
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Never mind. I rolled back to the an older version. .5.12 this is the latest version that works without errors. Newer is not necessarily better.
p3aul is offline   Reply With Quote
Old 10-09-2009, 12:15 PM   #7
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,031
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That may be true. However there was improved TXT processing added in the latest versions in the 0.6.x series, so if you were not using a very recent version you were definitely not going to get optimum results.
itimpi is offline   Reply With Quote
Old 10-09-2009, 07:23 PM   #8
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 235
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
I was using .6x That was the problem. new version new mistakes. fix the misstakes in a newer version, also making newer mistakes..ad nausem. No thanks, .5.12 works ,I haven't run into anything it can't handle. Incidentally, I reinstalled it and it converted the book just fine. many thanks to the person who had the foresight to archive all the old versions and the generosity to make them available.
p3aul is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question regarding converting txt files Davimee Astak EZReader 10 10-08-2010 11:38 AM
Converting to TXT rxmom03 Calibre 5 09-14-2010 08:43 PM
Problem converting txt to mobi toby39 Calibre 10 09-05-2010 02:16 PM
Converting txt mo72 Calibre 5 06-18-2010 04:20 PM
Help! I don't understand syntax etc and having problems converting from txt. BookCat LRF 3 05-12-2009 09:40 AM


All times are GMT -4. The time now is 06:34 PM.


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