Hello,
we started to approach the embedding of the MathTran service for
XWiki embedding of formulae. A very very rudimentary version (based
on velocity macros) is at
http://i2geo.net/bin/Sandbox/Formulae
Clearly, we'll make a macro instead of a velo-macro, so that syntax
has some input freedom (you can't put \cdot currently!), and maybe
even a plugin (so as to cache at the xwiki-server-side the resulting
image.
That'll work well, with baseline, for html-rendered pages.
That will be somewhat ugly, however, for print (gross resolution,
nothing vector).
Having discussed with a MathTran developer we realized it would be
easy to actually use the DVI to embed for print provided the fonts
are installed on the XWiki server (they are freely available).
This file is very small and is in the picture's metadata. The DVI
format is basically a vector format that says where to place which
characters.
Is it possible to extend the print features for some islands so that
it "draws on a Graphics2D" ? That would solve our approach without
the requirement of any installation on the XWiki-server except for
the fonts.
thanks in advance
paul