From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: Re: Re: s5 presentation Date: Thu, 11 Nov 2010 14:21:59 +0200 Message-ID: References: <87zktg1y0b.fsf@siav.hodique.info> <87hbfotaml.fsf@qls-qa-yho-desk.eng.vmware.com> <877hgkt7pj.fsf@qls-qa-yho-desk.eng.vmware.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1431839627==" Return-path: Received: from [140.186.70.92] (port=45510 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGWAF-0003uN-0W for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 07:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGWAD-0005a7-BS for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 07:22:02 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:55124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGWAD-0005Zq-7V for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 07:22:01 -0500 Received: by qwi2 with SMTP id 2so1915719qwi.0 for ; Thu, 11 Nov 2010 04:22:00 -0800 (PST) In-Reply-To: <877hgkt7pj.fsf@qls-qa-yho-desk.eng.vmware.com> 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: Yann Hodique Cc: emacs-orgmode@gnu.org --===============1431839627== Content-Type: multipart/alternative; boundary=001636426ceb3f55870494c60577 --001636426ceb3f55870494c60577 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > >>>>> "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 > > > _______________________________________________ > 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 > --001636426ceb3f55870494c60577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks. Indeed after installing htmlize did the html expor= t contain the proper css formatting for keyword highlighting. But the gener= ated 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-st= ring , .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" =3D=3D 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? Th= is
> 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
> =A0 #!/usr/bin/perl
> =A0 while(<>) {
> =A0 =A0 =A0 print "$.: $_";
> =A0 }
> #+end_src

Well, it just works for me. The HTML export takes care of highlightin= g
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<= br> for whatever reason. Is it doing the right thing for "regular" HT= ML
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. =A0To grasp with too much force is t= o be
taken over by power, thus becoming its victim.

=A0-- 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

--001636426ceb3f55870494c60577-- --===============1431839627== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1431839627==--