手工川 Logo手工川
Lovstudio.AI Skill / Office Automation·FREE · OPEN SOURCE

PDF大师

把 Markdown 排成出版级 PDF,支持中英混排、代码与表格;新增宋黑阅读,共 16 套主题

基本信息

你会用它完成什么

Convert Markdown to polished PDF with CJK typography, code, tables, images, covers, TOC, bookmarks, and reading themes. Trigger on md2pdf, Chinese report typesetting, or print-ready PDF requests.

适用场景
Office Automation
当前版本
v1.5.5

开始前

先确认能不能跑

运行环境
Requires Python 3.8+ and reportlab (`pip install reportlab`). Optional: matplotlib (`pip install matplotlib`) for rendered display formulas. macOS: uses Palatino, Songti SC, Menlo (pre-installed). Linux: uses DejaVu/Liberation/FreeFont/Noto, Noto CJK, Droid Sans Fallback, DejaVu Sans Mono, and Noto Emoji when available.

没有 Claude 或 GPT 账号也可以试:Skill 不绑定某一家模型,Claude 效果最稳,GPT 也可以;手里只有国产工具时,可以从下方的 WorkBuddy 安装入口开始,效果可能有差距。

安装渠道

装到你正在使用的 AI

Yoda、Codex、Claude Code 和其他兼容运行环境都使用同一份 Skill;选择你的工具后,按对应步骤完成安装。

先保存一次工作资料,支持 Profile 的 Skill 会在运行时直接复用。

配置工作资料

安装与配置

Yoda

适合同时使用多个 Agent 的工作流:在一个地方完成安装、分配和调用。

  1. 01打开 Yoda 的 Skills,搜索「any2pdf」,进入详情后点击“安装”。
  2. 02在目标 Agent 的配置中,把该 Skill 设为“自动”“仅手动”或“关闭”。
  3. 03重新加载当前会话,再从输入框的 Skill 菜单选择它;Yoda 会按当前 Runtime 插入对应调用命令。
打开 Yoda

在 Yoda 内完成

Yoda 会把安装后的 Skill 同步给已配置的 Agent,无需手动维护多个目录。

第一次调用

使用 lov-any2pdf 完成以下任务,并按 Skill 的验收标准检查结果:

该 Skill 声明:Requires Python 3.8+ and reportlab (`pip install reportlab`). Optional: matplotlib (`pip install matplotlib`) for rendered display formulas. macOS: uses Palatino, Songti SC, Menlo (pre-installed). Linux: uses DejaVu/Liberation/FreeFont/Noto, Noto CJK, Droid Sans Fallback, DejaVu Sans Mono, and Noto Emoji when available.

使用说明

按这套方法完成任务

Version

Markdown to professionally typeset PDF with reportlab. CJK/Latin mixed text, code blocks, tables, images, Obsidian callouts, emoji fallback, formulas, cover pages, TOC, bookmarks, watermarks, and 16 themes.

Part of skill-publisher/skills — by example.com

Install

npx skills add any2pdf -g -y

Requires: Python 3.8+ and pip install reportlab

Optional:

pip install matplotlib
sudo apt install fonts-dejavu-core fonts-liberation fonts-freefont-ttf fonts-noto fonts-noto-cjk fonts-noto-color-emoji

Usage

python md2pdf.py --input report.md --output report.pdf

With no explicit theme, the CLI analyzes the title, prose, code blocks, tables, and document structure, then selects an appropriate preset. Pass --theme NAME or set theme: in frontmatter to override it.

For long Chinese reports and dense tables, use the publication-style reading preset:

python md2pdf.py --input report.md --output report.pdf --theme songti-reading

songti-reading pairs Songti body text with sans-serif headings/emphasis, Palatino Latin prose, Menlo code, roomier leading, symbol fallback, and a fit-width opening view.

You can also keep options in top-of-file frontmatter:

---
title: My Report
author: Author Name
theme: auto
watermark: DRAFT
---
OptionDefaultDescription
--input(required)Markdown file path
--outputoutput.pdfOutput PDF path
--titleFrom H1Cover page title
--subtitleSubtitle
--authorAuthor name
--themecontent-aware autoColor theme
--watermarkWatermark text
--covertrueGenerate cover page
--toctrueGenerate table of contents
--frontispieceFull-page image after cover
--code-max-lines30Max lines per code block
--image-coverfalseUse frontispiece image as full-bleed cover

Themes

No single preset is the universal default. songti-reading is a strong choice when sustained Chinese reading matters more than compact page count; other content types are matched to the themes below.

Reading and printTechnical and modernSpecialized
songti-readinggithub-lightconsulting-navy
warm-academicnord-frostieee-journal
paper-classicocean-breezeelegant-book
classic-thesissolarized-lightchinese-red
tuftemonokai-warm / dracula-softink-wash

License

MIT

案例

用过这个 Skill?分享你满意的真实成果,可以手动填写,也可以交给 Agent 整理。

正在读取案例…

SKILL CARD / TRUST RECORD

先看证据,再决定是否使用

这个 Skill 尚未发布完整的可信度卡。案例、维度地图与定价依据会在补齐后显示。

这是一条旧目录记录:Skill Card 尚未补齐。网站不会把缺少案例、维度或定价证据的条目包装成已验证能力。

VALUE CARD

价值与交付边界

把 Markdown 排成出版级 PDF,支持中英混排、代码与表格;新增宋黑阅读,共 16 套主题。

开源免费

免费

直接安装使用

价值锚点

一次交付通常可省下 20 分钟至半天的整理、排版和格式返工。

使用边界

默认处理结构清晰的 Markdown;扫描件 OCR、复杂品牌模板、托管批量转换和第三方字体授权不包含在免费交付中。

维护说明

随文档格式、系统字体、ReportLab、渲染器和导出目标变化复评。

用户评价与留言

登录后即可留言

分发渠道

在哪里可以获得它

这里标注这个 Skill 在各个平台的真实发布状态;有单品页时,入口会直接打开对应页面。

已发布

GitHub

公开源码、更新记录与 Issue 都在这里。

查看 GitHub
LS已发布

Lovstudio.AI 官网

在 Lovstudio.AI 获取、安装并查看使用说明。

你正在浏览此页面

WB暂未发布

WorkBuddy

该平台的单品页尚未发布。

单品页发布后会在这里出现。

SP已发布

支付宝 SkillPay

在 SkillPay 的单品页查看此 Skill。

商品编号 · P0806000200843457

打开商品页

搭配使用

需要时,继续补齐这些能力

更多信息

权限与许可

源码可见性
公开仓库,可检查源码、Issue 与更新记录。
数据与权限
不同 Skill 可能读取本地文件、访问网络或调用第三方模型。执行前请检查完整手册中的具体步骤与命令。
许可
MIT
markdownpdfcjkreportlabtypesetting

NEXT STEP

一个会员,全部 Skill。

回到目录,按结果、证据和依赖继续挑选;开通 VIP 后,每个 Skill 都能直接安装。

返回当前 Skills 结果

手工川 / KEEP MAKING

生命的意义,在于创作。