Dear All!
I've been using emacs AUCTEX for quite a while and found it very convenient
to work with.

One issue is the lack of syntax highlighting.

I've tried some elisp code and added the following hook when I'm in

(add-hook 'ConTeXt-mode-hook
          (lambda ()
            (font-lock-add-keywords nil
                                    '(("\\(\\\\starttext\\)\\>" 1
font-lock-warning-face t)
                                      ("\\(\\\\stoptext\\)\\>" 1
font-lock-warning-face t)))))

and it seems to highlight the start-stop text keyword.

So my question is:
Is there a way to accomplish a similar way of highlighting all other
keywords that belongs to the ConTeXt typesetting syntax?

Maybe a REGEXP (I'm not good at writing those) can do this in some way
without manually write every start-stop sequence that exists.

Have anyone, using AUCTEX, already did some customizing already who wants
to share it with me.

Many thanks in advance

If your question is of interest to others as well, please add an entry to the 

maillist : /
webpage  : /
archive  :
wiki     :

Reply via email to