Re: Wrong conversion of SVG for LyX inline display?
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? 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. Georg
Re: Wrong conversion of SVG for LyX inline display?
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? 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. 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. -- Jean-Pierre
Re: Wrong conversion of SVG for LyX inline display?
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
Re: Wrong conversion of SVG for LyX inline display?
Reinhard Mayr wrote: The problem still persists even if I delete the SVG-PNG conversion. A attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg
Re: Wrong conversion of SVG for LyX inline display?
Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? When I use SVG as source format, which conversions take place for which situation? What is the preferred format for LyX and for DVI output? I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. For LyX display, PNG is required, therefore SVG-PNG converter. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? Thanks! Cz. On Wed, 12 Jul 2006 15:48:37 +0200, Georg Baum [EMAIL PROTECTED] wrote: Reinhard Mayr wrote: The problem still persists even if I delete the SVG-PNG conversion. A attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Wrong conversion of SVG for LyX inline display?
Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? Yes. When I use SVG as source format, which conversions take place for which situation? You can see that in the terminal window if you start LyX with -dbg graphics. What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. Right. For LyX display, PNG is required, therefore SVG-PNG converter. Almost right. ppm, xpm and a few other formats would also work. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg-png converter then LyX will use the default converter. Georg
Re: Wrong conversion of SVG for LyX inline display?
Ok, I think I got it (after a while *gg*) I could also figure out why the images seemed to be cropped properly an newer images were not: The first images were created with gnumeric which adopts the canvas size -- and the newer images have a canvas of A4, therefore the large area to display in lyx... DVI output was always fine because EPS does not know a thing like the canvas. So would like to thank the list members for their help and explanations ... and for their patience! Cz. On Wed, 12 Jul 2006 21:12:55 +0200, Georg Baum [EMAIL PROTECTED] wrote: Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? Yes. When I use SVG as source format, which conversions take place for which situation? You can see that in the terminal window if you start LyX with -dbg graphics. What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. Right. For LyX display, PNG is required, therefore SVG-PNG converter. Almost right. ppm, xpm and a few other formats would also work. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg-png converter then LyX will use the default converter. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Wrong conversion of SVG for LyX inline display?
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? 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. Georg
Re: Wrong conversion of SVG for LyX inline display?
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? 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. 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. -- Jean-Pierre
Re: Wrong conversion of SVG for LyX inline display?
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
Re: Wrong conversion of SVG for LyX inline display?
Reinhard Mayr wrote: The problem still persists even if I delete the SVG-PNG conversion. A attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg
Re: Wrong conversion of SVG for LyX inline display?
Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? When I use SVG as source format, which conversions take place for which situation? What is the preferred format for LyX and for DVI output? I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. For LyX display, PNG is required, therefore SVG-PNG converter. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? Thanks! Cz. On Wed, 12 Jul 2006 15:48:37 +0200, Georg Baum [EMAIL PROTECTED] wrote: Reinhard Mayr wrote: The problem still persists even if I delete the SVG-PNG conversion. A attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Wrong conversion of SVG for LyX inline display?
Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? Yes. When I use SVG as source format, which conversions take place for which situation? You can see that in the terminal window if you start LyX with -dbg graphics. What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. Right. For LyX display, PNG is required, therefore SVG-PNG converter. Almost right. ppm, xpm and a few other formats would also work. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg-png converter then LyX will use the default converter. Georg
Re: Wrong conversion of SVG for LyX inline display?
Ok, I think I got it (after a while *gg*) I could also figure out why the images seemed to be cropped properly an newer images were not: The first images were created with gnumeric which adopts the canvas size -- and the newer images have a canvas of A4, therefore the large area to display in lyx... DVI output was always fine because EPS does not know a thing like the canvas. So would like to thank the list members for their help and explanations ... and for their patience! Cz. On Wed, 12 Jul 2006 21:12:55 +0200, Georg Baum [EMAIL PROTECTED] wrote: Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? Yes. When I use SVG as source format, which conversions take place for which situation? You can see that in the terminal window if you start LyX with -dbg graphics. What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG-EPS converter. Right. For LyX display, PNG is required, therefore SVG-PNG converter. Almost right. ppm, xpm and a few other formats would also work. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg-png converter then LyX will use the default converter. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Wrong conversion of SVG for LyX inline display?
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"? > 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. Georg
Re: Wrong conversion of SVG for LyX inline display?
>>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"? >> >>> 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. 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. -- Jean-Pierre
Re: Wrong conversion of SVG for LyX inline display?
> > >>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
Re: Wrong conversion of SVG for LyX inline display?
Reinhard Mayr wrote: > The problem still persists even if I delete the SVG->PNG conversion. A > attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. > One question in this respect: Does LyX save temp files of the converted > images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg
Re: Wrong conversion of SVG for LyX inline display?
Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? When I use SVG as source format, which conversions take place for which situation? What is the preferred format for LyX and for DVI output? I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG->EPS converter. For LyX display, PNG is required, therefore SVG->PNG converter. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? Thanks! Cz. On Wed, 12 Jul 2006 15:48:37 +0200, Georg Baum <[EMAIL PROTECTED]> wrote: Reinhard Mayr wrote: The problem still persists even if I delete the SVG->PNG conversion. A attached an SVG problem file. I was wrong, LyX will use imagemagicks convert program in that case. You need to set the SVG-PNG converter to a script that first exports to eps and then converts that to png. Maybe the link posted by Jean-Pierre helps here. One question in this respect: Does LyX save temp files of the converted images which are displayed? Shall I empty any cache? No, it does not have a cache. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Wrong conversion of SVG for LyX inline display?
Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: > Well, I think there must be 2 steps of conversion - one for displaying the > image in LyX and one for the DVI output. -- Is that right? Yes. > When I use SVG as source format, which conversions take place for which > situation? You can see that in the terminal window if you start LyX with -dbg graphics. > What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. > I thought (might be somehow wrong): > For DVI output, an EPS is required, therefore the SVG->EPS converter. Right. > For LyX display, PNG is required, therefore SVG->PNG converter. Almost right. ppm, xpm and a few other formats would also work. > Nevertheless, Lyx also displays the image without the PNG conversion > listet, but there is a difference. With the PNG conversion, the background > is the same as the window background, without it is white. > > Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg->png converter then LyX will use the default converter. Georg
Re: Wrong conversion of SVG for LyX inline display?
Ok, I think I got it (after a while *gg*) I could also figure out why the images seemed to be cropped properly an newer images were not: The first images were created with gnumeric which adopts the canvas size -- and the newer images have a canvas of A4, therefore the large area to display in lyx... DVI output was always fine because EPS does not know a thing like the canvas. So would like to thank the list members for their help and explanations ... and for their patience! Cz. On Wed, 12 Jul 2006 21:12:55 +0200, Georg Baum <[EMAIL PROTECTED]> wrote: Am Mittwoch, 12. Juli 2006 19:14 schrieb Reinhard Mayr aka Czerwinski: Well, I think there must be 2 steps of conversion - one for displaying the image in LyX and one for the DVI output. -- Is that right? Yes. When I use SVG as source format, which conversions take place for which situation? You can see that in the terminal window if you start LyX with -dbg graphics. What is the preferred format for LyX and for DVI output? There is no choice. latex needs eps for DVI output. I thought (might be somehow wrong): For DVI output, an EPS is required, therefore the SVG->EPS converter. Right. For LyX display, PNG is required, therefore SVG->PNG converter. Almost right. ppm, xpm and a few other formats would also work. Nevertheless, Lyx also displays the image without the PNG conversion listet, but there is a difference. With the PNG conversion, the background is the same as the window background, without it is white. Can anybody explain, which conversion applies in which situation? I explained it already: If you don't specify a svg->png converter then LyX will use the default converter. Georg -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/