Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PDFPC support #83

Open
Beiri22 opened this issue Aug 27, 2023 · 3 comments · May be fixed by #84
Open

Improve PDFPC support #83

Beiri22 opened this issue Aug 27, 2023 · 3 comments · May be fixed by #84

Comments

@Beiri22
Copy link

Beiri22 commented Aug 27, 2023

I just saw that you now support pdfpc, which is really nice. I thought if the intermediate step of processing the query output could be avoided. Would it be possible to save the metadata of each slide into a state at first; and create some hook to emit the #metadata at the end of each slide in exactly the format that pdfpc requires?

I'm experimenting with a different approach for another 3rd party integration right now.

@Beiri22 Beiri22 changed the title Improve PDFPX support Improve PDFPC support Aug 27, 2023
@andreasKroepelin
Copy link
Owner

I think it is a bit cumbersome to massage the metadata and typst query into emitting exactly the format expected by pdfpc... Earlier or later you would need some external tool anyways and then I prefer to have the complex code on the Rust side and the Typst code as simple as possible.

@Beiri22
Copy link
Author

Beiri22 commented Aug 27, 2023

I'm not 100% convinced yet. Just to have a look myself, do you know where the pdfpc format is documented?

@andreasKroepelin
Copy link
Owner

It is documented here:
https://github.com/pdfpc/pdfpc/blob/master/schema/pdfpc.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants