← ClaudeAtlas

pdflisted

Export markdown as professional PDF using pandoc + typst (no LaTeX needed). Use when the user asks to: create a PDF, export markdown to PDF, generate a report/handout/document as PDF, or when they mention PDF, pandoc, print-ready, or document export.
magnusrodseth/dotfiles · ★ 2 · Data & Documents · score 65
Install: claude install-skill magnusrodseth/dotfiles
# Markdown to PDF Export markdown files as professional PDFs using **pandoc + typst**. Typst is the default engine: it needs no LaTeX toolchain, is fast, and handles full Unicode (including æ/ø/å) out of the box. An optional eisvogel + xelatex path is available for a branded colored title page when a LaTeX install is present. ## Prerequisites - `pandoc` (3.0+): `brew install pandoc` - `typst` (0.11+): `brew install typst` That's it for the default path. Everything below works with just pandoc + typst. **Optional** (only for the branded `--engine xelatex` title-page path): - LaTeX with xelatex: `brew install --cask basictex` - Eisvogel template: download `eisvogel.latex` from https://github.com/Wandmalfarbe/pandoc-latex-template/releases into `~/.local/share/pandoc/templates/` - LaTeX packages: `tlmgr --usermode install adjustbox babel-german background bidi collectbox csquotes everypage filehook footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem unicode-math upquote xecjk xurl zref` Mermaid diagrams (optional): `npm install -g @mermaid-js/mermaid-cli` ## Quick Export ```bash bash ~/.claude/skills/pdf/scripts/md-to-pdf.sh \ -o report.pdf \ -t "Report Title" \ -s "Subtitle" \ -a "Author Name" \ --lang nb \ --toc \ input.md ``` Defaults to the typst engine. Hyperlinks render blue automatically. For the branded colored title page instead, add `--engine xelatex`