<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Sorry for the noise, it turned out that sphinx version 1.2b3 does
    not place hash marks at the beginning of lines. However, this
    doesn't solve the original problem, namely, that \newcommand cannot
    be used in a consistent way in both the notebook, and the latex
    output: if I place $\newcommand{}$ in a markdown cell, then it will
    be passed to latex as $\newcommand{}$, while if I put that in a raw
    cell, it is not processed by mathjax. For now I can just run change
    the type of the cell before converting, but this is obviously not an
    ideal solution...<br>
    <br>
    Cheers,<br>
    Zoltán<br>
    <br>
    <div class="moz-cite-prefix">On 29/11/13 21:33, Damon Allen wrote:<br>
    </div>
    <blockquote
cite="mid:CAMYKURaN6TmoHf8h+cW+QdXqJTVhV=sxXQXGTTmw6jdotvAq-Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">I have<span style="font-family:times new
          roman,serif"><font> <span
              style="font-family:arial,helvetica,sans-serif">1.2b1.</span></font></span>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Damon<br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Nov 29, 2013 at 2:14 PM,
            Zoltán Vörös <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:zvoros@gmail.com" target="_blank">zvoros@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div class="im"> <br>
                  <div>On 29/11/13 19:58, Damon Allen wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>My version and yours may be different.  I'm
                        just using the <a moz-do-not-send="true"
                          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>
                      </div>
                    </div>
                  </blockquote>
                </div>
                I suspect sphinx then. (I guess, tornado doesn't matter
                in this case.) My version is 1.1.3. Is yours the same?<span
                  class="HOEnZb"><font color="#888888"><br>
                  </font></span><br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>