Re: [Orgmode] Re: s5 presentation
Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src * Thanks Bye bye! Thanks, Dov On Thu, Nov 11, 2010 at 12:31, Yann Hodique yhodi...@vmware.com wrote: Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Thanks for your code, and for your help. I don't know what I did yesterday, but today, I got queried whether to allow BIND values in the buffer, and I then managed to see s5-demo.org in S5 mode in my browser, but something is messed up in the display. I see the first slide, but in a layer below it, the html text appears, and thus I have two layers of text which, one which scrolls (below) and one static (on top). I checked it with two firefox versions and two S5 versions but the problem remains. I put the resulting html file at: http://imagic.weizmann.ac.il/~dov/s5test/s5-demo.htmlhttp://imagic.weizmann.ac.il/%7Edov/s5test/s5-demo.html Do you have any idea of what wrong? After a quick look, it would seem that you're missing jquery.js and org-slides.js in your /~dov/s5test/ui directory Or maybe they're here, and there is a permission problem with those files ? In any case http://imagic.weizmann.ac.il/~dov/s5test/ui/jquery.jshttp://imagic.weizmann.ac.il/%7Edov/s5test/ui/jquery.jsgives a 404 error. Same for org-slides.js The consequence is that S5 is activated, but the document is not transformed correctly to fit into the expected model (hence the garbage display) Hope this helps, Yann. -- How simple things were when our Messiah was only a dream. -- STILGAR, Naib of Sietch Tabr ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: s5 presentation
Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. Sure, but it's actually an org-mode question :) #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src Well, it just works for me. The HTML export takes care of highlighting code blocks (probably using htmlize or something similar). Then org-s5 doesn't transform at all those parts of the document. In your case I'd say that probably the source code exporter might fail for whatever reason. Is it doing the right thing for regular HTML export ? Alternately, I might have configured something somewhere to have code highlighting enabled, but I can't remember :) (and definitely not anything specific to org-s5). Anyway I suspect the problem is more on the org-mode side this time, whatever it is. Yann. -- One uses power by grasping it lightly. To grasp with too much force is to be taken over by power, thus becoming its victim. -- Bene Gesserit Axiom ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: s5 presentation
Thanks. Indeed after installing htmlize did the html export contain the proper css formatting for keyword highlighting. But the generated html (neither in s5 org mode nor in normal html mode) does not contain the corresponding css for the syntax highllighted attributes (e.g. .org-string , .org-keyword, etc). But this is already outside the scope of s5-org and I'll ask this in a separate question. Regards, Dov On Thu, Nov 11, 2010 at 13:34, Yann Hodique yhodi...@vmware.com wrote: Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. Sure, but it's actually an org-mode question :) #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src Well, it just works for me. The HTML export takes care of highlighting code blocks (probably using htmlize or something similar). Then org-s5 doesn't transform at all those parts of the document. In your case I'd say that probably the source code exporter might fail for whatever reason. Is it doing the right thing for regular HTML export ? Alternately, I might have configured something somewhere to have code highlighting enabled, but I can't remember :) (and definitely not anything specific to org-s5). Anyway I suspect the problem is more on the org-mode side this time, whatever it is. Yann. -- One uses power by grasping it lightly. To grasp with too much force is to be taken over by power, thus becoming its victim. -- Bene Gesserit Axiom ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: s5 presentation
Dov == Dov Grobgeld dov.grobg...@gmail.com writes: I tried to get the s5 presentation mode from https://github.com/sigma/org-s5running, but I'm missing something. I followed all the steps in the README, but how do you generate the S5:ified html? I tried simply doing [C-c C-e b] but it did not open up in s5 mode. What am I missing? Should the generated html contain the contents of preamble in org-s5.el? It does not. Hi, I'm the author of this little hack, so first thanks for your interest :) You're right, the goal is to have it work by just exporting to html, so C-c C-e b should just work. I suspect that you might have not inserted the magic line , | #+SETUPFILE: s5.org ` at the beginning of the file you're trying to export as s5. Re-reading the README, I must admit it's far from being clear that the magic comes from there... (will fix that immediately) Does that help ? Yann. -- There is no escape--we pay for the violence of our ancestors. -- from The Collected Sayings of Muad'Dib by the Princess Irulan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: s5 presentation
Thanks for your code, and for your help. I don't know what I did yesterday, but today, I got queried whether to allow BIND values in the buffer, and I then managed to see s5-demo.org in S5 mode in my browser, but something is messed up in the display. I see the first slide, but in a layer below it, the html text appears, and thus I have two layers of text which, one which scrolls (below) and one static (on top). I checked it with two firefox versions and two S5 versions but the problem remains. I put the resulting html file at: http://imagic.weizmann.ac.il/~dov/s5test/s5-demo.html Do you have any idea of what wrong? Thanks! Dov On Thu, Nov 11, 2010 at 02:53, Yann Hodique yann.hodi...@gmail.com wrote: Dov == Dov Grobgeld dov.grobg...@gmail.com writes: I tried to get the s5 presentation mode from https://github.com/sigma/org-s5running, but I'm missing something. I followed all the steps in the README, but how do you generate the S5:ified html? I tried simply doing [C-c C-e b] but it did not open up in s5 mode. What am I missing? Should the generated html contain the contents of preamble in org-s5.el? It does not. Hi, I'm the author of this little hack, so first thanks for your interest :) You're right, the goal is to have it work by just exporting to html, so C-c C-e b should just work. I suspect that you might have not inserted the magic line , | #+SETUPFILE: s5.org ` at the beginning of the file you're trying to export as s5. Re-reading the README, I must admit it's far from being clear that the magic comes from there... (will fix that immediately) Does that help ? Yann. -- There is no escape--we pay for the violence of our ancestors. -- from The Collected Sayings of Muad'Dib by the Princess Irulan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode