-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbib.html
More file actions
125 lines (117 loc) · 3.84 KB
/
bib.html
File metadata and controls
125 lines (117 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
---
{% if entry.abbr %}
{% if site.data.venues[entry.abbr] %}
<abbr>[<a href="{{site.data.venues[entry.abbr].url}}" target="_blank">{{entry.abbr}}</a>]</abbr>
{% else %}
<abbr>[{{entry.abbr}}]</abbr>
{% endif %}
{% endif %}
<div id="{{entry.key}}">
{% if entry.type == "thesis" %}
{{reference}}
{% else %}
<span class="title">{{entry.title}}</span>
<span class="author">
{% for author in entry.author_array %}
{%- assign author_last_name = author.last | remove: "¶" | remove: "&" | remove: "*" | remove: "†" | remove: "^" -%}
{%- assign labmember_url = nil -%}
{%- if site.data.labmembers[author_last_name] -%}
{%- for labmember in site.data.labmembers[author_last_name] -%}
{%- if labmember.firstname contains author.first -%}
{%- assign labmember_url = labmember.url -%}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- if forloop.length > 1 -%}
{%- if forloop.first == false -%}, {%- endif -%}
{%- if forloop.last and author_array_limit == author_array_size -%}and {%- endif -%}
{%- endif -%}
{%- if author_is_self -%}
<em>{{author.first}} {{author.last}}</em>
{%- else -%}
{%- if labmember_url -%}
<a href="{{labmember_url}}">{{author.first}} {{author.last}}</a>
{%- else -%}
{{author.first}} {{author.last}}
{%- endif -%}
{%- endif -%}
{% endfor %}
</span>
<span class="periodical">
{% if entry.type == "article" %}
<em>{{entry.journal}}</em>.
{% elsif entry.type == "inproceedings" %}
In <em>{{entry.booktitle}}</em>.
{% if entry.editor %}
Ed. {{entry.editor}}.
{% endif %}
{% elsif entry.howpublished %}
{{entry.howpublished}}.
{% endif %}
{% if entry.pages %}
{{entry.pages}}.
{% endif %}
{% if entry.publisher %}
{{entry.publisher}}.
{% endif %}
{% if entry.address %}
{{entry.address}}.
{% endif %}
{% if entry.day %}
{{entry.day}}
{% endif %}
{% if entry.month %}
{{entry.month | capitalize }},
{% endif %}
{% if entry.year %}
{{entry.year}}.
{% endif %}
{% if entry.note %}
{{entry.note}}.
{% endif %}
</span>
{% endif %}
<span class="links">
{% if entry.abstract %}
[<a class="abstract">abstract</a>]
{% endif %}
{% if entry.doi %}
[<a href="http://doi.org/{{ entry.doi }}" target="_blank">DOI</a>]
{% endif %}
{% if entry.arxiv %}
[<a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">arXiv</a>]
{% endif %}
{% if entry.lingbuzz %}
[<a href="https://ling.auf.net/lingbuzz/{{ entry.lingbuzz }}" target="_blank">lingbuzz</a>]
{% endif %}
{% if entry.url %}
[<a href="{{ entry.url }}" target="_blank">link</a>]
{% endif %}
{% if entry.preprint %}
[<a href="{{ entry.preprint }}" target="_blank">preprint</a>]
{% endif %}
{% if entry.html %}
[<a href="{{ entry.html }}" target="_blank">HTML</a>]
{% endif %}
{% if entry.pdf %}
[<a href="{{ entry.pdf | prepend: '/assets/pdfs/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">pdf</a>]
{% endif %}
{% if entry.poster %}
[<a href="{{ entry.poster | prepend: '/assets/pdfs/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">poster</a>]
{% endif %}
{% if entry.slides %}
[<a href="{{ entry.slides | prepend: '/assets/pdfs/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">slides</a>]
{% endif %}
{% if entry.code %}
[<a href="{{ entry.code }}" target="_blank">code</a>]
{% endif %}
</span>
<!-- Hidden abstract block -->
{% if entry.abstract %}
<span class="abstract hidden">
<p>{{ entry.abstract }}</p>
</span>
{% endif %}
</div>