From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf Subject: Re: Latex export with \begin{equation} Date: Thu, 13 Sep 2018 15:31:55 +0200 Message-ID: <87zhwlfrqs.fsf@gmail.com> References: <87muslpm5t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0Rj0-0004hP-ML for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0Riw-0005Ee-PL for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:32:02 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:55516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0Riw-0005E6-Ix for emacs-orgmode@gnu.org; Thu, 13 Sep 2018 09:31:58 -0400 Received: by mail-wm0-x22d.google.com with SMTP id f21-v6so6168722wmc.5 for ; Thu, 13 Sep 2018 06:31:58 -0700 (PDT) Received: from localhost (formica.elte.hu. [157.181.169.202]) by smtp.gmail.com with ESMTPSA id v6-v6sm3133219wro.66.2018.09.13.06.31.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 06:31:56 -0700 (PDT) In-reply-to: <87muslpm5t.fsf@gmail.com> 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: org-mode-email Hi, 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? Dominik Schrempf writes: > Hi, > > I have the following document: > > \begin{equation} > foobar > \end{equation} > > I perform an HTML export. > > The equation is not rendered with MathJax when using Org Mode 9.1.14 > (Spacemacs). > > The equation is correctly rendered with =emacs -Q=; then, Org Mode 9.1.9 is > used. > > I am sure that Spacemacs sets other variables that may influence the HTML > export, but even then LaTeX export works perfectly when using dollar signs to > mark the equation. > > Help much appreciated! > > Thanks, > Dominik