Rules / Build

LaTeX Error: File `…' not found — Input file not found

An \input or \include points to a file that does not exist.

Fix

Fix the path; it is relative to the main file and case-sensitive.

Example

Reproduced on TeX Live 2026 by CI · lualatex · corpus/missing-input-file

\input of a chapter file that does not exist

Fails: main.tex
\documentclass{article}
\begin{document}
\input{chapters/introduction}
\input{chapters/discusion}
\end{document}
What TeX prints in main.log
! LaTeX Error: File `chapters/discusion.tex' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)

! Emergency stop.
<read *> 
         
l.4 \input{chapters/discusion}
                              
*** (cannot \read from terminal in nonstop modes)

!  ==> Fatal error occurred, no output PDF file produced!