[IPython-dev] ipython html notebook: markdown in math mode and backslashes

Aron Ahmadia aron@ahmadia....
Fri Aug 24 08:49:21 CDT 2012


Oh, and it's clear that I don't understand the ipython code organization
strategy (or much javascript).  So feel free to slice-and-dice the commit
or simply reimplement it.  Everything's just sort of blobbed into
textcell.js right now and that can't be right :)

A

On Fri, Aug 24, 2012 at 2:48 PM, Aron Ahmadia <aron@ahmadia.net> wrote:

> Hi Fernando,
>
> I don't know what this fixes or breaks, but I've ported the SE logic over
> into IPython dev branch:
>
>
> https://github.com/ahmadia/ipython/commit/58121491d37da1ba9d1525f08575b729c6905eb6
>
>
> Here's some example Markdown+MathJaX that now works in the modified
> Notebook:
>
> +++
>
> ### Initial Value Problems
>
> We are interested in solving initial value problems of the form:
>
> \begin{align*}
> y'(t) &= f(t,y), \ t \in [a,b] \\
> y(a)  &= \alpha
> \end{align*}
>
> ---
>
> It renders fine in Chrome on OS X, I have not checked any other browsers.
>
> I didn't squeeze a "this code is X licensed" out of the SE Folk, but Stack
> Exchange Community Manager Anna Lear told me I could do whatever I wanted
> with the code, just that it was unreleased and unsupported.  I don't have
> this in an email from SE or publicly recorded log, but I or somebody else
> can probably get this if we need it.
>
> I've modified and adapted the code enough that I don't believe there are
> any IP issues, and I have also attributed Stack Exchange for their input.
>  I also added in a regular expression parser that works across browsers.
>
>
> A
>
> On Thu, Aug 23, 2012 at 6:38 PM, Fernando Perez <fperez.net@gmail.com>wrote:
>
>> On Thu, Aug 23, 2012 at 9:41 AM, MinRK <benjaminrk@gmail.com> wrote:
>> >
>> > Yes, absolutely!  If they have already solved the problem, then let's
>> use an
>> > existing and proven solution.
>>
>> Major +1 from me on this; Aron, it would be awesome if you could make
>> this happen!  The latex bugs have been driving many people nuts as of
>> late, so this would be a phenomenal fix to have (and candidate for a
>> 0.13.1 backport).
>>
>> Cheers,
>>
>> f
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120824/22ca518f/attachment.html 


More information about the IPython-dev mailing list