On Tue, Oct 26, 2010 at 9:05 AM, EJ <wehrle.er...@gmail.com> wrote:

Has anyone gotten Lyx to work with figures exported from Inkscape using the
PDF+LaTeX option?

Thanks in advance


On Tue, Oct 26, 2010 at 1:17 PM, Jacob Bishop <bishop.ja...@gmail.com>wrote:
I have. This was one of the major reasons I went to 1.6.7 from older
versions. It's great not to have to export figures manually in multiple
formats each time you make a change, and all that headache.

Without more information, it's difficult to provide much help to you.
Basically, you have to install Inkscape, make sure it's in the path
somewhere (either in the system path or the path prefix under
tools->preferences->paths) so LyX can run the image conversion commands, and
reconfigure LyX.

There is also some help for this on the wiki at:
http://wiki.lyx.org/Tips/UseInkscapeSVGImages

Jacob


So, after I sent the last message, I felt a little silly as I was realizing
that you probably had Inkscape 0.47 working, but had trouble with inkscape
0.48. I gave only general Inkscape information in my last response. I have
since gotten things to work with Inkscape 0.48 on my windows 7 machine. I
have not tried as of yet on my linux box.

I did have one hitch, and it had to do with the textext extension. To work
around this issue, there are two things. You need to patch your inkscape
python installation with something like this
http://sourceforge.net/projects/timink/files/pygtk-2.16_for_inkscape-0.48.zip/downloadand
you need to modify your textext.py file as per the instructions here:
http://pascalschulthess.de/inkscape-and-textext-deprecation-warning/

As an additional reference, I got most of this information from here:
http://bitbucket.org/pv/textext/issue/55/textext-using-inkscape048

After making those modifications, I had no trouble exporting Inkscape SVG
graphics.

I hope this helps.

Jacob

Reply via email to