← Files Build Web Data VisualizationARCHIVED FILE

references/document-embedding-and-regeneration.md

867 Bytes · Sep 30, 2026 · 22:49 UTC

↓ Download file

# 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)

SHA-256: 10e8985a9a9e502f8d5774c3318629cc315db1ecc7beaa20898fbbf2852d4a91