Am Donnerstag, 8. Dezember 2016 um 23:31:48, schrieb Scott Kostyshak 
<skost...@lyx.org>
> On Sat, Nov 05, 2016 at 11:40:51AM +0100, Kornel Benko wrote:
> > Try to open attached document.
> > Wait a moment until the preview is done.
> > The formula takes too much space.
> 
> I thought someone had responded to this but I can't find it.
> We should make a bug report so we don't forget.
> 
> Scott

Nobody seems interested. Probably no one uses PDF(luatex) as default output 
format.

The script lyxpreview2bitmap.py is correctly called with '--png ... 
--latex=lualatex', but
the created png file is not cropped properly.
Removing the conversion Preview->png does not help. The created ppm file shows 
the same effect,
but at least the width is now correct.

Preview with lualatex:
        Size of generated png: 951 x 1345
        Size of generated ppm: 345 x 1345
        Background of math not changed.
Preview with xelatex:
        Size of generated png: 551 x 142, 
        Background changes
Preview with pdflatex
        Size of generated png: 551 x 142
        Background of math not changed.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to