Presentations,  {{ latex_safe(pi['name']).upper() }}

{% for pres in presentations %}{{ latex_safe(pres['authors'])}}, {{ latex_safe(sentencecase(pres['title']))}},{%set inst = pres['institution'] %}{%if pres['type'] in ['colloquium', 'seminar']%} {{ latex_safe(pres['type']).title()}}, {{ latex_safe(pres['department']['name'])}}, {{ latex_safe(inst['name'])}}, {{ latex_safe(inst['city'])}}{%if inst.get("state")%} {{ latex_safe(inst['state'])}}, {%endif%}{% if inst.get('country','USA') not in ['USA', 'usa'] %}, {{ latex_safe(inst['country'])}}{%endif %}{%else%} {{ latex_safe(pres['meeting_name'])}}, {{ latex_safe(pres['location'])}}{%endif %}{%if pres['webinar'] in ['true', true]%} (Webinar){%endif %}, {{ latex_safe(monthstyle.get(pres['begin_month'],'None'))}} {{pres['begin_day']}}{%if not pres['end_day'] or pres['end_day'] == pres['begin_day']%}{{ pres['begin_day_suffix']}}{%else %}--{{ pres['end_day']}}{{ pres['end_day_suffix'] }}{%endif %} ({{ pres['begin_year'] }}).
{% endfor %}
