From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russell L. Carter" Subject: working mathjax example Date: Wed, 27 Nov 2013 16:46:28 -0700 Message-ID: <52968454.1030809@pinyon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlooX-0000yX-Ti for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 18:46:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlooT-0000ko-0t for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 18:46:37 -0500 Received: from quine.pinyon.org ([65.101.5.249]:39328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlooS-0000kF-Ps for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 18:46:32 -0500 Received: from [10.0.10.6] (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 5D79A16025A for ; Wed, 27 Nov 2013 16:46:28 -0700 (MST) 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 Hi, I'm trying to bring up a simple mathjax example. Org-mode is git current and otherwise works fine. MathJax is git current and lives in /opt/mathjax/git/MathJax.js. Both firefox 26 and chromium 31 display the MathJax tests perfectly from my org->html test directory. I've copied the example code from the org manual into a file containing: --cut-here----cut-here----cut-here----cut-here----cut-here-- #+HTML_MATHJAX: align:"left" mathml:t path:"/opt/mathjax/git/MathJax.js" #+options: latex:verbatim \begin{equation} x=\sqrt{b} \end{equation} If $a^2=b$ and \( b=2 \), then the solution must be either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \]. --cut-here----cut-here----cut-here----cut-here----cut-here-- I exported per the instructions using org-export-to-html. The exported html file has lots of good stuff suggesting that the export seems to be working. But both firefox and chrome display the math bits replaced by [Math Processing Error]. Does anyone have an idea what I am doing wrong? The actual exported is (stuff before elided):

json

\begin{equation} x=\sqrt{b} \end{equation}

If \(a^2=b\) and \( b=2 \), then the solution must be either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].

Author: Russell L. Carter

Created: 2013-11-27 Wed 16:17

Emacs 24.3.1 (Org mode 8.2.3c)

Validate

Thanks! Russell