On Mon, 7 Mar 2005 16:07:45 -0400, bulia byak <buliabyak@...155...> wrote:
On Mon, 7 Mar 2005 11:50:29 -0800, oisin feeley <ofeeley@...155...> wrote:
I would like to create vector graphics with Inkscape, then save them to EPS and use those EPS figures in LyX (LaTeX) created documents. Currently (inkscape-0.41-1, lyx-1.3.5-3) I cannot do this with figures that have transparency or gradients. What happens is that EPS exported figures with more than a single layer are completely munged so that a single plane of color is produced. PNG exported are slightly better.
So here's a sort of work around if anyone has the same problem: use Scribus to take the SVG file and export it to PDF or PNG.
PS and EPS do not support transparency, there's nothing we can do about it. PS level 3 however supports gradients, and the CVS version of Inkscape exports gradients (without transparency) correctly to PS or EPS.
Ah. Thanks for correcting my ignorance about PS and EPS and for pointing me the latest CVS version.
PNG format does not have any layers. As for gradients, they were always exported correctly to PNG from Inkscape. What is the problem with that?
You are correct. I was confusing myself by putting PNGs into float-figures in LaTeX and the rendering of that to DVI gets rid of the gradients. To satisfy myself about Inkscape's PNG gradient support I created a simple linear gradient box, exported as PNG and viewed it in a HTML page. Perfect. ( I was also confusing the idea of "layers" within inkscape with the idea of layers in an image format.)
and the layering correct with PDF exports (but not the gradient, even if I choose the Acrobat-5.0 compatibility)
Try EPS export from Inkscape CVS and then ps2pdf from Ghostscript or Adobe Distiller. Gradients should work (but, again, without transparency).
I'll give that a go. Thanks for the help Bulia, Oisin