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

Please add support for impress.js #17

Closed pcav closed 11 years ago

pcav commented 11 years ago

http://bartaz.github.com/impress.js/

I'm available for help. See also https://github.com/bartaz/impress.js/issues/256

marianoguerra commented 11 years ago

http://marianoguerra.github.com/rst2html5/examples/impress.rst

results in this:

http://marianoguerra.github.com/rst2html5/output/impress.html

with this command:

./bin/rst2html5 --stylesheet-path=html5css3/thirdparty/impressjs/css/impress-demo.css --impress-js examples/impress.rst > output/impress.html
pcav commented 11 years ago

html5css3/thirdparty/impressjs/css/impress-demo.css missing: still to be committed?

marianoguerra commented 11 years ago

I guess you have to do

git submodule init git submodule update

pcav commented 11 years ago

Confirmed, now it compiles - have to check the formatting now. Thanks.

pcav commented 11 years ago

Unfortunately this requires many changes to the slide source. It would be good if one could use the same source to build with different UI

marianoguerra commented 11 years ago

how would you provide the parameters for the impress one?

the only thing I can think of is:

1) have a generic .. slide:: directive that is used by all libs 2) generate the navigation for impress automatically (that is, you don't have control on the position/rotation of each slide)

pcav commented 11 years ago

To me, adding controls of the type {{{ .. slide-3d:: :id: title }}} transparent to other backends is fine; what is annoying is that the current headings interfere with this, and have to be removed, and all the slide content had to be indented, AFAICT