Hello,
I'm using Sphinx 0.6.2 compiled from source on OSX 10.5.7. In one of
my docstrings I have
.. math::
\begin{bmatrix}
J \\
-JR
\end{bmatrix}
(and I load amsmath in my preamble). This causes Sphinx to issue the
warning
WARNING: inline latex u'\x08egin{bmatrix}\nJ \\\n-JR\n\\end{bmatrix}':
latex exited with error:
i.e., '\b' is interpreted as a special character. The html and latex
output then fail to display/compile properly. In the LaTeX output, the
carriage return '\\' is transformed to a single '\':
\begin{gather}
\begin{split}^Hegin{bmatrix}
J \
-JR
\end{bmatrix}\end{split}\notag
\end{gather}
I've seen a related issue in this thread
http://groups.google.com/group/sphinx-dev/browse_thread/thread/958b331ee1606baa
but is using raw strings the solution really? They make the docstrings
rather unreadable, even to the LaTeX-trained eye. Amsmath is not at
fault; the same happens with \begin{equation}.
Thanks for any help.
Dominique
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---