Hi,
I divided my work into sub-files, each sub-file has chapter. At the title page I put a figure and it works very good, but when I compile the whole file I get an error that your figure is not exist.
Thank You
Graphics, Figures & Tables ⇒ Error Report about nonexisting File
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Error Report about nonexisting File
Hi,
perhaps provide some more information, such as if you use subfolders and how. Perhaps add the .log file as attachment to a post here.
Stefan
perhaps provide some more information, such as if you use subfolders and how. Perhaps add the .log file as attachment to a post here.
Stefan
LaTeX.org admin
Re: Error Report about nonexisting File
Thank You.
Sorry, I did not understand you. Yes, I use subfolders.
Sorry, I did not understand you. Yes, I use subfolders.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Error Report about nonexisting File
Ensure that the figure file can be found by specifying the correct file name, if needed also the (possible relative) path to a folder or subfolder. If you just use
Perhaps we can tell more if you provide further information, such as
\includegraphics
without a path, just the picture name, it has to be in the same folder as your main document, not in a subfolder.Perhaps we can tell more if you provide further information, such as
- Code lines for including
- Subfolder structure - where are pictures, where is the main .tex document
- .log file as attachment
LaTeX.org admin
Re: Error Report about nonexisting File
My situation is like:
The father folder contains the following folders
main folder
preface folder
titlepage folder
chapter one folder.
Each folder contains its own .tex file and figures. I use subfiles,
for example in the main file I put
\subfile{../titlepage/titlepage}
\subfile{../preface/preface}
and so on.
In the children files I use
\documentclass[../mainfolder/main.tex]{subfiles}.
Now, when I compile the titlepage file alone it works very well but I get the problem when I compile the main file.
The figures are put in the same (titlepage) folder and the problem is not here.
I hope that my question is clear now.
Thank you very much.
The father folder contains the following folders
main folder
preface folder
titlepage folder
chapter one folder.
Each folder contains its own .tex file and figures. I use subfiles,
for example in the main file I put
\subfile{../titlepage/titlepage}
\subfile{../preface/preface}
and so on.
In the children files I use
\documentclass[../mainfolder/main.tex]{subfiles}.
Now, when I compile the titlepage file alone it works very well but I get the problem when I compile the main file.
The figures are put in the same (titlepage) folder and the problem is not here.
I hope that my question is clear now.
Thank you very much.