[Okular-devel] [Bug 281813] Add support for LaTeX formulas in annotations

Jonathan Verner jonathan.verner at gmail.com
Thu Sep 15 09:50:55 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=281813





--- Comment #10 from Jonathan Verner <jonathan verner gmail com>  2011-09-15 09:50:54 ---
(In reply to comment #8)
> Is it a good idea to include a rendered formula? This way, we cannot adjust
> font size and color easily...

As Albert said, it would have the benefit that other viewers would be able
to display it, or okular could be use the rendered formula on systems where
there is no latex installed. 

Since we would also store the latex code used to generate the formula, there
would be no problem with adjusting the color, font size, etc.

HOWEVER, as Albert said, currently poppler (the pdf library used by okular)
doesn't support saving annotations back to the file. I think there was a
GSoC project to implement it in poppler, but I have no idea how that went.

So, until this is supported in poppler, I think Albert's approach mentioned in
#6 would be the best way forward. Although personaly I would probably default
to rendering the formula and showing the code on click instead of showing the
code and rendering on click. This is, however, for Albert to decide, I think.

I would be willing to help you with this, however currently I do not have much
spare time to work on it :-(

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list