From edbd58ef1781f6d2ae433c9b40ea85c01d90abe9 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 17 Jul 2022 18:00:19 +0200 Subject: [PATCH] tmpl(tex): include -> input to fix nesting issues --- report/allpics.tmpl | 3 ++- report/alltables.tmpl | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/report/allpics.tmpl b/report/allpics.tmpl index ffe8bf3..fabb20c 100644 --- a/report/allpics.tmpl +++ b/report/allpics.tmpl @@ -9,7 +9,8 @@ {{ range $i, $v := .AllPics.TexFiles }} \section{Algo: {{ $v.Algo -}} } {{- range $j, $u := $v.FilePaths }} -\include{ {{- $u -}} } +\input{ {{- $u -}} } +\newpage {{- end }} {{ end -}} diff --git a/report/alltables.tmpl b/report/alltables.tmpl index f2e4bda..f07a9f5 100644 --- a/report/alltables.tmpl +++ b/report/alltables.tmpl @@ -10,8 +10,10 @@ \section{Per-algo benchmark comparison statistics} {{ range $i, $v := .AllTables.TexFiles }} {{- range $j, $u := $v.FilePaths }} -\include{ {{- $u -}} } +\input{ {{- $u -}} } +\newpage {{- end -}} {{ end }} +\newpage % vim: ft=gotexttmpl.tex ts=2 sts=2 sw=2 bs=2 expandtab