diff options
| author | Georg Brandl <georg@python.org> | 2012-10-28 19:06:48 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-10-28 19:06:48 +0100 |
| commit | 11e674c95e351b3409aa3f01b877c18d3976440d (patch) | |
| tree | a5f81a130f26cf44d2923f2dac9f0499f1bca4b9 /doc | |
| parent | a11910d91f62996570332d42a39afdbdc82afba1 (diff) | |
| download | sphinx-11e674c95e351b3409aa3f01b877c18d3976440d.tar.gz | |
Closes #1010: Make pngmath images transparent by default; IE7+ should handle it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/ext/math.rst | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/doc/ext/math.rst b/doc/ext/math.rst index 3652b55e..91376d15 100644 --- a/doc/ext/math.rst +++ b/doc/ext/math.rst @@ -148,19 +148,12 @@ built: .. confval:: pngmath_dvipng_args Additional arguments to give to dvipng, as a list. The default value is - ``['-gamma 1.5', '-D 110']`` which makes the image a bit darker and larger - then it is by default. + ``['-gamma', '1.5', '-D', '110', '-bg', 'Transparent']`` which makes the + image a bit darker and larger then it is by default, and produces PNGs with a + transparent background. - An arguments you might want to add here is e.g. ``'-bg Transparent'``, - which produces PNGs with a transparent background. This is not enabled by - default because some Internet Explorer versions don't like transparent PNGs. - - .. note:: - - When you "add" an argument, you need to reproduce the default arguments if - you want to keep them; that is, like this:: - - pngmath_dvipng_args = ['-gamma 1.5', '-D 110', '-bg Transparent'] + .. versionchanged:: 1.2 + Now includes ``-bg Transparent`` by default. .. confval:: pngmath_use_preview |
