> 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/016-can-i-use-overleaf-with-endnote.md).

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

可以，您可以从 EndNote 导出参考文献表供 Overleaf 使用。导出的文件可以直接上传到您的 Overleaf 项目中，或从外部文件托管服务导入。

## 如何从 EndNote 导出 .bib 文件

这里有一份指南，展示 [如何导出一个 `.bib` 来自您的 EndNote 文献库的文件](https://library.unimelb.edu.au/recite/reference-management-software/bibtex-and-latex/managing-citations2/endnote)。如果您在 EndNote 中看不到导出为 BibTeX 的选项，您可能需要下载并安装所需的 EndNote 样式 [插件](http://endnote.com/downloads/style/bibtex-export).

## 如何将 .bib 文件添加到您的 Overleaf 项目中

在将您的参考文献从 EndNote 导出后，选择文件上传图标（![UploadIcon.png](/files/b873bc48a4c147f9f71d6245052c189d4842df06)）以显示 **添加文件** 模态窗口。导出的 `.bib` 文件可以通过以下方式添加到您的项目中： **上传** 或 **从外部 URL**:

![Overleaf 的“添加文件”上传窗口](/files/48393dc3fbb2daebe2f708d3dae205bc73aeb44f)

### 使用上传

您可以拖放您的 `.bib` 文件到 **添加文件** 窗口中，或使用以下方式选择文件： **从你的电脑中选择**.

**注意**:

* 如果您上传 `.bib` 文件直接到您的项目中，之后您可以使用 Overleaf 编辑器对其进行编辑——除非该文件超过 [2MB 可编辑文件限制](https://github.com/ayaka-notes/overleaf-learn-wiki/tree/main/learn-scripts/index.php?title=Kb/What_is_the_maximum_compilation_time,_file_number,_and_project_size_allowed_on_free_vs_paid_plans?\&action=edit\&redlink=1/README.md).
* 如果您编辑该 `.bib` 文件，您项目中的参考文献可能不再与存储在 EndNote 中的内容同步。

### 使用“从外部 URL”

假设您已将导出的 `.bib` 文件保存在支持直接下载的云端文件托管服务中，例如 Google Drive。使用 **从外部 URL**，您可以导入外部托管的 `.bib` 文件副本到您的 Overleaf 项目中。有关更多信息，请参阅 Overleaf 帮助文章 [如何从 Google Drive 上传文件？](/latex/zh-cn/zhi-shi-ku/051-how-can-i-upload-files-from-google-drive.md)

**注意**:

* 如果您已导入该 `.bib` 通过 Google Drive 或类似的文件托管服务，您无法在 Overleaf 中编辑它。您必须在 Overleaf 之外更新该 `.bib` 文件，并通过选择 `.bib` 该文件并选择 **刷新** 位于页面顶部的按钮——请参阅 [此视频](https://learn.overleaf.com/learn/Kb/How_can_I_upload_files_from_Google_Drive%3F#Video_showing_Google_Drive_file_upload) 以查看演示。

## 使用导出的 .bib 文件

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

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

有关向文档添加参考文献的更多信息，请参阅我们的第 2 部分 [LaTeX 入门](https://www.overleaf.com/blog/9).


---

# 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/016-can-i-use-overleaf-with-endnote.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.
