[Tex/LaTex] Beamer and JavaScript in a web browser

beamerhtmljavascriptlatex2htmlsvg

I have written a talk in Beamer and to illustrate one of my points I've written a program in JavaScript (well actually Processing). You can view it here (it seems to run ok in Chrome and Firefox, and indeed on my phone). At the moment I Alt+Tab out of my presentation into Google Chrome when it comes to the relevant slide in my talk. This isn't such a bad solution, but it's not a nice solution.

I would like to be able to export my slides into html/svg and then use some combination of JavaScript and HTML5 to view my slides in the browser. Googling I wasn't able to find a well-documented approach to this, although there are a lot of snippets, mainly on this site.

Has anyone had success in doing this? And if so what tools/path did you use?

Such an approach loses the absolute portability of the PDF format, but gains practical portability in the sense that I could show someone my slides on a tablet with all features intact.

Best Answer

dvisvgm could be a solution. It converts dvi files to svg files, see http://dvisvgm.sourceforge.net/

Related Question