如何使用 Markdown 生成带参考文献的 PDF

  1. 在 Markdown 中加入引用(BibTeX 引用键)

    e.g. [@qi2025systematic].

  2. 准备 .bib 文件(可从 Google Scholar 导出)

    @article{qi2025systematic,
    title={A systematic literature review on designing self-regulated learning using generative artificial intelligence and its future research directions},
    author={Qi, XIA and Liu, Qian and Tlili, Ahmed and Thomas, KF},
    journal={Computers & Education},
    pages={105465},
    year={2025},
    publisher={Elsevier}
    }

  3. 安装 Pandoc 和 LaTeX(MacOS)

    brew install pandoc
    brew install --cask mactex-no-gui

  4. 生成 PDF

    pandoc xxx.md
    --citeproc
    --bibliography=xxx.bib
    --pdf-engine=pdflatex
    -o xxx.pdf

(可选)指定引用格式(如 APA):

复制代码
--csl=apa.csl
  1. 导出 Word 或 HTML

    pandoc xxx.md
    --citeproc
    --bibliography=xxx.bib
    -o xxx.docx # or xxx.html

  2. 输出效果示例

相关推荐
SamChan906 小时前
用Python+Requests批量翻译PDF:从脚本到调度
后端·python·microsoft·ai·pdf·机器翻译
SamChan9018 小时前
PDF翻译API的JWT签名鉴权与速率限制设计:安全实战指南
网络·安全·pdf
AmyLin_20011 天前
PDF 脱敏技术【1】:PDF 脱敏不是盖黑框:为什么敏感信息仍能被复制,正确的保护方式是什么?
安全·pdf·sdk·脱敏·文档安全·pdf 脱敏·智能脱敏
denggun123451 天前
PDF解析 Mineru
pdf
10mAh1 天前
【PaddleOCR】扫描版 PDF 无法复制、RAG 检索为空怎么解决?——OCR 解析与版面还原实战
前端·pdf·ocr
慧都小妮子2 天前
PDF图片提取总“褪色“?Aspose.PDF 多层级提取能力详解
pdf·c#·.net·图片处理·文档处理·色彩空间
SamChan902 天前
PDF翻译中的并发控制:用Semaphore防止API限流与资源耗尽
java·jvm·pdf
m4Rk_3 天前
【论文阅读】Agent 记忆机制(34):MemoryBank——用遗忘曲线管理可强化的长期对话记忆
论文阅读·人工智能·学习·开源·github
ilvcn3 天前
在线 PDF 翻译工具实测:整份翻译保留表格版式,长文档处理方案
pdf
染指11103 天前
79.高级RAG-md文档元素分割器
markdown·rag·llama_index·llamaindex