feat: add pdfpc-file metadata in typst directly #123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Many thanks for Polylux anyway, it is very cool. But I think it would be nice to have the ability to export pdfpc file without polylux2pdfpc.
A lot of work has been done in #83 and #84 , but too many files have been modified. I just come up with a simpler method. I add a
locate
andquery
inpdfpc.config()
function, so you just addpdfpc.config()
in your slide source file to enable this feature.You can export pdfpc file without polylux2pdfpc simply by:
https://typst.app/project/rzIE9aLpKytQUQNn8SSRrP
This PR is significant for tools other than pdfpc, just like Typst Preview, which already has a slide mode.
With this feature, Typst Preview can implement better navigation and presenter view, which is much more convenient than pdfpc because you have a hard time installing pdfpc on Windows #106 , and Typst Preview has animated GIFs support that pdfpc doesn't have. Enter-tainer/typst-preview#191 Enter-tainer/typst-preview#192
It's also a good way to achieve #122 .
@andreasKroepelin If you have spare time, could you please take a look at this? Many thanks!