From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: latex environment inside math mode problem Date: Mon, 19 Jan 2015 20:30:51 -0500 Message-ID: <87oapuxmpg.fsf@pierrot.dokosmarshall.org> References: <878ugypcwf.wl-MarkoSchuetz@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDNzA-0002dZ-E3 for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 20:52:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDNz5-0000v6-9i for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 20:52:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:54595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDNeo-0002a7-M2 for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 20:31:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YDNel-0006q0-NP for emacs-orgmode@gnu.org; Tue, 20 Jan 2015 02:30:59 +0100 Received: from pool-108-20-41-17.bstnma.fios.verizon.net ([108.20.41.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2015 02:30:59 +0100 Received: from ndokos by pool-108-20-41-17.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2015 02:30:59 +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: emacs-orgmode@gnu.org Marko Schütz Schmuck writes: > Dear All, > > the new exporter does not seem to handle \begin/\end inside \( ... \). > > If the org file contains > > \(f = > \begin{cases} > t & 1\\ > f & 2\\ > \end{cases} > \) > > the resulting tex file contains > > $\backslash$(f = > \begin{cases} > t & 1\\ > f & 2\\ > \end{cases} > $\backslash$) > > Is there a known fix or workaround? > My guess is that inline math is recognized as such by the latex exporter only if the closing delimiter is on the same line as the opening delimiter. Try \(f = \begin{cases} t & 1\\ f & 2\\ \end{cases} \) -- Nick