These are chat archives for damianavila/RISE

12th
Sep 2015
Yichao Yu
@yuyichao
Sep 12 2015 15:32
Should the current master of RISE works with jupyter 4.0.4 ?
(I don't see any error running python setup.py install but I can't find the slide show button when opening a notebook that I used as slide before on ipython 3.x)
Damian Avila
@damianavila
Sep 12 2015 16:41
@yuyichao yep, should work without issue... can you tell me the content of .jupyter, .jupyter/nbconfig and .local/share/jupyter(assuming you are on linux)
also, did you try cleaning your cache and reloading? Also can you paste the output of the js console? thanks!
Yichao Yu
@yuyichao
Sep 12 2015 17:48
@damianavila On it. wait a moment
```
yuyichao% tree ~/.jupyter/
/home/yuyichao/.jupyter/
├── migrated
└── nbconfig
    └── notebook.json

1 directory, 2 files
yyc2:~/projects/mirrors/RISE
yuyichao% cat ~/.jupyter/nbconfig/notebook.json 
{
  "load_extensions": {
    "livereveal/main": true
  }
}%                                                                                yyc2:~/projects/mirrors/RISE
yuyichao% tree ~/.local/share/jupyter 
/home/yuyichao/.local/share/jupyter
├── nbextensions
│   └── livereveal
│       ├── main.css
│       ├── main.js
│       ├── main.orig.css
│       ├── reset_reveal.css
│       └── reveal.js
│           ├── css
│           │   ├── print
│           │   │   ├── paper.css
│           │   │   └── pdf.css
│           │   ├── reveal.css
│           │   ├── reveal.min.css
│           │   └── theme
│           │       ├── beige.css
│           │       ├── blood.css
│           │       ├── default.css
│           │       ├── moon.css
│           │       ├── night.css
│           │       ├── README.md
│           │       ├── serif.css
│           │       ├── simple.css
│           │       ├── sky.css
│           │       ├── solarized.css
│           │       ├── source
│           │       │   ├── beige.scss
│           │       │   ├── blood.scss
│           │       │   ├── default.scss
│           │       │   ├── moon.scss
│           │       │   ├── night.scss
│           │       │   ├── serif.scss
│           │       │   ├── simple.scss
│           │       │   ├── sky.scss
│           │       │   └── solarized.scss
│           │       └── template
│           │           ├── mixins.scss
│           │           ├── settings.scss
│           │           └── theme.scss
│           ├── Gruntfile.js
│           ├── index.html
│           ├── js
│           │   ├── reveal.js
│           │   └── reveal.min.js
│           ├── lib
│           │   ├── css
│           │   │   └── zenburn.css
│           │   ├── font
│           │   │   ├── league_gothic_license
│           │   │   ├── league_gothic-webfont.eot
│           │   │   ├── league_gothic-webfont.svg
│           │   │   ├── league_gothic-webfont.ttf
│           │   │   └── league_gothic-webfont.woff
│           │   └── js
│           │       ├── classList.js
│           │       ├── head.min.js
│           │       └── html5shiv.js
│           ├── LICENSE
│           ├── package.json
│           ├── plugin
│           │   ├── highlight
│           │   │   └── highlight.js
│           │   ├── leap
│           │   │   └── leap.js
│           │   ├── markdown
│           │   │   ├── example.html
│           │   │   ├── example.md
│           │   │   ├── markdown.js
│           │   │   └── marked.js
│           │   ├── math
│           │   │   └── math.js
│           │   ├── multiplex
│           │   │   ├── client.js
│           │   │   ├── index.js
│           │   │   └── master.js
│           │   ├── notes
│           │   │   ├── notes.html
│           │   │   └── notes.js
│           │   ├── notes-server
│           │   │   ├── client.js
│           │   │   ├── index.js
│           │   │   └── notes.html
│           │   ├── postmessage
│           │   │   ├── example.html
│           │   │   └── postmessage.js
│           │   ├── print-pdf
│           │   │   └── print-pdf.js
│           │   ├── remotes
│           │   │   └── remotes.js
│           │   ├── search
│           │   │   └── search.js
│           │   └── zoom-js
│           │       └── zoom.js
│           ├── README.md
│           └── test
│               ├── examples
│               │   ├── assets
│               │   │   ├── image1.png
│               │   │   └── image2.png
│               │   ├── barebones.html
│               │   ├── embedded-media.html
│               │   ├── math.html
│               │   └── slide-backgrounds.html
│               ├── qunit-1.12.0.css
│               ├── qunit-1.12.0.js
│               ├── test.html
│               ├── test.js
│               ├── test-markdown-element-attributes.html
│               ├── test-markdown-element-attributes.js
│               ├── test-markdown.html
│               ├── test-markdown.js
│               ├── test-markdown-slide-attributes.html
│               └── test-markdown-slide-attributes.js
├── nbsignatures.db
├── notebook_cookie_secret
└── notebook_secret

29 directories, 86 files
cleaning your cache and reloading
browser cache?
browser cache didn't help at least
Yichao Yu
@yuyichao
Sep 12 2015 17:54
should also mention that I've also tried to install it into system dir at /usr/share/jupyter/nbextensions/livereveal and enable the extension in /etc/jupyter/notebook.jsonand it didn't work either
How do I get the js console?
(or do you mean the browser one?)
"troupeId mismatch in unreadItemsCount" router-app.js:1:2959
"Visit queued" bundle-client.js:132:7
"Reenabling autorefresh too close to last tree refresh, not refreshing immediately again." main.min.js:15281:13
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead main.min.js:86:0
"Default extension for cell metadata editing loaded." main.min.js:23923:9
"Raw Cell Format toolbar preset loaded." main.min.js:24009:5
"Slideshow extension for metadata editing loaded." main.min.js:24057:9
所用的 Mutation Events 已不赞成使用。使用 MutationObserver 替代。 main.min.js:90:0
所用的 getPreventDefault() 已不赞成使用。请使用 defaultPrevented 替代。 main.min.js:90:0
"Session: kernel_created (4687e72f-24a9-4ef0-8ae3-7c697bad7bb7)" main.min.js:23211:13
"Starting WebSockets:" "ws://localhost:8888/api/kernels/306d39ca-ea9c-40d6-b324-9c0bb2a349cd" main.min.js:22532:9
"Loaded extension: widgets/notebook/js/extension" main.min.js:12065:17
"loaded widgets" extension.js:81:9
"Kernel: kernel_connected (306d39ca-ea9c-40d6-b324-9c0bb2a349cd)" main.min.js:22190:13
"Kernel: kernel_ready (306d39ca-ea9c-40d6-b324-9c0bb2a349cd)" main.min.js:22190:13
The Chinese in it are some deprecation warnings.
Enrique Fernández
@enriquefernandez
Sep 12 2015 19:29
Hello,
RISE is great!
I was wondering if it's possible to export fully static reveal.js slides.
I am aware this may be more of an nbconvert question, but I figured some one might now over here.
I know that ipython nbconvert yournotebook -- to slides --post serve lets you see the slides in the browser. However, I'd like to generate a folder with the .html and the required dependencies so that no server is required. The reason is that I'd like to distribute the slides to people that won't have jupyter installed, and I just want them to see the slides by double clicking on the .html file.
Also, I'm trying to generate PDF files from the slides as described in the reveal.js documentation. Surprisingly, the print view shows in black and white. Is there a setting that does that? I'd like to retain the color.
Thanks!