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

Embed the Typst source code into the PDF #4656

Closed
hadim opened this issue Aug 2, 2024 · 2 comments
Closed

Embed the Typst source code into the PDF #4656

hadim opened this issue Aug 2, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists feature request New feature or request

Comments

@hadim
Copy link

hadim commented Aug 2, 2024

Description

It would be nice to be able to automatically embed the Typst source code into the produced PDF.

See this similar project https://github.com/prefix-dev/pixi-pdf, which allows embedding any directory (source code for example) into a PDF.

Use Case

It would be great for reproducibility, but it would also allow opening a Typst project into the web app by simply drag and dropping the PDF in it.

You can see it as a feature that makes any Typst PDF "editable" in some sort.

@hadim hadim added the feature request New feature or request label Aug 2, 2024
@Myriad-Dreamin
Copy link
Contributor

For the editable property, you'll have to embed all project resources, like images, otherwise it is incomplete. This will increase size of the pdf file a lot.

@Enivex
Copy link
Collaborator

Enivex commented Aug 2, 2024

Duplicate of #1465

@Enivex Enivex marked this as a duplicate of #1465 Aug 2, 2024
@Enivex Enivex added the duplicate This issue or pull request already exists label Aug 2, 2024
@Enivex Enivex closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants