You are using a babel language that gives "
a special shorthand meaning which is confusing \input
. It is simplest not to use spaces in file names then you can just remove "
\input{"Bibliography.tex"}
should be simply
\input{Bibliography}
If you must use spaces in file names for some reason then you can probably do
\input{\string"Argument of Expert Opinion.tex\string"}
Here is a complete example of the input/include command at work:
The example consists of 3 files in a folder structure as follows:
[Parent Folder]
|
+-- file1.tex
|
+-- fig.jpg
|
+-- [folder]
|
+-file2.tex
fig.jpg
is just an ordinary jpg image file. The contents of file1.tex
are as follows:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\input{folder/file2.tex}
\end{document}
Note the inclusion of the (relative) path as well as the filename of file2.tex
.
The contents of file2.tex are
\includegraphics{fig.jpg}
Note that file2.tex
does not have its own preamble, document class, \begin{document}
etc.
Think of \input
as having a similar effect to you manually copying and pasting whatever is in file2.tex
into file1.tex
: no need to include anything you wouldn't want to copy in this fashion. Following through this copying/pasting logic: note also that the path to fig.jpg
needs to be relative to file1.tex
, not file2.tex
. Since fig.jpg
is in the same folder as file1.tex
this means that we don't have to specify any path.
Saving this file/folder structure and compiling file1.tex
results in a document with fig.jpg
included in it.
Best Answer
\input{filename}
imports the commands fromfilename.tex
into the target file; it's equivalent to typing all the commands fromfilename.tex
right into the current file where the\input
line is.\include{filename}
essentially does a\clearpage
before and after\input{filename}
, together with some magic to switch to another.aux
file, and omits the inclusion at all if you have an\includeonly
without the filename in the argument. This is primarily useful when you have a big project on a slow computer; changing one of the include targets won't force you to regenerate the outputs of all the rest.\include{filename}
gets you the speed bonus, but it also can't be nested, can't appear in the preamble, and forces page breaks around the included text.