veno...@arcadiaclub.com wrote: > I think we should drop dvipng, or at least allow to set whether to use > dvipng or the legacy method in a LyX-wide manner, even if I think that > leaving it as an option for each document is the best idea. I think this > defect should be fixed, instant-preview is an important feature and being > able to use TikZ and PSTricks would be very useful, IMHO.
I agree that TikZ and PSTricks are important, but I don't think that using a setting in LyX or in documents is a good idea. The user should not need to know these details of the preview generation. Instead, the preview machinery of LyX should be smart enough to use the right method automatically. For example, first trying dvipng and if that fails trying the legacy method should be quite simple to implement as a first step, and get preview working in more cases without breaking any currently working case. If it turns out that this method has problems one can still think about a better way. Georg