From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Dittmar Subject: Re: Latex export with \begin{equation} Date: Thu, 13 Sep 2018 15:43:41 +0200 Message-ID: <61308271-2114-d7e5-77df-6e7ec580e001@gmx.de> References: <87muslpm5t.fsf@gmail.com> <87zhwlfrqs.fsf@gmail.com> 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]:35381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0RuP-0001j7-MC for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0RuL-0003uX-Iu for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:43:49 -0400 Received: from mout.gmx.net ([212.227.17.21]:52479) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0RuL-0003tQ-8z for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:43:45 -0400 Received: from [192.168.175.209] ([87.139.53.30]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzXTy-1fmkmq0TlS-014ooE for ; Thu, 13 Sep 2018 15:43:42 +0200 In-Reply-To: <87zhwlfrqs.fsf@gmail.com> Content-Language: de-DE 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" To: emacs-orgmode@gnu.org Am 13.09.18 um 15:31 schrieb Dominik Schrempf: > so I found the reason. Both Org versions behave the same, sorry for the > confusion. The original equation that does not get exported correctly > contained > angles: > > \begin{equation} >   = \frac{\sum_i w_i k_{eff}(i)}{\sum_i w_i}. > \end{equation} > > This equation is correctly rendered when using a .tex file and native > LaTeX. > If the angles are removed, the Org Mode HTML export works: > > \begin{equation} >  k_{eff} = \frac{\sum_i w_i k_{eff}(i)}{\sum_i w_i}. > \end{equation} > > Does anybody know why? Is this expected behavior? Can this be changed? I can't answer any of those questions, but you as a work-around you could use \langle and \rangle instead of < and >. That's propably more what you want anyways, as < and > are rendered as the less operator and the greater operator, including the appropriate spacing, whereas \langle and \rangle behave like parenthesis. HTH, Julius