[IPython-dev] defining latex commands in notebook

Zoltán Vörös zvoros at gmail.com
Tue Dec 3 07:06:08 EST 2013


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...

Cheers,
Zoltán

On 29/11/13 21:33, Damon Allen wrote:
> I have1.2b1.
>
> Damon
>
> On Fri, Nov 29, 2013 at 2:14 PM, Zoltán Vörös <zvoros at gmail.com 
> <mailto:zvoros at gmail.com>> wrote:
>
>
>     On 29/11/13 19:58, Damon Allen wrote:
>>     My version and yours may be different.  I'm just using the 1.1
>>     release <https://github.com/ipython/ipython/releases> 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.
>     I suspect sphinx then. (I guess, tornado doesn't matter in this
>     case.) My version is 1.1.3. Is yours the same?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20131203/1584d022/attachment.html>


More information about the IPython-dev mailing list