# Document Embedding and Regeneration

## What Problem This Solves

This reference keeps document automation reproducible after the first export.

## When to Use It

Use this when placing chart assets into reports, decks, or other documents that will need refreshing later.

## Key Takeaways

- Preserve a deterministic asset naming and sizing scheme.
- Keep captions, notes, and source attribution outside the raster image when possible.
- Design the workflow so updated data can rebuild the document package instead of forcing manual edits.

## Common Mistakes

- Embedding screenshots with no traceable regeneration path.
- Forgetting that the same chart may need web, PDF, and slide variants.

## Adjacent Skills

- `../SKILL.md`
- `../../data-visualization/SKILL.md`

## Source Links

- [Playwright Page PDF](https://playwright.dev/docs/api/class-page#page-pdf)
