3
2
Simple markdown file, with YAML block:
---
title: Report
author: Tom Brown 12345678
date: August 2018
toc: true
numbersections: true
geometry: margin=2.5cm
urlcolor: blue
header-includes: |
\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{Draft Prepared: 15 August 2018}
\rfoot{Page \thepage}
---
When I create the PDF output, the title and ToC are on the same page. How can I get the title block on one page and the ToC on the next? I've searched high and low and cannot find a solution.
The above code only inserts a page-break between toc and content, not between title-block and toc. However, I agree that an alternative, non-YAML solution would be helpful: one could remove the
toc
entry from YAML and insert the\newpage{} \toc
directly into the document. – tarleb – 2018-12-17T19:50:00.080Thx, @tarleb, you are right. You are a sharp observer, and I overlooked something. – Kurt Pfeifle – 2018-12-17T21:52:04.517