{%- import 'macros.tex' as macros %} {%- include 'head.tex' %} {%- include 'titlepage.tex' %} \tableofcontents \newpage {%- for uid in data.uid_list_sorted %} {% with item=data.item_dict[uid] %} {%- if item.system_type_uid == '_4-K5EHYYEem_kd-7nxt1sg' %} \section{ {{macros.latex_filter(item.Heading)}} } {%- elif item.system_type_uid == '_MR7eNHYYEem_kd-7nxt1sg' %} \subsection{\xspace{}{{ item.ID }}: {{ macros.latex_filter(item.Heading) }} } {%- if 'Description' in item and item.Description != '' %} {{ item.Description }} {%- if 'ReasonForImplementation' in item and item.ReasonForImplementation != '' or 'Fitcriterion' in item and item.Fitcriterion != ''%} \begin{tabu}{lX} \toprule {%- if 'ReasonForImplementation' in item and item.ReasonForImplementation != '' %} \emph{Reason} & {{ item.ReasonForImplementation }}\\ {%- endif %} {%- if 'Fitcriterion' in item and item.Fitcriterion != '' %} \emph{Fitcriterion} & {{ item.Fitcriterion }}\\ {%- endif %} \bottomrule \end{tabu} {%- endif %} {%- endif %} {%- endif %} {% endwith %} {%- endfor %} {% include 'foot.tex' %}