> 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/cac-nguyen-thuy-tex-latex/08-pdfinclusionerrorlevel.md).

# \pdfinclusionerrorlevel

`\pdfinclusionerrorlevel[=]` *số nguyên*

Lệnh này được dùng để điều khiển hành vi của bộ máy TEX khi một tệp PDF được chèn vào mà có phiên bản mới hơn phiên bản được chỉ định bởi [`\pdfminorversion`](/latex/vi/cac-nguyen-thuy-tex-latex/09-pdfminorversion.md).

* “`[=]`” có nghĩa là dấu bằng là tùy chọn.

**Ví dụ sử dụng**

* `\pdfinclusionerrorlevel=-1` (hoặc bất kỳ $$<0$$): không đưa ra thông tin chẩn đoán nào.
* `\pdfinclusionerrorlevel=0` (mặc định): khiến bộ máy TEX đưa ra cảnh báo.
* `\pdfinclusionerrorlevel=1`: khiến bộ máy TEX phát sinh lỗi.

#### \pdfinclusionerrorlevel: Thông tin nền

Kể từ khi lần đầu tiên được công bố vào những năm 1990, [định dạng tệp PDF](https://en.wikipedia.org/wiki/PDF) đã trải qua nhiều lần sửa đổi và cải tiến, định kỳ dẫn đến việc công bố một phiên bản mới của đặc tả PDF chính thức. Do đó, bất kỳ tệp PDF nào, kể cả những tệp do bộ máy TEX tạo ra, sẽ tuân theo một phiên bản cụ thể của đặc tả PDF—chẳng hạn như phiên bản PDF 1.4, 1.5, v.v. Mỗi tệp PDF đều chứa dữ liệu xác định tệp đó tuân theo phiên bản nào của đặc tả PDF—để bất kỳ ứng dụng nào muốn “tiêu thụ” một tệp PDF (ví dụ: nhập, xử lý, v.v.) biết được bộ tính năng PDF nào có khả năng hiện diện trong tệp đó.

Nếu tài liệu TEX của bạn nhập một đồ họa ở định dạng PDF, ví dụ thông qua `\includegraphics`, thì tệp đồ họa đó có thể tuân theo một đặc tả PDF mới hơn (muộn hơn) so với đặc tả được hỗ trợ bởi tệp PDF đầu ra của chính bộ máy TeX. Rõ ràng, điều này có thể gây ra một “xung đột” giữa phiên bản PDF do bộ máy TEX tạo ra và phiên bản PDF được dùng bởi một trong các đồ họa được nhập vào. Ví dụ, tài liệu được dàn trang do bộ máy TEX tạo ra có thể tuân theo, chẳng hạn, phiên bản PDF 1.4, nhưng một đồ họa được nhập vào lại tuân theo, chẳng hạn, PDF 1.5. Nếu đồ họa được nhập đó chỉ được nhúng vào mà không có hành động nào khác thì, rõ ràng, tệp đầu ra PDF do TEX tạo ra sẽ không còn tuân theo PDF 1.4 nữa vì giờ đây nó chứa nội dung đồ họa dựa trên đặc tả PDF 1.5. Lệnh `\pdfinclusionerrorlevel` giúp quản lý điều này.


---

# 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/cac-nguyen-thuy-tex-latex/08-pdfinclusionerrorlevel.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.
