> > >>To: lyx-users@lists.lyx.org > >>From: Georg Baum <[EMAIL PROTECTED]> > >>Subject: Re: Wrong conversion of SVG for LyX inline display? > >>Date: Wed, 12 Jul 2006 08:38:30 +0200 > >> > >>Reinhard Mayr aka Czerwinski wrote: > >> > >>> Hello, > >>> > >>> I work with LyX 1.4.1 on OpenSuSE 10.1. And I use inkscape 0.43-20 to > >>> create some sketches. > >>> > >>> As it was some days ago discussed on the list, I created a conversion > >>> definition SVG->EPS defined as "inkscape -E $$o $$i" as wells as one > for > >>> SVG->EPS as "inkscape -e $$o $$i". > >> > >>I guess you mean SVG->PNG as "inkscape -e $$o $$i"?
Yes, it was late yesterday... > >> > >>> In principal this works find, but with some files (I haven't found out > the > >>> system, yet) an entire page (with the drawing placed like in inkscape) > is > >>> displayed in LyX -- but LyX should only display the drawing and not > the > >>> page. > >>> > >>> DVI and PDF output are fine -- it' s just about the representation in > LyX. > >>> > >>> Can anybody tell me why this is and what I can do to see the drawing > only? > >> > >>Probably you encountered a bug in the png export of inkscape. Does it > work > >>if you delete the SVG->PNG converter? In that case LyX will convert to > EPS > >>and then use the EPS->PNG converter (convert from imagemagick if you did > >>not define your own) for display. If that does not work, send an example > >>SVG file. The problem still persists even if I delete the SVG->PNG conversion. A attached an SVG problem file. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? > > In a different thread about svg export resolution, I gave a script to > extract > the bounding box from png exports: > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg47491.html > > Maybe this can help as a wrapper of the png export. Since it works sometimes and sometimes not I am actually looking for a solution for this miss-behavior. But thanks anyway for the link, I will keep that in mind and refer to if necessary. > > -- > Jean-Pierre -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
primer-design.svg
Description: image/svg-xml