I'm unable to compile a document with this:
<?xml version="1.0" encoding="UTF-8"?>
<chapter xml:id="ch-chapter00-introduction" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Introduction</title>
<introduction>
<p> Text before the first section. </p>
</introduction>
<section xml:id="sec-Test">
<title>Test</title>
<p>
<me>
\begin{pmatrix}
0 & 1 \\
1 & 8
\end{pmatrix}
</me>
</p>
</section>
<!-- include sections -->
<!-- <xi:include href="sec-section-name.ptx" /> -->
</chapter>
But when I replace the pmatrix command with this (no ampersands):
<me>
\begin{pmatrix}
0 \\
1
\end{pmatrix}
</me>
It then compiles just fine.
Can anyone comment on this issue? Seems very strange. Looking through documentation, it suggests that pmatrix should work with MathJax right out of the box.