Giter Club home page Giter Club logo

jupyter2slides's People

Contributors

datitran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jupyter2slides's Issues

run.py always presents the same slideshow

It doesn't matter how I change the presentation_template.ipynb, and I can see that presentation_template.slides.html DOES in fact change when I run create_slides.py.
The slideshow I get when running run.py --file myfilename is always the original template slideshow.

Link issue

The link in the Getting Started section under the 2nd point doesn't seem to be pointing to any such introduction to creating slides as mentioned.

PDF Export is not working

Does this solution to export the presentation to PDF work in your case? I was able to get only first two slides exported into pdf-like view (see the screenshot below).
image

Thanks for your response and great template,
Ales

Latex rendering not working

Tried one cell as Markdown type and cannot get the Latex rendered. Works with RISE. How to fix it?

example:

Testing Mathjax

$\large{C_x = x^2 + \frac{a^3}{2b - c}}$

change rendering width, margin from top, font size and add scrolling ?

Hi,
the question is in the title ^^, and the problem illustrated in the image attached.
I would like to have a wider display, set the margin from top and the font size, and have something like scrolling in case the there are 'too many' lines to display in the slide.
How can I change the template file to achieve this ?

Thanks

slide_rendering

RISE mention

hey awesome project, ive used it at work a few times, when i was doing research i found out theres a new library called RISE, from the jupyter team i think. its similar to this library but does the conversion with an extension built in to the notebook and it does it right away. maybe you could mention it in the readme or repo description to let people know about it:

Basic usage

https://github.com/damianavila/RISE

error when execute nbconvert

jupyter nbconvert static/presentation_template.ipynb --to slides --reveal-prefix reveal.js-3.1.0 --config static/slides_config.py

'text/plain': ['<IPython.lib.display.YouTubeVideo at 0x10cd3ed68>']}, 'metadata': {}} is not valid under any of the given schemas

Failed validating 'oneOf' in code_cell['properties']['outputs']['items']:

On instance['cells'][7]['outputs'][0]:
{'data': {'image/jpeg': ['/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUDBAgHCAgIBwgGBQgGBgUHBwYGCAcF...'],
'text/plain': ['<IPython.lib.display.YouTubeVideo at '
'0x10cd3ed68>']},
'metadata': {}}
Traceback (most recent call last):
File "/ssd/anaconda3/lib/python3.6/site-packages/ipython_genutils/ipstruct.py", line 132, in getattr
result = self[key]
KeyError: 'output_type'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ssd/anaconda3/bin/jupyter-nbconvert", line 11, in
load_entry_point('nbconvert==5.1.1', 'console_scripts', 'jupyter-nbconvert')()
File "/ssd/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/ssd/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 305, in start
self.convert_notebooks()
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 473, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 444, in convert_single_notebook
output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 373, in export_single_notebook
output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 171, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 189, in from_file
return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/slides.py", line 113, in from_notebook_node
return super(SlidesExporter, self).from_notebook_node(nb, resources=resources, **kw)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/html.py", line 69, in from_notebook_node
return super(HTMLExporter, self).from_notebook_node(nb, resources, **kw)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/templateexporter.py", line 236, in from_notebook_node
nb_copy, resources = super(TemplateExporter, self).from_notebook_node(nb, resources, **kw)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 131, in from_notebook_node
nb_copy, resources = self._preprocess(nb_copy, resources)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 308, in _preprocess
nbc, resc = preprocessor(nbc, resc)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/preprocessors/coalescestreams.py", line 30, in wrappedfunc
nb.cells[index], resources = function(cell, resources, index)
File "/ssd/anaconda3/lib/python3.6/site-packages/nbconvert/preprocessors/coalescestreams.py", line 72, in coalesce_streams
if output.output_type == 'stream' and '\r' in output.text:
File "/ssd/anaconda3/lib/python3.6/site-packages/ipython_genutils/ipstruct.py", line 134, in getattr
raise AttributeError(key)
AttributeError: output_type

Not working on Firefox

Trying to access the server with run always tries to download a BIN file with names such as r+f86Z9C.bin and such...

using Firefox 57.0.2 (64 bits)

font-size from the code cells

I tried to reduce the font-size from the presentations, but they still appear very big, which classes must I modify in order to reduce the font-size?

Add hide code to template

Is there a possibility how to hide code, i.e. IFrame calling here. When I export my notebooks to html (jupyter nbconvert --to html). I use --template hidecode.tpl (see below). Would it be possible to add this functionality as well? Thx

{%- extends 'full.tpl' -%} {% block input_group %} {% if cell['metadata'].get('slideshow',{}).get('slide_type','') =='Notes' -%} {{ super() }} {% endif %} {%- endblock input_group %}

Decktape/ Phantomjs Issue

Even as root I get to following output:

./phantomjs decktape.js generic --keycode=Space "http://0.0.0.0:9099/" presentation_template.slides.pdf
bash: ./phantomjs: Permission denied

ariya/phantomjs#11688 (This was my first idea)
Any idea ? (Also tried to install current Decktape-Version 2.4 but had issues with hummus)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.