Horacio Emilio Pérez Sánchez a écrit :

> Hello all,
>
> I use LyX 1.3.5 in suse 9.0. When I have a document with several
> figures, usually as ".eps" or ".jpg" images inserted in float figures,
> and I want to preview it as DVI, it takes a lot of time to render
> (depending on the number of figures) and sometimes it is really slow
> to appear the first page of the document. But when I look at the
> different pages and there is a figure in it, it takes also a lot of
> time to render it. In this way it is really annoying to look at the
> document every time a change is made.
>
> Is there a direct or indirect solution for this problem ?

I found that the problem was without solution as far as the pictures
were true images (i.e. raster images). But the rendering is very fast if
one use eps pictures coming from xfig (or directly xfig).
You may extract such pictures from ps ones by using pstoedit (with linux):

pstoedit -f fig  toto.ps >toto.fig

The main advantage of this method (apart from the speed of the loading
of pictures) is that you may edit the pictures  to your taste.

You may do the same thing with ps files with embedded postscript figures
by fractionning your file in pages:

psselect -p 1 blabla.ps page1.ps
pstoedit -f fig page1.ps >page1.fig

and by removing the superfluous text with xfig

I use frequently this method, which works correctly if the ps files are
not in fact  raster pictures.

A.Leroux

Reply via email to