03-18-2011, 05:52 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Aug 2010
Device: iriver Story
|
TXT to EPUB conversion issue
Hi guys, I have a weird issue with TXT > EPUB conversion: all TXT files I have are marked up with markdown, but the paragraph structure doesn't carry across into EPUB. For instance, if I have
Code:
# Chapter Lorem ipsum. Dolor sit. * * * Amet Code:
<h1 class="calibre4">Chapter</h1> <p class="calibre3">Lorem ipsum.</p> <p class="calibre3">Dolor sit.</p> <hr class="calibre6"/> <p class="calibre3">Amet</p> Code:
<h1 class="calibre4">Chapter</h1> <p class="calibre3">Lorem ipsum. Dolor sit. <hr class="calibre6"/> Amet</p> I've tried setting the line endings to off, print, auto, all the values; none of this helps. The strange thing is that with "off" and "markdown" on a different computer, the conversion works just fine. The TXT lines are ended with CR/LF, UTF-8 (no BOM) encoded, and I'm using calibre 0.7.49. Any help is appreciated |
03-18-2011, 06:33 AM | #2 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Worked correctly here.
Txt Input-> Paragraph style = off (options are : auto|block|single|print|unformatted|off) formatting style = markdown (options are : auto|plain|heuristic|textile|markdown) Uncheck Remove indents at the beginning of lines (with this checked, I get the 'incorrect' conversion of joined lines.) |
03-18-2011, 10:50 AM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Aug 2010
Device: iriver Story
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help! txt to epub conversion markup: linked notes | Sylver | Conversion | 17 | 02-25-2011 02:23 PM |
Opus Txt files issue with epub firmware | davidli | Bookeen | 1 | 11-30-2010 06:01 AM |
Preserving <br /> on epub -> txt conversion | billingd | Calibre | 1 | 08-11-2010 06:24 AM |
Conversion: EPUB to TXT | Starson17 | Calibre | 11 | 05-29-2010 12:31 PM |
TXT conversion to ePub or LRF - paragraph formatting | Zapped | Calibre | 6 | 10-23-2009 05:06 PM |