From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: src blocks not fontified Date: Wed, 4 Jun 2014 23:47:29 -0700 Message-ID: References: <538BA666.1000900@gmail.com> <538BAD46.8090204@gmail.com> <87d2epvn8q.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5171e1f608fb104fb111e02 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsRSV-0002bw-J9 for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 02:47:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsRSU-000386-Cx for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 02:47:31 -0400 Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:47031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsRSU-00037z-7r for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 02:47:30 -0400 Received: by mail-ve0-f182.google.com with SMTP id sa20so657480veb.41 for ; Wed, 04 Jun 2014 23:47:29 -0700 (PDT) In-Reply-To: <87d2epvn8q.fsf@alphaville.bos.redhat.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org --bcaec5171e1f608fb104fb111e02 Content-Type: text/plain; charset=UTF-8 I need to download the htmlize.el from the org-mode git repos separately. After that, htmlize works magically and highlights the syntax in the resulting html without any extra markup. Thanks for the help. On Tue, Jun 3, 2014 at 11:53 AM, Nick Dokos wrote: > Shiyuan writes: > > > I can only find htmlfontify in ELPA, but not htmlize. Which ELPA > > repository will have htmlize? Or I need to install the .el file > > manually. I can find the htmlize.el in the following link, but not > > sure it's up to date. > > http://www.emacswiki.org/emacs-ja/htmlize.el. > > > > htmlize.el is included in the contrib/lisp directory of org (but I'm not > sure if contrib is part of the ELPA org distribution - it is available > if you get org from the git repo or from the tarball). The one I have > says: > > ,---- > | ;;; htmlize.el --- Convert buffer text and decorations to HTML. > | > | ;; Copyright (C) 1997-2013 Hrvoje Niksic > | > | ;; Author: Hrvoje Niksic > | ;; Keywords: hypermedia, extensions > | ;; Version: 1.43 > `---- > > Nick > > > --bcaec5171e1f608fb104fb111e02 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I need to download the htmlize.el from the org-mode g= it repos separately. =C2=A0After that, htmlize works magically and highligh= ts the syntax in the resulting html without any extra markup. Thanks for th= e help.=C2=A0



On Tue, Jun 3, 2014 at 11:53 AM, Nick Dokos <n= dokos@gmail.com> wrote:
Shiyuan <gshy2014@gmail.com> writes:

> I can only find=C2=A0htmlfontify in ELPA, but not htmlize. Which ELPA<= br> > repository will have htmlize? =C2=A0Or I need to install the .el file<= br> > manually. I can find the htmlize.el in the following link, but not
> sure it's up to date. =C2=A0
> http://www.emacswiki.org/emacs-ja/htmlize.el.=C2=A0
>

htmlize.el is included in the contrib/lisp directory of org (but I= 9;m not
sure if contrib is part of the ELPA org distribution - it is available
if you get org from the git repo or from the tarball). The one I have
says:

,----
| ;;; htmlize.el --- Convert buffer text and decorations to HTML.
|
| ;; Copyright (C) 1997-2013 Hrvoje Niksic
|
| ;; Author: Hrvoje Niksic <hniksi= c@xemacs.org>
| ;; Keywords: hypermedia, extensions
| ;; Version: 1.43
`----

Nick



--bcaec5171e1f608fb104fb111e02--