> 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/wen-yu-da/03-bibtex-isn-t-working-my-cite-are-showing-up-as-question-marks.md).

# BibTeX 無法運作；我的 \cite 顯示成問號（?）

這可能有多種原因：

* 你是否使用過任何 `\cite` 指令？只有在 `\cite` 主文中被
* 你是否指定了正確的 `.bib` 檔名（不含副檔名）給 `\bibliography{...}`？它區分大小寫，所以要留意拼字錯誤。
* 你是否使用 `\bibliographystyle{...}`指定了參考文獻樣式？如果該樣式不是 [TeX Live 自帶的標準樣式，](/latex/zh-tw/wen-yu-da/84-which-bibtex-styles-are-available-on-overleaf.md)你就需要將 `.bst` 檔案上傳到你的專案中。
* 你的 `.bib` 檔案中可能有語法錯誤，導致 bibtex 無法正確解析。如果是這樣，警告訊息中應該會有一些相關資訊；請依此修正，bibtex 就應該能再次讀取它們。
* 你的 `.bib` 檔案或主要 `.tex` 檔案是否位於名稱中含有空格或特殊字元的資料夾裡？主要 `.tex` 檔案應始終位於最上層，而位於名稱含有空格或特殊字元資料夾中的檔案，有時可能無法被編譯程序找到。
* 如果你已完成以上所有步驟，而引用仍然無法運作：在某些極端情況下，這也可能發生，原因在於 .log 檔中的行格式以及建置工具讀取檔案的方式。加入 `\typeout{}` 就在你的 `\bibliography{...}` 可能會有幫助。

若要進一步了解 BibTeX，請參閱我們的 [免費線上互動教學](/latex/zh-tw/geng-duo-zhu-ti/13-free-online-introduction-to-latex-part-1.md)，或看看這個 [影片教學](/latex/zh-tw/wen-yu-da/49-how-to-include-a-bibliography-using-bibtex.md) 和 [維基書籍文章](https://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-tw/wen-yu-da/03-bibtex-isn-t-working-my-cite-are-showing-up-as-question-marks.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.
