[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] working mathjax example

From: Russell L. Carter
Subject: [O] working mathjax example
Date: Wed, 27 Nov 2013 16:46:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1


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


#+HTML_MATHJAX: align:"left" mathml:t path:"/opt/mathjax/git/MathJax.js"
#+options: latex:verbatim


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


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 <body> is (stuff before elided):

<div id="content">
<h1 class="title">json</h1>

If \(a^2=b\) and \( b=2 \), then the solution must be
either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
<div id="postamble" class="status">
<p class="author">Author: Russell L. Carter</p>
<p class="date">Created: 2013-11-27 Wed 16:17</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/";>Emacs</a> 24.3.1
(<a href="http://orgmode.org";>Org</a> mode 8.2.3c)</p>
<p class="validation"><a


reply via email to

[Prev in Thread] Current Thread [Next in Thread]