emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Powerpoint like slideshow from default html export


From: Benny Simonsen
Subject: Re: [O] Powerpoint like slideshow from default html export
Date: Tue, 8 Jan 2013 21:56:48 +0100

Hi Sander

I am using your orgmode-slideshow - nice tool!

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){


reply via email to

[Prev in Thread] Current Thread [Next in Thread]