Sorry that the code is not a minimal working sample. I just realized that it is a bit big.
I don´t have any smaler however, and I don´t know enough to make it smaler I´m afraid.
Hope someone can help however
Of course. I have attached a *.zip file with the files I am using. I use a template created by another person, and all the declarations are defined in the cls-file. When I write \input{test.tex} in the sample3.tex file, and compile it, you can see the result in section 1.2 where the ...
I have a question concerning the \input{} command.
When I wish to include a subfile, called example.tex in my main file, and the subfile looks something like this, %%%%%%%%%%%%%%%%%%%%%%%%% \section{Example} Text.......... \subsection{Another example} Text ...