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

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d9620980-3826-44fa-88a3-f6fa071f06b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.