From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marko =?ISO-8859-1?Q?Sch=FCtz?= Schmuck Subject: Re: latex environment inside math mode problem Date: Mon, 19 Jan 2015 23:44:56 -0400 Message-ID: <87k30it8sn.wl-MarkoSchuetz@web.de> References: <878ugypcwf.wl-MarkoSchuetz@web.de> <87oapuxmpg.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Jan_19_23:44:50_2015-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDPkW-0002GT-9D for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 22:45:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDPkT-0008OD-4T for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 22:45:04 -0500 Received: from mout.web.de ([212.227.17.11]:54174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDPkS-0008O9-P4 for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 22:45:01 -0500 In-Reply-To: <87oapuxmpg.fsf@pierrot.dokosmarshall.org> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --pgp-sign-Multipart_Mon_Jan_19_23:44:50_2015-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable At Mon, 19 Jan 2015 20:30:51 -0500, Nick Dokos wrote: >=20 > Marko Sch=FCtz Schmuck writes: >=20 > > Dear All, > > > > the new exporter does not seem to handle \begin/\end inside \( ... \). > > > > If the org file contains > > > > \(f =3D > > \begin{cases} > > t & 1\\ > > f & 2\\ > > \end{cases} > > \) > > > > the resulting tex file contains > > > > $\backslash$(f =3D > > \begin{cases} > > t & 1\\ > > f & 2\\ > > \end{cases} > > $\backslash$) > > > > Is there a known fix or workaround? > > >=20 > 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 >=20 > \(f =3D \begin{cases} t & 1\\ f & 2\\ \end{cases} \) It recognized inline math across multiple lines without the cases environment inside. It also recognizes your suggestion. Thanks for the suggestion, but I hesitate to apply it to the real inline math environments that I have, it would obfuscate the code quite a bit... --pgp-sign-Multipart_Mon_Jan_19_23:44:50_2015-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlS9zzIACgkQOrTq/v3ACNqnDgCfV9JzOupynijG+m8Lto/6acBF a6cAn2qcSiq9ccle/wRO2D4qSj28t5XL =bJAw -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Jan_19_23:44:50_2015-1--