Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread jorgen johansson
Hello again, I narrowed down the problem: Your file works fine for me as well. The problem lies within the path to the image and if file extension is specified in the latex file. I have broken it down to 9 cases. see below for details Conclusion: Image conversion works fine from within LyX

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread Herbert Voss
jorgen johansson wrote: Could you send me an example file and the latex2html command you used to get it to work? as I said, the problem with LyX is, that you need an exported TeX file, but LyX doesn't know, that it should not use latex, because in this case the jpeg image is converted to eps and t

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread jorgen johansson
Herbert, Could you send me an example file and the latex2html command you used to get it to work? Time for me to go to bed. I will try tomorrow. Thanks Herbert Voss wrote: jorgen johansson wrote: I suppose that LyX runs latex instead of pdflatex and then latex2html takes the converted jpg-eps

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread Herbert Voss
jorgen johansson wrote: I suppose that LyX runs latex instead of pdflatex and then latex2html takes the converted jpg-eps and converts it again to jpg. Try to run _first_ pdflatex from inside LyX and then latex2html. No difference I am afraid, l2h keeps on converting the figures to eps through

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread jorgen johansson
Hello, I suppose that LyX runs latex instead of pdflatex and then latex2html takes the converted jpg-eps and converts it again to jpg. Try to run _first_ pdflatex from inside LyX and then latex2html. No difference I am afraid, l2h keeps on converting the figures to eps through dvips etc... I will

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread Herbert Voss
jorgen johansson wrote: Some questions/problems: 1) My jpg figure is still converted. Is this because inside lyx I have specified output scale to 20%? no, this is passed to TeX 2) Run l2h from inside LyX: (by specifying latex->html coverter in prefs) The command is: latex2html -debug -no_subdir

Re: prevent image conversion .lyx -> .html by l2h

2004-02-23 Thread jorgen johansson
Hello Herbert, I was to slow in informing you that after getting your 1st response I installed the gnuwin32 patch program and patched the original L2H files ( with some tweaking, one patch had to be done by hand). I got the patched l2h installed and can now run it to get jpg output, but... Som

Re: prevent image conversion .lyx -> .html by l2h

2004-02-22 Thread Herbert Voss
jorgen johansson wrote: I had seen the patch when I was surfing around for info, but I wasn't sure if this was what was I looking for. with the patched version you can simply run latex2html texfile, then all jpg images are unchanged or with the image_type option other formats are converted to jpg

Re: prevent image conversion .lyx -> .html by l2h

2004-02-22 Thread jorgen johansson
Herbert, I had seen the patch when I was surfing around for info, but I wasn't sure if this was what was I looking for. On a windows system, what is the easiest way apply a patch? On unix/linux there is a program "patch" but I have never used it. I saw that there is a patch program for windows

Re: prevent image conversion .lyx -> .html by l2h

2004-02-21 Thread Herbert Voss
Georg Baum wrote: Am Freitag, 20. Februar 2004 17:25 schrieb jorgen johansson: Hello, I have got latex2html 2002-2-1 (1.71) up and running together with lyx 1.3.3 (native qt version under windows XP). I have some photos in .jpg format that I'd rather keep in that format for the html version of

Re: prevent image conversion .lyx -> .html by l2h

2004-02-21 Thread Herbert Voss
Herbert Voss wrote: jorgen johansson wrote: I have got latex2html 2002-2-1 (1.71) up and running together with lyx 1.3.3 (native qt version under windows XP). I have some photos in .jpg format that I'd rather keep in that format for the html version of my document. But l2h converts it to .gif o

Re: prevent image conversion .lyx -> .html by l2h

2004-02-21 Thread Herbert Voss
jorgen johansson wrote: I have got latex2html 2002-2-1 (1.71) up and running together with lyx 1.3.3 (native qt version under windows XP). I have some photos in .jpg format that I'd rather keep in that format for the html version of my document. But l2h converts it to .gif or .png (depending

Re: prevent image conversion .lyx -> .html by l2h

2004-02-21 Thread Georg Baum
Am Freitag, 20. Februar 2004 17:25 schrieb jorgen johansson: > Hello, > > I have got latex2html 2002-2-1 (1.71) up and running together with lyx > 1.3.3 (native qt version under windows XP). > > I have some photos in .jpg format that I'd rather keep in that format > for the html version of my d

prevent image conversion .lyx -> .html by l2h

