Skip to content

Commit

Permalink
Use SVG format for generating images to embed into the RST prior to r…
Browse files Browse the repository at this point in the history
…st2pdf creating a PDF
  • Loading branch information
Patrick Mauro authored and yuja committed May 20, 2024
1 parent 74e31ad commit cab5d4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sphinxcontrib/plantuml.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,7 @@ def text_visit_plantuml(self, node):
def pdf_visit_plantuml(self, node):
_render_batches_on_vist(self)
try:
refname, outfname = render_plantuml(self, node, 'eps')
refname, outfname = _convert_eps_to_pdf(self, refname, outfname)
_, outfname = render_plantuml(self, node, 'svg')
except PlantUmlError as err:
logger.warning(str(err), location=node, type='plantuml')
raise nodes.SkipNode
Expand Down

0 comments on commit cab5d4c

Please sign in to comment.