Graphics, Figures & Tables ⇒ Including JPG in .tex file error
Including JPG in .tex file error
I would like to include a jpg file in a .tex file.
I'm using MikTex and TeXnicCenter on Windows 7 x64.
I use the following commands:
\usepackage{graphicx}
\rohead[{\includegraphics[scale=0.3]{fhlogo.JPG}}]{\includegraphics[scale=0.3]{fhlogo.JPG}}
The file "fhlogo.JPG" is located in the same directory of the .tex File.
When I start the command line as an Administrator and navigate to the Directory where "pdflatex.exe" is located I use the following command:
C:\PATH>pdflatex.exe C:\PathToTexFile\file.tex
Aftere somme procedures I receive the following error:
"! Package pdftex.def Error: File `fhlogo.JPG' not found."
First I had included the grapics without the .JPG in the command, same Error occured.
I hope that you can help.
Thanks a lot.
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
Re: Including JPG in .tex file error
A friend told me that it must have something to do with MikTex. Has anyone got a solution?
greetings
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Including JPG in .tex file error
Re: Including JPG in .tex file error
greetings
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm