Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
Perhaps the output of pdf2htmlEX would be acceptable? –  cyberSingularity Nov 24 '12 at 10:11
Isn't it possible to import this javascript interactive view within a pdf (with the media9 extension for instance)? This way, you would directly have it in your pdf document. –  pluton Nov 27 '12 at 4:57
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.