On Sun, 23 Dec 2007 19:29:00 -0500 (EST) Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> I disagree. I was grately impressed by preview-latex when I tried it > (around 2 years ago), so much so that I even considered moving to > emacs from vim. It is extremely useful for mathematics and images: > you can see the typeset result rather than a bunch of code. This > means that you can proofread in the editor rather than a pdf (or dvi) > reader. Besides the above use-cases (I do not need math), I'm thinking about the tables - having some visual help can, imho, help a lot. > What is needed for an improved support of preview-latex in context? > Last time I looked into preview.sty, I could not understand how it > works. If I were to do the same thing, this is how I would do it. > > 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? Thank you for your insight... Let me become more familiar with the emacs and Context first, then we can take a closer look at elisp & preview-latex... Sincerely, Gour ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________