Embed source code in PDF
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
Similarly to draw.io, there should be an option to embed the source code in the compiled PDF file, so that the code wouldn't be lost.
Use Case
You'd be able to easily pass around editable documents, sending just the PDF file (instead of PDF + TYP). Also, when given a PDF file whose layout you really like, you'd be able to use it as a template if it contains the source code.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing the compiled PDF output path and how source files are handled, then determine how an embedding option should be exposed and recovered from a PDF. Done means a defined, tested way to include and retrieve the source without requiring a separate TYP file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100