Re: Lyx for Win32, troubleshooting, Results

2003-10-28 Thread Paul A. Rubin
Frédéric Wullens <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > When I try to see eps picture in the Lyx window, Lyx uses convert.exe > (I chose to do so) in order to convert the picture as either png, or > bmp etc... formats. Having used the Lyx -dbg graphics function and > having use

Re: Lyx for Win32, troubleshooting, Results

2003-10-28 Thread Angus Leeming
Frédéric Wullens wrote: > > When I try to see eps picture in the Lyx window, Lyx uses > convert.exe (I chose to do so) in order to convert the picture as > either png, or bmp etc... formats. Having used the Lyx -dbg graphics > function and having used by hand 'convert test.eps test', I could > se

Re: Lyx for Win32, troubleshooting, Results

2003-10-28 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 10:16:53PM +, Angus Leeming wrote: > Yes, I have come to this conclusion myself and have changed the script > appropriately. The relevant line is now > FILE=`echo $arg2 | sed 's,^[^:]*:,,'` > > which cuts off anything up to and including the first ':'. > > In the long

Re: Lyx for Win32, troubleshooting, Results

2003-10-28 Thread Frédéric Wullens
When I try to see eps picture in the Lyx window, Lyx uses convert.exe (I chose to do so) in order to convert the picture as either png, or bmp etc... formats. Having used the Lyx -dbg graphics function and having used by hand 'convert test.eps test', I could see that convert uses Ghostscript, p

Re: Lyx for Win32, troubleshooting, Results

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 10:40 pm, Kayvan A. Sylvan wrote: > > > temp directory when the "Unable to find ..." message is generated. > > > The path and file name are correct. > > > > Good. So we have probably nailed down the problem. The file is > > generated correctly but LyX itself is unable to u

Re: Lyx for Win32, troubleshooting, Results

2003-10-27 Thread Kayvan A. Sylvan
> > temp directory when the "Unable to find ..." message is generated. > > The path and file name are correct. > > Good. So we have probably nailed down the problem. The file is > generated correctly but LyX itself is unable to understand this > 'mixed language' file name 'C:/foo/bar.ppm'. Mayb

Re: Lyx for Win32, troubleshooting, Results

2003-10-27 Thread Angus Leeming
Paul A. Rubin wrote: > [posted and mailed] > > Angus Leeming <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> >> You say that, if you run convertDefault.sh 'by hand', it works >> perfectly? > > Yes >> Could you try again with this new version, dumping output >> to a LyX temp directo

Re: Lyx for Win32, troubleshooting, Results

