From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problems exporting simple LaTeX math to HTML Date: Tue, 14 Feb 2017 15:13:16 -0500 Message-ID: <878tp8edk3.fsf@alphaville.usersys.redhat.com> References: <7DC5FCD4-4093-434F-9D79-62F906D7A91D@haas.berkeley.edu> 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]:53348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdjTo-00044L-2M for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 15:13:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdjTl-0000Ti-Co for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 15:13:40 -0500 Received: from [195.159.176.226] (port=53953 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdjTl-0000Se-4h for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 15:13:37 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cdjTV-0005U0-Br for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 21:13:21 +0100 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 Richard Stanton writes: > [My apologies if this is a repeat. I tried posting this 4 days ago and didn’t see if appear on the list.] > > I created the following very simple org file: > > ———— > > #+TITLE: *Math example* > > \[ w_j = \nu_j \prod_{l > > ———— > > This exports to LaTeX fine, but when I export to HTML, the equation comes out as plain text > >

> \[ w_j = \nu_j \prod_{l

> That's the way it should be if Mathjax is enabled (which it is by default): Mathjax should then interpret that and print out a nicely formatted equation when you view it in the browser. *However*, Mathjax has a limitation with "<": one workaround is to surround the < with spaces: \[ w_j = \nu_j \prod_{l < j} (1-\nu_l), \] See: http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents -- Nick