Aditya Mahajan wrote:
Run context with a custom module, which writes the content of each \startformula <formula> \stopformula into a temporary file as \startTEXpage \startformula <formula> \stopformula \stopTEXpage. Lilypond and gnuplot modules already do something similar. Then process the temporary tex file. You will get a pdf file with one formula on each page. Convert each page into png, and use some lisp magic to insert the image at appropriate places in the buffer. Obviously I am missing a lot of things. But, am I correct in assuming that from the context end, the problem is simple?
that's what i meant with components (formulas and such) and that should be doable (i just wonder why previewing snippets of pdf is no option so that you can avoid the png stage) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------