diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-05-26 00:50:12 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-05-26 00:50:12 +0900 |
commit | ebc888d709ec8812bf6e158f919f6da23d38595c (patch) | |
tree | 350fde3d2cfc991c31ad534d0ee3652d9b0a034c | |
parent | 187841a6b1f660dec18e895decf6fd14e56929f2 (diff) | |
parent | 55446caca184334ec87b2bddad790a35c1c5ef31 (diff) | |
download | sphinx-git-ebc888d709ec8812bf6e158f919f6da23d38595c.tar.gz |
Merge pull request #2577 from jschueller/patch-2
Dont add the imgmath dvi->svg input file arg twice
-rw-r--r-- | sphinx/ext/imgmath.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py index 307145adb..9dc100417 100644 --- a/sphinx/ext/imgmath.py +++ b/sphinx/ext/imgmath.py @@ -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"') |