Hi there,
still not quite working :/
here is my little testscript:
http://pastebin.mozilla.org/608410
and here some output:
While the original SVG (generated by Visual Paradigm UML)
http://matthiascoy.de/temp/test.original.svg
looks kind of awkward in Firefox, the "plain svg"
http://matthiascoy.de/temp/test.inkscape.plain.svg
looks very good. So I took that to generate PDF
http://matthiascoy.de/temp/test.inkscape.pdf
and, as you can see, it looks DIFFERENT. Now the PNG/EPS/PDF looks all the same,
almost good, but the text inside those UML classes is a little to big.
Hopefully some knows what the problem is :/
Regards
Matt
Vincent van Ravesteijn schrieb:
Matthias Coy schreef:
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?
You probably want to add the option -T or --export-text-to-path to the
inkscape parameter list.
With this option, the text is rendered as a part of the drawing. Without
this option, the text uses the latex/postscript font and this might have
a different size as shown in Inkscape. This is useful when you want to
replace the text by latex text/math with psfrag.
Vincent