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 dj4uLi48L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