精选 Pandoc 常用指令与核心速查备忘单,涵盖高频用法、配置参数与实用技巧。 Pandas 是一款强大的万能文档格式转换工具。本备忘单收录常用的 Pandoc 转换命令与高频实用技巧。
基础 .tex 转换为 .docx
$ pandoc -s file.tex -o file.docx
带默认参考文献引用的 .tex 转 .docx
$ pandoc -s file.tex --citeproc --bibliography=bib_library.bib -o file.docx
带指定 CSL 引用样式风格的 .tex 转 .docx
$ pandoc -s file.tex --citeproc --bibliography=bib_library.bib --csl=apa.csl -o file.docx
从 CSL 样式库 获取 .csl 文件
带交叉引用 Filter 的 .tex 转 .docx
$ pandoc -s file.tex --filter pandoc-crossref -o file.docx
从 pandoc-crossref 发布页 获取 pandoc-crossref 过滤器