emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Shiyuan <gshy2014-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: src blocks not fontified
Date: Fri, 06 Jun 2014 09:36:37 +0200	[thread overview]
Message-ID: <86ppimo5fe.fsf@somewhere.org> (raw)
In-Reply-To: <CAOm4EMu-1yOXynV_qQR5cKGWpiA9trHePsEcDaX=whnmpdLDOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> (Shiyuan's message of "Thu, 5 Jun 2014 22:51:32 -0700")

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 <ndokos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <hniksic-Sn97VrDLz2sdnm+yROfE0A@public.gmane.org>
>>>> | ;; 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 <hniksic-Sn97VrDLz2sdnm+yROfE0A@public.gmane.org>
>>   │ ;; 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

      parent reply	other threads:[~2014-06-06  7:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 22:13 src blocks not fontified Shiyuan
2014-06-01 22:17 ` Omid
2014-06-01 22:40   ` Shiyuan
2014-06-01 22:46     ` Omid
2014-06-03 18:38       ` Shiyuan
2014-06-03 18:53         ` Nick Dokos
2014-06-05  6:47           ` Shiyuan
2014-06-05 13:13             ` Sebastien Vauban
2014-06-06  5:51               ` Shiyuan
2014-06-06  5:54                 ` Omid
     [not found]                 ` <CAOm4EMu-1yOXynV_qQR5cKGWpiA9trHePsEcDaX=whnmpdLDOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-06  7:36                   ` Sebastien Vauban [this message]

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=86ppimo5fe.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    --cc=gshy2014-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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).