# 在 Overleaf 中编译 NotebookLM 导出的 LaTeX 文档

来源: https://nlmexporter.com/zh/guides/integrations/notebooklm-to-overleaf  
板块: 应用集成  
方案: 免费

将报告导出为 `.tex` 文件并在 Overleaf 项目中设为主文档（Main document），在合并进正式手稿前先打开编译生成的 PDF 进行核验。

## 操作步骤

1. 在报告导出中选择 **LaTeX**，新建一个 Overleaf 测试项目并上传 `.tex` 文件。
2. 在项目设置（Settings）中将该文件设为 **Main document**，点击 **Recompile**；若 PDF 未能编译通过，先查看第一条报错信息。
3. 在生成的 PDF 中滚动到最后一个章节，抽查一条公式或表格与 NotebookLM 原文比对。

## 优先解决第一条编译错误

先确认 PDF 中的文档标题与导出内容一致。如果在文档中加入了引用命令或插图，别忘了同时上传对应的参考文献文件（`.bib`）或图片资源。

| NotebookLM 内容 | 导出格式 |
| --- | --- |
| 笔记 | [LaTeX](https://nlmexporter.com/zh/guides/export/notes-to-latex) |
| 报告 | [LaTeX](https://nlmexporter.com/zh/guides/export/reports-to-latex) |
| 数据表格 | [LaTeX](https://nlmexporter.com/zh/guides/export/data-tables-to-latex) |
| 资料来源参考文献 | [BibTeX](https://nlmexporter.com/zh/guides/export/bibliography-to-bibtex) |

## 参考来源

- [在 Overleaf 中设置主文档（Overleaf 官方文档）](https://docs.overleaf.com/getting-started/recompiling-your-project/the-main-document) (platform)

## 完整专题工作流指南

- [如何把 NotebookLM / Gemini Notebook 笔记与报告导出为 Word（.docx）与 PDF（保留原生公式与表格）](https://nlmexporter.com/zh/guides/export-notebooklm-notes-to-word-pdf-equations) — 告别公式乱码与打印截断宽表：本地将 NotebookLM 笔记与报告导出为带原生可编辑公式的 Word（.docx）、清晰 PDF，或免费不限次 Markdown / LaTeX。

## 相关指南

- [Move NotebookLM notes into LaTeX](https://nlmexporter.com/zh/guides/export/notes-to-latex)
- [Export a NotebookLM research report as LaTeX](https://nlmexporter.com/zh/guides/export/reports-to-latex)
- [Export a NotebookLM data table to LaTeX](https://nlmexporter.com/zh/guides/export/data-tables-to-latex)
- [Export NotebookLM sources as BibTeX for LaTeX or Zotero](https://nlmexporter.com/zh/guides/export/bibliography-to-bibtex)
- [在 Scrivener 项目中使用 NotebookLM 研究资料](https://nlmexporter.com/zh/guides/integrations/notebooklm-to-scrivener)
- [在 Microsoft Word 中打开并编辑 NotebookLM 报告与笔记](https://nlmexporter.com/zh/guides/integrations/notebooklm-to-microsoft-word)
