Giter VIP home page Giter VIP logo

Comments (4)

astefanutti avatar astefanutti commented on May 31, 2024

When you say the PDF isn't printable, do you mean you cannot open it?

In order to troubleshoot your issue, could you please precise what version of PhantomJS you're using and on what OS? Besides, would you have more logs to share, event the original HTML presentation so that I can give it a try?

from decktape.

opensource21 avatar opensource21 commented on May 31, 2024

It can be opened, but if you try to print it the Acrobat-Reader finish with an error.
The version is downloaded via curl -L http://astefanutti.github.io/decktape/downloads/phantomjs-msvc2013-win64.exe -o bin\phantomjs.exe
For the standard reveal.js demo phantom.js crashes with an error too, but the pdf is printable. I will try to strip my presentation down, so that I can share it. At the moment the pictures make it difficult to mail it to you.

from decktape.

astefanutti avatar astefanutti commented on May 31, 2024

I've tried exporting the standard reveal.js presentation and get the following error message:

phantomjs-msvc2013-win64.exe decktape.js http://lab.hakim.se/reveal-js test.pdf
Loading page http://lab.hakim.se/reveal-js ...
Loading page finished with status: success
Reveal JS DeckTape plugin activated
Printing slide #/10/2   (26/33) ...
TypeError: undefined is not a constructor (evaluating 'currentVideo.play()')

  http://lab.hakim.se/reveal-js/js/reveal.js:2616 in updateBackground
  http://lab.hakim.se/reveal-js/js/reveal.js:2154 in slide
  http://lab.hakim.se/reveal-js/js/reveal.js:3645 in navigateDown
  http://lab.hakim.se/reveal-js/js/reveal.js:3692 in navigateNext
  phantomjs://webpage.evaluate():2
  phantomjs://webpage.evaluate():3
Printing slide #/25     (43/33) ...
Printed 43 slides

This error message is caused by PhantomJS that does not support the <video> tag, as detailed in #4. This is just an error message that does not impact the rendering of the remaining presentation, though <video> elements won't be rendered in the PDF documents.

As for the printing issue, I haven't been able to reproduced it. That may be caused to the version of Acrobat Reader you're using. In case that is not the latest version, you may want to give the upgraded version a try. I'll retry ASAP once you share you presentation.

from decktape.

opensource21 avatar opensource21 commented on May 31, 2024

Damn you are right it was a problem of the Acrobat Reader. After creating the example and a reboot of the computer I tried it again and now it works. So it's only the error message I get at the end. It's a windows message, but I can ignore it.
image

Thanks for your support.

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.