From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kai von Fintel" Subject: Embedded LaTeX fontification Date: Fri, 09 Sep 2016 08:06:23 -0400 Message-ID: <294F8F2B-1102-432E-84C3-17B65143889D@fintel.mailworks.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_10A08B5C-1DD8-4A57-A209-E8A0C9A38BC2_=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biKZs-00083u-0U for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 08:06:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biKZn-0002rE-Vz for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 08:06:39 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:32925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biKZl-0002oo-HO for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 08:06:35 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4E6B4205A2 for ; Fri, 9 Sep 2016 08:06:23 -0400 (EDT) Received: from [192.168.22.36] (unknown [24.151.29.153]) by mail.messagingengine.com (Postfix) with ESMTPA id A3DBDCCE87 for ; Fri, 9 Sep 2016 08:06:22 -0400 (EDT) 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: emacs-orgmode@gnu.org --=_MailMate_10A08B5C-1DD8-4A57-A209-E8A0C9A38BC2_= Content-Type: text/plain; format=flowed; markup=markdown 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? -- Kai. --=_MailMate_10A08B5C-1DD8-4A57-A209-E8A0C9A38BC2_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

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 bloc= k, there's no fontification. Is that as intended? Am I missing some setti= ng? Or could that functionality be added?

-- Kai.

