carlos-jenkins / plantweb

Plantweb is a Python client for the PlantUML server -
https://plantweb.readthedocs.io/
Apache License 2.0
27 stars 15 forks source link

Add support for different file format for LaTeX output #4

Open jessetan opened 7 years ago

jessetan commented 7 years ago

It is currently possible to choose between svg and png output, which is fine for HTML output, but is not ideal for LaTeX (and PDF) output, which should use PlantUMLs -teps option to generate eps. It would be nice if Plantweb supported a new option to choose the output format for use with LaTeX, similar to plantuml_latex_output_format in sphinxcontrib-plantuml.

jessetan commented 7 years ago

Looks like PlantUML server currently does not allow requesting EPS output, see https://github.com/plantuml/plantuml-server/issues/47.

carlos-jenkins commented 7 years ago

Thanks a lot for the PR in PlantUML.

I've tested the newly deployed PlantUML server and both PlantUML and Graphviz diagrams work with eps. Ditaa doesn't work, sadly, but neither did it with svg. So, I'm open to PRs to add this functionality.

Regards

jessetan commented 7 years ago

You're correct, Ditaa only works with PNG in PlantUML I'll look into a PR for the Plantweb config option