{%- import 'macros.tex' as macros %} {{ '\\%s{%s}' % (sectype, macros.latex_filter(item.heading))}} {%- if 'description' in item and item.description != '' %} {{ item.description }} {%- endif %}