From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kai von Fintel" Subject: Re: Embedded LaTeX fontification Date: Fri, 09 Sep 2016 12:44:06 -0400 Message-ID: <41C2DA90-F4D9-493C-B286-144958438675@mit.edu> References: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_B90B3F33-9B0F-4526-A766-1CFBC8F29CA4_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biOuZ-0003wP-5C for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 12:44:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biOuV-0002Yh-3X for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 12:44:19 -0400 Received: from dmz-mailsec-scanner-5.mit.edu ([18.7.68.34]:64814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biOuU-0002YV-U0 for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 12:44:15 -0400 In-Reply-To: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eric S Fraga Cc: Kai von Fintel , "emacs-orgmode@gnu.org" --=_MailMate_B90B3F33-9B0F-4526-A766-1CFBC8F29CA4_= Content-Type: text/plain; format=flowed 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, there's >> no fontification. Is that as intended? Am I missing some setting? Or >> could that functionality be added? > > What version of org are you using? In latest versions, begin_latex is > now > #+begin_export latex > ... > #+end_export > and this does fontify correctly for me. Hmm, I *thought* I was up to date: Org-mode version 8.3.5 (8.3.5-8-gd2cb29-elpaplus @ /Users/fintel/.emacs.d/elpa/org-plus-contrib-20160905/). I guess I have to somehow get Spacemacs to use the bleeding edge version of org rather than the latest stable version? -- Kai. --=_MailMate_B90B3F33-9B0F-4526-A766-1CFBC8F29CA4_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

On 9 Sep 2016, at 11:48, Eric S Fraga wrote:

On Friday, 9 Sep 2016 at 12:06, Kai von Fintel wrote:
Whe= n 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 missi= ng some setting? Or
could that functionality be added?
What version of org are you using? In latest ver= sions, begin_latex is
now
#+begin_export latex
...
#+end_export
and this does fontify correctly for me.

Hmm, I thought I was up to date: Org-mode versio= n 8.3.5 (8.3.5-8-gd2cb29-elpaplus @ /Users/fintel/.emacs.d/elpa/org-plus-= contrib-20160905/). I guess I have to somehow get Spacemacs to use the bl= eeding edge version of org rather than the latest stable version?

-- Kai.

--=_MailMate_B90B3F33-9B0F-4526-A766-1CFBC8F29CA4_=--