G. Milde wrote:
On 17.06.08, Abdelrazak Younes wrote:
My guess is, that svg support in the image loader is new in QT 4.4 and
hence this option worked with QT < 4.4.

Svg support is not new, it is brought by the QtSvg4 library. AFAIK, we don't link with this library. My guess is that your distribution (or you?) explicitely link to it.

But maybe you're right that something has changed in Qt4.4 and that svg
is automatically loaded with QtGui. This needs more investigation...

So it might rather be the LyX 1.5.x > 1.5.5 upgrade that introduced the
"native" svg display.

No, we didn't do that :-)


I have 1.5.5 from the Debian/testing binary package, so I did not link to
QtSvg4 but cannot speak for my distribution.

I just tested with trunk and svg file are loaded directly!

Conclusion: this is a change in Qt4.4 that svg file are loaded directly with the need to link to QtSvg!


It seems like you really have to save your svg clipped to the right size.

With the external inset, you can define a conversion method for latex.

AFAIK, the external inset has no preview,

If you choose the RasterImage template it has.

so I can just as good use the
graphics inset and turn of the display in LyX. (Did this change recently?)

If you choose the RasterImage template, the external inset provides the same functionality as the graphics inset. I agree this duplication of feature is very confusing and we should aim at merging the two inset somewhat. The advantage of the external inset is that, if you create a new template, you can play with how the transformation needed for latex export.

Abdel.

Reply via email to