This post is from Stefan Lankes. It helped me to show my publications on this website. Here it is:

I have migrated my blog from Wordpress to Jekyll. Jekyll is the better choice for my workflow and there exist quite a few nice open source themes. For instance, jekyllthemes.org provides a collection of great themes. I like the themes from Michael Rose and use his theme Minimal Mistakes as a base for this blog.

For the migration, I used the guideline from PullReview. However, my publication list presented a real challenge. Nearly all my papers are written in LaTeX. Consequently, I maintain my publications with a BibTeX file and I want to automatically generate my publication list from this file. Jekyll-Scholar was able to close this gap.

I already mentioned that I use Minimal Mistakes as a base for this blog. In its gem configuration file (Gemfile) I attached the following for Jekyll-Scholar:

gem 'jekyll-scholar'


If you use Bundler, you are now able to update your system to the latest versions of Jekyll-Scholar. To enable it, I created the file ext.rb in the plugin directory (_plugins) with the following statement:

require 'jekyll/scholar'


In the configuration file (_config.yml) of my web site, I attached the following Jekyll-Scholar settings:

scholar:
style: assets/bibliography/ieee-with-url.csl
locale: en

sort_by: year
order: descending
bibliography_list_tag: ul

source: _bibliography
repository: pdf
bibliography: references
bibliography_template: bibliography

replace_strings: true

details_dir:    bibliography
details_layout: bibtex.html

query: "@*"


In this settings, the value of source describes the location and the value of references the name of my BibTeX file. According to my settings, I put my BibTeX file with the name references.bib in the directory _bibliography. As citation style I used a modified version of ieee-with-url from the official repository for distribution of validated CSL citation styles, which I copied to the directory assets/bibliography/. I removed the citation number from this style, which is nonrelevant for my web site. The differences to the original are minimal and are shown as follows diff:

diff --git a/assets/bibliography/ieee-with-url.csl b/assets/bibliography/ieee-with-url.csl
index 08dbeb1..da17fb0 100755
--- a/assets/bibliography/ieee-with-url.csl
+++ b/assets/bibliography/ieee-with-url.csl
@@ -28,7 +28,7 @@
<category citation-format="numeric"/>
<category field="engineering"/>
<category field="generic-base"/>
-    <updated>2014-09-03T18:33:58+00:00</updated>
+    <updated>2012-10-18T22:38:43+00:00</updated>
</info>
<locale xml:lang="en">
@@ -220,7 +220,9 @@
<bibliography entry-spacing="0" second-field-align="flush">
<layout>
<!-- Citation Number -->
+<!--
<text variable="citation-number" prefix="[" suffix="]"/>
+-->
<!-- Author(s) -->
<text macro="author" suffix=", "/>
<!-- Rest of Citation -->


Furthermore, with the file bibtex.html I defined the layout of my publication list in the directory _layout. The current version of bibtex.html is shown below:

---Natascha McElhone
---
{{reference}}

<div id="{{key}}-materials">
<ul class="nav nav-pills">
{% if entry.abstract %}
<li><a data-toggle="collapse" href="#{{key}}-abstract">Abstract</a></li>
{% endif %}

<li><a data-toggle="collapse" href="javascript:toggleDiv('{{key}}-bibtex')">BibTeX</a></li>
<div id="{{key}}-bibtex" style="display:none;">
<pre class="collapse">{{entry.bibtex}}</pre>
</div>

{% endif %}
{% if entry.doi %}
<li>DOI: <a href="http://dx.doi.org/{{entry.doi}}">{{entry.doi}}</a></li>
{% endif %}
</ul>

{% if entry.abstract %}
<p id="{{key}}-abstract" class="collapse">{{entry.abstract}}</p>
{% endif %}

</div>


The final step was to write a markdown file with the description of the web site, which contains the publication list. In my case, I sorted the list by the year of publication. Consequently, I had to query the bibliography for every year. The first half of the file looks as follows:

---
layout: page
title: "Publications"
date: 2013-04-08
excerpt:
share: false
---

### 2013

{% bibliography --query @*[year=2013] %}

### 2012

{% bibliography --query @*[year=2012] %}


The rest of the file is an iteration over the years. The final result is a publication list as follows:

### 2013

1. Ghassany, M., Grozavu, N., and Bennani, Y. 2013. Collaborative Multi-View Clustering. The 2013 International Joint Conference on Neural Networks, IJCNN13, Dallas, USA.
2. Ghassany, M. 2013. Contributions to Collaborative Clustering. .

### 2012

1. Ghassany, M., Grozavu, N., and Bennani, Y. 2012. Collaborative Generative Topographic Mapping. Neural Information Processing: 19th International Conference, ICONIP 2012, Doha, Qatar.
2. Ghassany, M., Grozavu, N., and Bennani, Y. 2012. Collaborative Clustering Using Prototype-Based Techniques. International Journal of Computational Intelligence and Applications 11.

The aim of collaborative clustering is to reveal the common structure of data distributed on different sites. In this paper, we present a formalism of topological collaborative clustering using prototype-based clustering techniques; in particular we formulate our approach using Kohonen’s Self-Organizing Maps. Maps representing different sites could collaborate without recourse to the original data, preserving their privacy. We present two different approaches of collaborative clustering: horizontal and vertical. The strength of collaboration (confidence exchange) between each pair of datasets is determined by a parameter, we call coefficient of collaboration, to be estimated iteratively during the collaboration phase using a gradient-based optimization, for both the approaches. The proposed approaches have been validated on several datasets and experimental results have shown very promising performance.

In principle, this is an extremly simple approach to generating a publication list. Unfortunately, Jekyll-Scholar isn’t supported by GitHub pages. I hope that this will change in the future…