--=_MailMate_10A08B5C-1DD8-4A57-A209-E8A0C9A38BC2_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Embedded LaTeX fontification Date: Fri, 9 Sep 2016 08:42:08 -0700 Message-ID: References: <294F8F2B-1102-432E-84C3-17B65143889D@fintel.mailworks.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biNwV-0003Dd-Cb for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 11:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biNwR-0003jp-7r for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 11:42:14 -0400 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:47247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biNwQ-0003jU-Ve for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 11:42:11 -0400 In-Reply-To: <294F8F2B-1102-432E-84C3-17B65143889D@fintel.mailworks.org> 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: Kai von Fintel Cc: emacs-orgmode@gnu.org 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 missing some setting? See ORG-NEWS * Version 9.0 ** Incompatible changes *** New syntax for export blocks [...] and use the function provided there to update your *.org files. > Or could that functionality be added? It is already there in the new export blocks. HTH, Chuck From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Embedded LaTeX fontification Date: Fri, 9 Sep 2016 16:48:10 +0100 Message-ID: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> References: Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRNV-0006eV-MY for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 15:22:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biRNS-0005Ta-EF for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 15:22:21 -0400 Received: from mail-ve1eur01on0131.outbound.protection.outlook.com ([104.47.1.131]:40241 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRNS-0005TO-3G for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 15:22:18 -0400 In-Reply-To: (Kai von Fintel's message of "Fri, 9 Sep 2016 12:06:23 +0000") 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: Kai von Fintel Cc: "emacs-orgmode@gnu.org" 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. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa From mboxrd@z Thu Jan 1 00:00:00 1970 From: s j Subject: Re: Embedded LaTeX fontification Date: Sat, 10 Sep 2016 03:17:31 +0000 Message-ID: <1wnmhk9c0qeur87tkc7r7jbka-0@mailer.nylas.com> References: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="334a53872ab34ca189fd93c1fdd7ddd6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biYnS-0007EZ-7R for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:17:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biYnP-0001fw-0M for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:17:38 -0400 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:36458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biYnO-0001fq-L1 for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:17:34 -0400 Received: by mail-pf0-x232.google.com with SMTP id 128so34913828pfb.3 for ; Fri, 09 Sep 2016 20:17:33 -0700 (PDT) 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" --334a53872ab34ca189fd93c1fdd7ddd6 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 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 ... #+end_latex . Is the version in org EPLA an out-dated one? Jiang On Sep 9 2016, at 12:23 pm, 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. > > \-- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa --334a53872ab34ca189fd93c1fdd7ddd6 Content-Transfer-Encoding: base64 Content-Type: text/html; charset="ascii" Mime-Version: 1.0 SSBhbSB1c2luZyB0aGUmbmJzcDtvcmctcGx1cy1jb250cmliJm5ic3A7cGFja2FnZSBpbiBvcmcg RUxQQS4mbmJzcDs8ZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+VGhlIGV4cG9ydCBibG9jazwvZGl2 PjxkaXY+PGRpdj48YnI+PC9kaXY+PGRpdj4jK2JlZ2luX2V4cG9ydCBsYXRleDwvZGl2PjxkaXY+ Li4uPC9kaXY+PGRpdj4jK2VuZF9leHBvcnQ8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PmRvZXMg bm90IHdvcmsgcHJvcGVybHkuJm5ic3A7PC9kaXY+PGRpdj5JdCBwcm9kdWNlczwvZGl2PjxkaXY+ PGJyPjwvZGl2PjxkaXY+XGJlZ2lue2V4cG9ydH08L2Rpdj48ZGl2Pi4uLjwvZGl2PjxkaXY+XGVu ZHtleHBvcnR9PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5pbiB0aGUgLnRleCBmaWxlIGFuZCBj YXVzZXMgZXJyb3IuPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5JbnN0ZWFkLCBJIHN0aWxsIG5l ZWQgdG8gdXNlPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj4jK2JlZ2luX2xhdGV4PC9kaXY+PGRp dj4uLi48L2Rpdj48ZGl2PiMrZW5kX2xhdGV4PC9kaXY+PGRpdj4uPC9kaXY+PGRpdj48YnI+PC9k aXY+PGRpdj5JcyB0aGUgdmVyc2lvbiBpbiBvcmcgRVBMQSBhbiBvdXQtZGF0ZWQgb25lPzwvZGl2 PjxkaXY+PGJyPjwvZGl2PjxkaXY+Smlhbmc8L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2Rpdj48L2Rp dj4KICAgICAgPGRpdiBjbGFzcz0iZ21haWxfcXVvdGUgbnlsYXMtcXVvdGUgbnlsYXMtcXVvdGUt aWQtNWhmNThyNTl6dXZ6aWw1cTU1dHVsamQ2ZCI+CiAgICAgICAgPGJyPgogICAgICAgIE9uIFNl cCA5IDIwMTYsIGF0IDEyOjIzIHBtLCBFcmljIFMgRnJhZ2EgJmx0O2UuZnJhZ2FAdWNsLmFjLnVr Jmd0OyB3cm90ZToKICAgICAgICA8YnI+CiAgICAgICAgPGJsb2NrcXVvdGUgY2xhc3M9ImdtYWls X3F1b3RlIgogICAgICAgICAgc3R5bGU9Im1hcmdpbjowIDAgMCAuOGV4O2JvcmRlci1sZWZ0OjFw eCAjY2NjIHNvbGlkO3BhZGRpbmctbGVmdDoxZXg7Ij4KICAgICAgICAgIDxwPk9uIEZyaWRheSwg IDkgU2VwIDIwMTYgYXQgMTI6MDYsIEthaSB2b24gRmludGVsIHdyb3RlOjxicj4mZ3Q7IFdoZW4g SSBlbWJlZCBMYVRlWCBjb2RlIGluIGEgIytCRUdJTl9TUkMgbGF0ZXggYmxvY2sgYW5kPGJyPiZn dDsgb3JnLXNyYy1mb250aWZ5LW5hdGl2ZWx5IGlzIHNldCB0byB0LCB0aGUgY29kZSBpcyBmb250 aWZpZWQgYXMgTGFUZVg8YnI+Jmd0OyBjb2RlLiBCdXQgd2hlbiB0aGUgY29kZSBpcyBlbWJlZGRl ZCBpbiBhICMrQkVHSU5fTGFUZVggYmxvY2ssIHRoZXJlJ3M8YnI+Jmd0OyBubyBmb250aWZpY2F0 aW9uLiBJcyB0aGF0IGFzIGludGVuZGVkPyBBbSBJIG1pc3Npbmcgc29tZSBzZXR0aW5nPyBPcjxi cj4mZ3Q7IGNvdWxkIHRoYXQgZnVuY3Rpb25hbGl0eSBiZSBhZGRlZD88L3A+CjxwPldoYXQgdmVy c2lvbiBvZiBvcmcgYXJlIHlvdSB1c2luZz8gIEluIGxhdGVzdCB2ZXJzaW9ucywgYmVnaW5fbGF0 ZXggaXM8YnI+bm93PGJyPiMrYmVnaW5fZXhwb3J0IGxhdGV4PGJyPi4uLjxicj4jK2VuZF9leHBv cnQ8YnI+YW5kIHRoaXMgZG9lcyBmb250aWZ5IGNvcnJlY3RseSBmb3IgbWUuPC9wPgo8cD4tLSA8 YnI+OiBFcmljIFMgRnJhZ2EgKDB4RkZGQ0Y2N0QpLCBFbWFjcyAyNS4wLjkwLjEsIE9yZyByZWxl YXNlXzguMy4zLTUzNS1nNzIxM2FhPC9wPgogICAgICAgIDwvYmxvY2txdW90ZT4KICAgICAgPC9k aXY+ --334a53872ab34ca189fd93c1fdd7ddd6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Embedded LaTeX fontification Date: Fri, 09 Sep 2016 23:40:32 -0400 Message-ID: <87k2ek777z.fsf@gmail.com> References: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> <1wnmhk9c0qeur87tkc7r7jbka-0@mailer.nylas.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biZ9y-0001u5-HL for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biZ9s-0005aY-KI for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:40:53 -0400 Received: from [195.159.176.226] (port=47015 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biZ9s-0005YO-Cm for emacs-orgmode@gnu.org; Fri, 09 Sep 2016 23:40:48 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1biZ9m-0003Vc-Ab for emacs-orgmode@gnu.org; Sat, 10 Sep 2016 05:40:42 +0200 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: emacs-orgmode@gnu.org 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 still need to use > > #+begin_latex > ... > #+end_latex > . > > Is the version in org EPLA an out-dated one? > No: it is the stable version. No new features, only bug fixes, are applied to it. You are right that it does not recognize #+begin_export latex...#+end_export. That is a feature that has been introduced in the master branch (which will become the stable version at some point in the future). -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: s j Subject: Re: Embedded LaTeX fontification Date: Sat, 10 Sep 2016 06:50:27 +0000 Message-ID: References: <87h99p2hxh.fsf@delle7240.chemeng.ucl.ac.uk> <1wnmhk9c0qeur87tkc7r7jbka-0@mailer.nylas.com> <87k2ek777z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="a2be9c0e7f734dde9019908bc01cf616" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bic7X-0004ls-3D for emacs-orgmode@gnu.org; Sat, 10 Sep 2016 02:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bic7R-00071R-4e for emacs-orgmode@gnu.org; Sat, 10 Sep 2016 02:50:34 -0400 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:34815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bic7Q-00071N-UE for emacs-orgmode@gnu.org; Sat, 10 Sep 2016 02:50:29 -0400 Received: by mail-pf0-x22b.google.com with SMTP id p64so36318884pfb.1 for ; Fri, 09 Sep 2016 23:50:28 -0700 (PDT) In-Reply-To: <87k2ek777z.fsf@gmail.com> 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: Nick Dokos Cc: "emacs-orgmode@gnu.org" --a2be9c0e7f734dde9019908bc01cf616 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 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 > > 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 > ... > #+end_latex > . > > Is the version in org EPLA an out-dated one? > > > No: it is the stable version. No new features, only bug fixes, are applied to it. > > You are right that it does not recognize #+begin_export latex...#+end_export. That is a feature that has been introduced in the master branch (which will become the stable version at some point in the future). > > \-- Nick --a2be9c0e7f734dde9019908bc01cf616 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Thanks for the clarification!

Jiang

On Sep 9 2016, at 8:41 pm, Nick Dokos <ndokos@gmail.com> wrote:

s j <jsj.register@gmail.com> 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 still need to use
>
> #+begin_latex
> ...
> #+end_latex
> .
>
> Is the version in org EPLA an out-dated one?
>

No: it is the stable version. No new features, only bug fixes, are
applied to it.

You are right that it does not recognize #+begin_export
latex...#+end_export. That is a feature that has been introduced in
the master branch (which will become the stable version at some point
in the future).

--
Nick

--a2be9c0e7f734dde9019908bc01cf616-- 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_=--