Problem with "nbconvert --to slides": long cells alwyas jump to the top

565 views
Skip to first unread message

Thomas Haslwanter

unread,
Feb 4, 2017, 4:29:58 PM2/4/17
to Project Jupyter
I am doing my first steps with "nbconvert --to slides", and am really excited.
However, with one problem I am running into a roadblock: when I have long slide cells, I do get for the presentation a window with a vertical scroll-bar. But whenever I scroll downwards, the slide always jumps to the top again after about 0.5 sec. This happens, regardless of wether I scroll with the mouse, or with the cursor.

This even happens with an extremely simple IPYNB-file, with only one cell:

    import numpy as np
    column_vector = np.c_[np.arange(100)]
    print(column_vector)


My setup:

    - Windows 10, 64 bit
    - WinPython-64bit-3.6.0.1Qt5
        > Jupyter 1.0
        > nbconvert 5.1.1
        > reveal.js 3.4.1

One thing that is a bit odd is that I only get the slides presentation to run properly - apart from the mentioned problem - if I use

    jupyter nbconvert --to slides --reveal-prefix "." [filename].ipynb

I can't figure out if my problem is with reveal.js, with Windows, or with Jupyter.

Any help would be really appreciated!

Thanks, Thomas

Damián Avila

unread,
May 30, 2017, 4:57:09 PM5/30/17
to jup...@googlegroups.com
>However, with one problem I am running into a roadblock: when I have long slide cells, I do get for the presentation a window with a vertical scroll-bar. But whenever I scroll downwards, the slide always jumps to the top again after about 0.5 sec. This happens, regardless of wether I scroll with the mouse, or with the cursor.

I could not replicate that issue.

>One thing that is a bit odd is that I only get the slides presentation to run properly - apart from the mentioned problem - if I use

Maybe a win-related issue? Because I can not also replicate it.

Cheers.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/af856076-668e-48d9-8e1a-cb0820535e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Damián Avila

Damon Allen

unread,
May 30, 2017, 7:59:37 PM5/30/17
to Project Jupyter
I've had this issue for a long time now.  I've just been reusing the original HTML code from when slides were first introduced to keep the long slide functionality.  I don't think this is in RISE but it does occur if you generate slides then host them.  It is an issue I've raised before that has never been solved.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/af856076-668e-48d9-8e1a-cb0820535e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Damián Avila

Damián Avila

unread,
May 31, 2017, 11:45:00 AM5/31/17
to jup...@googlegroups.com
>I've had this issue for a long time now.  I've just been reusing the original HTML code from when slides were first introduced to keep the long slide functionality.

Can you point me the code you are referring to? 
Reveal.js usually break scroll things between versions, because it was thought to NOT have any scrolling slides. Then, most of time, the scrolling feature is a workaround that get old very quickly as Reveal.js evolves.

> I don't think this is in RISE but it does occur if you generate slides then host them.  It is an issue I've raised before that has never been solved. 

So the issue is just when the slide is hosted? Or you see it locally as well?

Thanks in advance for the answers.



To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián Avila

Damián Avila

unread,
May 31, 2017, 3:06:01 PM5/31/17
to jup...@googlegroups.com
I was able to replicate the issue. Looking in a general way to solve it. Thanks for the report.
--
Damián Avila

rraa dd88

unread,
Nov 9, 2017, 11:04:54 AM11/9/17
to Project Jupyter
Did anybody solve this issue?



--
Damián Avila



--
Damián Avila

rraa dd88

unread,
Nov 9, 2017, 11:13:04 AM11/9/17
to Project Jupyter
This is really an unsolved issue.
Therefore, I have started a bounty for this issue. See https://stackoverflow.com/questions/40489017/how-to-enable-scrolling-in-slides-for-a-jupyter-notebook
(It'll expire by 16-09-2017)

On Thursday, June 1, 2017 at 12:36:01 AM UTC+5:30, Damián Avila wrote:



--
Damián Avila



--
Damián Avila

Damián Avila

unread,
Nov 9, 2017, 12:00:31 PM11/9/17
to jup...@googlegroups.com
I think I solved the issue in this PR: https://github.com/jupyter/nbconvert/pull/600

What version of nbconvert are you using? And which commands are you using?

Cheers.

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián Avila
Reply all
Reply to author
Forward
0 new messages