Emanuele Gissi & Alessia Franceschi wrote:
> [...]
> I need to create EPS images (especially graphs and schemas) to be imported in
> LyX; I tried:
>
> 1) xfig: it lacks of cad-like snapping function
What do you mean? Do you mean the "grid mode" and "point position"
functions in xfig? Every newly drawn item snaps to a point on the grid,
the point distances can be set to fixed values...
> 2) killustrator: as above
don't know...
> 3) qcad: it is good for me but does not export EPS
What kind of vector graphic format does it export? Perhaps there's some
tool around that can convert its output to EPS?
> 4) ipe: I think it would be the best guess, but I did't find any working
> binaries for RedHat 6.1 and could not compile it :-(
Well, this URL (http://SAL.KachinaTech.COM/E/2/IPE.html) says, that
you'll need Motif to compile. Since Motif is commercial, this might be
the reason you don't have it. Perhaps lesstif (a "free" Motif clone)
helps, but I'm not sure. At least there is a binary here:
ftp://ftp.postech.ac.kr/pub/ipe/bin/ipe-linux-elf-static-motif.gz, but I
don't whether it will run on your system. (My system lacks of a
libstdc++.so.26, so I cannot execute it, but there's even a complete
statically linked binary which I did not test yet)...
> 5) stardraw (staroffice): the EPS files are well read by gv (and ghostscript)
> but if I insert them in a LyX (both 1.0.3 and 1.1.2) document and try to view
> the resulting PS with gv, gv complains and shows everything except the image I
> inserted. Exactly the same thing happens with EPS images generated by gimp.
That sounds weird. What "complaints" do you get? Perhaps this is a
/path/to/my/epsfile problem, that's been discussed here every now and
then. The easiest solution maybe is to put the eps files in the same
directory as your lyx file. Perhaps you could export your lyx document
to TeX and run latex on the .tex file and see if it gives some errors
previously invisible (by you, or by LyX itself).
> Is this (5) a LyX bug or a "myself bug"? Is there a "generating EPS for LyX
> guide"?
I use eps files pretty much and don't have problems. Unfortunately I
don't know about a EPS for LyX guide, but usually it's not needed...
Perhaps the EPS files you created are not real eps but ps files. You can
convert ps files to epsi (which is basically the same as eps) with the
ps2epsi tool that should belong to every distribution out there, the
manpage says it belongs to Ghostscript).
> Thank you very much for your kind reply.
Please give us (me) some more information, perhaps your problems
dissolve soon :-)
Good luck,
Frank