\pdfinclusionerrorlevel
\pdfinclusionerrorlevel[=]
integer
This command is used to control the behavior of the TEX engine when a
PDF file is included that has a newer version than the one specified by
\pdfminorversion
.
- “
[=]
” means that the equals sign is optional.
Usage examples
\pdfinclusionerrorlevel=-1
(or anything \(<0\)): gives no diagnostic information.\pdfinclusionerrorlevel=0
(default): causes the TEX engine to issue a warning.\pdfinclusionerrorlevel=1
: causes the TEX engine to raise an error.
\pdfinclusionerrorlevel
: Background information
Since it was first published in the 1990s, the PDF file format has undergone numerous revisions and enhancements which periodically result in the publication of a new version of the formal PDF specification. Consequently, any PDF file, including those produced by TEX engines, will conform to a particular version of the PDF specification—such as PDF version 1.4, 1.5 etc. Every PDF file contains data that identifies which version of the PDF specification the file conforms to—so that any application that wishes to “consume” a PDF file (e.g., importing, processing etc) knows which set of PDF features are likely to be present within that file.
If your TEX document imports a graphic in PDF format, for example via
\includegraphics
, that graphic file might conform to a PDF specification that is
newer (later) that the one supported by the TeX engine’s own output PDF file.
Clearly, this has the potential to cause a “clash” between the PDF version generated
by a TEX engine and the PDF version used by one of the imported graphics. By way
of an example, the typeset document produced by a TEX engine might conform
to, say, PDF version 1.4 but an imported graphic conforms to, say, PDF
1.5. If that imported graphic is simply embedded without further action
then, clearly, the PDF output file produced by TEX no longer conforms to
PDF 1.4 because it now contains graphical content based on the PDF 1.5
specification. The \pdfinclusionerrorlevel
command helps to manage
this.
Overleaf guides
- Creating a document in Overleaf
- Uploading a project
- Copying a project
- Creating a project from a template
- Using the Overleaf project menu
- Including images in Overleaf
- Exporting your work from Overleaf
- Working offline in Overleaf
- Using Track Changes in Overleaf
- Using bibliographies in Overleaf
- Sharing your work with others
- Using the History feature
- Debugging Compilation timeout errors
- How-to guides
- Guide to Overleaf’s premium features
LaTeX Basics
- Creating your first LaTeX document
- Choosing a LaTeX Compiler
- Paragraphs and new lines
- Bold, italics and underlining
- Lists
- Errors
Mathematics
- Mathematical expressions
- Subscripts and superscripts
- Brackets and Parentheses
- Matrices
- Fractions and Binomials
- Aligning equations
- Operators
- Spacing in math mode
- Integrals, sums and limits
- Display style in math mode
- List of Greek letters and math symbols
- Mathematical fonts
- Using the Symbol Palette in Overleaf
Figures and tables
- Inserting Images
- Tables
- Positioning Images and Tables
- Lists of Tables and Figures
- Drawing Diagrams Directly in LaTeX
- TikZ package
References and Citations
- Bibliography management with bibtex
- Bibliography management with natbib
- Bibliography management with biblatex
- Bibtex bibliography styles
- Natbib bibliography styles
- Natbib citation styles
- Biblatex bibliography styles
- Biblatex citation styles
Languages
- Multilingual typesetting on Overleaf using polyglossia and fontspec
- Multilingual typesetting on Overleaf using babel and fontspec
- International language support
- Quotations and quotation marks
- Arabic
- Chinese
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Document structure
- Sections and chapters
- Table of contents
- Cross referencing sections, equations and floats
- Indices
- Glossaries
- Nomenclatures
- Management in a large project
- Multi-file LaTeX projects
- Hyperlinks
Formatting
- Lengths in LaTeX
- Headers and footers
- Page numbering
- Paragraph formatting
- Line breaks and blank spaces
- Text alignment
- Page size and margins
- Single sided and double sided documents
- Multiple columns
- Counters
- Code listing
- Code Highlighting with minted
- Using colours in LaTeX
- Footnotes
- Margin notes
Fonts
Presentations
Commands
Field specific
- Theorems and proofs
- Chemistry formulae
- Feynman diagrams
- Molecular orbital diagrams
- Chess notation
- Knitting patterns
- CircuiTikz package
- Pgfplots package
- Typesetting exams in LaTeX
- Knitr
- Attribute Value Matrices
Class files
- Understanding packages and class files
- List of packages and class files
- Writing your own package
- Writing your own class