What ELPA repos you are using? Could you show me the value of C-h v package-archives? Thanks. 


On Thu, Jun 5, 2014 at 6:13 AM, Sebastien Vauban <sva-news@mygooglest.com> wrote:
Shiyuan wrote:
> 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 <ndokos@gmail.com> wrote:
>
>> Shiyuan <gshy2014@gmail.com> 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 <hniksic@xemacs.org>
>> | ;; Keywords: hypermedia, extensions
>> | ;; Version: 1.43
>> `----

You can find it in ELPA. Mine:

  ╭────
  │ ;;; htmlize.el --- Convert buffer text and decorations to HTML.
  │
  │ ;; Copyright (C) 1997-2003,2005,2006,2009,2011,2012 Hrvoje Niksic
  │
  │ ;; Author: Hrvoje Niksic <hniksic@xemacs.org>
  │ ;; Keywords: hypermedia, extensions
  │ ;; Version: 20130207.1202
  │ ;; X-Original-Version: 1.47
  ╰────

Best regards,
  Seb

--
Sebastien Vauban