如何使用 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. 输出效果示例

相关推荐
m4Rk_14 小时前
【论文阅读】Agent 记忆机制(74):CompassMem——从相似度检索走向事件图上的记忆导航
论文阅读·人工智能·学习·开源·github
java_logo16 小时前
Docker 部署 Gotenberg 完整教程:Compose 搭建文档转 PDF API
docker·pdf·chromium·libreoffice·文档转换·轩辕镜像·gotenberg
Rocky Ding*19 小时前
【三年面试五年模拟】阿里巴巴-千问技术部算法一面全解析
论文阅读·人工智能·深度学习·机器学习·aigc·ai-native·ai agent
泡海椒21 小时前
jquick-pdf 防止 PDF 内容分页断裂:keepTogether 属性妙用
java·开发语言·pdf
Rocky Ding*1 天前
【三年面试五年模拟】2026-09-10 百度多模态大模型一面:9道技术问答与2道手撕题详解
论文阅读·人工智能·深度学习·机器学习·百度·aigc·ai-native
泡海椒1 天前
jquick-pdf 文本元素实战:段落、行内文本、制表符用法详解
java·开发语言·pdf
m4Rk_2 天前
【论文阅读】Agent 记忆机制(73):MemGAS——让长期对话记忆按问题选择粒度并关联证据
论文阅读·人工智能·学习·开源·github
Rocky Ding*2 天前
【三年面试五年模拟】2026-09-16 字节跳动 Agent 秋招一面全解析:从 Harness、记忆与并发到算法题的系统化解析
论文阅读·人工智能·深度学习·机器学习·aigc·ai-native·ai agent
SamChan902 天前
Python 处理小语种 PDF 的编码坑:重音字符、连字与 (cid:xx) 乱码的解决方案
python·ai·pdf·机器翻译
微咣科技2 天前
平台化工业AI再突破|大捷智能携手岚图汽车,打造车身焊装智能设计行业标杆
pdf·音视频