2004-02-20 Thread jorgen johansson
Hello, I have got latex2html 2002-2-1 (1.71) up and running together with lyx 1.3.3 (native qt version under windows XP). I have some photos in .jpg format that I'd rather keep in that format for the html version of my document. But l2h converts it to .gif or .png (depending on the settings l

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-14 Thread Philip A. Viton
On winnt/convert 5.5.7-Q16/gs8.11 : works fine for me. For various obscure reasons I don't change my path, so I need to call convert.exe with a full path; but there's no problem with that, and gs is still found. My impression is that whenever GS reports one of these messages, it almost always

Re: image conversion tools

2003-09-13 Thread jorgen johansson
(I send this to developers news group as well since they may know more about my question below). I don't know about the lyx source code but maybe there is a possibility to directly tell LyX to use the shared libraries in its own installation path in win XP/2000/9X instead of using the ones inst

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-12 Thread Ben Liesfeld
Hi Andre, > On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: >> I was referring to the use of ImageMagick and Ghostscript on the >> windows platform (you are apparently using *nix). > I noticed that. Sorry for stating the obvious ;-) I was just loosing track of the whole thread

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 06:09:49PM +0200, Ben Liesfeld wrote: > I was referring to the use of ImageMagick and Ghostscript on the > windows platform (you are apparently using *nix). I noticed that. > Somehow ImageMagick and GS don't work together on my platform > (WinXP) but it seems that

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-12 Thread Ben Liesfeld
Hi Andre, > On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: >> convert test.eps test.bmp >> or >> convert test.eps test.ppm >> >> from the command line doesn't work (but the correct convert.exe is >> called, so the path is ok somehow). Still, ghostscript is complaining >>

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 05:11:25PM +0200, Ben Liesfeld wrote: > convert test.eps test.bmp > or > convert test.eps test.ppm > > from the command line doesn't work (but the correct convert.exe is > called, so the path is ok somehow). Still, ghostscript is complaining > about /undefinedfi

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-12 Thread Ben Liesfeld
Hi Jorgen, > I am using > AFPL Ghostscript 8.11 > D:\Program Files\ImageMagick-5.5.7-Q8\ That's strange. I moved back to ImageMagick Q8 (from Q16) and I was using Ghostscript 8.11 all the time. But still I cannot convert a sample file. convert test.eps test.bmp or convert test.eps t

Re: image conversion tools

2003-09-12 Thread Niklas Huldén
Jorgen Johansson wrote: Hello again, I am not sure what was going on, but I noticed in the about box that qt lyx was not using the shared library under its own installation. It was using the shared libraries for the lyx 1.3.1 version (under cygwin). I renamed temporary my cygwin directory to so

Re: image conversion tools

2003-09-12 Thread Jorgen Johansson
[EMAIL PROTECTED] On Behalf Of jorgen johansson Sent: 10 September 2003 19:37 To: [EMAIL PROTECTED] Subject: Re: image conversion tools Hello, I wonder if imagemagick has to be installed as a part of cygwin or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-11 Thread jorgen johansson
forgot: If execute the line which gives me the error in the lyx debug sh C:/lyx/share/lyx/scripts/convertDefault.sh eps:F:/chapters/fig/exp/rose.eps ppm:C:/cygwin/tmp/lyx_tmpdir2468a02816/rose2468a02816.ppm in a command window the figure is converted correctly. Strange? jorgen

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-11 Thread jorgen johansson
${tofile} || { 'cp' -f ${fromfile} ${tofile} || { exit 1 } 'rm' -f ${fromfile} } -- Image conversion succeeded. Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScal

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-11 Thread Ben Liesfeld
nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11:

Re: Image conversion and Lyx qt 1.3.2 win

2003-09-11 Thread jorgen johansson
se 1 %stopped_push Dictionary stack: --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 c:\program files\imagemagick-5.5.7-q16\convert.exe: DPS libr

Image conversion and Lyx qt 1.3.2 win

