Archived
1
0

Use includepdf TOC handling by default

This commit is contained in:
Jip J. Dekker 2016-04-17 12:09:59 +02:00
parent f90d3dbd3c
commit 573d863595

View File

@ -92,6 +92,4 @@ const titleTempl = `\maketitle`
const categoryTempl = `\chapter{{printf "{"}}{{ . }}{{printf "}"}}\newpage`
const scoreTempl = `\phantomsection
\addcontentsline{toc}{section}{{printf "{"}}{{ .Name }}{{printf "}"}}
\includepdf[pages=-]{{printf "{"}}{{.OutputPath}}{{printf "}"}}`
const scoreTempl = `\includepdf[addtotoc={1,section,1,{{ printf "{%s}" .Name }},}, pages=-]{{printf "{%s}" .OutputPath}}`