Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread TP
G. Milde wrote: The file contains svg format data. The image loader can load the following directly: bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, xpm, Of these, LyX recognises the following formats: bmp, gif, jpg, jpg, pbm, pgm, png, ppm, svg,

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, TP wrote: G. Milde wrote: The file contains svg format data. The image loader can load the following directly: bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, xpm, Of these, LyX recognises the following formats: bmp, gif, jpg,

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Conclusion: this is a change in Qt4.4 that svg file are loaded directly with the need to link to QtSvg! Hum... one should read: this is a change in Qt4.4 that svg file*s* are loaded directly with*out* the need to link to QtSvg! Abdel.

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, Abdelrazak Younes wrote: 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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
G. Milde wrote: On 18.06.08, Abdelrazak Younes wrote: 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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread TP
G. Milde wrote: The file contains svg format data. The image loader can load the following directly: bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, xpm, Of these, LyX recognises the following formats: bmp, gif, jpg, jpg, pbm, pgm, png, ppm, svg,

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, TP wrote: G. Milde wrote: The file contains svg format data. The image loader can load the following directly: bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, xpm, Of these, LyX recognises the following formats: bmp, gif, jpg,

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Conclusion: this is a change in Qt4.4 that svg file are loaded directly with the need to link to QtSvg! Hum... one should read: this is a change in Qt4.4 that svg file*s* are loaded directly with*out* the need to link to QtSvg! Abdel.

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, Abdelrazak Younes wrote: 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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
G. Milde wrote: On 18.06.08, Abdelrazak Younes wrote: 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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread TP
G. Milde wrote: >The file contains svg format data. > >The image loader can load the following directly: >bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, >xpm, Of these, LyX recognises the following formats: >bmp, gif, jpg, jpg, pbm, pgm, png, ppm,

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, TP wrote: > G. Milde wrote: > >The file contains svg format data. > > > >The image loader can load the following directly: > >bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, tif, tiff, xbm, > >xpm, Of these, LyX recognises the following formats: > >

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Conclusion: this is a change in Qt4.4 that svg file are loaded directly with the need to link to QtSvg! Hum... one should read: this is a change in Qt4.4 that svg file*s* are loaded directly with*out* the need to link to QtSvg! Abdel.

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread G. Milde
On 18.06.08, Abdelrazak Younes wrote: > 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

Re: no way to obtain an SVG preview of the correct size

2008-06-18 Thread Abdelrazak Younes
G. Milde wrote: On 18.06.08, Abdelrazak Younes wrote: 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

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 16.06.08, TP wrote: G. Milde wrote: which OS? Linux Kubuntu 8.04. This should be not too different from my Debian/testing with TeXLive-2007. It would be nice if we could find the reason why --export-area-drawing works for some people while it does not for others. It works perfectly

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
G. Milde wrote: On 16.06.08, TP wrote: It also used to work for me from within LyX. However, a new test with LyX shows that it no longer works as expected for both display in LyX and PDF export. Starting LyX with the graphics conversion debug option, lyx -dbg List of supported debug

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 17.06.08, Abdelrazak Younes wrote: G. Milde wrote: On 16.06.08, TP wrote: of course the --export-area-drawing option can not have any effect if there is no export! Right. 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.

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread TP
Abdelrazak Younes wrote: TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 16.06.08, TP wrote: G. Milde wrote: which OS? Linux Kubuntu 8.04. This should be not too different from my Debian/testing with TeXLive-2007. It would be nice if we could find the reason why --export-area-drawing works for some people while it does not for others. It works perfectly

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
G. Milde wrote: On 16.06.08, TP wrote: It also used to work for me from within LyX. However, a new test with LyX shows that it no longer works as expected for both display in LyX and PDF export. Starting LyX with the graphics conversion debug option, lyx -dbg List of supported debug

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 17.06.08, Abdelrazak Younes wrote: G. Milde wrote: On 16.06.08, TP wrote: of course the --export-area-drawing option can not have any effect if there is no export! Right. 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.

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread TP
Abdelrazak Younes wrote: TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '>' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 16.06.08, TP wrote: > G. Milde wrote: > > which OS? > Linux Kubuntu 8.04. This should be not too different from my Debian/testing with TeXLive-2007. > > It would be nice if we could find the reason why --export-area-drawing > > works for some people while it does not for others. > It works

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
G. Milde wrote: On 16.06.08, TP wrote: It also used to work for me from within LyX. However, a new test with LyX shows that it no longer works as expected for both display in LyX and PDF export. Starting LyX with the graphics conversion debug option, > lyx -dbg List of supported debug

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread G. Milde
On 17.06.08, Abdelrazak Younes wrote: > G. Milde wrote: >> On 16.06.08, TP wrote: >> of course the --export-area-drawing option can not have any effect if >> there is no export! > Right. >> My guess is, that svg support in the image loader is new in QT 4.4 and >> hence this option worked with

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread TP
Abdelrazak Younes wrote: > TP wrote: >> Abdelrazak Younes wrote: >> >>> ppm or png can be equally shown within LyX. >> >> Ok. >> >>> AFAIK, the semicolon is not for redirection but for command separation, >>> you might want to use '>' instead. >> >> Yes, I mean that I used the semicolon,

