Commits

Georg Brandl committed 08a316a

#590: Fix inline display of graphviz diagrams in LaTeX output.

Comments (0)

Files changed (2)

 Release 1.0.7 (in development)
 ==============================
 
+* #590: Fix inline display of graphviz diagrams in LaTeX output.
+
 * #589: Build using app.build() in setup command.
 
 * Fix a bug in the inheritance diagram exception that caused base

sphinx/ext/graphviz.py

         raise nodes.SkipNode
 
     if fname is not None:
-        self.body.append('\\includegraphics{%s}' % fname)
+        self.body.append('\n\\includegraphics{%s}\n' % fname)
     raise nodes.SkipNode