emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicholas Putnam <nputnam@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring?
Date: Wed, 7 Jul 2010 21:38:29 -0500	[thread overview]
Message-ID: <AANLkTikB5b4j38wjf7PjIm9issLH5VN43t_Z2jTwwKr2@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 883 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1131 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-07-08  2:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08  2:38 Nicholas Putnam [this message]
2010-07-08  3:29 ` org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Eric Schulte
2010-07-08  4:44   ` Nicholas Putnam
2010-07-08  5:41     ` Eric Schulte
2010-07-08 15:45       ` Nicholas Putnam
2010-07-08 18:33         ` Eric Schulte
2010-07-08 20:07           ` Nicholas Putnam
2010-07-08 20:28             ` Eric Schulte
2010-07-08 21:04               ` Nicholas Putnam
2010-07-09 20:29                 ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikB5b4j38wjf7PjIm9issLH5VN43t_Z2jTwwKr2@mail.gmail.com \
    --to=nputnam@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).