GlanceReader icon indicating copy to clipboard operation
GlanceReader copied to clipboard

Better detection of chapters. Actually one chapter have division that really don't exist

Open fabianhtml opened this issue 11 years ago • 9 comments

fabianhtml avatar Mar 10 '14 16:03 fabianhtml

Also, on few epubs I found out that first chapter starts with some metadata (which are NOT text in epub) such as padding:...margin:0pt}...body...text-align:center; etc.

IniTW8X avatar Mar 10 '14 17:03 IniTW8X

It seems the first "Chapter" is almost always meta data / CSS, and also "Chapters" that punctuate two actual chapters. I'll look into this.

OnlyInAmerica avatar Mar 10 '14 18:03 OnlyInAmerica

Also, sometimes after finishing a chapter, the text stream jumps at the beginning of the chapter instead of continuing with next chapter.

IniTW8X avatar Mar 12 '14 17:03 IniTW8X

I have a similar issue with some epubs that choosing a chapter starts the book from the beginning.

eekd avatar Mar 13 '14 02:03 eekd

I also have problems with the chapters. Once a chapter is finished, it returns to the beginning of this chapter, however, the indicator (bottom left) goes well in the next chapter. I have went through this counter to restart the chapter and then the application reads the correct one. To be clear: I read Chapter 2, at the end, the meter displays Chapter 3 but reread Chapter 2. Via the counter, I throw again the Chapter 3 and the apk reads well Chapter 3.

haz3m avatar Mar 14 '14 00:03 haz3m

As for the latest build, book reading stops after the first chapter. And there's no way to switch to next chapters because in chapter list is listed only the first chapter. I hope it's only a semi-step to working chapter-recognition :)

IniTW8X avatar Mar 19 '14 11:03 IniTW8X

Could you send me the epubs that are causing these problems?

There are some changes in 6b44f03b that significantly improves handling of epubs with Table of Contents.

OnlyInAmerica avatar Mar 19 '14 17:03 OnlyInAmerica

I builded apk with the last commit and just sent you to email 2 epubs that did not and are not working now. Meaning I can't get through first chapter.

IniTW8X avatar Mar 19 '14 18:03 IniTW8X

After last commits the epubs are readable again ;) So what remains now is to solve the chapter jumping issue.

IniTW8X avatar Mar 20 '14 10:03 IniTW8X