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