Re: Book template
Nicolas Rougier <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] 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 ?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.