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 <yhodique@vmware.com> wrote:
>>>>> "Dov" == Dov Grobgeld <dov.grobgeld@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 "<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.

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