Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2019, 03:05 AM   #1
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
Gutenberg books: Kobo doesn't remember position

I've complained about Gutenberg books here before. Then, the problem was the formatting.

I don't seem to have any trouble with that anymore. But I now have a few Gutenberg epubs for which two Kobo readers (a Forma and an Aura One) refuse to remember my reading position. So each time I open the book, I am sent back to the front page. Or to the cover, actually.

This one is a case in point:
http://www.gutenberg.org/ebooks/15466

I didn't really edit these manually. The only thing I did was have Calibre look for a cover to add to this epub. I do this as a matter of course now, since it is the simplest remedy for another problem with the Gutenberg epub formatting, explained in this thread:
https://www.mobileread.com/forums/sh...d.php?t=279948

Basically, just having Calibre add a cover to the file seems to solve the problem of the file's text having practically no margins.

But I get the impression that this cover added by Calibre creates the problem of Kobo not remembering my reading position. Because I just tried it out: the same file with added cover will display fine, but always open on the first page.
The Gutenberg file without added cover will remember my reading position -- except I'll never read it because the text runs all the way up to the margin of the screen and sometimes even beyond it with half a letter or so.

Sigh. I guess there's no easy way around this then? Except extensive manual fiddling with the epub (which I don't have the time or the inclination to do)?

