%
bibtexdiv = "bibtex-#{LabMetadata.shortname_for(pub).gsub(/:/,"")}"
links = [
"bibtex"
];
links = (
pub.fetch("urls", []).
to_a.
map {|r,url| "#{r}"}
) + links
%>
<%= pub["title"] %>
<%= pub["authors"].map { |author| LabMetadata::link_for author }.join(", ") %>
<% if pub.has_key? "notes" %>
<% pub["notes"].each do |note| %>
<%= note %>
<% end %>
<% end %>
<%= pub["venue"] %> <%= pub["year"] %>
<%
type = LabMetadata.complete_venue(pub)["type"]
case type
when nil, "conference", "journal" then "ignore"
when "techreport" then %>(Tech Report)<%
else %>(<%= type.capitalize %>)<%
end
%> [ <%= links.join(" | ") %> ]
<%= LabMetadata.bibtex_for pub %>