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

Niels Ole Salscheider niels_ole at salscheider-online.de
Wed Sep 14 09:16:20 UTC 2011


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


Niels Ole Salscheider <niels_ole at salscheider-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niels_ole at salscheider-onlin
                   |                            |e.de




--- Comment #8 from Niels Ole Salscheider <niels_ole salscheider-online de>  2011-09-14 09:16:19 ---
> PDF supports Appearance Streams for annotations, so we could have latex render
> the formula into a PDF file and create the AP entry in the annotation dict from
> the pdf. We could also include some special entry in the annotation dict to
> indicate that this is in fact a rendered LaTeX formula and what the LaTeX code
> was so that we could edit it afterwards...

Is it a good idea to include a rendered formula? This way, we cannot adjust
font size and color easily...

> Same way we could --- I suppose at least --- add a custom field to the
> annotation xml entry to indicate that it is a formula so that we don't need
> to do automatic guessing (maybe even create a new annotation type).

If this is possible and can be stored in the PDF, too, it is probably the best
solution. But if we decide to go this way I think I need some help to implement
it.

Otherwise I can create a patch for the solution as proposed in comment #6.

-- 
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