diff options
Diffstat (limited to 'Smarker/templates')
| -rw-r--r-- | Smarker/templates/tex.jinja2 | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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 *))
 | 
