Comments (6)
Hyperlinks are currently rendered as PDF link annotation with the URI action irrespective whether they happen to be internal links or not. This has been implemented as part of DeckTape development with vitallium/qtwebkit@ef91a25 and vitallium/qtbase@d50c481. This should be possible to detect internal links and have them rendered as GoTo
action instead of URI
, as defined in the PDF specification. I think wkhtmltopdf already provides something similar so that could be a start to provide support for it.
from decktape.
I agree, this would be a very useful feature!
from decktape.
Hello,
Sorry for jumping onboard this discussion, which apparently seems already closed.
Thanks to the strong support of @astefanutti I finally managed to generate good-looking pdf from RISE slideshow in Jupyter Notebook.
Here's the command I'm using at the moment to achieve that task:
> decktape rise http://localhost:8888/notebooks/{NOTEBOOK_NAME}.ipynb?token={TOKEN} --load-pause 5000 -s 1920x1080 ~/path/to/outputfile.pdf
Everything seems to work fine except for the hyperlinks included in my original slides. Those are correctly rendered in the final pdf (i.e., they appear as blue-colored and underlined) but unfortunately they are not clickable.
I've tried opening the generated pdf both with Preview and Acrobat Reader but in none of them hyperlinks work fine. That's why I'm guessing there might be something odd while processing those hyperlinks.
Instead, hyperlinks work smoothly when presenting my RISE slideshow on the web browser.
Any help here would be much appreciated.
Thanks Kindly,
Gabriele
from decktape.
@gtolomei I've added support for hyperlinks in version 2.2.0
. Maybe you'll need to upgrade. This works for hyperlinks but not internal links.
from decktape.
Thanks a lot @astefanutti for your quick reply!
I've just updated decktape
to the latest version (2.2.2) and (external) hyperlinks work like a charm!
P.S.: In my RISE slideshow I have some Markdown cells which are left "unrun" on purpose (i.e., suppose you want to show the actual content of a Markdown cell on a slide and in the next slide you show how this actually renders); however, it seems decktape needs to run all the cells to produce the final pdf. Essentially, this leads to duplicate slides. Is there any overcome to this you may be aware of? Otherwise, I guess I will just skip the "unrun" cells.
Thanks a lot again,
Gabriele
from decktape.
Issue with the RISE plugin followed-up in #111.
from decktape.
Related Issues (20)
- Audit warnings when installing decktape
- Add some e2e tests HOT 1
- Would you be open to financial contributions? HOT 2
- Reveal remove transition HOT 1
- Table layouts are not preserved, text boxes get combined in odd ways HOT 6
- Dependencies are not hoisted HOT 3
- Docker image error HOT 8
- Crashes with "Unable to write GSUB: script latn has no default language system" HOT 3
- Add a 2D navigation support to generic plugin
- puppeteer_dev_chrome_profile-x HOT 2
- Emojis are missing from bold text and headings in PDF HOT 1
- Images not shown in PDF output (but are correct in PNG and browser) HOT 1
- How I was able to do a multi-architecture container image build (to support ARM ... M1 macbooks) HOT 2
- Remark custom styles not applied on PDF HOT 2
- Unable to transform reveal slides usign reveal.js-menu with docker HOT 2
- Updating to decktape 3.11 caused panic HOT 3
- Converting a jupyterlab_rise presentation
- homebrew package
- Text overlaps with border on Mermaid.js diagrams in a Reveal.js presentation HOT 1
- DeckTape Container Font Bug 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 decktape.