From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Putnam Subject: Re: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Date: Thu, 8 Jul 2010 15:07:33 -0500 Message-ID: References: <87oceify82.fsf@gmail.com> <87hbkafs2w.fsf@gmail.com> <87bpahu8l4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0589071771==" Return-path: Received: from [140.186.70.92] (port=52360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWxNh-0007yZ-4m for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 16:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWxNf-0005Cl-B3 for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 16:07:36 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:48044) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWxNf-0005Ca-3h for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 16:07:35 -0400 Received: by vws1 with SMTP id 1so1650535vws.0 for ; Thu, 08 Jul 2010 13:07:34 -0700 (PDT) In-Reply-To: <87bpahu8l4.fsf@gmail.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: Eric Schulte Cc: Emacs-orgmode@gnu.org --===============0589071771== Content-Type: multipart/alternative; boundary=0016e68e9a553d4c52048ae5d6ab --0016e68e9a553d4c52048ae5d6ab Content-Type: text/plain; charset=ISO-8859-1 My emacs version is "GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0) of 2010-07-07" htmlfontify-buffer on a python buffer worked -- although at first I thought it hadn't because all the font sizes were set to 0pt. How can I get org-babel to htmlfontify my code on html export? Nik On Thu, Jul 8, 2010 at 1:33 PM, Eric Schulte wrote: > Hi Nicholas, > > Nicholas Putnam writes: > > > Dear Eric, > > > > Updating from the repository, and putting it at the head of my load-path > > fixed the problem with org-babel-tangle-lang-exts. Thanks. > > > > Great, we're making progress > > > > > org-version returns org-mode version 6.36trans > > (release_6.36.576.gec22). > > > > The Org-mode version looks good. > > > > > I still can't seem to export python to html with syntax coloring when > > exporting to browser on C-c C-e b. Should this just work? I do see > syntax > > coloring on C-c '. Setting or not setting org-export-htmlize doesn't > seem > > to make any difference. > > > > What version of Emacs are you using? I htmlfontify requires at least > Emacs 22 or later. Running 'emacs --version' at the shell will answer > this one. > > If you have a recent enough Emacs, then can you try opening up a > source-code buffer (say Python) and running M-x htmlfontify-buffer from > withing the buffer. This should open up a buffer of html which when > viewed through a web-browser looks very similar to your Emacs buffer > fontification. > > If the above doesn't work, try loading htmlize.el explicitly from > > org/contrib/lisp/htmlize.el > > Best -- Eric > > --0016e68e9a553d4c52048ae5d6ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
My emacs version is "GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0) = of 2010-07-07"

htmlfontify-buffer on a python buffer worked -- = although at first I thought it hadn't because all the font sizes were s= et to 0pt.

How can I get org-babel to htmlfontify my code on html export?

N= ik
=A0

--0016e68e9a553d4c52048ae5d6ab-- --===============0589071771== 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 --===============0589071771==--