2003-09-11 Thread Ben Liesfeld
o)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- Current allocation mode is local Last OS error: No such file or directory AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 c:\program files\imagemagick-5.5.7-q16\convert.exe: DPS library is not available (W:/Documents/umichpaper/comment-ref

Re: image conversion tools

2003-09-11 Thread jorgen johansson
I'd love to be able to do that but I am so far not a C++ programmer. Mainly using fortran 95 for my research. I'm familiar with C syntax and know a little bit about object oriented languageas, but I have no experience in developing for large projects. I guess downloading Lyx sources and start l

Re: image conversion tools

2003-09-10 Thread Angus Leeming
jorgen johansson wrote: > Hello again, > > Sorry to bother you all. I conversion works both with windows native or > cygwin Imagemagick. I had to add an explicit converter in the > preferences, either to use the cygwin or the windows Imagemagick. > If not the qt 1.3.2 lyx was looking for the > /u

Re: image conversion tools

2003-09-10 Thread jorgen johansson
n or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on windows XP? I tried installing a couple of months ago and couldn't get it to work (the image conversion) I debugged and was also in contact with Ruurd Reitsma directly. No solution back then. I trie

RE: image conversion tools

2003-09-10 Thread Rob S
Rob S > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of jorgen johansson > Sent: 10 September 2003 19:37 > To: [EMAIL PROTECTED] > Subject: Re: image conversion tools > > Hello, > > I wonder if imagemagick has to be installed as a part of

Re: image conversion tools

2003-09-10 Thread Kayvan A. Sylvan
couple of months ago and couldn't get it to work > (the image conversion) I debugged and was also in contact with Ruurd > Reitsma directly. No solution back then. > > I tried tonight again and same error. > > Was the problem that I need the cygwin version of imagemagick?. &

Re: image conversion tools

2003-09-10 Thread jorgen johansson
Hello, I wonder if imagemagick has to be installed as a part of cygwin or can I use the native windows imagemagick when I want use the native qt lyx 1.3.2 on windows XP? I tried installing a couple of months ago and couldn't get it to work (the image conversion) I debugged and was al

Re: image conversion tools

2003-08-29 Thread Kayvan A. Sylvan
On Thu, Aug 28, 2003 at 02:17:34PM +, Angus Leeming wrote: > > What does the debug output tell you? (lyx -dbg graphics) > > What happens if you define a converter explicitly. Eg > > \converter "eps" "png" "my_ps2png $$i $$o" "" > \converter "eps" "ppm" "my_ps2ppm $$i $$o" "" > \converter "pn

Re: image conversion tools

2003-08-28 Thread Jean-Pierre.Chretien
>>Date: Thu, 28 Aug 2003 06:02:26 -0700 >>From: "Kayvan A. Sylvan" <[EMAIL PROTECTED]> >>To: "'Angus Leeming'" <[EMAIL PROTECTED]> >>Cc: [EMAIL PROTECTED] >>Subject: Re: image conversion tools >>X-PGP-Key: http://www.

Re: image conversion tools

2003-08-28 Thread Angus Leeming
On Thursday 28 August 2003 12:57 pm, Rob Saunders wrote: > > I'm guessing now but is something like the code in your previous reply > required? How much of this needs to be entered at the preference text? > > \converter png eps "convert $$i EPS:$$o" "" > \converter jpg eps "convert $$i EPS:$$o"

Re: image conversion tools

2003-08-28 Thread Angus Leeming
Kayvan A. Sylvan wrote: > On Thu, Aug 28, 2003 at 01:24:46PM +0100, Rob Saunders wrote: >> >> >> >> This appears to be a problem, at least with my set ups, in the win32(XP >> pro) Qt version as well. In the same manner as original problem I >> cannot convert .bmp to .eps without Lyx running t

Re: image conversion tools

2003-08-28 Thread Angus Leeming
Jean-Pierre.Chretien wrote: > Sure, but as most of us rely on Imagemagick to do it, why not > preconfigure the standard preferences to use convert/display/mogrify ? Shrug. Herbert wrote convertDefault.sh as a fall back because he got sick of adding yet another conversion process to the configure

Re: image conversion tools

2003-08-28 Thread Kayvan A. Sylvan
On Thu, Aug 28, 2003 at 01:24:46PM +0100, Rob Saunders wrote: > > > > This appears to be a problem, at least with my set ups, in the win32(XP > pro) Qt version as well. In the same manner as original problem I > cannot convert .bmp to .eps without Lyx running the convertDefault.sh > even thoug

RE: image conversion tools

2003-08-28 Thread Rob Saunders
> > Or, and in my opinion, preferable, don't use convertDefault.sh at all but > define converters from format to format. The preferences dialog makes this > trivial. This is where I get to- trying to set up my preferences here. Trouble is I'm not sure of the arguments required to convert from o

Re: image conversion tools

2003-08-28 Thread Jean-Pierre.Chretien
>>From: Angus Leeming <[EMAIL PROTECTED]> >>To: "Rob Saunders" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >>Subject: Re: image conversion tools >>Date: Thu, 28 Aug 2003 13:36:10 + >> >>On Thursday 28 August 2003 12:24 pm, Rob Sa

Re: image conversion tools

2003-08-28 Thread Angus Leeming
On Thursday 28 August 2003 12:24 pm, Rob Saunders wrote: > This appears to be a problem, at least with my set ups, in the win32(XP > pro) Qt version as well. In the same manner as original problem I > cannot convert .bmp to .eps without Lyx running the convertDefault.sh > even though .bmp view we

RE: image conversion tools

2003-08-28 Thread Rob Saunders
This appears to be a problem, at least with my set ups, in the win32(XP pro) Qt version as well. In the same manner as original problem I cannot convert .bmp to .eps without Lyx running the convertDefault.sh even though .bmp view well in the gui - So I have given up trying! Now I just use eps

Re: image conversion tools

2003-08-28 Thread Angus Leeming
Jean-Pierre.Chretien wrote: > Could it come from > .../share/lyx/scripts/convertDefault.sh > being not executable ? Have I ever told anyone that I hate that bloody script ;-) Yes, Jean-Pierre, you are correct. So the fix is either to make the script executable or to patch the LyX source: Index:

