-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
828 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Publications - books" | ||
title: "Books and book chapters" | ||
params: | ||
bibfiles: | ||
- "bibfiles/books.bib" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Publications - Journal" | ||
title: "Journal papers" | ||
params: | ||
bibfiles: | ||
- "bibfiles/journal.bib" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Publications - talks" | ||
title: "Invited talks" | ||
params: | ||
bibfiles: | ||
- "bibfiles/talks.bib" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: "Technical reports" | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Publications - theses" | ||
title: "Msc and PhD Theses" | ||
params: | ||
bibfiles: | ||
- "bibfiles/theses.bib" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
var bibtex_reader = new BibtexDisplay(); | ||
var constraints = {}; | ||
|
||
function add_handler(entry, value) { | ||
$(".bibtex_template").hide(); | ||
if (value == 'all') delete constraints[entry]; | ||
else constraints[entry] = value; | ||
bibtex_reader.displayBibtex($("#bibtex_input").val(), $("#bibtex_display"), constraints); | ||
if (typeof _altmetric != 'undefined') _altmetric.embed_init(); | ||
} | ||
|
||
function add_projects() { | ||
var projects = bibtex_reader.get_projects($("#bibtex_input").val(), constraints); | ||
var n = 0; | ||
$.each(projects, function (key, value) { | ||
$('.projects').append('<button class="btn btn-normal btn-projects" type="button" value="' + key + '">' + key + ' <span class="badge">' + value + '</span></button>'); | ||
n++; | ||
}); | ||
if (n == 0) return; | ||
$('.btn-projects').click(function() { | ||
add_handler('PROJECT', $(this).val()); | ||
}); | ||
$('.projects').removeClass('hide'); | ||
} | ||
|
||
function add_years() { | ||
var years = bibtex_reader.get_years($("#bibtex_input").val(), constraints); | ||
var n = 0; | ||
$.each(years, function (key, value) { | ||
$('.years').append('<button class="btn btn-primary btn-years" type="button" value="' + key + '"> ' + key + ' <span class="badge">' + value + '</span></button>'); | ||
n++; | ||
}); | ||
if (n == 0) return; | ||
$('.btn-years').click(function() { | ||
add_handler('YEAR', $(this).val()); | ||
}); | ||
$('.years').removeClass('hide'); | ||
} | ||
|
||
function my_bibtex_js_draw() { | ||
$(".bibtex_template").hide(); | ||
bibtex_reader.displayBibtex($("#bibtex_input").val(), $("#bibtex_display"), constraints); | ||
add_projects(); | ||
add_years(); | ||
} |
Oops, something went wrong.