From digital-printing
Adjust a PDF's layout for binding — add a gutter (inner margin), mirror margins for duplex printing so the binding edge is consistent, and optionally shift content outward. Triggers on phrases like "prep for binding", "add gutter", "mirror margins for duplex", "binding-friendly layout".
npx claudepluginhub danielrosehill/claude-code-plugins --plugin digital-printingThis skill uses the workspace's default tool permissions.
Shift content to leave room for a binding gutter without cropping. Supports single-sided (uniform shift) or double-sided (mirror left/right shift) layout.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Shift content to leave room for a binding gutter without cropping. Supports single-sided (uniform shift) or double-sided (mirror left/right shift) layout.
true) — if true, mirror the shift: odd pages shift right, even pages shift left. If false, all pages shift right (single-sided).<input>-bound.pdf.pdfjam (from texlive-extra-utils) handles gutter/binding offsets cleanly. Ghostscript can also do it via pdfwrite with a translation matrix, but pdfjam is more readable.
pdfjam --offset "10mm 0mm" --twoside --outfile output.pdf input.pdf
--twoside automatically mirrors odd/even page offsets. --offset "X Y" shifts content (positive X = right).
pdfjam --offset "10mm 0mm" --outfile output.pdf input.pdf
verify-bleed-safe after this skill to confirm content still fits within the printable area.pdfjam is installed (command -v pdfjam); if not, sudo apt install texlive-extra-utils.verify-bleed-safe next.Bound-ready PDF. Original preserved.