emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Highlighting LaTeX fragments
Date: Sat, 09 Feb 2013 19:05:06 +0100	[thread overview]
Message-ID: <8738x5s6r1.fsf@gmail.com> (raw)
In-Reply-To: <87vca1towm.fsf@pank.eu> (rasmus@gmx.us's message of "Sat, 09 Feb 2013 17:47:37 +0100")

Hello,

Rasmus <rasmus@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 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,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-02-09 18:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-09 16:47 Highlighting LaTeX fragments Rasmus
2013-02-09 18:05 ` Nicolas Goaziou [this message]
2013-02-09 18:46   ` Rasmus
2013-02-09 23:15     ` Nicolas Goaziou
2013-02-16 15:37       ` Rasmus
2013-02-16 21:22         ` Nicolas Goaziou
2013-02-16 22:02           ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738x5s6r1.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).