Thanks.
I mostly modified the code to take movies into account (both in image and figure directive) with some options.
I wanted to be able to write something like:
```
.. figure:: movies/chapter-05/color-cube.mp4
:loop:
:autoplay:
:controls:
:figwidth: 35%
Figure
The RGB rotating cube
```
The code is here: https://github.com/rougier/python-opengl/blob/master/rst2html.py
Nicolas
> On 24 May 2018, at 20:44, seb...@ch... wrote:
>
>
>
> Le 07/05/2018 à 08:22, Nicolas Rougier a écrit :
>> Hi all,
>>
>> I just released an open-access book on "Python & OpenGL for Scientific Visualization” (http://www.labri.fr/perso/nrougier/python-opengl/).
>>
>> The book has been written using rst and I wrote a slightly modified rst2html and a css to give the book a modern look (IMHO). Code is available at https://github.com/rougier/python-opengl.
>>
> Hello,
>
> I just want to say that your work is amazing. As much on the form as on the content.
>
> Can you explain what changed did you do in the rst2html code ?
|