Re: image conversion tools

2003-08-28 Thread Jean-Pierre.Chretien
>>From: Andre Poenitz <[EMAIL PROTECTED]> >>Date: Thu, 28 Aug 2003 12:23:05 +0200 >>To: Thomi Richards <[EMAIL PROTECTED]> >>Cc: LyX Users <[EMAIL PROTECTED]> >>Subject: Re: image conversion tools >>X-Spam-Score: -26.1 (---

Re: image conversion tools

2003-08-28 Thread Angus Leeming
Thomi Richards wrote: > Hi all, > > I used to have lyx set up so I could hit "View -> PDF", and everything > would work without any hitches. However, since re-installing debian, I > must have missed a critical program. Now i get the message "No information > for converting jpg to eps", and "No inf

Re: image conversion tools

2003-08-28 Thread Andre Poenitz
On Wed, Aug 27, 2003 at 07:01:22PM +1200, Thomi Richards wrote: > > Hi all, > > > I used to have lyx set up so I could hit "View -> PDF", and everything would > work without any hitches. However, since re-installing debian, I must have > missed a critical program. Now i get the message "No inf

image conversion tools

2003-08-28 Thread Thomi Richards
Hi all, I used to have lyx set up so I could hit "View -> PDF", and everything would work without any hitches. However, since re-installing debian, I must have missed a critical program. Now i get the message "No information for converting jpg to eps", and "No information for converting png t

Re: Image conversion

2002-04-08 Thread Hellmut Weber
Hi Herbert, thanks a lot. As always you offer lots of useful information! §;-)) Especially this link: > http://www.lyx.org/help/ScreenShot/ScreenShot.php Hellmut

Re: Image conversion

2002-04-07 Thread Hellmut Weber
Hi Arnim, thanks a lot. §;-)) import works just fine. Greetings from Munich, Germany Hellmut

Re: Image conversion

2002-04-05 Thread Herbert Voss
Wayan wrote: > On Fri, 5 Apr 2002, Hellmut Weber wrote: > > >>having the same problem but no experience how to use GIMP I would be >>grateful for some hints just to take a snapshot of a window and to save >>it in a format which can be imported into a LyX document. >> > > to take a snapshot of

Re: Image conversion

