Georg Baum wrote: > 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.
i was already thinking about better handling the errors from ip. this would be nice next usecase. http://www.lyx.org/trac/ticket/6720 another idea would be to detect proper route before entering compilation. two possible solutions i see are not easy though - from content of ERT (ugh) or with introducing some "needps" flag for convertor - but thats not much compatible with with the way we introduced ip inset. pavel