> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/zh-cn/zhi-shi-ku/017-can-i-use-overleaf-with-paperpile.md).

# 我可以在 Overleaf 中使用 Paperpile 吗？

## 2022年7月13日更新

自本页面首次发布以来，Paperpile 推出了新的 Overleaf 集成，以简化 Overleaf 和 Paperpile 用户的写作流程。请访问博客页面 [如何使用 Overleaf 和 Paperpile 创建参考文献——分步指南](https://www.overleaf.com/blog/how-to-create-a-bibliography-using-overleaf-and-paperpile-a-step-by-step) 以获取最新信息。

## 为归档参考而保留的旧内容

您可以将您的参考文献从 Paperpile 导出，以便在 Overleaf 中使用。此外，如果您将此导出的文件保存到允许直接链接的位置（例如 Google Drive），当您添加新的参考文献时，就很容易保持同步。

### 如何从 Paperpile 导出您的 .bib 文件

这里有一个 [快速指南](http://forum.paperpile.com/t/how-to-export-a-document-and-citations-to-latex-and-bibtex/784) ，介绍如何导出一个 `.bib` 来自您的 Paperpile 文献库的文件。

您现在可以按照下面的说明将您的参考文献添加到 Overleaf 项目中。

### 如何在文档中添加参考文献

首先，您需要上传 `.bib` 您刚从 Paperpile 导出的文件，通过“上传文件”按钮上传到 Overleaf。如果您使用基于云的文档管理服务，例如 Google Drive，您可以通过一种方式进行操作，将文件链接起来，以便将来轻松更新您的 bib 文件——请参见 [这篇帮助文章](/latex/zh-cn/zhi-shi-ku/051-how-can-i-upload-files-from-google-drive.md) 了解更多详情。

一旦您的参考文献文件上传完成，就有多种参考文献包可用于在您的文档中显示相关条目（当您引用它们时）。例如，我们经常使用 `natbib` 宏包，以及用于 `natbib` 看起来像：

```latex
...
\usepackage{natbib}
...
\begin{document}
...
\bibliographystyle{plainnat}
\bibliography{name-of-your-bib-file-here}
\end{document}
```

您也可以通过文件菜单直接编辑 bib 文件。有关在文档中添加参考文献的更多信息，请参见 [我们 LaTeX 入门课程的第 2 部分](https://www.overleaf.com/blog/9)，或者查看 [LaTeX 维基书](http://en.wikibooks.org/wiki/LaTeX/Bibliography_Management).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/zh-cn/zhi-shi-ku/017-can-i-use-overleaf-with-paperpile.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