2003-10-27 Thread Paul A. Rubin
[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > You say that, if you run convertDefault.sh 'by hand', it works > perfectly? Yes > Could you try again with this new version, dumping output > to a LyX temp directory. > > In fact, since file names like

Re: Lyx for Win32, troubleshooting, Results

2003-10-24 Thread Angus Leeming
Paul A. Rubin wrote: > C:/LyX/lyx/share/lyx/scripts/convertDefault.sh invoked as: > jpg:C:/LyX/Documents/happy.jpg > ppm:C:/LyX/lyx/tmp/lyx_tmpdir4020a03188/happy4020a03188.ppm > C:/LyX/lyx/share/lyx/scripts/convertDefault.sh ERROR > Unable to find file > "C:/LyX/lyx/tmp/lyx_tmpdir4020a03188/happy

Re: Lyx for Win32, troubleshooting, Results

2003-10-24 Thread Paul A. Rubin
[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Could you augment conversionDefault.sh please. I want to establish > whether it is invoked successfully by LyX. > > Ahhh. I see one problem with the script... > > This: > FILE=`echo $2 | cut -d ':' -f

Re: Lyx for Win32, troubleshooting, Results

2003-10-24 Thread Angus Leeming
Paul A. Rubin wrote: > Angus Leeming <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> I wonder if the problem lies with LyX trying to read a file with >> this strange combination of Windows (C: prefix) and unix ('/' >> rather than '\') notation? >> >> Can you try and visualise the fil

Re: Lyx for Win32, troubleshooting, Results

2003-10-24 Thread Paul A. Rubin
Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I wonder if the problem lies with LyX trying to read a file with this > strange combination of Windows (C: prefix) and unix ('/' rather than > '\') notation? > > Can you try and visualise the file happy.jpg within LyX. Presuma

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Angus Leeming
Paul A. Rubin wrote: > Works like a charm. The .ppm file is written in the temp directory, > alongside the (as yet empty) lyx_tmpbuf0 subdirectory. So, we have ascertained that we can generate the graphic file. I wonder if the problem lies with LyX trying to read a file with this strange combin

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Paul A. Rubin
[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Paul A. Rubin wrote: >> C:\LyX\Documents>sh C:/LyX/lyx/share/lyx/scripts/convertDefault.sh > Refering to your original error message: > >> sh C:/LyX/lyx/share/lyx/scripts/convertDefault.sh > jpg:C:/

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Angus Leeming
Paul A. Rubin wrote: > C:\LyX\Documents>sh C:/LyX/lyx/share/lyx/scripts/convertDefault.sh > jpg:C:/LyX/Documents/happy.jpg ppm:C:/LyX/Documents/happy.ppm > > works fine. (I'm assuming that ${PATH_TO} was shorthand for > inserting the path, as opposed to PATH_TO literally being an > exported envir

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Paul A. Rubin
[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Next step: > $ sh ${PATH_TO}/convertDefault.sh jpg:C:/LyX/Documents/happy.jpg > ppm:C:/LyX/Documents/happy.ppm > C:\LyX\Documents>sh C:/LyX/lyx/share/lyx/scripts/convertDefault.sh jpg:C:/LyX/Documents/ha

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Angus Leeming
Paul A. Rubin wrote: >> $ convert jpg:C:/LyX/Documents/happy.jpg >> ppm:C:/LyX/Documents/happy.ppm > > Works fine. > >> How does it cope with this? >> >> $ convert jpg:C:\LyX\Documents\happy.jpg >> ppm:C:\LyX\Documents\happy.ppm > > Also works fine. Next step: $ sh ${PATH_TO}/convertDefault.sh

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Paul A. Rubin
[posted and mailed] Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Paul A. Rubin wrote: >> Hmm. Not on my system. I'm running with the default set of >> converter definitions, and when convertDefault.sh is run, I get the >> following problem: >> >>> No converter d

Re: Lyx for Win32, troubleshooting, Results

2003-10-23 Thread Angus Leeming
John Levon wrote: > On Wed, Oct 22, 2003 at 07:16:33PM -0700, Henry Pfister wrote: > >> Could you explain this to me? Right now, Lyx is compatible with >> the >> Qt toolkit for unix (which is under the GPL). What prevents a >> single Lyx developer from buying the single user windows Qt toolkit

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread John Levon
On Wed, Oct 22, 2003 at 07:16:33PM -0700, Henry Pfister wrote: > Could you explain this to me? Right now, Lyx is compatible with the > Qt toolkit for unix (which is under the GPL). What prevents a single > Lyx developer from buying the single user windows Qt toolkit from > Trolltech for $1500, a

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Henry Pfister
John Levon wrote: QT 2.3 was the only version released with a free licence. Of course, if you and other Win32 users were to chip in and buy LyX a commercial Win32 Qt licence... Isn't the LyX founder Matthias Ettrich able to underwrite a QT3 licence? I heared he's working for Trolltech.

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread John Levon
On Thu, Oct 23, 2003 at 02:32:46AM +0200, Uwe St?hr wrote: > > QT 2.3 was the only version released with a free licence. Of course, > > if you and other Win32 users were to chip in and buy LyX a commercial > > Win32 Qt licence... > > Isn't the LyX founder Matthias Ettrich able to underwrite a QT3

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Uwe Stöhr
> QT 2.3 was the only version released with a free licence. Of course, > if you and other Win32 users were to chip in and buy LyX a commercial > Win32 Qt licence... Isn't the LyX founder Matthias Ettrich able to underwrite a QT3 licence? I heared he's working for Trolltech. > (This is cut and pas

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Paul A. Rubin wrote: > Hmm. Not on my system. I'm running with the default set of > converter definitions, and when convertDefault.sh is run, I get the > following problem: > >> No converter defined! I use convertDefault.sh >> sh C:/LyX/lyx/share/lyx/scripts/convertDefault.sh > j

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Paul A. Rubin
Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: >> C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/lyxconvert1.sh: >> C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/lyxconvert1.sh: >> No such file or directory >> LyX: Child (pid: 616) stopped on signal 0. Waiting for child to >>

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Uwe Stöhr wrote: >> LyX has found a converter from gif to png format. It writes a >> little shell script to do this and gets the shell to do the work. >> >> > #!/bin/sh >> >> [snipped the contents of the shell script...] >> >> All looks Ok. The script will take your file >> C:/lyxdokumente

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Uwe Stöhr wrote: >> Are you sure that your Qt library can't load jpg images? > > It seems so. Maybe because Ruurd uses QT 2.3. > Is there any reason why he couldn't compile it with QT 3? QT 2.3 was the only version released with a free licence. Of course, if you and other Win32 users were to c

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Uwe Stöhr
> Are you sure that your Qt library can't load jpg images? It seems so. Maybe because Ruurd uses QT 2.3. Is there any reason why he couldn't compile it with QT 3? That would also solve some other display problems. > > What happens if you run convert 'by hand'? > ImageMagick do the job correctly (o

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Uwe Stöhr
> \converter "lyxpreview" "ppm" "convertDefault.sh " "" > \converter "jpg" "eps" "convert $$i $$o" "" > \converter "gif" "eps" "convert $$i $$o" "" > \converter "png" "eps" "convert $$i $$o" "" > \converter "eps" "eps" "convert $$i $$o" "" > \converter "eps" "ppm" "convert $$i $$o" "" > \converter

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Uwe Stöhr
> LyX has found a converter from gif to png format. It writes a little > shell script to do this and gets the shell to do the work. > > > #!/bin/sh > > [snipped the contents of the shell script...] > > All looks Ok. The script will take your file > C:/lyxdokumente/.lyx/clipart/Gauss.gif > a

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Frédéric Wullens wrote: > A question and a general comment about setting the preferences for > viewing the different file formats in the Lyx window. > -If you make a modification in the converter part of the > preferences, save them and AFTER reconfigure, do you loose the > modifications that you

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Frédéric Wullens
A question and a general comment about setting the preferences for viewing the different file formats in the Lyx window. -If you make a modification in the converter part of the preferences, save them and AFTER reconfigure, do you loose the modifications that you have just done? I have tried thi

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Uwe Stöhr wrote: > I added converters for all important image formats -> EPS and -> PNG > (except JPG -> PNG (when I add this, JPG could no longer displayed > insinde LyX, the same Problem like the descripted GIF problem. But > it's not necessary to have a converter for this.)) > Now I can export

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Uwe Stöhr
I added converters for all important image formats -> EPS and -> PNG (except JPG -> PNG (when I add this, JPG could no longer displayed insinde LyX, the same Problem like the descripted GIF problem. But it's not necessary to have a converter for this.)) Now I can export the documents to DVI or PDF.

Re: Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Angus Leeming
Frédéric Wullens wrote: > 2- In order to be able to export pictures of any type displayed in > Lyx into the DVI viewer, one has to add a converter in > edit->preferences->converters > for instance if you have a PNG in the Lyx to be seen in DVI, put a > converter from PNG to EPS, the converter is :

Lyx for Win32, troubleshooting, Results

2003-10-22 Thread Frédéric Wullens
Thanks Paul, Philip and Uwe for your advice. 1- I could check that ImageMagick works with the following command in the DOS window : identify -verbose logo: (it sorts of triggered Imagemagick!!) 2- In order to be able to export pictures of any type displayed in Lyx into the DVI viewer, one has t