Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-17 Thread Sebastien Vauban
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}

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-17 Thread Julien Cubizolles
Sebastien Vauban sva-n...@mygooglest.com writes: 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 I guess I mixed the concepts of fontification/highlighting up :-) Julien.

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-16 Thread Bastien
Hi Julien, Julien Cubizolles j.cubizol...@free.fr 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 ?

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-16 Thread Julien Cubizolles
Sebastien Vauban sva-n...@mygooglest.com writes: Julien Cubizolles wrote: 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

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-16 Thread Sebastien Vauban
Julien Cubizolles wrote: Sebastien Vauban sva-n...@mygooglest.com writes: Julien Cubizolles wrote: 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

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-16 Thread Julien Cubizolles
Bastien b...@gnu.org writes: Hi Julien, 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. I was under the

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-16 Thread Julien Cubizolles
Sebastien Vauban sva-n...@mygooglest.com 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

Re: [O] no fontification of #+BEGIN_LaTeX blocks

2013-09-15 Thread Sebastien Vauban
Julien Cubizolles wrote: 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 ? Yes, you have different faces:

[O] no fontification of #+BEGIN_LaTeX blocks

2013-09-14 Thread Julien Cubizolles
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 ? Julien.