Shiyuan wrote:
> On Thu, Jun 5, 2014 at 6:13 AM, Sebastien Vauban wrote:
>> Shiyuan wrote:
>>> On Tue, Jun 3, 2014 at 11:53 AM, Nick Dokos <[email protected]> wrote:
>>>>
>>>> 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 <[email protected]>
>>>> | ;; Keywords: hypermedia, extensions
>>>> | ;; Version: 1.43
>>>> `----
>>> 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.
>>
>> 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 <[email protected]>
>> │ ;; Keywords: hypermedia, extensions
>> │ ;; Version: 20130207.1202
>> │ ;; X-Original-Version: 1.47
>> ╰────
>
> What ELPA repos you are using? Could you show me the value of C-h
> v package-archives? Thanks.
I do use this:
--8<---------------cut here---------------start------------->8---
;; archives from which to fetch
(setq package-archives
(append '(("org" . "http://orgmode.org/elpa/")
("melpa" . "http://melpa.milkbox.net/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
;; ("ELPA" . "http://tromey.com/elpa/")
)
package-archives))
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
--
Sebastien Vauban