On Mon, Mar 26, 2012 at 12:39 AM, Max <email address hidden> wrote:
> What does it take to write such a plugin?
Could probably use the "image generator" framework. This is what is
used e.g. by the latex equation editor.
1/ Add a dialog "insert EPS", which selects the file, generates the
corresponding PNG and inserts it
2/ Attach a type to the image so it is understood as a "generated" image
3/ Custom "edit" dialog, probably just allow to select a different
EPS, so re-use selection dialog
Currently the latex exporter has hard coded that equations are
inlined. For now we can also hardcode similar support for EPS. Will
work on more general solution later.
On Mon, Mar 26, 2012 at 12:39 AM, Max <email address hidden> wrote:
> What does it take to write such a plugin?
Could probably use the "image generator" framework. This is what is
used e.g. by the latex equation editor.
1/ Add a dialog "insert EPS", which selects the file, generates the
corresponding PNG and inserts it
2/ Attach a type to the image so it is understood as a "generated" image
3/ Custom "edit" dialog, probably just allow to select a different
EPS, so re-use selection dialog
Currently the latex exporter has hard coded that equations are
inlined. For now we can also hardcode similar support for EPS. Will
work on more general solution later.
-- Jaap