2012/2/11 Sander Boer
<address@hidden>
Hi All,
I usually give presentations that are graphically heavy and typically have 3 or 4 movies in them. Powerpoint/impress is too much of a hassle esp. with movies and latex/beamer is nice, but the movie package stopped working for me.
So I hacked together a _javascript_ and a css that transforms the default html export of my org file to a slide show:
http://www.mauc.nl/presentations/test.html
Here's the org-file:
http://www.mauc.nl/presentations/test.org
Here's the rest:
http://www.mauc.nl/assets/css/orgmode-slideshow.css
http://www.mauc.nl/assets/js/orgmode-slideshow.js
(depends on jQuery)
No support for deeper trees (yet), no mouse nav and I'm personally not fond of how the images are handled.
Let me know what you think, I will keep you updated of the progress.
Do you have made support for deeper trees, then I would like to get it.
Any other updates?
I have made a small patch, which makes imgresize() resize images correct if the only text is an <ul>, the patch is listed below.
Thank you
Benny Simonsen
The patch for imgresize():
pub/scripts/orgmode-slideshow/orgmode-slideshow.js
index 844bac6..6404540 100644
--- INDEX:/pub/scripts/orgmode-slideshow/orgmode-slideshow.js
+++ WORKDIR:/pub/scripts/orgmode-slideshow/orgmode-slideshow.js
@@ -323,7 +323,7 @@ function mykeys(){
function imgresize(){
var count=$(".figure:visible").length;
- if ($(".outline-text-2:visible p:first").text()){
+ if ($(".outline-text-2:visible p:first").text() || $(".outline-text-2:visible ul:first").text()){
count++;
}
$(".figure:visible").each(function(index){