Inkscape spins EPS files

I am trying to use Inkscape to prepare work schedules for my scientific work. I use LaTeX, and I need my numbers to be prepared as high-quality images with encapsulated PostScript (EPS). The procedure is as follows. First, I draw parts of my figure using matplotlib and save them in EPS format. Secondly, I launch Inkscape and import the EPS files. Using Inkscape, I make a shape, leave the desired objects, killing the unnecessary and adding some markup. That's what I did when I was working with CorelDraw on Windows, but now I work on Linux.

Unfortunately, Inkscape corrupts EPS files: it changes colors and does not save all objects. In recent years, I have been trying to find a solution, but I can’t find what people complained about. Complaints (found on the Internet) are related to something like "incorrect font rendering" when exporting from svg to eps or vice versa. (For me this is not a problem - the text can always be represented as curves).

I am currently working on Mandriva Linux 2010 and am using Inkscape version 0.47 r22583 (January 14, 2010). Somewhere I read that such problems can be caused by some outdated versions of the kairo mine - 1.9.14. I work hard to build a new Cairo (12/12/14), but I'm still far from the goal. I am confused about the 32 and 64 bit libraries coexisting on my system ...

I would be very grateful to everyone who has such problems, and, perhaps, is moving further towards a solution. Let me illustrate this problem.

Sorry, I don’t have enough reputation points for either posting or inserting more than two links, so please take a look at a copy of this post with images on my livejournal page:

http://benkev.livejournal.com/1093.html

Below are the captions for the figures.

(1) Here are three eps images that I would like to combine in one drawing:

(2) This is what I get after importing images into Inkscape and saving in SVG format. Pay attention to color and resolution. In addition, I draw three red circles around the function of interest.

(3) This is what I get when I export this drawing to an EPS file. You may notice that one of the three red circles is gone: there are only two circles left!

Thanks!

+6
source share
5 answers

This seems to be a bug in inkscape . The following steps may help:

  • Open the svg file in inkscape .
  • Select All ( Ctrl + A )
  • Un-group ( Ctrl + Shift + G ). You may need to repeat this step several times.
  • Save the result as eps format.
+7
source

For what it costs more than one year: I had the same problems with Inkscape V0.48: in EPS there were no elements when opening in other software (for example, Latex).

I did not completely solve the problem, but found that it helped to remove the groups. Just select all the components and continue ungrouping until there are no groups left. Save as EPS, and the result should be better.

If the items are still missing, try using "raise selection" on top of the missing items and save again.

+3
source

I created a new layer and moved text that did not display in EPS for this layer. He then appeared in the exported EPS file. PS Make sure you create a new layer below the current layer and move the text there.

0
source

This is a bug in inkscape (window 0.91), but a simple fix. Save directly to pdf from inkscape, and then save from pdf as eps. Work like a charm for me.

0
source

A permanent solution to this problem is to export * SVG to * PNG, and then export * PNG (for example, through the free GIMP software) as an * EPS file. Missing items are always included when I use this approach.

-2
source

Source: https://habr.com/ru/post/947879/


All Articles