<div dir="ltr"><div>My version and yours may be different. I'm just using the <a href="https://github.com/ipython/ipython/releases" target="_blank">1.1 release</a> rather than the current 2.0 version. Alternatively, it might be an issue with sphinx. I have installed sphinx and tornado using pip rather than using what is in the repositories.<br>
<br></div>if you are using Python3 you might have to install get-pip.py from git to have pip-3.2.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
curl -O <a href="https://raw.github.com/pypa/pip/master/contrib/get-pip.py">https://raw.github.com/pypa/pip/master/contrib/get-pip.py</a><br></blockquote><br><div class="gmail_extra">Damon<br></div><div class="gmail_extra">
<br><div class="gmail_quote">On Fri, Nov 29, 2013 at 12:51 PM, Zoltán Vörös <span dir="ltr"><<a href="mailto:zvoros@gmail.com" target="_blank">zvoros@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div>
<br>
<div>On 29/11/13 16:16, Damon Allen wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I haven't used functions like this but I have found if you
have a LaTex command defined in a raw cell at the beginning of
a notebook it does note get hashed out. I just put the
following two lines in a raw cell and converted it to check:<br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">$\newcommand{\Mt}[1]{\mathbf{#1}}$<br>
\pagestyle{plain}<br>
</blockquote>
<div> </div>
followed by a simple code cell, 2+2, and it survived the
conversion. <br>
<br>
</div>
Damon<br>
</div>
</blockquote></div>
This doesn't work in my case. The lines in the raw cell are still
hashed:<br>
<br>
# $\newcommand{\Mt}[1]{\mathbf{#1}}$<br>
# \pagestyle{plain}<br>
<br>
<br>
Is there something in the templates that produces this? I am using
the latest ipython from master.<br>
<br>
Cheers,<br>
Zoltán<br>
</div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>