Jean-Marc Lasgouttes wrote: >>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> They do (should) and we do. > [...] > Angus> Does that answer you questions? > > Yes, I thought about it after sending the mail. > > And does the order in which we enable the native xforms loaders > matter?
To what lyxpreview2bitmap.sh does? No. All that matters is this: \converter lyxpreview ppm "lyxpreview2bitmap.sh" "" What happens thereafter is also independent of the order of the native xforms loaders. Since one of them is 'ppm' the thing is just loaded as-is. Apparently, Alfredo had changed the converter definition above to \converter lyxpreview png "lyxpreview2bitmap.sh" "" lyxpreview2bitmap.sh can convert to png format quite happily. Indded, the Qt frontend can load png files natively and will do so here. The xforms loader must first convert them to ppm format. png files are smaller than ppm ones, so, the Qt users would usually prefer the alternative 'lyxpreview to png' converter. However, the generated bitmaps created by latex->dvips->gs have large margins in the case of displaystye math. We crop this off so that the things look sensible inside LyX. This is best done using an image cropping tool such as pnmcrop. That being the case, it is pointless for Qt users to use a converter 'lyxpreview to png'. They are, however, free to do so if theey don't care about these margins. -- Angus