emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Benny Simonsen <benny@slbs.dk>
To: emacs-orgmode@gnu.org
Cc: Sander Boer <sanderboer@yahoo.com>
Subject: Re: Powerpoint like slideshow from default html export
Date: Tue, 8 Jan 2013 21:56:48 +0100	[thread overview]
Message-ID: <CABFHgZ9EzxwYvQ2XpYTA4t0WqRoKFdHdUioS7jqmzi1SDAhOZw@mail.gmail.com> (raw)
In-Reply-To: <jh6j0e$evn$1@dough.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1949 bytes --]

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
> html export of my org file to a slide show:
> http://www.mauc.nl/**presentations/test.html<http://www.mauc.nl/presentations/test.html>
>
> Here's the org-file:
> http://www.mauc.nl/**presentations/test.org<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/css/orgmode-slideshow.css>
> http://www.mauc.nl/assets/js/**orgmode-slideshow.js<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){

[-- Attachment #2: Type: text/html, Size: 2714 bytes --]

  parent reply	other threads:[~2013-01-08 20:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-11 20:27 Powerpoint like slideshow from default html export Sander Boer
2012-02-11 21:09 ` John Hendy
2012-02-12 15:46   ` Darlan Cavalcante Moreira
2013-01-08 20:56 ` Benny Simonsen [this message]
2013-01-08 21:45   ` Eric Schulte
2013-01-08 22:36     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABFHgZ9EzxwYvQ2XpYTA4t0WqRoKFdHdUioS7jqmzi1SDAhOZw@mail.gmail.com \
    --to=benny@slbs.dk \
    --cc=emacs-orgmode@gnu.org \
    --cc=sanderboer@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).