Re: Help with figure preview

2004-09-28 Thread Paul A. Rubin
Uwe Stöhr wrote: Your EPS -> PDF coverter has the command epstopdf --outfile=$$o $$i right? So when you choose View -> PDF in LyX you'll get a valid pdf file with correct images, also right? Actually, I had replaced that line, because when I first installed LyX 1.3.3 the default EPS -> PDF conver

Re: Help with figure preview

2004-09-28 Thread Herbert Voss
Uwe Stöhr wrote: Angus Leeming wrote: Uwe, I don't understand. Do you want to add an extra "pdf:" to the convert, No, I want convert -depth 8 eps:foo.eps pdf:foo.pdf and where is the sense? convert checkes the file extension for the file type. But there must be another problem, because

Re: Help with figure preview

2004-09-28 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: (btw. you can omit the parameter -depth 8) Angus> In your personal copy. Not in the version that ships with LyX. Angus> Other's have other problems. ... except that nobody really remembers what they are :) Also, I su

Re: Help with figure preview

2004-09-28 Thread Herbert Voss
Uwe Stöhr wrote: Angus Leeming wrote: The correct command would be convert -depth 8 $1 pdf:$2 Interesting, but wrong (I believe ;-) No, that is the right command for convert. Of course one can't use it for ConvertDefault.sh. convert should only be used, when there is no special image converter. A

Re: Help with figure preview

2004-09-28 Thread L.
PROTECTED]> Sent: Monday, September 27, 2004 1:48 PM Subject: Re: Help with figure preview > Paul A. Rubin wrote: > > > You're right, deleting the EPS->PNG converter (and an > > EPS->PDF converter I had) fixed the problem. > > Please leave the EPS -> PDF c

Re: Help with figure preview

2004-09-28 Thread Angus Leeming
Uwe Stöhr wrote: >> Try adding >>echo "convert -depth 8 $1 $2" > > This gives the expected result from above. > So LyX works correctly. > > So excuse my sometimes confusing postings. > > But there must be another problem, because on some installations, > the calling of convert with eps i

Re: Help with figure preview

2004-09-28 Thread Uwe=20St=F6hr
Angus Leeming wrote: > Uwe, I don't understand. Do you want to add an extra "pdf:" to the > convert, No, I want convert -depth 8 eps:foo.eps pdf:foo.pdf > Try adding >echo "convert -depth 8 $1 $2" This gives the expected result from above. So LyX works correctly. So excuse m

Re: Help with figure preview

2004-09-28 Thread Angus Leeming
Uwe Stöhr wrote: > Angus Leeming wrote: > >>>The correct command would be >>>convert -depth 8 $1 pdf:$2 >> >> Interesting, but wrong (I believe ;-) > > No, that is the right command for convert. > Of course one can't use it for ConvertDefault.sh. Uwe, I don't understand. Do you want to add an

Re: Help with figure preview

2004-09-28 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> (btw. you can omit the parameter -depth 8) Angus> In your personal copy. Not in the version that ships with LyX. Angus> Other's have other problems. ... except that nobody really remembers what they are :) Also, I suspect that this -d

Re: Help with figure preview

2004-09-28 Thread Uwe Stöhr
Angus Leeming wrote: The correct command would be convert -depth 8 $1 pdf:$2 Interesting, but wrong (I believe ;-) No, that is the right command for convert. Of course one can't use it for ConvertDefault.sh. The "pdf:" prefix is passd to convertDefault.sh as part of $2. It should be, but when conve

Re: Help with figure preview

2004-09-28 Thread Angus Leeming
Uwe Stöhr wrote: > This is correct, because in convertDefault.sh the command is > convert -depth 8 $1 $2 > and this invokes the command line of ghostscript. > The correct command would be > convert -depth 8 $1 pdf:$2 Interesting, but wrong (I believe ;-) The "pdf:" prefix is passd to convertDefau

Re: Help with figure preview

2004-09-28 Thread Rob S
Hi All; This is all very strange. I have two different setups at home and both work without errors. Both on Windows XP and LyX 1.3.3 I have done nothing to any of the converters whatsoever. However, I have ammended the configure script to pick up the native windows version of gs. Perhaps not the

Re: Help with figure preview

2004-09-27 Thread Uwe Stöhr
Paul A. Rubin wrote: Second, if I follow Uwe's suggestion to leave the EPS->PDF converter alone and just delete the EPS->PNG converter, then I get load errors on all the EPS files in the user guide. That's why I took them both out -- it appears that the existence of any EPS->whatever converter

Re: Help with figure preview

2004-09-27 Thread Uwe Stöhr
Herbert Voss wrote: The program "epstopdf" works often much faster than "convert". huh? How should this work, when both uses ghostscript?? A good question. I exported once a LyX-document to pdf (pdflatex) with about 200 eps images. ImageMagick's convert (ImageMagick version 5.5.7) was slower. But

Re: Help with figure preview

2004-09-27 Thread Herbert Voss
Uwe Stöhr wrote: ImageMagick's "convert" is also able to convert eps figures, but it needs Ghostscript. This causes sometimes troubles, because some ImageMagick versions weren't able to communicate correctly with ghostscript: -- ImageMagick 6.0.7 Chan

Re: Help with figure preview

2004-09-27 Thread Paul A. Rubin
Angus Leeming wrote: Uwe Stöhr wrote: You're right, deleting the EPS->PNG converter (and an EPS->PDF converter I had) fixed the problem. Please leave the EPS -> PDF converter (epstopdf --outfile=$$o $$i). This is a predefined converter that works without any problems. Huh, so there's nothing wrong

Re: Help with figure preview

2004-09-27 Thread Angus Leeming
Uwe Stöhr wrote: >> You're right, deleting the EPS->PNG converter (and an >> EPS->PDF converter I had) fixed the problem. > > Please leave the EPS -> PDF converter (epstopdf --outfile=$$o $$i). > This is a predefined converter that works without any problems. Huh, so there's nothing wrong with th

Re: Help with figure preview

2004-09-27 Thread Uwe Stöhr
Paul A. Rubin wrote: You're right, deleting the EPS->PNG converter (and an EPS->PDF converter I had) fixed the problem. Please leave the EPS -> PDF converter (epstopdf --outfile=$$o $$i). This is a predefined converter that works without any problems. ImageMagick's "convert" is also able to conver

Re: Help with figure preview

2004-09-27 Thread Paul A. Rubin
Thanks Uwe. You're right, deleting the EPS->PNG converter (and an EPS->PDF converter I had) fixed the problem. -- Paul At 03:13 PM 9/27/2004, Uwe Stöhr wrote: Paul A. Rubin wrote: I have ImageMagick's convert utility on the command path (ahead of the Windoze system directory), and I have an EPS

Re: Help with figure preview

2004-09-27 Thread Uwe Stöhr
Paul A. Rubin wrote: I have ImageMagick's convert utility on the command path (ahead of the Windoze system directory), and I have an EPS->PNG converter defined (just calls "convert" with arguments). In fact if I run convertDefault.sh manually it works fine. Sure enough, there is no lyxconvert