From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Pita Subject: Re: Bug: Add option to fontify latex blocks [9.1.9 (release_9.1.9-65-g5e4542 @ /home/carlos/local/stow/emacs-26/share/emacs/26.1.50/lisp/org/)] Date: Tue, 27 Nov 2018 19:58:58 -0300 Message-ID: References: <87h8g2kv81.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRmK7-0001r7-23 for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:59:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRmK5-0006c6-6B for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:59:18 -0500 Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:43414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRmK3-0006XI-AV for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 17:59:15 -0500 Received: by mail-yb1-xb33.google.com with SMTP id h187-v6so9807745ybg.10 for ; Tue, 27 Nov 2018 14:59:12 -0800 (PST) In-Reply-To: <87h8g2kv81.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: emacs-orgmode@gnu.org Ok, I got the "#+BEGIN_LATEX latex" idea from reddit, but exploring the source code I realized that the right thing to do here is to "#+BEGIN_EXPORT latex" which makes more sense and is less redundant. Now the problem still exists that "#+BEGIN_EXPORT latex" won't do inline preview. So, to sum up: 1. #+BEGIN_LATEX could be changed to honor current fontification setting 2. #+BEGIN_EXPORT latex should be changed to allow inline preview I would say 2 is a bug.