{% load publication_extras %}{# Indentation is intended to produce a nicer HTML code #}{% if marker.sup %}{% endif %}{{ marker.open }}{% for range in references %}{% if marker.ranging and range|length > 2 %}{% with reference=range.0.0 publication=range.0.1 %}{{ reference }}{% endwith %}‑{% with citation=range|last %}{% with reference=citation.0 publication=citation.1 %}{{ reference }}{% endwith %}{% endwith %}{% else %}{% for reference, publication in range %}{% if not forloop.first %}{{ marker.separator|safe }}{% endif %}{{ reference }}{% endfor %}{% endif %}{% if not forloop.last %}{{ marker.separator|safe }}{% endif %}{% endfor %}{{ marker.close }}{% if marker.sup %}{% endif %}