From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Highlighting LaTeX fragments Date: Sat, 09 Feb 2013 19:05:06 +0100 Message-ID: <8738x5s6r1.fsf@gmail.com> References: <87vca1towm.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4Eno-00049c-5U for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:05:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4Enk-00053p-5B for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:05:28 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:63078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4Enj-00052c-UL for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:05:24 -0500 Received: by mail-wi0-f174.google.com with SMTP id hi8so1935932wib.7 for ; Sat, 09 Feb 2013 10:05:23 -0800 (PST) In-Reply-To: <87vca1towm.fsf@pank.eu> (rasmus@gmx.us's message of "Sat, 09 Feb 2013 17:47:37 +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: > Basically stuff like =CE=B1 would be displayed with a special face. It's still the case. This part is done by `org-fontify-entities' (toggled by `org-pretty-entities'). > Likewise, > \begin{equation} > X > \end{equation} > would be highlighted. > > Does anybody have a good idea on how to replicate this? Maybe rewrite a similar function with all references to the export sub-system removed. Also make sure it doesn't overlap with existing facilities. Fontifying a latex environment is perfectly fine, but fontifying it only if some export option has been defined somewhere is a bit too much. To begin with, it should be useful to know what is missing exactly. Regards, --=20 Nicolas Goaziou