Skip navigation.
KDE Developer's Journals

Okular meets epub

pinotree's picture

One of the objective we (as Okular[1] team) had for KDE 4 was bringing a public API for developers to expand the Okular formats easily, with no need to add new stuff into a single application. The result (obviously not perfect) is what we hope to be a good base for people to have their document formats shown in a single application, without caring about writing code for the user interface. As usual, just let us know if there is any need or problem Eye-wink

Some months ago, Ely Levy came on IRC interested in writing a backend for reading the epub documents.
His efforts were concentrated first to the creation of a libray and a set of tools for reading epub documents. He is hosting them on SourceForge: http://sourceforge.net/projects/ebook-tools.
So, he started integrating his library with Okular, and finally few days ago and yesterday he was able to show us his work, that finally landed in our Subversion (playground/graphics/okular/epub).

Very cool, isn't it? Smiling

[1] Yes, we standardized the naming to "Okular".

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jakob petsovits's picture

right...

Which reminds me that I really need to fix the handling of missing icons for non-Oxygen icon themes. Bah.

platoali's picture

Any plans for CHM files?

I've tried the Okular on my desktop. And I really impressed by it. I've always looked for an application that can read the documnts and be able to write some personal notes without changing the doc itself.

I want to thank you very much.

I've a question. Is there any plan to make Okular be able to open CHM files?

pinotree's picture

Already there

> I've a question. Is there any plan to make Okular be able to open CHM files?

We already can do that (see the format status page). You (or your distribution) needs chmlib to compile the CHM backend.

platoali's picture

CHM

I'm using Gentoo, and have chmlib installed on my system (before compiling the KDE4) , but Okular can not still open the CHM files.

Maybe I should ask this on a Gentoo related mailing list.

Thanks for you answer.

platoali's picture

why does Okular render CHM so slowly?

Sorry for bothering you again, I did not know where to post this. So I'm asking the question here.

Ok, I've finally succeed on opening the CHM with Okular. ( the chm useflag was not set.) But why it is too slow when Okular displays chm files compare to other CHM viewers for example kchmviewer?

pinotree's picture

Different way of rendering

Okular needs the sizes of the pages, so it opens all the HTML files of the CHM to calc them.
This way it can layout the pages in the content area.

KCHMViewer is just an HTML viewer, that displays one page per time with no constraint or requirements of size for them.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.