From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Highlighting LaTeX fragments Date: Sat, 16 Feb 2013 22:22:50 +0100 Message-ID: <87ehggq7h1.fsf@gmail.com> References: <87vca1towm.fsf@pank.eu> <8738x5s6r1.fsf@gmail.com> <87liaxtjf3.fsf@pank.eu> <87a9rdgjtw.fsf@gmail.com> <87mwv41d8f.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6pDw-0005Kb-VW for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 16:23:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6pDv-0006fl-TM for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 16:23:08 -0500 Received: from we-in-x022c.1e100.net ([2a00:1450:400c:c03::22c]:57723 helo=mail-we0-x22c.google.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6pDv-0006fd-MC for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 16:23:07 -0500 Received: by mail-we0-f172.google.com with SMTP id x10so3838954wey.17 for ; Sat, 16 Feb 2013 13:23:06 -0800 (PST) In-Reply-To: <87mwv41d8f.fsf@pank.iue.private> (rasmus@gmx.us's message of "Sat, 16 Feb 2013 16:37:36 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: >> Would you mind testing the following patch? I don't like it much because >> it's an all or nothing fontification. I think latex snippets, entities >> and sub/superscript should be separated. > > I have no experienced any problems. I agree that it would be better > not to be able not to fontitfy rouge entities and super/subscripts. > >> Anyway, does it replace the missing functionality? > > Yes, it seems so replicate the old behavior so far. I have applied a small variant of the patch. You can configure `org-highlight-latex-and-related' variable to fontify said syntax separately. Regards, -- Nicolas Goaziou