Comments (6)
Hi karelin,
thanks for the tipp, after adding the
{{ mathjax() }}
I got doubled tex-output in html, the first one is in the right Position, and the second one is in the next line. I think it's still a little bit Buggy for html Output with Latex formula.
from jupyter2slides.
Hi karelin,
thanks for the tipp, after adding the{{ mathjax() }}
I got doubled tex-output in html, the first one is in the right Position, and the second one is in the next line. I think it's still a little bit Buggy for html Output with Latex formula.
I remove the following few lines from jupyter_template.tpl and the double rendering went away:
var update = function(event){
if(MathJax.Hub.getAllJax(Reveal.getCurrentSlide())){
MathJax.Hub.Rerender(Reveal.getCurrentSlide());
}
};
from jupyter2slides.
For some reason, the author removed initialization of MathJax library from the template.
In my case, adding
{{ mathjax() }}
to static/jupyter_template.tpl
file after <!--[if lt IE 9]> ... <![endif]-->
part helps.
In general, the jupyter2slides project looks like a collection of hacks over nbconvert
utility and not all of the hacks working properly.
from jupyter2slides.
If you use this template, it works:
https://github.com/jupyter/nbconvert/blob/master/nbconvert/templates/html/slides_reveal.tpl
instead of the original
jupyter_template.tpl
from jupyter2slides.
replace the lines below to keep the same theme:
from jupyter2slides.
Also having this problem.
from jupyter2slides.
Related Issues (15)
- PDF Export is not working HOT 2
- Not working on Firefox
- RISE mention
- change rendering width, margin from top, font size and add scrolling ?
- Link issue
- Link to Interactive Template Broken
- when I am doing 'python create_slides.py --file static/presentation_template.ipynb' HOT 3
- error when execute nbconvert
- font-size from the code cells HOT 1
- [PDF-export using decktape] phantomjs is not working for windows HOT 2
- Decktape/ Phantomjs Issue HOT 2
- run.py always presents the same slideshow HOT 1
- Has anyone deployed a presentation in heroku?
- Add hide code to template
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 jupyter2slides.