mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#179: properly set rebuild parameter for pngmath config values.
This commit is contained in:
parent
a50329bd52
commit
8e574c4a10
@ -234,10 +234,10 @@ def html_visit_displaymath(self, node):
|
|||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
mathbase_setup(app, (html_visit_math, None), (html_visit_displaymath, None))
|
mathbase_setup(app, (html_visit_math, None), (html_visit_displaymath, None))
|
||||||
app.add_config_value('pngmath_dvipng', 'dvipng', False)
|
app.add_config_value('pngmath_dvipng', 'dvipng', False, 'html')
|
||||||
app.add_config_value('pngmath_latex', 'latex', False)
|
app.add_config_value('pngmath_latex', 'latex', False, 'html')
|
||||||
app.add_config_value('pngmath_use_preview', False, False)
|
app.add_config_value('pngmath_use_preview', False, 'html')
|
||||||
app.add_config_value('pngmath_dvipng_args', ['-gamma 1.5', '-D 110'], False)
|
app.add_config_value('pngmath_dvipng_args', ['-gamma 1.5', '-D 110'], 'html')
|
||||||
app.add_config_value('pngmath_latex_args', [], False)
|
app.add_config_value('pngmath_latex_args', [], 'html')
|
||||||
app.add_config_value('pngmath_latex_preamble', '', False)
|
app.add_config_value('pngmath_latex_preamble', '', 'html')
|
||||||
app.connect('build-finished', cleanup_tempdir)
|
app.connect('build-finished', cleanup_tempdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user