From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Hodique Subject: Re: s5 presentation Date: Thu, 11 Nov 2010 12:34:16 +0100 Message-ID: <877hgkt7pj.fsf@qls-qa-yho-desk.eng.vmware.com> References: <87zktg1y0b.fsf@siav.hodique.info> <87hbfotaml.fsf@qls-qa-yho-desk.eng.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=57172 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGVQK-0006gX-Dx for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 06:34:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGVQI-0003VG-NA for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 06:34:36 -0500 Received: from lo.gmane.org ([80.91.229.12]:37098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGVQI-0003Ul-Do for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 06:34:34 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PGVQG-00019A-R5 for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 12:34:32 +0100 Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Nov 2010 12:34:32 +0100 Received: from yhodique by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Nov 2010 12:34:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org >>>>> "Dov" == Dov Grobgeld 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 "

A perl test

" > * 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