(I'm not asking because of this particular book per se. But Gutenberg has so many texts that are not easily available elsewhere, or not for free.)
franklekens is offline   Reply With Quote
Old 02-22-2019, 04:36 AM   #2
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
you need to examine the books formatting, for clues as to why that is
e.g. maybe it it just one humongous paragraph ?
maybe just doing an epub to epub conversion in calibre will standardise it enough that your reading position is then remembered,
if not, then you will need some basic editing skills, to make the code resemble other books that do work ok
stumped is offline   Reply With Quote
Advert
Old 02-22-2019, 04:45 AM   #3
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
update, so I took a quick look at the epub , no images version of that book
each para begins with this construct, where the id values are all different
p id="id00416"

I would use find and replace to take those about and to substitute class="bodytext",
then define bodytext in the CSS to have your preferred margins, indents....


so each paragraph would then look like <p class="bodytext"> some text <\p>

NB if you run a calibre epub to epub conversion, calibre will add class statements for you, which you can then redefine

i strongly suspect it the repetitive ID= that cause the issue, because most books do not have those in every paragraph; and also that it only affects/confuses the kobo . that other readers would remember reading position OK.
stumped is offline   Reply With Quote
Old 02-22-2019, 05:28 AM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I've had problems with formatting of ePubs from Gutenberg. Often no margin and the GUI margin control ineffective.
So now I only download "Kindle with images", the mobi version, and convert to epub with Calibre. Never any problem.
Sometimes I read them on a Kindle.
I've also had weird format issues with the Driver "on the fly" silent conversion to kepub (First Line Indent half correct value visually), so I disabled kepub in the driver. Now epub on the Kobo H2O original match Sony, Nook, Binatone and App based epub readers.
Quoth is offline   Reply With Quote
Old 02-22-2019, 10:16 AM   #5
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
The mobi version! What a good idea. I'll try doing that in the future.

Thanks for the other tips too. Maybe I'll have a look, but I try to a have as little to do with manual editing of the formatting.
franklekens is offline   Reply With Quote
Advert
Old 02-22-2019, 02:20 PM   #6
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
*How*, exactly, are you adding the cover to the epub? Better yet, why not provide the actual file you're having trouble with.

Another idea, if you have an problematic epub, is to try an Epub to Epub conversion in Calibre. Calibre has built up a vast repertoir of common pitfalls it 'fixes' on the fly when doing this. If course, GIBO still applies, so results may vary.
rashkae is offline   Reply With Quote
Old 02-22-2019, 02:25 PM   #7
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by rashkae View Post
*How*, exactly, are you adding the cover to the epub? Better yet, why not provide the actual file you're having trouble with.

Another idea, if you have an problematic epub, is to try an Epub to Epub conversion in Calibre. Calibre has built up a vast repertoir of common pitfalls it 'fixes' on the fly when doing this. If course, GIBO still applies, so results may vary.
1 He gave us a download link for the file at Gutenberg. I examined it and commented on the structure. Others have suggested workarounds, like using the. MObi version
2 As for "another idea". I already suggested that, a few posts back
stumped is offline   Reply With Quote
Old 02-22-2019, 02:44 PM   #8
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by rashkae View Post
Another idea, if you have an problematic epub, is to try an Epub to Epub conversion in Calibre. Calibre has built up a vast repertoir of common pitfalls it 'fixes' on the fly when doing this. If course, GIBO still applies, so results may vary.
I tried that on problematic Gutenberg ePubs. Didn't work. I'm sure it would if you added the appropriate rules.

It was simpler just to have sane ePub conversion defaults and convert the mobi from Gutenberg, as I need it anyway.

If that is problematic (rare), I can export and reformat in LibreOffice rather than peering at CSS. I've had to do it with one Kindle book bought from Amazon. It was poor on a Kindle too. It also had proof errors suggesting it was OCR from a scan. I forget title, but it was one of the books Jane Austin mentions in Northanger Abbey. Generally Archive.ie books are not proofed and some cheaply done old books sold in Kindle format on Amazon are worse proofed than the same title on Gutenberg.

Contrary to the belief of companies using DRM and the DMCA (USA only), copyright DOES expire, though Disney & Friends keep getting it extended.

Note that the words can be out of copyright, but a book may have new formatting (rather than being a facsimile) and/or new illustrations, or new proof corrections, making it a fresh copyright derived work.

Last edited by Quoth; 02-22-2019 at 02:48 PM.
Quoth is offline   Reply With Quote
Old 02-22-2019, 05:59 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
FYI I downloaded the version "with images" and am seeing no issues with location not being remembered.

I've tried both just exitting the bóok and going back into it, and exiting and powering off and back on.

This is on a Clara HD running a slightly newer f/w version.

Looking at the book with Sigil the only thing I wondered about was the name of the various internal files (for instance @public@vhost@g@gutenberg@html@files@15466@15466-8-0.txt.html). I realize this is a legal name but still....

*Edit* I am loading this as an Epub not kepub.

*Edit2* Bother I didn't realize your issue came AFTER adding a cover Any chance you could just attach your editted version of the book?

*Edit3* If you are converting to kepub also attach a copy of the book from your Kobo.

Sent from my Nexus 7 using Tapatalk

Last edited by PeterT; 02-22-2019 at 08:02 PM.
PeterT is offline   Reply With Quote
Old 02-22-2019, 07:10 PM   #10
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
The fact that you have the "no-margin" problem if you don't add a cover means that you must be loading the book as a KePub (this problem is caused by the KePub reader treating the first file as a cover image and displaying it full-screen.)

However the book (like most Gutenberg books) also has a TOC structure that will cause navigation problems in the KePub reader -- specifically it has 12 ncx entries but only 3 spine entries.

I think books with this sort of problem work better if you load them as ordinary ePubs, rather than as KePubs.

(Edit: Also, adding a cover to a book that doesn't have one, or converting a book with this sort of TOC structure using Calibre will change the internal file structure, so be sure to delete any old version of the book from the device using the device menus before loading the new version. Using Calibre to load a new version over top of old version can cause the sort of problems you describe.)

Last edited by GeoffR; 02-22-2019 at 09:10 PM. Reason: Also, ...
GeoffR is offline   Reply With Quote
Old 02-22-2019, 10:03 PM   #11
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Quote:
Originally Posted by stumped View Post
1 He gave us a download link for the file at Gutenberg. I examined it and commented on the structure. Others have suggested workarounds, like using the. MObi versionp
Per the first post, the problem with not remembering the reading position only happens *after* he added the covers. That leaves us trying to guess what exactly it is about the final file that is causing the issue, or trying to replicate it by assuming what he's doing.


Quote:
Originally Posted by stumped View Post
2 As for "another idea". I already suggested that, a few posts back
So you did, sorry
rashkae is offline   Reply With Quote
Old 02-23-2019, 05:13 AM   #12
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I've never ever had a problem related to covers added via Calibre.
I've used the Calibre Cover Creator, browsed images (my own), the Calibre downloader and used Gimp via Calibre GUI to edit a cover.
The normal way is either to browse or download via the interface in Edit Metadata for a book, or use the Cover Creator plugin from main GUI. CC main use is to quickly add text to a browsed image or cropped downloaded image. It's better to use Gimp and have layers, save as XCF and export a suitable size JPEG. Then text can be edited or image changed without changing text.
Quoth is offline   Reply With Quote
Old 02-23-2019, 06:22 AM   #13
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by rashkae View Post
Per the first post, the problem with not remembering the reading position only happens *after* he added the covers. That leaves us trying to guess what exactly it is about the final file that is causing the issue, or trying to replicate it by assuming what he's doing.
I think it's a combination of the internal file names, adding the cover and sending as a kepub. I think the NCX file gets rewritten along the way and the "bad" characters are escaped. With the way Kobo stores and uses the ToC in the database, and the reading position, I think there is a conflict between where characters have been escaped and where they haven't been.

But, I'm having problems reproducing it. I had if failed as described once, fiddled and fixed. But, I cannot revert and have it break. But, I am sure that cleaning/simplifying the internal file names will fix it.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reopening CC loses position, and reader app doesn't reopen at current position iatheia Calibre Companion 9 11-13-2015 08:20 PM
Pocketbook 622 doesn't remember last position of a djvu file marmistrz PocketBook 2 06-19-2015 12:37 PM
Book viewer window doesn't remember its position HarryT Calibre 2 09-13-2014 06:02 AM
0.9.44 problems: doesn't remember window size/position; no On Device column meeera Calibre 13 08-17-2013 09:26 AM
PDF:Remember reading position mtravellerh Reading and Management 2 10-29-2008 05:25 AM


All times are GMT -4. The time now is 04:44 AM.


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