Giter VIP home page Giter VIP logo

Comments (3)

anaderi avatar anaderi commented on May 31, 2024

maybe helpful: https://gist.github.com/pkra/52391c345ae48613e5e0

from decktape.

astefanutti avatar astefanutti commented on May 31, 2024

I've just pushed @eb0e3c63c91484b9d350175d19bd07026e68a924 which waits for the End MathJax StartupHook before exporting the slides.

Unfortunately, the type setting is still incorrect in the example that I've tested so far (the math.html example from reveal.js source). Even the example from https://gist.github.com/pkra/52391c345ae48613e5e0 fails to render properly with the latest version of PhantomJS. So I suspect this is more a PhantomJS issue with MathJax typeset functionality though maybe you could give that first commit a try to have your opinion on this.

from decktape.

anaderi avatar anaderi commented on May 31, 2024

hmm, the problem was in lack of my knowledge reading MathJax docs. one more option to MathJax.Hub.Config fixes that problem:

"HTML-CSS": { availableFonts: ["TeX"] }

so probably without waiting till End we could use decktape just increasing timeout in --pause option.
Upside of this investigation are that

  • now I can remove that pause
  • I've learned to use KaTeX that works also well with remark & decktape (and is know to be a bit faster)

from decktape.

Related Issues (20)

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.