Thanks, this works!

Somebody should update the documentation at: 
http://sphinx.pocoo.org/latest/ext/math.html
changing
pngmath_dvipng_args = ['gamma', '1.5', '-D', '110', '-bg Transparent']
to 

pngmath_dvipng_args = ['gamma', '1.5', '-D', '110', '-bg', 'Transparent']

Aivar


On Thursday, September 20, 2012 5:54:28 PM UTC+3, Kathy Tolbert wrote:
>
> Ours work. Here is our line (note the separation of each of the values). 
>
>  
>
> # Adding Transparency for math images
>
> pngmath_dvipng_args = ['gamma', '1.5', '-D', '110', '-bg', 'Transparent']
>
>  
>
> Kathy
>
>  
>
> *----------------*
>
> I want to get math png-s with transparent background. 
> From sphinx documentation I read that following line in conf.py should do 
> it:
>
> pngmath_dvipng_args = ['-gamma 1.5', '-D 110', '-bg Transparent']
>
>
> Unfortunately it doesn't have any effect, background is still plain white 
> (I deleted whole build folder before trying that).
>
> How should I debug this issue? How can I see the command lines that are 
> actually used for generating math png-s?
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/t00aYak4gd4J.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to