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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2013, 05: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, 07: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,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
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, 08: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, 08: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: 43,839
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
Old 08-14-2013, 10: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, 10: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, 11:07 AM   #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: 43,839
Karma: 22666666
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, 11:55 AM   #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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 05:41 PM.


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