From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: How to highlight the LaTeX fragments inside orgmode Date: Tue, 21 Jun 2011 14:47:46 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf300256a4b695d904a63d49f8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5zJ-00026B-Qb for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:47:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ5zI-0001Pb-7W for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:47:49 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:41125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5zH-0001PU-Rr for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:47:48 -0400 Received: by wwf22 with SMTP id 22so49863wwf.30 for ; Tue, 21 Jun 2011 11:47:47 -0700 (PDT) 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 --20cf300256a4b695d904a63d49f8 Content-Type: text/plain; charset=ISO-8859-1 Hello, I'm looking for a way to highlight the syntax of the LaTeX fragments inside orgmode. I have tried to put the LaTeX parts into: #+BEGIN_SRC LaTeX #+END_SRC But the output tex file will have the \begin{verbatim} \end{verbatim} surrounding the parts. I'm wondering if it's possible to #+BEGIN_LaTeX: also highlight the syntax inside the block? Thanks! Xin --20cf300256a4b695d904a63d49f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I'm looking for a way to highlight the syntax= of the LaTeX fragments inside orgmode.

I have tri= ed to put the LaTeX parts into:=A0

#+BEGIN_SRC LaTeX=A0
#+END_SRC=A0

But the output tex file will = have the=A0
\begin{verbatim}
\end{verbatim}

surrounding the parts. I'm wondering if it's=A0possible=A0t= o=A0#+BEGIN_LaTeX: also highlight the syntax inside the block?=A0

Thanks!

Xin

--20cf300256a4b695d904a63d49f8--