From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-edit-special on "inline latex" Date: Mon, 24 Dec 2012 02:02:16 +0100 Message-ID: <87wqw8uusn.fsf@bzg.ath.cx> References: <33fozk1tx3ut.fsf@jango.physik.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmwQu-0004ys-64 for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 20:02:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmwQt-0008DL-4q for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 20:02:20 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:40416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmwQs-0008DG-Tj for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 20:02:19 -0500 Received: by mail-we0-f173.google.com with SMTP id z2so3103206wey.32 for ; Sun, 23 Dec 2012 17:02:18 -0800 (PST) In-Reply-To: <33fozk1tx3ut.fsf@jango.physik.fu-berlin.de> ("Jonas =?iso-8859-1?Q?H=F6rsch=22's?= message of "Tue, 04 Dec 2012 15:56:58 +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: Jonas =?iso-8859-1?Q?H=F6rsch?= Cc: emacs-orgmode@gnu.org Hi Jonas, coroa@online.de (Jonas Hörsch) writes: > i recently switched from using the verbose > > #+begin_latex > \begin{eqnarray} > 8 &=& 7 + 1 > \end{eqnarray} > #+end_latex > > to just the "inline version" > > \begin{eqnarray} > 8 &=& 7 + 1 > \end{eqnarray} > > which is: shorter to write thus also clearer to read and as a welcome > gadget even exports to html as well. > > but i see also two drawbacks: > 1. syntax highlighting is lost > 2. org-edit-special (C-') doesn't switch to auctex anymore[fn:1] > > > it would be fantastic if it was possible for org-edit-special to work on > an enclosing \begin -- \end region the same way it did on a latex block, > i.e. show a new window with the snippet in latex mode. The support for inline \begin{...} is a convenient hack, but it's a hack and adding features of the #+begin_src/latex blocks to it would only make it more hackish. I suggest you use a code block and C-c ' when necessary. Best, -- Bastien