[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] no fontification of #+BEGIN_LaTeX blocks
From: |
Sebastien Vauban |
Subject: |
Re: [O] no fontification of #+BEGIN_LaTeX blocks |
Date: |
Tue, 17 Sep 2013 09:03:41 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt) |
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
Re: [O] no fontification of #+BEGIN_LaTeX blocks, Bastien, 2013/09/16