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}
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.
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 ?
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
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
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
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
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:
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.