From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: no fontification of #+BEGIN_LaTeX blocks Date: Tue, 17 Sep 2013 09:03:41 +0200 Message-ID: <8661u07wvm.fsf@somewhere.org> References: <878uyzl7k8.fsf@free.fr> <86zjrdsx3u.fsf@somewhere.org> <87d2o8908p.fsf@free.fr> <868uywpp4q.fsf@somewhere.org> <87r4co790n.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Julien, Julien Cubizolles wrote: >> 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. I perfectly understand your need, now: to have *syntax highlighting* of everything in a #+BEGIN/END_LaTeX block (the same would be true for HTML or ...). This is something I'd like to get as well, in fact! Best regards, Seb -- Sebastien Vauban