11-11-2010, 10:23 AM | #1 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
[Old Thread] (viewer) Ignoring left-off position
For reading a structured document non-sequentially I would like the viewer to always start at the beginning (an index page). Effectively, ebook-viewer should not load and save bookmarks from the epub document.
Is this possible in an elegant way? I've considered adding a command line option for this, but the actual code that handles the bookmarks load/save seems too generic to change for this purpose. |
11-11-2010, 10:36 AM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Run calibre from source and patch the relevant code to not load bookmarks?
|
11-11-2010, 10:58 AM | #3 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
Yes. That's the brute force way.
I'm hoping that there's also a more elegant way so other users can also benefit. |
11-11-2010, 11:04 AM | #4 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Implement it as a toggleable option in the preferences and submit the fix to Kovid?
|
11-11-2010, 11:12 AM | #5 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just press Ctrl+Home when the viewer starts, it will take you to the start of the document.
|
11-11-2010, 11:47 AM | #6 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
Thanks for the suggestion, but a touchscreen PC does not have Ctrl-Home .
|
11-11-2010, 11:48 AM | #7 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you can do right clicks, the goto start action is accessible via the right click context menu as well.
|
11-11-2010, 11:50 AM | #8 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
|
11-11-2010, 11:52 AM | #9 |
creator of calibre
Posts: 43,930
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you dont need to access the options in the iterator, you need to do it in viewer.main, where the last saved position is loaded.
|
11-11-2010, 01:57 PM | #10 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
The idea is to have books that have a first page that is a customised table of contents.
I went with the following approach: * command line option: --start, when used: * the book will be positioned at the first page (implicit goto_start()) * the [TOC] button will behave as goto_start() This works for me. Anyone think this is more generally useful? |
09-08-2011, 08:19 AM | #11 | |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
Quote:
Note that the --start functionality is different from the remember_current_page option. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
[Old thread] ePub Viewer | crutledge | Calibre | 6 | 05-10-2011 12:26 PM |
[Old Thread] Reading epub on viewer inexplicably changes the time stamp of epub | greenapple | Library Management | 20 | 03-19-2011 10:18 PM |
E-book viewer not properly remembering book position | sherman | Calibre | 9 | 02-20-2010 05:12 PM |