Skip to content

Commit

Permalink
update layout and organization of publications
Browse files Browse the repository at this point in the history
  • Loading branch information
gherardovarando committed May 10, 2024
1 parent 1847de6 commit c2ffb0f
Show file tree
Hide file tree
Showing 29 changed files with 11,502 additions and 636 deletions.
451 changes: 451 additions & 0 deletions assets/bibfiles/books.bib

Large diffs are not rendered by default.

5,147 changes: 5,147 additions & 0 deletions assets/bibfiles/conferences.bib

Large diffs are not rendered by default.

3,964 changes: 3,964 additions & 0 deletions assets/bibfiles/journal.bib

Large diffs are not rendered by default.

1,098 changes: 1,098 additions & 0 deletions assets/bibfiles/talks.bib

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions assets/bibfiles/theses.bib

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/people/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
title: people
title: People
---
10 changes: 10 additions & 0 deletions content/publications/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Publications
params:
bibfiles:
- "bibfiles/books.bib"
- "bibfiles/conferences.bib"
- "bibfiles/journal.bib"
- "bibfiles/talks.bib"
- "bibfiles/theses.bib"
---
6 changes: 6 additions & 0 deletions content/publications/books.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Publications - books"
params:
bibfiles:
- "bibfiles/books.bib"
---
4 changes: 0 additions & 4 deletions content/publications/books/_index.md

This file was deleted.

6 changes: 6 additions & 0 deletions content/publications/conferences.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Publications - conferences"
params:
bibfiles:
- "bibfiles/conferences.bib"
---
4 changes: 0 additions & 4 deletions content/publications/conferences/_index.md

This file was deleted.

6 changes: 6 additions & 0 deletions content/publications/journals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Publications - Journal"
params:
bibfiles:
- "bibfiles/journal.bib"
---
4 changes: 0 additions & 4 deletions content/publications/journals/_index.md

This file was deleted.

6 changes: 6 additions & 0 deletions content/publications/talks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Publications - talks"
params:
bibfiles:
- "bibfiles/talks.bib"
---
4 changes: 0 additions & 4 deletions content/publications/talks/_index.md

This file was deleted.

4 changes: 0 additions & 4 deletions content/publications/technical_reports/_index.md

This file was deleted.

6 changes: 6 additions & 0 deletions content/publications/theses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Publications - theses"
params:
bibfiles:
- "bibfiles/theses.bib"
---
4 changes: 0 additions & 4 deletions content/publications/theses/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ theme = "isp_uv"

[[menu.main]]
name = "Publications"
url = "/publications/journals"
url = "/publications/"
weight = 6
[[menu.main]]
parent = "Publications"
Expand Down
21 changes: 21 additions & 0 deletions static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -443,3 +443,24 @@ a.list-group-item, button.list-group-item {
border: 1px solid #ddd;
}



div.bibtexout {
background: #f4f4f4;
border: 1px solid #ddd;
border-left: 3px solid #268BD2;
color: #666;
page-break-inside: avoid;
font-family: monospace;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}

div.bibtexout.closed {
display: none;
}
148 changes: 148 additions & 0 deletions themes/isp_uv/layouts/partials/biblio.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/pcooksey/[email protected]/src/bibtex_js.min.js"></script>

{{ range .bibfiles }}
<bibtex src="{{ . }}"></bibtex>
{{ end }}

<div class="bibtex_structure">
<div class="sections bibtextypekey">
<div class="section misc|techreport">
<h2>preprint</h2>
<div class="sort year" extra="DESC number">
<div class="templates"></div>
</div>
</div>
<div class="section article">
<h2>journal papers</h2>
<div class="sort year" extra="DESC number">
<div class="templates"></div>
</div>
</div>
<div class="section inproceedings">
<h2>conference and workshop papers</h2>
<div class="sort year" extra="DESC number">
<div class="templates"></div>
</div>
</div>
<div class="section book">
<h2>books</h2>
<div class="sort year" extra="DESC number">
<div class="templates"></div>
</div>
</div>
<div class="section phdthesis|mastersthesis|bachelorsthesis">
<h2>other publications</h2>
<div class="sort year" extra="DESC number">
<div class="templates"></div>
</div>
</div>
</div>
</div>

{{ if .search }}
<select class="bibtex_search"
search="bibtextypekey">
<option value="">Select type</option>
<option value="ARTICLE">journal</option>
<option value="INPROCEEDINGS">conference, workshop</option>
<option value="PHDTHESIS"> phd thesis</option>
<option value="MASTERTHESIS"> master thesis</option>
<option value="TECHREPORT"> tech reports</option>
<option value="BOOK"> books</option>
<option value="MANUAL"> manuals</option>
<option value="MISC"> slides, notes</option>
<option value="UNPUBLISHED"> draft, in preparation </option>
</select>
<select class="bibtex_search bibtex_generate_author" search="author">
<option value="">All Authors</option>
</select>
<select class="bibtex_search bibtex_generate_projects" search="projects">
<option value="">Search projects</option>
</select>
<input type="text" class="bibtex_search" id="searchbar" placeholder="Search publications">
{{ end }}

<div id="bibtex_display">
<div class="bibtex_template" style="display:none;">
<ul reversed>
<li>
<span>
<span class="bibtextypekey" style="display:none;"></span>
<span class="if title" style="font-weight: bold;">
<span class="title"></span>
</span>
<div class="if author"><span class="author"></span></div>
<span class="if booktitle">
<em><span class="booktitle"></span></em>,
<span class="if address">
<span class="address"></span>
</span>
</span>
<span class="if journal" style="font-style: italic;">
<em><span class="journal"></span></em>
</span>
<span class="if publisher">
<span class="publisher"></span>
</span>
<span class="if school">
<span class="school"></span>
</span>
<span class="if volume">
<span class="volume"></span>
<span class="if number">(<span class="number"></span>)</span>
<span class="if pages">:<span class="pages"></span>,
</span>
</span>
<span class="if edition">
<span class="edition"></span> ed.,
</span><span class="year"></span>
</span>
<span class="if url">
| <a class="bibtexVar" href="+URL+" extra="url">
<span class='url'>"+URL+"</span>
</a>
</span>
<span class="if doi">
| <a class="bibtexVar" href="http://dx.doi.org/+DOI+" extra="doi">
<span class='doi'></span>
</a>
</span>
<span class="if eprint">
| <span class="if eprinttype==arXiv || archivePrefix==arXiv">
<a class="bibtexVar" href="https://arxiv.org/abs/+EPRINT+" extra="eprint">
arXiv:<span class='eprint'></span>
</a>
</span>
</span>
<span class="if pdf">
| <a class="pdf">
pdf
</a>
</span>
<span class="if projects || project">
| <span class="projects"> </span>
<span class="project"> </span>
</span>
<div>
<button class = "bibtexVar" extra = "bibtexkey"
bibtexjs-css-escape
onclick="toggle(this)">bibtex</button>
<div class="bibtexout closed">
<span class="bibtexraw"> </span>
</div>
</div>
</li>
</ul>
</div>

<script>
function toggle(obj){
obj2 = obj.nextElementSibling
if(obj2.classList.contains("closed")){
obj2.classList.remove("closed")
}else{
obj2.classList.add("closed")
}
}
</script>

121 changes: 0 additions & 121 deletions themes/isp_uv/layouts/publications/books/list.html

This file was deleted.

Loading

0 comments on commit c2ffb0f

Please sign in to comment.