From: Nicholas Putnam <nputnam@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring?
Date: Thu, 8 Jul 2010 15:07:33 -0500 [thread overview]
Message-ID: <AANLkTimSBwU0r1H7CW__bmWGgER92GsGTYoeHHzJFyXw@mail.gmail.com> (raw)
In-Reply-To: <87bpahu8l4.fsf@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]
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 <schulte.eric@gmail.com> wrote:
> Hi Nicholas,
>
> Nicholas Putnam <nputnam@gmail.com> 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
>
>
[-- Attachment #1.2: Type: text/html, Size: 2270 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
next prev parent reply other threads:[~2010-07-08 20:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 2:38 org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Nicholas Putnam
2010-07-08 3:29 ` 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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimSBwU0r1H7CW__bmWGgER92GsGTYoeHHzJFyXw@mail.gmail.com \
--to=nputnam@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.