emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shiyuan <gshy2014@gmail.com>
To: Omid <omidlink@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: src blocks not fontified
Date: Tue, 3 Jun 2014 11:38:22 -0700	[thread overview]
Message-ID: <CAOm4EMso=9dhd=52o5Fh0ANqs=+Q5Svpa8vbVRkeAxc2X8HfZw@mail.gmail.com> (raw)
In-Reply-To: <538BAD46.8090204@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]

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.

Thank you.


On Sun, Jun 1, 2014 at 3:46 PM, Omid <omidlink@gmail.com> wrote:

> One way is to use the package htmlize, which you can install from ELPA
> using M-x package-install RET htmlize
>
> http://www.emacswiki.org/emacs/Htmlize
>
> Omid
>
> Sent from my Emacs
>
> On 06/01/2014 06:40 PM, Shiyuan wrote:
> > That solves the problem. Thanks Omid.
> > Should this be the default setup? It seems more nature to fontify the
> > src block than not.
> >
> > Also, when I export the org file to html, the src block is not fontified
> > in the resulting html webpage. Is there another option to turn this
> > function on? Thanks.
> >
> >
> > On Sun, Jun 1, 2014 at 3:17 PM, Omid <omidlink@gmail.com
> > <mailto:omidlink@gmail.com>> wrote:
> >
> >     Hi Shiyuan,
> >
> >     Add
> >
> >     (setq org-src-fontify-natively t)
> >
> >     to your .emacs.
> >
> >     Omid
> >
> >     Sent from my Emacs
> >
> >     On 06/01/2014 06:13 PM, Shiyuan wrote:
> >     > Hi,
> >     >     I am using Emacs 24.3 with the built-in org mode(7.9.3). The
> src
> >     > code block is not fontified (Emacs is started with -Q option)
> >     > #+BEGIN_SRC emacs-lisp
> >     >     (defun org-xor (a b)
> >     >       "Exclusive or."
> >     >     (if a (not b) b))
> >     > #+END_SRC
> >     >
> >     > This is my first time to use org-mode, so I could miss some setup
> >     > steps.Do I need to do any setup in my .emacs if I just use the
> >     built-in
> >     > org?
> >     >
> >     > Thanks.
> >     >
> >     > Shiyuan
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 2878 bytes --]

  reply	other threads:[~2014-06-03 18:38 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 [this message]
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

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='CAOm4EMso=9dhd=52o5Fh0ANqs=+Q5Svpa8vbVRkeAxc2X8HfZw@mail.gmail.com' \
    --to=gshy2014@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=omidlink@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 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).