From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: no fontification of #+BEGIN_LaTeX blocks Date: Mon, 16 Sep 2013 17:05:18 +0200 Message-ID: <87ob7s4xjl.fsf@bzg.ath.cx> References: <878uyzl7k8.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLaMo-0005pE-Bs for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 11:05:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLaMf-0002pM-MZ for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 11:05:34 -0400 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:44403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLaMf-0002pB-6f for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 11:05:25 -0400 Received: by mail-ea0-f179.google.com with SMTP id b10so2067655eae.38 for ; Mon, 16 Sep 2013 08:05:23 -0700 (PDT) In-Reply-To: <878uyzl7k8.fsf@free.fr> (Julien Cubizolles's message of "Sat, 14 Sep 2013 17:57:43 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Julien Cubizolles Cc: emacs-orgmode@gnu.org Hi Julien, Julien Cubizolles writes: > org-src-fontify-natively doesn't fontify quoted LaTeX code like > > #+BEGIN_LaTeX > #+END_LaTeX > > the same as it does for LaTeX src blocks like > > #+BEGIN_SRC latex > #+END_SRC > > Why is that, and is there a way to get fontification for both ? Nope, fontification is just for BEGIN_SRC blocks. There is no real "why" I guess, except because of this implicit convention: only SRC blocks get fontified. Other blocks are part of another family with a more limited set of features. -- Bastien