mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with 0.6
This commit is contained in:
commit
d6fc2c25c9
@ -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
|
||||
|
||||
|
||||
|
@ -234,10 +234,10 @@ def html_visit_displaymath(self, node):
|
||||
|
||||
def setup(app):
|
||||
mathbase_setup(app, (html_visit_math, None), (html_visit_displaymath, None))
|
||||
app.add_config_value('pngmath_dvipng', 'dvipng', False)
|
||||
app.add_config_value('pngmath_latex', 'latex', False)
|
||||
app.add_config_value('pngmath_use_preview', False, False)
|
||||
app.add_config_value('pngmath_dvipng_args', ['-gamma 1.5', '-D 110'], False)
|
||||
app.add_config_value('pngmath_latex_args', [], False)
|
||||
app.add_config_value('pngmath_latex_preamble', '', False)
|
||||
app.add_config_value('pngmath_dvipng', 'dvipng', False, 'html')
|
||||
app.add_config_value('pngmath_latex', 'latex', False, 'html')
|
||||
app.add_config_value('pngmath_use_preview', False, 'html')
|
||||
app.add_config_value('pngmath_dvipng_args', ['-gamma 1.5', '-D 110'], 'html')
|
||||
app.add_config_value('pngmath_latex_args', [], 'html')
|
||||
app.add_config_value('pngmath_latex_preamble', '', 'html')
|
||||
app.connect('build-finished', cleanup_tempdir)
|
||||
|
Loading…
Reference in New Issue
Block a user