Comments (9)
Hi, damianavila, thanks for your amazing tool.
Thanks!
what should I do?
mmm... don't try to reinstall... just change the following line: https://github.com/damianavila/live_reveal/blob/master/custom.js#L21
and replace zoom
with linear
... then you have to reload you notebook, BUT delete the browser cache so the change is updated...
By the way, I change the theme by this way is not elegant. What about adding some choice box in the cell toolbar?
I could be an option... thinking about to better you to config all the multiple options available...
from rise.
well, I have tried many times, it still doesn't work.
I also tried to delete the entire folder "live_reveal-master" and i can still use the live_show. So simply edit the file custom.js and reload notebook is not enough, i think.
BTW: How to delete the browser cache? I use chrome and "ctrl + shift + delete" can be use to delete browser cache, do you mean that?
from rise.
Probably it is a cache issue... yes... you can access with that shortcut combination... but try this instead: http://stackoverflow.com/a/21287099 and let me know...
from rise.
I solved this problem.
After install the live_slideshow, it create a directory "profile_rise" in the ~/.ipython folder. I need to edit the custom.js in this folder, not the one in the "live_slideshow" folder, which i download and decompress from github.
vi ~/.ipython/profile_rise/static/custom/custom.js
change the "livereveal.parameters('simple', 'zoom')" to "livereveal.parameters('simple', 'linear')".
Then, reload notebook, works.
Wow, it's really troublesome.
from rise.
Do you download the extension from the github zip? how do you exactly installed the extension?
Glad you solve the issue, btw... just curious about how you get into this problem...
from rise.
yes, i download, decompress, and run :
python setup.py install
actually i also tried to reinstall it by runing the codes in the Installxxx.ipynb( i add some more codes in this file to delete the old one and reinstall, show you tomorrow).
from rise.
ok... thanks
from rise.
import os
import IPython.html.nbextensions as nbext
# download rise extension
nbext_name = "live_reveal"
version = "2.x"
url = "https://github.com/damianavila/" + nbext_name + "/archive/" + version + ".zip"
nbext.install_nbextension(url)
# relocate the extension in the nbextension folder
nbext_folder = os.path.join(nbext.get_ipython_dir(), "nbextensions")
install_folder = os.path.join(nbext_folder, nbext_name + "-" + version)
rise_folder = os.path.join(install_folder, "livereveal")
!rm -r {os.path.join(nbext.get_ipython_dir(), "nbextensions/livereveal")}
!mv {rise_folder} {nbext_folder}
# create a rise profile and add the proper custom.js
!ipython profile create rise
custom_js = os.path.join(nbext_folder, nbext_name + "-" + version, "custom.js")
tgt = os.path.join(nbext.get_ipython_dir(), 'profile_rise', 'static', 'custom')
!mv {custom_js} {tgt}
# clean the mess
!rm -r {install_folder}
This is the codes in your Install_RJSE.ipynb, I just add one line:
!rm -r {os.path.join(nbext.get_ipython_dir(), "nbextensions/livereveal")}
Now I know what's going on. By running:
python setup.py install
It copy the your static(which used to change the theme) to the profile_default folder.
By running the codes in the Install_RJSE.ipynb:
It copy the your static(which used to change the theme) to the profile_rise folder. That's why this file said i need to run
ipython notebook --profile=rise
Go back to the problem. After downloading the file live_reveal-master, I run both codes to install. In order to change the theme, edit the custom.js in the downloading folder doesn't work, cause it was copied to "profile_default/static/custom/". So i need to edit:
vi ~/.ipython/profile_default/static/custom/custom.js
not
vi ~/live_reveal-master/custom.js
Right?
from rise.
OH... sorry for never answering to your question... somewhat I missed this thread.
Right?
Yes, you could use python setup.py install --develop
to link the live reveal master
with the default profile for quick development...
Closing here because it seems you solve the issue... reopen it if it is not the case.
from rise.
Related Issues (20)
- Weird layout when commands output large amounts of text HOT 6
- The slide does not adjust the height of a cell. Rather, it cuts down the view without enabling the scroll bar. HOT 3
- Vertical scrollbar not exported to HTML HOT 4
- Is it possible to remove left padding from code output cells? HOT 6
- RISE and Jupyterhub 3.x HOT 1
- Conda installation fails HOT 5
- Create a jupyter-slides (name to be discussed ;-) organization to house several Jupyter slideshows projects HOT 7
- Theme text color gets overwritten
- Missing example: header-footer.ipynb HOT 1
- Cannot autolaunch slideshow in Google Cloud Platform (GCP)
- Expand output cells to use available vertical space HOT 5
- Possible duplicate: Is there a way to edit settings for individual cells/slides, rather than for the entire notebook? HOT 2
- Lost custom css style when downloading as reveal.js slides html HOT 1
- Does this module allow interactive blocks? HOT 1
- RISE not showing because install uses notebook version 7 HOT 5
- RISE is obsolete and this should be made clear in the doc - redirect to jupyterlab-rise HOT 1
- RISE & Jupyter Notebook 7 HOT 1
- link to the documntation in read me file is broken
- Scrolling not activated "on the fly" when executing cell with an output making the slide longer.
- Searching for a workaround : is it possible to make scrollbar systematically present even on slides too small for it to have a use ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rise.