Hi again,

I found out, that these two files (or at least one of them) work:

        ~/.lyx/lyxrc.dist
        ~/.lyx/preferences

I put in them the following lines:

        \format "SVG" "svg" "svg" "" "inkview" "inkscape" "vector"
        \converter "SVG" "eps" "inkscape -F -D -z $$i --export-eps=$$o" ""
        \converter "SVG" "png" "inkscape -D -z $$i --export-png=$$o" ""
        \converter "SVG" "pdf" "inkscape -D -z $$i --export-pdf=$$o" ""

and the quality is much better. Now I have the problem, that the pictures are looking "strange".

This is how it should look (svg opened with inkscape):
        http://img187.imageshack.us/my.php?image=withininkscapevd0.png

This is how the PDF export shows it:
        http://img523.imageshack.us/my.php?image=pdfexportoj4.png

And here it doesn't matter if "lyx -e pdf[2-3]?", I've tried them all. What strange behaviour is this?

Kindly regards
        Matt

Manveru schrieb:
2009/1/7 Matthias Coy <[email protected]>:
Actually I found

http://wiki.lyx.org/Tips/UseInkscapeSVGImages

which works fine for me on Windows. And yes, I have inkscape. But I'm
generating the pdf on my server (gentoo linux) and there is no X installed
on that. So it's kind of difficult to make those changes without a gui. Are
there any files I can edit, which will be read and not overwritten?

Manveru schrieb:
[...]

Do you have inkscape installed? Or do you rely on default configuration?

From my experience processing SVG graphics without Inkscape gives very
poor quality of pictures.


I cannot help you with manual configuration of Inkscape on Linux as I
do not have experience with that yet. But yes, it is possible to
configure formats in LyX to get Inkscape producing images
automatically by editing files. But I have to ask someone having Linux
installation to point you proper files. Can anyone help?

Reply via email to