emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yann Hodique <yhodique@vmware.com>
To: emacs-orgmode@gnu.org
Subject: Re: s5 presentation
Date: Thu, 11 Nov 2010 12:34:16 +0100	[thread overview]
Message-ID: <877hgkt7pj.fsf@qls-qa-yho-desk.eng.vmware.com> (raw)
In-Reply-To: AANLkTinfV9fj-P_gWocfOVfrm3=gVOben0QFNNVO06NK@mail.gmail.com

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

  reply	other threads:[~2010-11-11 11:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 20:53 s5 presentation Dov Grobgeld
2010-11-10 22:47 ` John Hendy
2010-11-10 23:46 ` Rick Moynihan
2010-11-11  0:53 ` Yann Hodique
2010-11-11  7:12   ` Dov Grobgeld
2010-11-11 10:31     ` Yann Hodique
2010-11-11 11:13       ` Dov Grobgeld
2010-11-11 11:34         ` Yann Hodique [this message]
2010-11-11 12:21           ` Dov Grobgeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hgkt7pj.fsf@qls-qa-yho-desk.eng.vmware.com \
    --to=yhodique@vmware.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).