Re: [O] Highlighting LaTeX fragments

2013-02-16 Thread Rasmus
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

Re: [O] Highlighting LaTeX fragments

2013-02-16 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us 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

Re: [O] Highlighting LaTeX fragments

2013-02-16 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com 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

[O] Highlighting LaTeX fragments

2013-02-09 Thread Rasmus
Hi, I was quite fond of org-highlight-latex-fragments-and-specials which was recently removed ¹. I'm sure there were good reasons for removing it. Basically stuff like α would be displayed with a special face. Likewise, \begin{equation} X \end{equation} would be highlighted. Does anybody have

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us 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'). Likewise, \begin{equation} X \end{equation} would be highlighted. Does anybody have a

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com 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

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Nicolas Goaziou n.goaz...@gmail.com writes: 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,