10-08-2009, 04:13 PM | #1 |
Captain Courageous
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
|
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 |
10-08-2009, 08:01 PM | #2 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Use the --single-line-paras option.
|
Advert | |
|
10-08-2009, 10:23 PM | #3 |
Captain Courageous
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
|
Commandline responds "No such Option"
|
10-09-2009, 04:54 AM | #4 |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
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 |
10-09-2009, 07:45 AM | #5 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
Advert | |
|
10-09-2009, 12:02 PM | #6 |
Captain Courageous
Posts: 239
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.
|
10-09-2009, 12:15 PM | #7 |
Wizard
Posts: 4,553
Karma: 950151
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.
|
10-09-2009, 07:23 PM | #8 |
Captain Courageous
Posts: 239
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.
|
|
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 |