Re: no way to obtain an SVG preview of the correct size

2008-06-17 Thread Abdelrazak Younes
TP wrote: Abdelrazak Younes wrote: TP wrote: Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '>' instead. Yes, I mean that I used the semicolon, because the following

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread Abdelrazak Younes
Tribulations Parallèles wrote: So, contrary to what is said in the LyX Wiki, it seems that the important converter for the preview is svg=PPM. ppm or png can be equally shown within LyX. I have tried to keep the orginal convertDefault.py, and defined a filter svg=PPM with the following

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread G. Milde
On 14.06.08, Tribulations Parallèles wrote: I use LyX 1.6 SVN. which OS? At the end, you see Correction 18/05/08: setting the figure size in Inkscape's File-Document_Properties seems to be mendatory, while the --export-area-drawing doesn't seem to do anything.. It would be nice if we

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $ inkscape $$i

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
G. Milde wrote: Thanks for you answer. which OS? Linux Kubuntu 8.04. It would be nice if we could find the reason why --export-area-drawing works for some people while it does not for others. It works perfectly when used in command line. So, how about 6/ remove the SVG=PNG (and

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread Abdelrazak Younes
Tribulations Parallèles wrote: So, contrary to what is said in the LyX Wiki, it seems that the important converter for the preview is svg=PPM. ppm or png can be equally shown within LyX. I have tried to keep the orginal convertDefault.py, and defined a filter svg=PPM with the following

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread G. Milde
On 14.06.08, Tribulations Parallèles wrote: I use LyX 1.6 SVN. which OS? At the end, you see Correction 18/05/08: setting the figure size in Inkscape's File-Document_Properties seems to be mendatory, while the --export-area-drawing doesn't seem to do anything.. It would be nice if we

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
Abdelrazak Younes wrote: ppm or png can be equally shown within LyX. Ok. AFAIK, the semicolon is not for redirection but for command separation, you might want to use '' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $ inkscape $$i

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
G. Milde wrote: Thanks for you answer. which OS? Linux Kubuntu 8.04. It would be nice if we could find the reason why --export-area-drawing works for some people while it does not for others. It works perfectly when used in command line. So, how about 6/ remove the SVG=PNG (and

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread Abdelrazak Younes
Tribulations Parallèles wrote: So, contrary to what is said in the LyX Wiki, it seems that the important converter for the preview is svg=>PPM. ppm or png can be equally shown within LyX. I have tried to keep the orginal convertDefault.py, and defined a filter svg=>PPM with the following

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread G. Milde
On 14.06.08, Tribulations Parallèles wrote: > I use LyX 1.6 SVN. which OS? > At the end, you see "Correction 18/05/08: setting the figure size in > Inkscape's File->Document_Properties seems to be mendatory, while > the --export-area-drawing doesn't seem to do anything.". It would be nice

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
Abdelrazak Younes wrote: > ppm or png can be equally shown within LyX. Ok. > AFAIK, the semicolon is not for redirection but for command separation, > you might want to use '>' instead. Yes, I mean that I used the semicolon, because the following does not work in command line: $ inkscape $$i

Re: no way to obtain an SVG preview of the correct size

2008-06-16 Thread TP
G. Milde wrote: Thanks for you answer. > which OS? Linux Kubuntu 8.04. > It would be nice if we could find the reason why --export-area-drawing > works for some people while it does not for others. It works perfectly when used in command line. > So, how about > > 6/ remove the SVG=>PNG (and

no way to obtain an SVG preview of the correct size

2008-06-15 Thread Tribulations Parallèles
Hi us, I use LyX 1.6 SVN. I use sometimes Inkscape to make vectorial pictures, with the external material feature. To use Inkscape with LyX, a method is given here: http://wiki.lyx.org/Tips/UseInkscapeSVGImages At the end, you see Correction 18/05/08: setting the figure size in Inkscape's

no way to obtain an SVG preview of the correct size

2008-06-15 Thread Tribulations Parallèles
Hi us, I use LyX 1.6 SVN. I use sometimes Inkscape to make vectorial pictures, with the external material feature. To use Inkscape with LyX, a method is given here: http://wiki.lyx.org/Tips/UseInkscapeSVGImages At the end, you see Correction 18/05/08: setting the figure size in Inkscape's

no way to obtain an SVG preview of the correct size

2008-06-15 Thread Tribulations Parallèles
Hi us, I use LyX 1.6 SVN. I use sometimes Inkscape to make vectorial pictures, with the "external material" feature. To use Inkscape with LyX, a method is given here: http://wiki.lyx.org/Tips/UseInkscapeSVGImages At the end, you see "Correction 18/05/08: setting the figure size in Inkscape's