[IPython-dev] nbconvert Slides: latex and images

Damon Allen damontallen at gmail.com
Mon Sep 8 11:59:47 EDT 2014


Thanks! That did it.



On Mon, Sep 8, 2014 at 10:48 AM, Damián Avila <damianavila at gmail.com> wrote:

> Damon, yes, it will affect existing slides because all are pointing to the
> old CDN...
> An easy way to temporarily fix the issue is to use a custom templates with
> the correct url...
>
> Just download this templates in the same folder where your ipynb lives:
>
> https://gist.github.com/damianavila/ba6a308bd0e605db0e6e
>
> and run:
>
> ipython nconvert --to slides --post serve --template slides.tpl
>
> Hope it helps.
>
> Damian
>
>
> 2014-09-08 11:28 GMT-03:00 Damon Allen <damontallen at gmail.com>:
>
> Damián,
>>
>> Should this change in mathjax have affected existing slides online?  I've
>> just had a student report to me that slides like this one
>> <http://damontallen.github.io/Construction-Lectures-Fall-2014/Week%204%20-%20%28Optional%29%20Euler%20Buckling.slides.html#/4>
>> are not rendering Latex equations.  I haven't been running master for
>> lecture material development in my class for stability reasons.  Is there a
>> flag setting that will allow me to use nbconvert with version 2.2 to fix
>> this?
>>
>> Thanks,
>> Damon
>>
>> On Mon, Sep 8, 2014 at 9:09 AM, Damián Avila <damianavila at gmail.com>
>> wrote:
>>
>>> Regarding the nbconverted generated slides, if you are using master,
>>> some weeks ago mathjax changes the CDN url, so the html and the slides
>>> options in nbconvert were affected. Currently on master, the problem is
>>> solved...
>>>
>>> Regarding the images, do you have a minimal example notebook to
>>> investigate why is not rendering?
>>>
>>> And, the documentation is probably outdated, but let me know
>>> specifically which part caused you problem.
>>>
>>> Cheers.
>>>
>>> 2014-09-08 8:16 GMT-03:00 Andrew Jaffe <a.h.jaffe at gmail.com>:
>>>
>>> Hi all,
>>>>
>>>> I can set up a slide-show using Fernando Perez's tools from
>>>> https://github.com/fperez/nb-slideshow-template
>>>>
>>>> These work fine, but I like the look (and finer control) of the
>>>>     nbconvert --to slides --post serve
>>>> version.
>>>>
>>>> However, I don't seem to be able to get mathjax or <img> tags to work
>>>> when serving the slides this way. Any ideas?
>>>>
>>>> Yours,
>>>>
>>>> Andrew
>>>>
>>>> p.s. Also, in general, the documentation for all of these things doesn't
>>>> seem to be completely synced with the actual production version of
>>>> ipython.
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>
>>>
>>>
>>> --
>>> *Damián*
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> *Damián*
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140908/466b38ea/attachment.html>


More information about the IPython-dev mailing list