Angus Leeming <[EMAIL PROTECTED]> writes: > It looks to me that of the three preview-latex modules > * preview.sty > * dvipng > * preview.el
> the first two are usable directly by LyX and the logic of the > controller, preview.el, is similar to that that's now in LyX (I base > that on your description of how it works). So there is every chance > for us to grow together. You never know, you might be able to use > some of LyX's logic to your own advantage. dvipng currently is more or less proof-of-concept, and based on the dvihp printer code base (something which I personally would not have done myself, but on the other hand, given my perfectionism, I probably never would have gotten anything off the ground in a reasonable time frame, anyhow). In particular, this means that currently a) it does not support virtual fonts b) there will probably be other shortcomings in font handling (such as Type1 fonts or so) c) the code is really old basically and this shows d) I would be afraid that it will probably barf on Omega fonts e) antialiasing in its current form is not too hot, and characters can be placed only with target pixel resolution f) it requires the gd library without doing too much with it g) it might be a good idea to migrate DviPS/GhostScript operation on images requiring them into dvipng h) it does not yet support non-integral shrink factors. I have a good plan for how to implement those using lookup tables (I would imagine real-time resizing of xdvi-like windows possible with the technique I'll use for that). If g) gets implemented, dvipng will be a rather complete component usable both from within LyX as well as preview-latex, and will also be usable in systems that don't have the full-blown converter infrastructure LyX and preview-latex have or are about to get. So I guess that we would be happy if people decided to help work on the dvipng code base, either by starting something more sound from scratch, or by tackling some subtask on the existing code base. I think it rather likely that any functionality added into it for the sake of either preview-latex or LyX should be exploitable by the other system. And of course I'll be glad to stick LyX-specific configuration stuff into preview.dtx if that turns out feasible. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: [EMAIL PROTECTED]