From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Putnam Subject: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Date: Wed, 7 Jul 2010 21:38:29 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1616997393==" Return-path: Received: from [140.186.70.92] (port=46547 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWh0S-0002hg-BY for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 22:38:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWh0R-00072W-1G for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 22:38:32 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:33402) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWh0Q-00072K-V0 for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 22:38:31 -0400 Received: by vws1 with SMTP id 1so525415vws.0 for ; Wed, 07 Jul 2010 19:38:29 -0700 (PDT) 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: Emacs-orgmode@gnu.org --===============1616997393== Content-Type: multipart/alternative; boundary=e0cb4e887a6f82d8fb048ad72e8b --e0cb4e887a6f82d8fb048ad72e8b Content-Type: text/plain; charset=ISO-8859-1 I'm new to, but loving playing with org-mode. Thanks for this excellent code! I followed the directions for checking out the latest version with git, so have been trying to catch up to the new configuration for babel, at the same time that I'm learning the ropes of org-mode. I am finding that babel will not work unless org-babel-tangle-lang-exts is set -- else I get the following error: "Symbol's value as variable is void: org-babel-tangle-lang-exts" Adding "(setq org-babel-tangle-lang-exts '("fortran" . "f"))" to my .emacs file (even though I'm not using fortran for anything) fixes this problem. Also, I'm trying to get syntax highlighting of source code elements in HTML export. Export looks great, but the code snippets are being exported inside
 tags, without any other markup.  Can anyone point me
in the right direction?

Cheers,

Nik Putnam

--e0cb4e887a6f82d8fb048ad72e8b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I'm new to, but loving playing with org-mode.=A0 Thanks for this excell=
ent code!

I followed the directions for checking out the latest vers= ion with git, so have been trying to catch up to the new configuration for = babel, at the same time that I'm learning the ropes of org-mode.=A0
I am finding that babel will not work unless org-babel-tangle-lang-exts= is set -- else I get the following error:

"Symbol's value = as variable is void: org-babel-tangle-lang-exts"

Adding "(= setq org-babel-tangle-lang-exts '("fortran" . "f"))= " to my .emacs file (even though I'm not using fortran for anythin= g) fixes this problem.

Also, I'm trying to get syntax highlighting of source code elements= in HTML export.=A0 Export looks great, but the code snippets are being exp= orted inside <pre class=3D"example"= ;> tags, without any other markup.=A0 Can anyone point me in the = right direction?

Cheers,

Nik Putnam


--e0cb4e887a6f82d8fb048ad72e8b-- --===============1616997393== 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 --===============1616997393==--