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


Reply via email to