Use includepdf TOC handling by default
This commit is contained in:
parent
f90d3dbd3c
commit
573d863595
@ -92,6 +92,4 @@ const titleTempl = `\maketitle`
|
|||||||
|
|
||||||
const categoryTempl = `\chapter{{printf "{"}}{{ . }}{{printf "}"}}\newpage`
|
const categoryTempl = `\chapter{{printf "{"}}{{ . }}{{printf "}"}}\newpage`
|
||||||
|
|
||||||
const scoreTempl = `\phantomsection
|
const scoreTempl = `\includepdf[addtotoc={1,section,1,{{ printf "{%s}" .Name }},}, pages=-]{{printf "{%s}" .OutputPath}}`
|
||||||
\addcontentsline{toc}{section}{{printf "{"}}{{ .Name }}{{printf "}"}}
|
|
||||||
\includepdf[pages=-]{{printf "{"}}{{.OutputPath}}{{printf "}"}}`
|
|
||||||
|
Reference in New Issue
Block a user