From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Re: Powerpoint like slideshow from default html export Date: Tue, 8 Jan 2013 21:56:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175cff0c397f7b04d2cd2fc0 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsgED-0000Ch-Q8 for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 15:56:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsgE7-00057M-HT for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 15:56:57 -0500 Received: from mail-bk0-f54.google.com ([209.85.214.54]:33634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsgE7-00056q-58 for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 15:56:51 -0500 Received: by mail-bk0-f54.google.com with SMTP id je9so526555bkc.41 for ; Tue, 08 Jan 2013 12:56:49 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org Cc: Sander Boer --0015175cff0c397f7b04d2cd2fc0 Content-Type: text/plain; charset=UTF-8 Hi Sander I am using your orgmode-slideshow - nice tool! 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){ --0015175cff0c397f7b04d2cd2fc0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Sander

    I am using your orgmode-slideshow - nice tool!

    2012/2/11 Sander Boer <sanderboer@yahoo.com= >
    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 htm= l export of my org file to a slide show:
    ht= tp://www.mauc.nl/presentations/test.html

    Here's the org-file:
    htt= p://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 s= mall 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():

    pu= b/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(){
    =C2=A0
    =C2=A0function imgresize(){
    = =C2=A0=C2=A0=C2=A0=C2=A0 var count=3D$(".figure:visible").length;=
    -=C2=A0=C2=A0=C2=A0 if ($(".outline-text-2:visible p:first").= text()){
    +=C2=A0=C2=A0=C2=A0 if ($(".outline-text-2:visible p:first").text= () || $(".outline-text-2:visible ul:first").text()){
    =C2=A0=C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 count++;
    =C2=A0=C2=A0=C2=A0=C2=A0 }=C2=A0=C2=A0=C2=A0=C2=A0 $(".figure:visible").each(function(ind= ex){

    --0015175cff0c397f7b04d2cd2fc0--