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 latex_format #5

Open jessetan opened 7 years ago

jessetan commented 7 years ago

This PR adds a config option latex_format that is used for the Sphinx directive when the LaTeX builder is used. This fixes #4. It is set to eps by default, since that looks better with LaTeX.

For non-LaTeX output (i.e. other builders and direct Python use), the behavior should remain unchanged.

I've added some text to the documentation in the "Sphinx Directive" section, but this could also be moved to the "Sphinx Setup" or "Overriding Defaults" section. I've guessed the versionadded, which might need updating.