mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Dont add the imgmath dvi->svg arg twice
It's already added in the general case for png too a few lines below
This commit is contained in:
parent
904b31746c
commit
6447ba772e
@ -162,8 +162,6 @@ def render_math(self, math):
|
||||
image_translator_args += ['-o', outfn]
|
||||
# add custom ones from config value
|
||||
image_translator_args.extend(self.builder.config.imgmath_dvisvgm_args)
|
||||
# last, the input file name
|
||||
image_translator_args.append(path.join(tempdir, 'math.dvi'))
|
||||
else:
|
||||
raise MathExtError(
|
||||
'imgmath_image_format must be either "png" or "svg"')
|
||||
|
Loading…
Reference in New Issue
Block a user