Re: [O] fontification of blocks inside blocks
Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I've just had to write an org block inside another org block, which looks like this: #+attr_latex: :options {0.5\textwidth} #+begin_column #+begin_src ocaml let o1 = object method m = 0 method p = foo end;; #+end_src #+end_column Unfortunately when I do so I lose the nice fontification of the ocaml code inside the inner block. Is there a way to get it back? Well, that's a long awaited ... no. I guess it would somehow make sense, but the fontification engine is complex enough not to try to implement such nested fontification. But maybe some Emacs angel can pass by and implement this. I can definitely live with this ;-) Thanks for the answer. Alan
Re: [O] fontification of blocks inside blocks
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I've just had to write an org block inside another org block, which looks like this: #+attr_latex: :options {0.5\textwidth} #+begin_column #+begin_src ocaml let o1 = object method m = 0 method p = foo end;; #+end_src #+end_column Unfortunately when I do so I lose the nice fontification of the ocaml code inside the inner block. Is there a way to get it back? Well, that's a long awaited ... no. I guess it would somehow make sense, but the fontification engine is complex enough not to try to implement such nested fontification. But maybe some Emacs angel can pass by and implement this. -- Bastien
[O] fontification of blocks inside blocks
Hello, I've just had to write an org block inside another org block, which looks like this: #+attr_latex: :options {0.5\textwidth} #+begin_column #+begin_src ocaml let o1 = object method m = 0 method p = foo end;; #+end_src #+end_column Unfortunately when I do so I lose the nice fontification of the ocaml code inside the inner block. Is there a way to get it back? Now for why I'm doing this and not using the usual headline with a column property: I want to put a vertical bar between the columns, so I need a \vrule after the first column is closed. Using headlines does not let me write anything between the columns. Thanks, Alan