From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Beard Subject: syntax highlighting for latex elements Date: Fri, 1 Apr 2011 00:18:37 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=36190 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5JeP-0008VQ-Qq for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 11:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5JeO-0006fd-O7 for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 11:19:09 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:60319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5JeO-0006fX-Jd for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 11:19:08 -0400 Received: by yib18 with SMTP id 18so1215315yib.0 for ; Thu, 31 Mar 2011 08:19:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, After learning that I can output my Org documents (with tables, outlined notes and all!) into LaTeX, I've started writing some notes with the intention of exporting them to LaTeX. So I've been typing stuff like (sorry, I'm not sure about the standard for formatting code for emails): This equation does such and such: \begin{equation} F_2(s) = \frac{r_1}{s+2} + \frac{r_2}{s+4} + \frac{r_3}{s+6}, \end{equation} And this equation is used to find... This stuff outputs fine to tex files, but one thing I'd like is LaTeX syntax highlighting for things like \begin{...}\frac{...}\end{}. I can get highlighting in code source blocks, but that gets exported in verbatim environments in the LaTeX output. If I want syntax highlighting for these things, should I just be editing a standard .tex file with the appropriate emacs mode, or is there a (hopefully simple) way to turn on syntax highlighting for LaTeX elements in standard org-mode? Thank you Chris