mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#590: Fix inline display of graphviz diagrams in LaTeX output.
This commit is contained in:
parent
8356f88608
commit
30ce009d0d
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
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
|
||||
|
@ -236,7 +236,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('\n\\includegraphics{%s}\n' % fname)
|
||||
raise nodes.SkipNode
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user