(3) Syntax highlighting of source code (6.26 d, Chapter 12, p. 102,
"Literal Examples") like this
#+BEGIN_SRC emacs-lisp
(defun org-xor (a b)
"Exclusive or."
(if a (not b) b))
#+END_SRC
works nicely. However it took me a while to get there: I had first
overlooked the footnote and needed to install htmlize.el first.
However, when using a Python snippet with "Python" instead of "emacs-
lisp" there was no colour whatsoever: it needs to be
"python" (although Emacs displays the mode with a capital "P"),
maybe this should be another footnote? I have also added a little
note here: http://www.emacswiki.org/emacs/Htmlize
Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: address@hidden http://www.nf.mpg.de
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode