Skip to content

Commit d9c2e9a

Browse files
authored
Update bibtex.html
1 parent 42e099d commit d9c2e9a

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

_includes/bibere/bibtex.html

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,4 @@
11
{%- assign paper = site.data.bibere.papers[include.pid] -%}
22
{%- if paper -%}
3-
@{%- include bibere/bibtex-entry-type.html type=paper.type -%} { {{-include.pid-}},
4-
author = {
5-
{%- for a in paper.authors -%}
6-
{%- assign author = site.data.bibere.authors[a] -%}
7-
{%- if author -%}
8-
{%- if a == include.mainAuthor -%}
9-
{\\textbf{ {{-author.name.first-}}}} {\\textbf{ {{-author.name.last-}} }}
10-
{%- else -%}
11-
{{ author.name.first }} {{ author.name.last }}
12-
{%- endif -%}
13-
{%- else -%}
14-
{{ a }}
15-
{%- endif -%}
16-
{% unless forloop.last == true %} and {% endunless %}
17-
{%- endfor -%}
18-
},
19-
title = { { {{- paper.title | strip_newlines -}} } },
20-
{% include bibere/bibtex-venue-title.html type=paper.type %} = {
21-
{%- assign venue = site.data.bibere.venues[paper.venue] -%}
22-
{%- if venue -%}
23-
{{ venue.name }}
24-
{%- else -%}
25-
{{ paper.venue }}
26-
{%- endif -%}
27-
},{% for field in paper.bibtex_fields %}
28-
{{ field[0] }} = { {{- field[1] -}} },{% endfor %}{% if paper.doi %}
29-
doi = { {{- paper.doi -}} },{% endif %}{% if paper.pages %}
30-
pages = { {{- paper.pages -}} },{% endif %}
31-
year = { {{- paper.year -}} }
32-
}
3+
{{ paper.raw_string }}
334
{%- endif -%}

0 commit comments

Comments
 (0)