marianoguerra / rst2html5

transform restructuredtext documents to html5 + twitter's bootstrap css, deck.js or reveal.js
http://marianoguerra.github.com/rst2html5
MIT License
177 stars 51 forks source link

stylesheet option not working? #35

Closed pcav closed 11 years ago

pcav commented 11 years ago

I have upgraded to the latest version of rst2html5, and I'm testing some options:

./bin/rst2html5 --embed-images --jquery --reveal-js --pretty-print-code --embed-content --stylesheet-path=html5css3/thirdparty/revealjs/css/theme/beige.css 2013_03_07_girona.rst build/slides.html

Apparently the --stylesheet-path option is not working, as I get always the same result regardless of which file I choose.

marianoguerra commented 11 years ago

can you check with the latest commit?

thanks

marianoguerra commented 11 years ago

the reveal plugin adds the stylesheet itself, to change theme you will have to pass an option like this:

bin/rst2html5 --jquery --reveal-js --reveal-js-opts theme=serif examples/slides.rst > reveal.html

see the theme=serif part

pcav commented 11 years ago

It works, thanks