From 80b5876ac8ce0322e0a5d821e51a1ce07fc95316 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 24 May 2022 17:36:08 +0100 Subject: Fixed bug in tex template, added alternative similarity metric, updated docs --- Smarker/templates/tex.jinja2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Smarker/templates/tex.jinja2') diff --git a/Smarker/templates/tex.jinja2 b/Smarker/templates/tex.jinja2 index 5985875..f4fac5b 100644 --- a/Smarker/templates/tex.jinja2 +++ b/Smarker/templates/tex.jinja2 @@ -203,6 +203,7 @@ breaklines=true \subsubsection{Runtime Analysis} ((* set flat_runtime = flatten_struct(files_contents["run"]) *)) + ((* if len_(flat_runtime) > 0 *)) \begin{itemize} ((* for cmd, runtime_contents in flat_runtime.items() *)) \item Command: \texttt{((( tex_escape(cmd) )))} @@ -231,6 +232,7 @@ breaklines=true ((*- endfor -*)) ((* endfor *)) \end{itemize} + ((* endif *)) ((* endif *)) ((* else *)) -- cgit v1.2.3