[Top][All Lists]

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

[Orgmode] Re: s5 presentation

From: Yann Hodique
Subject: [Orgmode] Re: s5 presentation
Date: Thu, 11 Nov 2010 12:34:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>>>> "Dov" == Dov Grobgeld <address@hidden> 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 "<h1>A 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.


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

reply via email to

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