I have been using PlantUML in conjunction with Sphinx for quite a while now, which worked great thus far. Thanks a lot for this awesome tool!
Unfortunately I am having trouble with the PDF generation, though. The trigger seems to be referenced SVG images. I narrowed it down to the EPS output format being the culprit here. When generating via:
java -Djava.awt.headless=true -jar plantuml.jar -teps issue.puml
I get this exception:
java.lang.UnsupportedOperationException: class net.sourceforge.plantuml.ugraphic.UImageSvg class net.sourceforge.plantuml.ugraphic.eps.UGraphicEps at net.sourceforge.plantuml.ugraphic.AbstractUGraphic.draw(AbstractUGraphic.java:87) at ...
Switching to output format SVG via:
java -Djava.awt.headless=true -jar plantuml.jar -tsvg issue.puml
works fine though!
The diagram used to trigger this exception looks like this:
@startuml
svg : <img:drawing.svg>
png : <img:drawing.png>
png -up-|> svg: SVG <img:drawing.svg> expected
png <|-up-- svg: PNG <img:drawing.png> expected
@enduml
Any ideas how to solve the issue?
Cheers,
P.S.: the test images (PNG and SVG) are these:

(can't really attach files here!?)