> 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/vi/cau-hoi-and-tra-loi/03-bibtex-isn-t-working-my-cite-are-showing-up-as-question-marks.md).

# BibTeX không hoạt động; các lệnh \cite của tôi hiển thị thành dấu hỏi (?)

Điều này có thể xảy ra vì một số lý do:

* Bạn đã sử dụng bất kỳ `\cite` lệnh nào trong tài liệu của mình chưa? Chỉ những mục bib đã được `\cite` trong phần văn bản chính mới sẽ xuất hiện trong danh sách thư mục tài liệu tham khảo.
* Bạn đã chỉ định đúng `.bib` tên tệp (không có phần mở rộng) cho `\bibliography{...}`chưa? Nó phân biệt chữ hoa chữ thường, vì vậy hãy chú ý lỗi chính tả.
* Bạn đã chỉ định kiểu thư mục tài liệu tham khảo với một `\bibliographystyle{...}`chưa? Nếu kiểu đó không phải là [một kiểu chuẩn đi kèm với TeX Live](/latex/vi/cau-hoi-and-tra-loi/84-which-bibtex-styles-are-available-on-overleaf.md), bạn sẽ cần tải lên `.bst` tệp đó vào dự án của mình.
* Có thể bạn có lỗi cú pháp trong `.bib` tệp của mình khiến bibtex không thể phân tích đúng. Nếu vậy, trong các thông báo cảnh báo sẽ có một số thông tin về điều này; hãy sửa chúng tương ứng và bibtex sẽ có thể đọc lại chúng.
* Tệp `.bib` hay tệp chính của bạn `.tex` có nằm trong một thư mục có dấu cách hoặc ký tự bất thường trong tên không? Tệp chính `.tex` luôn phải ở cấp cao nhất, và các tệp trong thư mục có dấu cách hoặc ký tự bất thường đôi khi có thể không được tiến trình biên dịch tìm thấy.
* Nếu bạn đã làm tất cả các bước trên mà các trích dẫn vẫn không hoạt động: Điều này cũng có thể xảy ra trong một số trường hợp đặc biệt, do cách các dòng được định dạng trong tệp .log và cách công cụ build đọc tệp. Việc thêm `\typeout{}` ngay trước `\bibliography{...}` có thể hữu ích.

Để biết thêm thông tin về BibTeX, hãy xem [hướng dẫn tương tác trực tuyến miễn phí của chúng tôi](/latex/vi/chu-de-khac/13-free-online-introduction-to-latex-part-1.md), hoặc hãy xem [video hướng dẫn này](/latex/vi/cau-hoi-and-tra-loi/49-how-to-include-a-bibliography-using-bibtex.md) và [các bài viết Wikibook](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/vi/cau-hoi-and-tra-loi/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.
