Re: [O] Embedded LaTeX fontification

2016-09-13 Thread Kai von Fintel
On 9 Sep 2016, at 11:48, Eric S Fraga wrote: On Friday, 9 Sep 2016 at 12:06, Kai von Fintel wrote: When I embed LaTeX code in a #+BEGIN_SRC latex block and org-src-fontify-natively is set to t, the code is fontified as LaTeX code. But when the code is embedded in a #+BEGIN_LaTeX block,

Re: [O] Embedded LaTeX fontification

2016-09-10 Thread s j
Thanks for the clarification! Jiang On Sep 9 2016, at 8:41 pm, Nick Dokos wrote: > s j writes: > > > I am using the org-plus-contrib package in org ELPA. > > The export block > > #+begin_export latex > ... > #+end_export > >

Re: [O] Embedded LaTeX fontification

2016-09-09 Thread Nick Dokos
s j writes: > I am using the org-plus-contrib package in org ELPA. > > The export block > > #+begin_export latex > ... > #+end_export > > does not work properly. > It produces > > \begin{export} > ... > \end{export} > > in the .tex file and causes error. > > Instead, I

Re: [O] Embedded LaTeX fontification

2016-09-09 Thread s j
I am using the org-plus-contrib package in org ELPA. The export block #+begin_export latex ... #+end_export does not work properly. It produces \begin{export} ... \end{export} in the .tex file and causes error. Instead, I still need to use #+begin_latex ...

Re: [O] Embedded LaTeX fontification

2016-09-09 Thread Eric S Fraga
On Friday, 9 Sep 2016 at 12:06, Kai von Fintel wrote: > When I embed LaTeX code in a #+BEGIN_SRC latex block and > org-src-fontify-natively is set to t, the code is fontified as LaTeX > code. But when the code is embedded in a #+BEGIN_LaTeX block, there's > no fontification. Is that as intended?

Re: [O] Embedded LaTeX fontification

2016-09-09 Thread Charles C. Berry
On Fri, 9 Sep 2016, Kai von Fintel wrote: When I embed LaTeX code in a `#+BEGIN_SRC latex` block and `org-src-fontify-natively` is set to `t`, the code is fontified as LaTeX code. But when the code is embedded in a `#+BEGIN_LaTeX` block, there's no fontification. Is that as intended? Am I

[O] Embedded LaTeX fontification

2016-09-09 Thread Kai von Fintel
When I embed LaTeX code in a `#+BEGIN_SRC latex` block and `org-src-fontify-natively` is set to `t`, the code is fontified as LaTeX code. But when the code is embedded in a `#+BEGIN_LaTeX` block, there's no fontification. Is that as intended? Am I missing some setting? Or could that