Thanks! for the tip, Kathryn,

It WORKS!! LyX can render included graphics, again.

So some advice for LyX users who upgrade to SUSE 7.3:
  If LyX will not render your included graphics, upgrade to
  ghostscript-7.03 as suggested by Stephen Gregory, below.
  
  I could not rebuild the RedHat source rpm on my SUSE box, but
  I did compile the source (ghostscript-7.03.tar.gz) from
  (http://www.cs.wisc.edu/~ghost/doc/AFPL/get703.htm). You will need to
  edit the gs7.03/src/unix-gcc.mak file to tell it the directories
  you've placed the ungzipped and untarred sources for jpeg, libpng, and
  zlib, (use tar xzvf jpegsrc.v6b.tar.gz, for example). Then create a
  symbolic link in the gs7.03 directory 
  (for example: ln -s src/unix-gcc.mak Makefile)
  Then "make" and "make install" should set up ghostscript in /usr/local.
  Tell LyX to use this version of ghostscript in your ~/.lyx/lyxrc file
  (\ps_command "/usr/local/bin/gs") and it should happily render your 
  included eps files.

-Ron.

On 24 Nov, Kathryn Andersen wrote:
> I haven't tried this yet myself, but I'm forwarding as suggested.
> 
> ----- Forwarded message from Stephen Gregory <[EMAIL PROTECTED]> -----
> 
> Date: Fri, 23 Nov 2001 18:34:06 -0800 (PST)
> From: Stephen Gregory <[EMAIL PROTECTED]>
> Subject: Lyx Figure Rendering
> 
> I hope you don't mind me contacting you off the mailing list, but I
> can't seem to get a message to the list. If you are still having your
> figure rendering problem, I might have something useful to say.
> 
> I had the same problem when I upgraded from Red Hat 7.0 to 7.2 on both my
> desktop and laptop. I fought it for days, trying many versions of lyx,
> ghostscript, gv and ghostview.
> 
> I was using rpms, because I wanted to keep some sort of control over
> all that swapping of software.
> 
> I found out, for instance, that I had your exact problem with all
> versions of lyx beyond lyx-1.1.6fix1 (I didn't go back to earlier
> versions than that, because I know there was no problem with that
> version when running RH7.0. The first breakthrough came when I used
> ghostscript-7.03-1.i386.rpm (no earlier versions of ghostscript
> worked) and found that the figures would render, but I was getting an
> error message from the fontfinder and there were no fonts to be seen
> on the images. Of course, this was a problem in all uses of
> ghostscript, so I spent a lot of time trying to figure out why it
> could not use the fonts despite their being exactly where gs -h said
> they needed to be. I then got into a lot of playing around with
> ghostscript. In the end, for reasons that I will never probably
> understand, I found that installing ghostscript-fonts-6.0-2.noarch.rpm
> did the trick. Note that NO OTHER combinations of ghostscript and
> ghostscript-fonts ever worked.
> 
> I am totally exhausted, but, just in case you are still struggling - two
> months later - I thought I should email you. By the way, if you know how
> to forward this - particularly to John Levon, who replied to you, it might
> be helpful.
> 
> Steve Gregory
> 
> 
> **********************************************
> 
> Stephen Gregory
> Physics Department
> University of Oregon
> Eugene OR 97403-1274
> e-mail: [EMAIL PROTECTED]
> phone:  541 346-4764
> fax:    541 346-3422
> 
> 
> ----- End forwarded message -----
> 


Reply via email to