Zim::GUI::EquationEditor.3pm

Langue: en

Version: 2009-03-16 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Zim::GUI::EquationEditor - Equation editor for Zim

DESCRIPTION

This module provides the equation editor dialog for Zim. It requires latex to generate the actual equation image.

METHODS

"show(PATH)"
Open the equation editor. If PATH is given it is the ``src'' path to an exiting image (the corresponding .tex file is also assumed to exit). This path is resolved relative to the current page.
"save(PATH)"
Compile equation and save it to the namespace for the current page. PATH is an optional argument which is given in case we are editing an already existing equation. Returns the path for the image.
"compile()"
Compiles the equation in the tmp dir and shows a preview in the dialog.
"view_log()"
Open a dialog with a TextView showing the latex log file.
"populate_popup(MENU, PIXBUF)"
Add menu items for editing equations. PIXBUF is the image object passed on by Zim::PageView.

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2007 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO