> 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/009-can-i-share-files-e.g.-.bib-and-some-graphics-across-my-projects.md).

# 我可以在我的專案之間共享檔案（例如 .bib 和部分圖形）嗎？

是的，您可以透過 **從其他專案** 位於其中的選項 **新增檔案** 彈出視窗：

![從其他專案新增檔案](/files/e3572c4461f2cc6b2ab246f2509070f2473b413d)

如果您想要（定期）在多個專案中使用相同的檔案，那麼採用以下安排可能會很方便：

1. 建立一個包含可重複使用檔案的「父」專案；例如， `.bib`, `.cls`, `.sty`、圖形等。
2. 在您想要重複使用檔案的「子」專案中，請依照以下步驟：

* 按一下「上傳檔案」按鈕（![UploadIcon.png](/files/2075dd0c85fb9a0117e1063a51727ac5878c7463)）在檔案清單面板頂端。Overleaf 會顯示 **新增檔案** 彈出視窗。此處，您需要執行以下操作：

  * 選擇 **從其他專案**;
  * 在……下方 **選取專案**，選擇包含可重複使用檔案的「父」專案；
  * 在……下方 **選取檔案**，選擇您需要的檔案。

  ![Uploading a file from another Overleaf project](/files/346c551e40056952e89f2265b5c7d66ef59990ff).

您現在將能夠 *使用* 在您的「子」專案中使用連結的檔案，但您將 *無法編輯它*。雖然「子」專案中的連結檔案無法編輯，但如果您已在父專案中修改原始檔案副本，則可以更新（重新整理）它們：

* 在「子」專案中按一下連結檔案；
* 選擇 **重新整理** 以套用變更。

**注意**：任何 `.tex` 使用以下方式匯入的檔案 **從其他專案** 無法設為編譯「子」專案的主檔案。


---

# 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/009-can-i-share-files-e.g.-.bib-and-some-graphics-across-my-projects.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.
