From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Highlighting LaTeX fragments Date: Sat, 09 Feb 2013 19:46:08 +0100 Message-ID: <87liaxtjf3.fsf@pank.eu> References: <87vca1towm.fsf@pank.eu> <8738x5s6r1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4FRO-0006ml-7B for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:46:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4FRN-0006kX-63 for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:46:22 -0500 Received: from plane.gmane.org ([80.91.229.3]:55706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4FRM-0006kR-Vi for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 13:46:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U4FRe-0001ez-AA for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 19:46:38 +0100 Received: from dynamic-adsl-94-34-162-108.clienti.tiscali.it ([94.34.162.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Feb 2013 19:46:38 +0100 Received: from rasmus by dynamic-adsl-94-34-162-108.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Feb 2013 19:46:38 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> Basically stuff like α 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'). This just turns \alpha into α. It does not give it a special color (on my system at least). > Maybe rewrite a similar function with all references to the export > sub-system removed. Also make sure it doesn't overlap with existing > facilities. Would the best way to go about it be using regexps? > To begin with, it should be useful to know what is missing exactly. Colors. E.g. it used to be that if an equation was too long to be supported by $-signs it would go from brown (on my system) to the normal black, giving visual feedback as to whether \(·\) should be used. Also, it made it quicker to distinguish inline "math" from text (also display math but this can be replaced by babel blocks). –Rasmus -- . . . The proofs are technical in nature and provides no real understanding.