From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Powerpoint like slideshow from default html export Date: Tue, 08 Jan 2013 14:45:11 -0700 Message-ID: <8762372vtk.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsgz0-0001G9-L0 for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 16:45:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsgyz-00021O-7C for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 16:45:18 -0500 Received: from mail-da0-f52.google.com ([209.85.210.52]:44230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsgyz-00021J-0b for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 16:45:17 -0500 Received: by mail-da0-f52.google.com with SMTP id f10so389351dak.25 for ; Tue, 08 Jan 2013 13:45:15 -0800 (PST) In-Reply-To: (Benny Simonsen's message of "Tue, 8 Jan 2013 21:56:48 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Benny Simonsen Cc: Sander Boer , emacs-orgmode@gnu.org Benny Simonsen writes: > Hi Sander > > I am using your orgmode-slideshow - nice tool! > Maybe this tool should be added to the relevant page on worg. http://orgmode.org/worg/org-tutorials/non-beamer-presentations.html > > 2012/2/11 Sander Boer > >> 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
    , 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){ -- Eric Schulte http://cs.unm.edu/~eschulte