> 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/ja/tex-latexpurimitibu/08-pdfinclusionerrorlevel.md).

# \pdfinclusionerrorlevel

`\pdfinclusionerrorlevel[=]` *整数*

このコマンドは、次によって指定されたものより新しいバージョンを持つPDFファイルが含まれる場合のTEXエンジンの動作を制御するために使用されます [`\pdfminorversion`](/latex/ja/tex-latexpurimitibu/09-pdfminorversion.md).

* “`[=]`” は、等号が省略可能であることを意味します。

**使用例**

* `\pdfinclusionerrorlevel=-1` （または任意の $$<0$$）：診断情報は出力されません。
* `\pdfinclusionerrorlevel=0` （既定値）：TEXエンジンに警告を出させます。
* `\pdfinclusionerrorlevel=1`：TEXエンジンにエラーを発生させます。

#### \pdfinclusionerrorlevel: 背景情報

1990年代に初めて公開されて以来、 [PDFファイル形式](https://en.wikipedia.org/wiki/PDF) は、数多くの改訂と拡張を経ており、その結果、正式なPDF仕様の新しい版が定期的に公開されています。そのため、TEXエンジンによって生成されたものを含むあらゆるPDFファイルは、PDF 1.4、1.5などの特定のPDF仕様の版に準拠します。すべてのPDFファイルには、そのファイルがどの版のPDF仕様に準拠しているかを示すデータが含まれており、PDFファイルを「利用」したいあらゆるアプリケーション（たとえば、取り込み、処理など）が、そのファイル内にどのPDF機能が含まれている可能性が高いかを把握できるようになっています。

TEX文書がPDF形式の図を取り込む場合、たとえば `\includegraphics`を介して、その図ファイルは、TeXエンジン自身が出力するPDFファイルでサポートされるものより新しい（後の）PDF仕様に準拠している可能性があります。明らかに、これはTEXエンジンによって生成されるPDF版と、取り込まれた図の一つが使用するPDF版との間に「衝突」を引き起こす可能性があります。例を挙げると、TEXエンジンによって組版された文書は、たとえばPDF 1.4に準拠している一方で、取り込まれた図はたとえばPDF 1.5に準拠しているかもしれません。その取り込まれた図を特に何もせずに単に埋め込むと、明らかに、TEXによって生成されたPDF出力ファイルはもはやPDF 1.4に準拠しません。なぜなら、そこにはPDF 1.5仕様に基づく図形コンテンツが含まれるからです。The `\pdfinclusionerrorlevel` コマンドは、これを管理するのに役立ちます。


---

# 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/ja/tex-latexpurimitibu/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.
