Releases: 263311487-ux/imprint-pdf
Releases · 263311487-ux/imprint-pdf
Release list
v0.12.0 — 24 主题 · 展示站上线 · 项目故事 (24 Themes · Live Showcase · Project Story)
v0.12.0 — 24 主题 · 展示站上线 · 项目故事
- 24 套主题(含 IEEE 蓝、红头公文、深夜蓝纸),全部通过印刷级质检
- 8 套模板:报告 / 书籍 / 双栏论文 / IEEE 英文 / 红头公文 / 简历 / 技术文档 / 信函
- Live showcase 上线:imprint-pdf.github.io 画廊 — 24 主题真图、8 模板、14 项质检、MCP 接入演示
- 0–100 印刷级质检:页边距 / 字体 / 对比度(WCAG) / 标点禁则 / 孤行寡行 / 目录页码 / PDF-UA,逐项给证据
- MCP server:
render_markdown/list_themes/validate_pdf/new_document,Claude Code / Codex / Cursor 一句话出报告 - npm:
npx imprint-pdf 论文.md(0.12.0 已发布) - pip:
pip install "imprint-pdf[mcp] @ git+https://github.com/263311487-ux/imprint-pdf.git"
附件:项目故事 PDF《从草稿到成品》(Imprint 自己渲染,质检 100/100 · A+ · 9 页)。
v0.11.0 — IEEE 英文双栏论文模板 (IEEE-Style English Paper)
What’s new
- IEEE-style English two-column paper:
imprint --new ieee+ieeetheme (Times 10pt compact two-column + IEEE blue #00629B), Abstract / Index Terms span both columns. lang: enfrontmatter now sets the document language tag (better PDF/UA).- Validator font-hint matching normalized: multi-word names like “Times New Roman” now match hyphenated PDF font names.
- Smart theme recommendation detects IEEE-style English papers.
- npm:
npx imprint-pdf0.11.0.
Attached: IEEE sample PDF scoring 100/100 A+.
v0.10.0 — 红头公文模板 (GB/T 9704 Official Document)
What’s new
- Red-header Chinese government document template:
imprint --new gongwen+layout: gongwen— GB/T 9704 letterhead (red issuer mark 30pt, document number, red rule with ★), no cover/TOC, flush-left addressee, right-aligned signature block. - New
gongwentheme: FangSong 3-hao body (16pt), Heiti headings, standard government margins. - Smart theme recommendation now detects official-document language (通知/决定/批复请示/印发...).
- npm:
npx imprint-pdf0.10.0.
Attached: sample red-header document PDF (97/100 on macOS where FangSong is unavailable; 100/100 on Windows).
v0.9.0 — 双栏学术论文模板 (Two-Column Academic Paper)
What’s new
- Two-column academic paper template:
imprint --new paper+layout: two-columnfrontmatter — full-width abstract/keywords, two-column body, headings never orphan, tables never split mid-row, inline math never breaks a line (U+2060 + nowrap). - Validator TOC check now reads the PDF outline (more accurate than full-text search).
- Line-start punctuation check exempts legitimate
formula + punctuationlines. - npm:
npx imprint-pdfone-command install (0.9.0).
Attached: two-column paper sample PDF scoring 100/100 A+.
Imprint v0.8.0 — 数学公式 · 模板系统 · 14 项印刷级质检
What is Imprint?
Imprint 是一个 AI 原生的中文印刷级 PDF 生成器:Markdown 进,出版社级 PDF 出,自带 0–100 印刷级质检报告。
v0.8.0 Highlights
- 数学公式:
$inline$/$$block$$→ matplotlib mathtext → 矢量 SVG(无数学字体依赖) - 模板系统:
imprint --new report|book|resume|techdoc|letter一键起稿 - 质检增强(14 项 100 分制):新增缺字检测(豆腐块)、内容溢出、图片清晰度;修复脚注返回箭头在 CJK 字体的缺字
- 20 套设计系统主题(全部 WCAG 对比度达标,含唯一暗色主题 midnight)
- GitHub 提示框 / Mermaid 图表 / 图片压缩 / 智能换肤 / PDF-UA
Install
pip install imprint-pdf
imprint paper.md -o paper.pdfDemo PDF attached: 9 pages, 100/100 A+ on the built-in print-quality report.