Re: Viewing images in lyx-1.2: Displaying png and ps files

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 11:58:39AM +0100, Jan Warnking wrote:

> I think I heard once on the list that png files can be displayed directly.
> Is this only true for the internal image loader or with the xforms loader,
> too? I have quite a few of them and not having to convert them each time I
> open my thesis would speed up things considerably.

xforms image loader, alas, does not yet support png, so they must be
converted. "Don't display" is your best option here :/

> xforms image loader. Status : Converting PS ...
> xforms image loader. Status : Loading PostScript
> xforms image loader. Error : LoadPS: no page written!
> Image loading failed.
> xforms image loader. Status : Error Reading

Another xforms problem I guess. Please supply the failing file

john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Viewing images in lyx-1.2: Displaying png and ps files

2002-06-26 Thread Jan Warnking


This may have been discussed on the list before, but I didn't find it in
the archives.

Displaying png files

I think I heard once on the list that png files can be displayed directly.
Is this only true for the internal image loader or with the xforms loader,
too? I have quite a few of them and not having to convert them each time I
open my thesis would speed up things considerably.

Displaying ps files
---
Is there a bug with the ps loader in xforms 0.89.6? I display eps files by
converting them to ps using
"gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=$$o $$i"
(I think this was suggested on the list at some point).
Reasonably fast, and the resulting .ps looks ok in gv. However the file 
never shows up in lyx (lyx -dbg
graphics says:
...
Image conversion succeeded.
Loading image.
xforms image loader. Status : Converting PS ...
xforms image loader. Status : Loading PostScript
xforms image loader. Error : LoadPS: no page written!
Image loading failed.
xforms image loader. Status : Error Reading

Jan

PS : I use lyx1.2.1cvs as of june 22 on Solaris(sparc) 2.7 and Linux(i386,
Debian Potato). Both systems have xforms 0.89.6 and Image Magick 5.4.5.