Hi,
Is it possible to use the `input` command in a template file to add custom definitions from another LaTeX file ?
Here is my main template file:
```
\documentclass[10pt, a4paper]{report}
\input{path/my-other-file}
\begin{document}
$body$
\end{document}
```
The input file looks like this :
```
$if(title)$
\def\theTitle{$title$}
$else$
\def\theTitle{The title}
$endif$
```
When running, I have the following error :
```
! LaTeX Error: Missing \begin{document}.
```
Are input files supported in templates ?
Thanks in advance,
Regards
Christopher