> 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-tw/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/2075dd0c85fb9a0117e1063a51727ac5878c7463)）以顯示 **新增檔案** 對話框。匯出的 `.bib` 檔案可以透過以下方式加入您的專案： **上傳** 或 **從外部 URL**:

![Overleaf「新增檔案」上傳視窗](/files/3ca3773d399ab94c00533ca78cf824096a2b76c4)

### 使用上傳

您可以將您的 `.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).
* 如果您在 Overleaf 中編輯 `.bib` 該檔案，您的專案參考文獻可能將不再與儲存在 EndNote 中的內容同步。

### 使用「從外部 URL」

假設您已將匯出的 `.bib` 檔案儲存在支援直接下載的雲端檔案託管服務中，例如 Google 雲端硬碟。使用 **從外部 URL**，您可以匯入外部託管的 `.bib` 檔案副本到您的 Overleaf 專案中。如需更多資訊，請參閱 Overleaf 說明文章 [我如何從 Google 雲端硬碟上傳檔案？](/latex/zh-tw/zhi-shi-ku/051-how-can-i-upload-files-from-google-drive.md)

**注意**:

* 如果您已匯入 `.bib` 透過 Google 雲端硬碟或類似的檔案託管服務，您無法在 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-tw/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.
