From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help,gmane.emacs.orgmode Subject: Re: Colorizing 'emacs-lisp' when it is exported? Date: Sun, 22 Dec 2013 20:00:08 +0100 Organization: Informatimago Message-ID: <871u1490ef.fsf@kuiper.lan.informatimago.com> References: <20131222160315.45d492c2@london> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387738882 29686 80.91.229.3 (22 Dec 2013 19:01:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2013 19:01:22 +0000 (UTC) Cc: emacs-orgmode@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 22 20:01:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VuoHI-0005Po-C9 for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Dec 2013 20:01:28 +0100 Original-Received: from localhost ([::1]:58921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuoHI-0004So-1k for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Dec 2013 14:01:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuoGz-0004ST-39 for help-gnu-emacs@gnu.org; Sun, 22 Dec 2013 14:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuoGt-000809-La for help-gnu-emacs@gnu.org; Sun, 22 Dec 2013 14:01:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuoGt-0007zy-Em for help-gnu-emacs@gnu.org; Sun, 22 Dec 2013 14:01:03 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VuoGr-00057C-RZ for help-gnu-emacs@gnu.org; Sun, 22 Dec 2013 20:01:01 +0100 Original-Received: from amontsouris-651-1-157-239.w82-123.abo.wanadoo.fr ([82.123.172.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Dec 2013 20:01:01 +0100 Original-Received: from pjb by amontsouris-651-1-157-239.w82-123.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Dec 2013 20:01:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: amontsouris-651-1-157-239.w82-123.abo.wanadoo.fr Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ZjYwZmU2MTVmZjk0OWFlMjI3NjljZTJhMWE4ZTVjY2U2ZjZiOTg1NA== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95127 gmane.emacs.orgmode:80060 Archived-At: Sharon Kimble writes: > Thanks to auntie google I've found out how to keep the formatting of > elisp on export to html using '#+BEGIN_SRC emacs-lisp' at the beginning > of the code block, and '#+END_SRC' at the end. Whilst its in .emacs its > nicely colorized, but how do I colorize the output when its been > exported please? For once, google has drawn a blank, unfortunately! I use htmlize-buffer (or htmlize-region) from htmlize. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Le mercure monte ? C'est le moment d'acheter !"