View Single Post
Old 12-23-2010, 07:50 PM   #36
citac
Fanatic
citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.
 
Posts: 556
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
Quote:
Originally Posted by Buggins View Post
Please provide me some samples of wrongly recognized .txt files.
I'll try to fix text format autodetection heuristics.
Hello, Buggins, thank you for taking the time to post here. I really appreciate CoolReader and use it all the time with my other files, which is why the way it handles .txt is such a problem.

The thing is, all my .txt files are treated the same way. They're mostly fanfiction posted on LJ and DW, and saved as a text file. Some are 100 word drabbles, others are 15,000 words serials. Some of them mark chapters as *Chapter*, _Chapter_, - Chapter - or have scene breaks marked with *** or --- or +++ on a new line, and others are just plain text, no special formatting or line breaks. They often contain short lines of dialog, which might be what CoolReader recognizes as a chapter title. That is a problem, since it means that I often encounter pages with two-three lines, the first of which is bolded.

I cannot post the files here, as I'd be archiving them on a public website which is not done without asking first, but I can upload them to box.net and send the link in a PM, if that's alright.
citac is offline   Reply With Quote