2002-04-05 Thread Wayan
On Fri, 5 Apr 2002, Hellmut Weber wrote: > having the same problem but no experience how to use GIMP I would be > grateful for some hints just to take a snapshot of a window and to save > it in a format which can be imported into a LyX document. to take a snapshot of a windows just click File (

Re: Image conversion

2002-04-05 Thread Hellmut Weber
Hi, having the same problem but no experience how to use GIMP I would be grateful for some hints just to take a snapshot of a window and to save it in a format which can be imported into a LyX document. Thanks Hellmut >"Convert" should be fine... you might look at the help for that > program

Re: Image conversion

2002-02-14 Thread Wayan
On Thu, 14 Feb 2002, Dekel Tsur wrote: > > ghostscript 5.50-17 > > I don't know, but 5.5 is way too old. yes, that is too old. The newest is GNU Ghostscript 6.52 and APPL Ghostscript 7.04 http://www.cs.wisc.edu/~ghost/ Wayan

Re: Image conversion

2002-02-14 Thread Dekel Tsur
On Thu, Feb 14, 2002 at 04:26:40PM -0300, Roberto Hernandez wrote: > Dekel Tsur wrote: > > Gv is able to show images correctly if you have a new version of ghostscript. > > How new? I have > > ghostscript 5.50-17 I don't know, but 5.5 is way too old.

Re: Image conversion

2002-02-14 Thread Roberto Hernandez
Dekel Tsur wrote: > Gv is able to show images correctly if you have a new version of ghostscript. How new? I have ghostscript 5.50-17 gv 3.5.8-11 Both included with RedHat 7.1

Re: Image conversion

2002-02-14 Thread Dekel Tsur
On Thu, Feb 14, 2002 at 03:09:23PM +1030, Nick Burgan wrote: > I think that most eps images look bad in Lyx or in GV (I think they use the > same rendering engine). I had some photographs which were jpegs and I > converted them to eps to put in a LyX document. They look very grainy in LyX > and

Re: Image conversion

2002-02-13 Thread Nick Burgan
Hi Roberto > > I need to convert PNG files to EPS so I can include them in a LyX > document. I've tried using "convert" and it works, but the output looks > pretty bad on GV. Is that a "convert" problem or do all PNG -> EPS > conversions look bad? > I think that most eps images look bad in Lyx or

Re: Image conversion

2002-01-27 Thread Larry Kollar
Guenter Milde <[EMAIL PROTECTED]> wrote: > > > gimp will take a screenshot for you. you can then save it using gimp to > > > anything you want, jpg, gif, etc > > > > That's really a 'windows' attitude ;) Launching a multi-megabytes complex > > program for a very simple task that can be done wit

Re: Image conversion

2002-01-25 Thread sender
o hydrogen atoms love each other very much, // they bond with an oxygen atom..." --Trance Gemini, Andromeda On Fri, 25 Jan 2002, Matej Cepl wrote: > Date: Fri, 25 Jan 2002 10:20:59 -0500 > From: Matej Cepl <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Image con

Re: Image conversion

2002-01-25 Thread Matej Cepl
On Thu, Jan 24, 2002 at 10:27:25PM -0300, Roberto Hernandez wrote: > What I'm doing is documenting a program, so I'm including screenshots. I > used KSnapshot to capture the graphics and that saves the files in PNG > format. If there's a better way to do this, please let me know. If you do not

Re: Image conversion

2002-01-25 Thread Renaud MICHEL
Le Vendredi 25 Janvier 2002 02:27, vous avez écrit : > I need to convert PNG files to EPS so I can include them in a LyX > document. I've tried using "convert" and it works, but the output looks > pretty bad on GV. Is that a "convert" problem or do all PNG -> EPS > conversions look bad? I had som

Re: Re: Image conversion

2002-01-25 Thread Guenter Milde
On Fri, 25 Jan 2002 10:32:04 +0100 (CET) wrote Yannick Patois <[EMAIL PROTECTED]>: > Hi, > > On Thu, 24 Jan 2002, bcr wrote: > > gimp will take a screenshot for you. you can then save it using gimp to > > anything you want, jpg, gif, etc > > That's really a 'windows' attitude ;) Launching a mult

Re: Image conversion

2002-01-25 Thread Yannick Patois
Hi, On Thu, 24 Jan 2002, bcr wrote: > gimp will take a screenshot for you. you can then save it using gimp to > anything you want, jpg, gif, etc That's really a 'windows' attitude ;) Launching a multi-megabytes complex program for a very simple task that can be done with two command lines. > >

Re: Image conversion

2002-01-24 Thread Jean-Pierre.Chretien
>>Date: Thu, 24 Jan 2002 22:27:25 -0300 >>From: Roberto Hernandez <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Image conversion >> >>Hi, >> >>I need to convert PNG files to EPS so I can include them in a LyX >>document. I

Re: Image conversion

2002-01-24 Thread Wolf J . Flywheel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 24 January 2002 20:27, Roberto Hernandez wrote: > I need to convert PNG files to EPS so I can include them in a LyX > document. I've tried using "convert" and it works, but the output > looks pretty bad on GV. Is that a "convert" problem

Re: Image conversion

2002-01-24 Thread bcr
each other very much, // they bond with an oxygen atom..." --Trance Gemini, Andromeda On Thu, 24 Jan 2002, Roberto Hernandez wrote: > Date: Thu, 24 Jan 2002 22:27:25 -0300 > From: Roberto Hernandez <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Image conver

Image conversion

2002-01-24 Thread Roberto Hernandez
nting a program, so I'm including screenshots. I used KSnapshot to capture the graphics and that saves the files in PNG format. If there's a better way to do this, please let me know. I've looked through the documentation and the LyX Tips page, but I couldn't find any information on image conversion. TIA, Roberto