Work around a bug with centering graphviz images in latex.

This commit is contained in:
Georg Brandl 2009-05-24 21:50:02 +02:00
parent 224104724a
commit 166f04881d

View File

@ -169,7 +169,7 @@ def render_dot_latex(self, node, code, options, prefix='graphviz'):
raise nodes.SkipNode
if fname is not None:
self.body.append('\\includegraphics{%s}' % fname)
self.body.append('\\includegraphics[]{%s}' % fname)
raise nodes.SkipNode