|
|
Thread Tools | Search this Thread |
10-15-2008, 08:16 PM | #1 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc
As of version 0.4.96 calibre has a new Ebook viewer with full support for HTML+CSS. The viewer is capable of displaying all the major ebooks formats: EPUB, LIT, MOBI, FB2, PRC, etc It has support for Table of Contents, Meta information, search, fully customizable fonts, etc. An innovative new feature is the "reference mode" that can be used to generate reference numbers for each paragraph in the the text. These allow for easy and accurate cross referencing of ebooks.
It can be launched from the GUI by clicking the View button or from the command line by the command Code:
ebook-viewer TODO: * Annotations Last edited by kovidgoyal; 10-21-2008 at 11:56 PM. |
10-15-2008, 09:15 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
My favorite test ePub is one of the hardest to render. It is Alice's Adventures in Wonderland, from the ADE sample ebook library.
At present Calibre is not quite reflowing around images correctly and not getting the tail as text formatting right. There is also miss-rendered punctuation (left and right quotes, mdash, etcetera). Even so, this is already showing a lot of promise. |
Advert | |
|
10-15-2008, 09:54 PM | #3 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The viewer uses the webkit rendering engine to actually render the HTML. As that improves (and it will) these sorts of redering glitches will automatically get fixed.
EDIT: Can you attach the Alice in Winderland book. The link you posted is windows only. EDIT2: Looking at your screenshots, I actually prefer calibre's reflow around the images. Why do you say it is not correct? Last edited by kovidgoyal; 10-15-2008 at 10:08 PM. |
10-15-2008, 11:26 PM | #4 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
The problem is that some of the text is missing (behind the image). |
|
10-16-2008, 09:42 AM | #5 |
Zealot
Posts: 103
Karma: 148
Join Date: Aug 2008
Location: Huntington, IN US
Device: Sony PRS-505
|
Thanks for implementing this new viewer, it is great! But like wallcraft, when I view a book, it is cutting off some of the letters at the end of the lines on the right. It is in .lit format, I don't know if this is true for other formats or not.
|
Advert | |
|
10-16-2008, 03:08 PM | #6 | |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
EDIT: Ah I think I see in your screenshots, it works for me in linux. I should try it in windows. Last edited by kovidgoyal; 10-16-2008 at 03:11 PM. |
|
10-16-2008, 03:09 PM | #7 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the scrollbar at the bottom or make the window bigger. That lit file probably uses some non reflowable tags like <pre>
|
10-16-2008, 03:26 PM | #8 | |
Zealot
Posts: 103
Karma: 148
Join Date: Aug 2008
Location: Huntington, IN US
Device: Sony PRS-505
|
Quote:
I did try three other .lit files and didn't seem to have trouble with them. Last edited by jedavis1; 10-16-2008 at 03:29 PM. |
|
10-16-2008, 04:32 PM | #9 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah well that is weird, can you open a ticket and attach the lit file.
|
10-17-2008, 10:15 AM | #10 |
Zealot
Posts: 103
Karma: 148
Join Date: Aug 2008
Location: Huntington, IN US
Device: Sony PRS-505
|
|
10-17-2008, 04:51 PM | #11 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@wallcraft: I just tested alice in wonderland with calibre 0.4.97 on windows vista and I don't see the image reflow probelm. Is it still happening for you?
|
10-17-2008, 09:27 PM | #12 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
10-21-2008, 11:54 PM | #13 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've been talking for a while about the best way to do referencing in the era of the ebook. Well as of calibre 04.99, the ebook-viewer has my first stab at an answer. You can enter the "reference mode" In that mode mousing over a paragraph will give you a number that you can use as a reference. You can type reference number in the Go to box to navigate to them.
In addition 0.4.99 brings support for bookmarks and user stylesheets. |
12-20-2008, 10:04 AM | #14 |
Junior Member
Posts: 7
Karma: 10
Join Date: Dec 2008
Location: Bahrain
Device: Sony Reader PRS-505
|
LRF with new ebook viewer?
Do you intend to support (reflowable) LRF with your new ebook viewer? When I try to view LRF, a single page doesn't fit on my limited-resolution-screen without needing scrolling. Is LRF even possible to reflow like this?
I have figured out that epub seems to work better for me on both my Sony Reader & computer viewing and so have switched my default to epub & will be converting my books over to it. |
12-20-2008, 02:16 PM | #15 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No LRF is not a truly reflowable format, in that each LRF file is for a specific screen size which is hard coded into the LRF file.
|
Tags |
calibre, ebook, open source, viewer |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub/mobi preview viewer | MSWallack | General Discussions | 2 | 12-22-2011 06:13 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 07:28 PM |
ePub Page Numbers in Ebook Viewer vs PRS-505 | Zero9 | Calibre | 7 | 06-06-2009 02:25 PM |
Error when trying to open Ebook Viewer, won't show stories | cloudyvisions | Calibre | 1 | 03-28-2009 05:13 AM |
Open source LRF viewer | kovidgoyal | LRF | 30 | 01-18-2009 06:10 AM |