emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] org-babel-tangle-lang-exts must be initialized? how to get syn


From: Nicholas Putnam
Subject: [Orgmode] org-babel-tangle-lang-exts must be initialized? how to get syntax coloring?
Date: Wed, 7 Jul 2010 21:38:29 -0500

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 <pre class="example"> tags, without any other markup.  Can anyone point me in the right direction?

Cheers,

Nik Putnam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]