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.
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 toeps
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.