Graphics, Figures & TablesFound file is reported not found

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Singularity
Posts: 156
Joined: Sat Jan 22, 2011 9:55 pm

Found file is reported not found

Post by Singularity »

The following code includes a .JPG file. The output includes the file correctly, but displays the file name next to it and the build output says "LaTeX Warning: File `Review Test 1 Limits.JPG' not found on input line 6. But the file was found, and included. How do I fix this warning?

Code: Select all

\documentclass[12pt,fleqn,reqno]{article}
\usepackage{amsfonts,amsmath,amssymb,amsthm}
\usepackage{adjustbox}			% Use \adjincludegraphics with vertical alignment in place of \includegraphics
\begin{document}
\thispagestyle{empty}
\adjincludegraphics[scale=0.2,valign=t]{Review Test 1 Limits.JPG}
\end{document}
Attachments
MWE.pdf
(20.5 KiB) Downloaded 200 times
MWE.log
(9.07 KiB) Downloaded 276 times
Review Test 1 Limits.JPG
Review Test 1 Limits.JPG (9.66 KiB) Viewed 2415 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Found file is reported not found

Post by Stefan Kottwitz »

The problems are the spaces / blanks in the file name.

Either avoid spaces there, or include the grffile package which fixes that traditional TeX restriction:

\usepackage{grffile}

Stefan
LaTeX.org admin
Post Reply