Can Video (and similar) contents fallback into a QR code for PDF? #11269
iagobaapellaniz
started this conversation in
Feature Requests
Replies: 1 comment
-
You could write a Lua filter to do that. FYI, https://github.com/jmbuhr/quarto-qrcode (http://m.canouil.dev/quarto-extensions/) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I think the title explains the feature by itself. Here it is an example of what I want to achieve
Or something similar. This way who prints the document has the option of to see the video, let's say, if it has a smartphone at hand.
If that QR code could be generated from the URL itself, that would be even more useful than a simple fallback,
UPDATE: Maybe it is doable with conditional content: https://quarto.org/docs/authoring/conditional.html. I will try
UPDATE2: It was easier than I thought. This would make the trick,
\usepage{qrcode}
in the preamble, andsince LaTeX literal is ignored for HTML, it won't show up in the website. Whereas, for the PDF, we will have a nice QR code + Hyperlink
Beta Was this translation helpful? Give feedback.
All reactions