Jean-Marc Lasgouttes wrote: >>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > > Angus> Hmmm. That means you have done something to the default > Angus> settings for the preview converter. It should do > Angus> lyxpreview->ppm rather than > lyxpreview-> png, not least because we 'crop' displaystyle math > lyxpreview-> because > Angus> that's the only way to get rid of the borders. Once dvipng > Angus> becomes more mature, we'll probably switch to that and > Angus> lyxpreview->png will make more sense. > > How come that xforms and qt do not use the same ordering? Do we have > some control over that?
They do (should) and we do. LyX ships with a converter lyxpreview->ppm. Alfredo created his own lyxpreview->png converter. The script supports this but it transpires that the resulting images of equations in displaystyle contain the borders. It would involve LaTeX magic to remove them properly and David Kastrup was VERY unhappy about doing this. Too fragile. The alternative is simply to crop the whitespace from the left and right hand sides. The tool pnmcrop exists. No tool pngcrop exists. Ergo, lyxpreview->png does not do what we want in an efficient manner. This may change as dvipng (part of the preview-latex project) matures. Does that answer you questions? -- Angus