[Top][All Lists]

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

Re: [Orgmode] Re: s5 presentation

From: Dov Grobgeld
Subject: Re: [Orgmode] Re: s5 presentation
Date: Thu, 11 Nov 2010 14:21:59 +0200

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.


On Thu, Nov 11, 2010 at 13:34, Yann Hodique <address@hidden> wrote:
>>>>> "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

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

reply via email to

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