From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: html-encode in mathjax latex fragments Date: Sun, 29 Jun 2014 23:12:42 -0400 Message-ID: <878uofm6ol.fsf@gmail.com> References: <87pphrh83k.fsf@gmail.com> <87zjgvv6q5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1S1e-0001mq-Dk for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 23:13:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1S1X-0007iO-Up for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 23:13:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:46997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1S1X-0007iJ-Oj for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 23:12:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X1S1V-0004wn-29 for emacs-orgmode@gnu.org; Mon, 30 Jun 2014 05:12:53 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jun 2014 05:12:53 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jun 2014 05:12:53 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Eric Schulte writes: > >> I noticed equations with "<"'s weren't displaying correctly in HTML >> export using mathjax. The attached patch fixes this by html-encoding >> latex fragments for mathjax HTML export. I imagine this change would be >> generally useful and could be applied to master. > > I am a bit puzzled. I just tried exporting the following buffer: > > \(1 < 2\) > > and the result looked good. Could you provide an example of a failed > export? > > See http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents for some gotchas. -- Nick