From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: no fontification of #+BEGIN_LaTeX blocks Date: Mon, 16 Sep 2013 23:26:48 +0200 Message-ID: <87r4co790n.fsf@free.fr> References: <878uyzl7k8.fsf@free.fr> <86zjrdsx3u.fsf@somewhere.org> <87d2o8908p.fsf@free.fr> <868uywpp4q.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLgK3-0004Du-Vm for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:27:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLgJx-0004YN-PQ for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:27:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:57636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLgJx-0004YF-IH for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:27:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VLgJw-0006Fh-9f for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 23:27:00 +0200 Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Sep 2013 23:27:00 +0200 Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Sep 2013 23:27:00 +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: emacs-orgmode@gnu.org "Sebastien Vauban" writes: > No, you could just have the same color as the default (unfontified) from > source blocks. I mean: fontified source blocks add extra text properties, such > as "comment", "string", "type", etc. > > You could have the same default one, with the same background color, if that's > what annoys you. No, that's not the background color that bothers me. > But I'm not really sure to understand what you try to achieve. Could >you be > more explicit? Could you give a minimal example file? In the following, begin, center, and braces get different colors #+BEGIN_SRC latex \begin{center} \includegraphics[width=0.5\textwidth]{figures/fresnel} \end{center} #+END_SRC Here everything is the same color, not very good for readability. #+BEGIN_LaTeX \begin{center} \includegraphics[width=0.5\textwidth]{figures/fresnel} \end{center} #+END_LaTeX Since I use them for pieces of code to be exported to Beamer, the latex block is easier to use (no export options to take care of) but less readable. Anyway I can edit both with org-edit-src-code, with fontification, and I'm happy with that so far. Julien.