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 08-14-2013, 06:11 AM   #1
glynbarlow
Junior Member
glynbarlow began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2013
Device: Sony Tr-1
Issues with converting TXT to EPUB

Hi All,

I have a large number of plain text (TXT) documents that I would like to convert to (EPUB).

I have been happily adding them to my calibre library (now 0.9.43 Linux) and running the convert.

When the convert completes, I check the document with the viewer and it all looks OK, until I I get part way through the document and then I see the following:-

klzzwxh:10099klzzwxh:10100klzzwxh:10101klzzwxh:101 02 klzzwxh:10103klzzwxh:10104klzzwxh:10105klzzwxh:101 06klzzwxh:10

Mixed in with the actual document.

It looks like some kind of sequence count from the conversion process.

Any Ideas?
glynbarlow is offline   Reply With Quote
Old 08-14-2013, 08:44 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by glynbarlow View Post
klzzwxh:10099klzzwxh:10100klzzwxh:10101klzzwxh:101 02 klzzwxh:10103klzzwxh:10104klzzwxh:10105klzzwxh:101 06klzzwxh:10

...

Any Ideas?
I'm guessing what you are seeing in the epub is also present in the original text.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-14-2013, 09:18 AM   #3
glynbarlow
Junior Member
glynbarlow began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2013
Device: Sony Tr-1
nope, the original text look normal. This stuff is added by the conversion process.

If you look at his sample, 10099klzzwxh:10100klzzwxh:10101klzzwxh you can see it is some kind of count increasing.
glynbarlow is offline   Reply With Quote
Old 08-14-2013, 09:31 AM   #4
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: 44,535
Karma: 24495948
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
Old 08-14-2013, 11:15 AM   #5
glynbarlow
Junior Member
glynbarlow began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2013
Device: Sony Tr-1
Thanks Kovid, I If needed, I will send source files etc to the bug report area. In the meantime, it looks like the error only appears with text file over 10,000 lines long, this also ties in with numbers showing up in my output EPUB.

I wonder if an internal counter has been set or something like that, in either the txt converter or the markdown converter?

Other files I have processed with the same settings have worked a treat, but they have been much smaller.

Glyn
glynbarlow is offline   Reply With Quote
Advert
Old 08-14-2013, 11:47 AM   #6
glynbarlow
Junior Member
glynbarlow began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2013
Device: Sony Tr-1
I just did a little more testing, it only happens when i use the markdown conversion.
glynbarlow is offline   Reply With Quote
Old 08-14-2013, 12:07 PM   #7
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: 44,535
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre uses python markdown for the conversion. Open a bug report and I will forward it to the maintainer of the txt input plugin.
kovidgoyal is offline   Reply With Quote
Old 08-14-2013, 12:55 PM   #8
glynbarlow
Junior Member
glynbarlow began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2013
Device: Sony Tr-1
I have now posted a bug report #1212330
glynbarlow is offline   Reply With Quote
Reply

Tags
epub, txt conversion


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error converting Txt to epub chronomaster5042 Conversion 2 06-02-2013 11:23 PM
Converting TXT to ePub - problem with encoding tomek buszewski Conversion 1 04-09-2013 10:10 AM
Issue with converting TXT to Epub druntar Conversion 1 05-02-2011 07:45 AM
Help: Converting from .txt to .epub for Aldiko on Android SlowRain Calibre 4 10-24-2010 12:25 PM
Converting from txt to epub using defaults p3aul Calibre 7 10-09-2009 08:23 PM


All times are GMT -4. The time now is 06:24 AM.


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