I\'ve been playing around with Pandoc.
Is there anyway to insert pages before the generated Table of Contents?
For example:
None of these solutions worked for me, and one top-level comment suggested using Pandoc templates without details. So here's a simple fix.
Download the default Pandoc template from here: https://github.com/jgm/pandoc-templates, e.g. I used default.tex but renamed it template.tex.
Modify the template to insert additional content, create new pages, etc. e.g.:
\input{title.tex}
\newpage
\input{acknowledgements.tex}
\newpage
$if(toc)$
$if(toc-title)$
\renewcommand*\contentsname{$toc-title$}
$endif$
\newpage
Use this modified template rather than the default template, e.g.
pandoc --template=template.tex -o document.pdf document.tex`.
That's it.