From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Strange latex symbol behavior on html export Date: Wed, 13 Sep 2017 18:55:18 -0400 Message-ID: <87poau1a5l.fsf@alphaville.usersys.redhat.com> References: <877ex2px4t.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsGZE-0007G9-67 for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 18:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsGZB-0004fn-3n for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 18:55:36 -0400 Received: from [195.159.176.226] (port=56134 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsGZA-0004fA-Rb for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 18:55:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dsGYx-000628-AG for emacs-orgmode@gnu.org; Thu, 14 Sep 2017 00:55:19 +0200 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 Nicolas Goaziou writes: > Hello, > > Lawrence Bottorff writes: > >> Consider this markup: >> >> ------------ >> * MATHEMATICS AUXILIARY >> >> ** deriving sines and cosines >> >> #+caption: Right triangle with two $\pi\big/4$ angles. >> [[file:images/45-45-triangle.png]] >> >> $\big/$ >> ------------ >> >> If I remove the second $\big/$, the first latex, $\pi\big/4$, in the >> caption will not properly render on export to html. Include it and both >> render just fine. Without the second, the first looks like this: >> >> Figure 1: Right triangle with two \(\pi\big/4\) angles. >> >> Is this a bug? > > If you use > > #+options: tex:dvipng > > the symbol in the caption is correctly rendered. It may be a bug in Mathjax. > I looked at the diff between html files produced with and without the $\big/$ addition. The one without does not include any of the mathjax configuration code at all. Is that code included conditionally perhaps when a latex construct is seen? Maybe the latex construct in the caption does not trigger the inclusion? -- Nick