Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
5.96k stars 954 forks source link

toc-own-page: true - not working #359

Closed jithurbide-CPNV closed 9 months ago

jithurbide-CPNV commented 10 months ago

Hello,

I setup the template on m page with "toc-own-page: true". No new page after table of content. Did I setup something wrong. Here are my setup :


title:SQL1 author: me keywords: [DataBase, MLD, SQL1] subtitle: "Bonne pratique du MLD" lang: "fr" toc-own-page: true titlepage: true titlepage-logo: "./images/logo.png" logo: "./images/logo-small.png" header-right: "XXXX-ES"

Ci7rix commented 9 months ago

You have to enable the TOC in the document options as follows :

---
title: SQL1
author: me
keywords: [DataBase, MLD, SQL1]
subtitle: "Bonne pratique du MLD"
lang: "fr"
toc: true
toc-own-page: true
titlepage: true
titlepage-logo: "./images/logo.png"
logo: "./images/logo-small.png"
header-right: "XXXX-ES"
...

Nice to see that the CPNV is using MarkDown ;-)

jithurbide-CPNV commented 9 months ago

it's working with : toc: true