koppor / plantuml

A LuaLaTeX package for PlantUML in LaTeX
https://koppor.github.io/plantuml/
LaTeX Project Public License v1.3c
55 stars 10 forks source link

SVG example does not work with newer inkscape versions #25

Open ahorn42 opened 2 years ago

ahorn42 commented 2 years ago

Hi,

I just figured out, that the svg example does no work with inkscape 1.1 as inkscape has changed its CLI parameters.

I changed the \epstopdfDeclareGraphicsRule to the following to make it work again:

\epstopdfDeclareGraphicsRule{.svg}{pdf}{.pdf}{
  inkscape #1 --export-text-to-path --export-filename=\OutputFile
}

Maybe this should be mentioned/updated in the readme.md :)

I also added the --export-text-to-path parameter as the rending with text as text looked really broken - only lines und shapes were fine the text was totally messed up in the PDF generated by inkscape.

Best regards and thanks a lot for your work!