{% if paper.paper_type == 'Published Paper' %}@Article{ {% else %}@Misc{ {% endif %}
  {{ paper.code }},
  author = { {% for author in paper.authors.all() %}{{ author.lastname }}, {{ author.firstname }}{% if not loop.last %} and {% endif %}{% endfor %} },
  title = { {{ paper.title }} },
  journal = { {{ paper.journal }} },
  year = { {{ paper.year }} },{% if paper.doi %}
  doi = { {{ paper.doi }} },{% endif %}{% if paper.volume %}
  volume = { {{ paper.volume }} },{% endif %}{% if paper.number %}
  number = { {{ paper.number }} },{% endif %}
  pages = { {{ paper.pages }} },
  URL = { {{ paper.absolute_url() }} },
  note = { {{ settings.SITE_NAME }} preprint}
}
