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:
Julien Schueller 2016-05-25 14:39:17 +02:00 committed by Takeshi KOMIYA
parent 904b31746c
commit 6447ba772e

View File

@ -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"')