Have Claude, Cursor or GitHub Copilot write Markdown, then convert it to PDF and DOCX locally with an MCP server. No headless browser, no LaTeX....is hard at the edges: multi-page tables, nested lists, code blocks...blocks, images and page breaks. A browser print pipeline approximates...