Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
OK I'll push to master Jake Andreas wrote: > It does :) > Thanks a lot! > > > On 01/05/2012 09:19 PM, Jacob VanderPlas wrote: > >> See if this fixes things: >> https://github.com/jakevdp/scikit-learn/tree/doc-math-fix >>Jake >> >> Andreas wrote: >> >> >>> On 01/05/2012 08:58 PM,

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
It does :) Thanks a lot! On 01/05/2012 09:19 PM, Jacob VanderPlas wrote: > See if this fixes things: > https://github.com/jakevdp/scikit-learn/tree/doc-math-fix >Jake > > Andreas wrote: > >> On 01/05/2012 08:58 PM, Andreas wrote: >> >> >>> Thanks Jake for looking into this. >>> I ha

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
See if this fixes things: https://github.com/jakevdp/scikit-learn/tree/doc-math-fix Jake Andreas wrote: > On 01/05/2012 08:58 PM, Andreas wrote: > >> Thanks Jake for looking into this. >> I have 8 pngs in this directory >> >> >> > If I do a "make clean" and a "make" again, I get

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
I get 328, followed by 244. I think a more careful removal of the images will fix this. Jake Andreas wrote: > On 01/05/2012 08:58 PM, Andreas wrote: > >> Thanks Jake for looking into this. >> I have 8 pngs in this directory >> >> >> > If I do a "make clean" and a "make" again,

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
On 01/05/2012 08:58 PM, Andreas wrote: > Thanks Jake for looking into this. > I have 8 pngs in this directory > > If I do a "make clean" and a "make" again, I get 328 ;) > On 01/05/2012 08:47 PM, Jacob VanderPlas wrote: > >> I'm having trouble replicating the problem. >> When you ``mak

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
Thanks Jake for looking into this. I have 8 pngs in this directory On 01/05/2012 08:47 PM, Jacob VanderPlas wrote: > I'm having trouble replicating the problem. > When you ``make html`` twice in a row, do you see anything in the > _build/html/_images/math directory? >Jake > > Andreas wrote

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
I'm having trouble replicating the problem. When you ``make html`` twice in a row, do you see anything in the _build/html/_images/math directory? Jake Andreas wrote: > On 01/05/2012 08:03 PM, Jacob VanderPlas wrote: > >> I wonder if this is a problem with that doc/image fix I put up during >

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
Definitely related. I guess the code should be modified to not use "rmtree" but to just remove the figure images alone. I'll take a look Jake Andreas wrote: > On 01/05/2012 08:03 PM, Jacob VanderPlas wrote: > >> I wonder if this is a problem with that doc/image fix I put up during >> the s

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
On 01/05/2012 08:03 PM, Jacob VanderPlas wrote: > I wonder if this is a problem with that doc/image fix I put up during > the sprint? When the docs are re-made, all the math images are > removed. I recall checking and seeing that they were re-generated, but > I may be wrong. Can you check this,

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Jacob VanderPlas
I wonder if this is a problem with that doc/image fix I put up during the sprint? When the docs are re-made, all the math images are removed. I recall checking and seeing that they were re-generated, but I may be wrong. Can you check this, Andy? Jake Andreas wrote: > On 01/05/2012 07:53 PM

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
On 01/05/2012 07:53 PM, Gael Varoquaux wrote: > On Thu, Jan 05, 2012 at 07:44:12PM +0100, Andreas wrote: > >> Can anyone explain to me how to build the html docs >> so that the math is rendered with latex? >> > It should be. You need to use the ..math directive. > > I compared http:/

Re: [Scikit-learn-general] Building docs with math

2012-01-05 Thread Gael Varoquaux
On Thu, Jan 05, 2012 at 07:44:12PM +0100, Andreas wrote: > Can anyone explain to me how to build the html docs > so that the math is rendered with latex? It should be. You need to use the ..math directive. > This is the pngmath_latex sphinx plugin, right? It's actually fully done through matplot

[Scikit-learn-general] Building docs with math

2012-01-05 Thread Andreas
Hi everybody. Can anyone explain to me how to build the html docs so that the math is rendered with latex? This is the pngmath_latex sphinx plugin, right? I have latex and dvipng installed but the images don't show up. Anything else I need or any other build command? There seems to be nothing in th