Skip to content

Commit

Permalink
Changes to scripting to improve presentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrennd committed Feb 24, 2017
1 parent 36347f8 commit 81d7a05
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
5 changes: 3 additions & 2 deletions db/v4/saeys08a.bib
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@InProceedings{saeys08a,
title = {Best Agglomerative Ranked Subset for Feature Selection},
author = {Yvan Saeys and Huan Liu and I\~naki Inza and Louis Wehenkel and Yves {Van de Peer},
title = {Preface},
author = {Yvan Saeys and Huan Liu and I\~naki Inza and Louis Wehenkel and Yves {Van de Peer}},
pages = {1-4},
abstract = {Welcome to FSDM'08},
section = {preface},
pdf = {http://jmlr.org/proceedings/papers/v4/saeys08a/saeys08a.pdf},
}
4 changes: 3 additions & 1 deletion db/v6.bib
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
@proceedings{GuyonIJDSB2008,
editor = {Guyon, Isabelle and Janzing, Dominik and Sch\"{o}lkopf, Bernhard},
booktitle = {Causality: Objectives and Assessment (NIPS 2008 Workshop)},
booktitle = {Proceedings of Workshop on Causality: Objectives and Assessment at NIPS 2008},
name = {Causality: Objectives and Assessment},
series = {Journal of Machine Learning Research - Proceedings Track},
volume = {6},
year = {2008},
start = {2008-12-12},
end = {2008-12-12},
published = {2010-02-18},
address = {Whistler, Canada},
shortname = {COA},
bibsource = {http://jmlr.csail.mit.edu/proceedings/},
sections = {intro=Introduction|theory=Fundamentals and Algorithms|challenge=Challenge Contributions}
Expand Down
2 changes: 1 addition & 1 deletion ruby/bibliography.bib
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ @Proceedings{
series = {Proceedings of Machine Learning Research},
volume = {{ site.volume }}
{{c}}
{% assign sorted = (site.posts | sort: 'firstpage') %}
{% assign sorted = (site.posts | sort: 'order') %}
{% for post in sorted %}
{% capture id %}{{ post.id | remove_first: '/' }}{% endcapture %}
@InProceedings{{o}}{{ id }},
Expand Down
6 changes: 5 additions & 1 deletion ruby/bibtex2yaml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def bibtohash(obj, bib)
ha['comments'] = false
end
end

if ha.has_key?('sections')
sections = ha['sections'].split('|')
hasections = Array.new(sections.length)
Expand Down Expand Up @@ -107,6 +107,10 @@ def bibtohash(obj, bib)
if ha.has_key?('end')
ha['end'] = Date.parse ha['end']
end
if ha.has_key?('pages')
ha['order'] = pages[0].to_i
end

return ha
end

Expand Down
2 changes: 1 addition & 1 deletion ruby/citeproc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: null
---
{% assign sorted = (site.posts | sort: 'firstpage') %}{% for post in sorted %}{% capture id %}{{ post.id | remove_first: '/' }}{% endcapture %}
{% assign sorted = (site.posts | sort: 'order') %}{% for post in sorted %}{% capture id %}{{ post.id | remove_first: '/' }}{% endcapture %}
- title: "{{ post.title }}"
volume: {{ post.volume }}
URL: {{site.url}}{{site.baseurl}}{{ post.url }}{% if post.doi %}
Expand Down
4 changes: 2 additions & 2 deletions ruby/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2>Volume {{ site.volume }}: {{ site.conference.name }}, {% if days > 1 %}{% if
{% if site.sections %}
{% for section in site.sections %}
<h3 id="{{ section.name }}">{{ section.title }}</h3>
{% assign sorted = (site.posts | sort: 'firstpage') %}
{% assign sorted = (site.posts | sort: 'order') %}
{% for post in sorted %}
{% if section.name == post.section %}
{% include listpaper.html %}
Expand All @@ -48,7 +48,7 @@ <h3 id="{{ section.name }}">{{ section.title }}</h3>
{% endfor %}
{% endif %}
<dl>
{% assign sorted = (site.posts | sort: 'firstpage') %}
{% assign sorted = (site.posts | sort: 'order') %}
{% for post in sorted %}
{% unless post.section %}
{% include listpaper.html %}
Expand Down

0 comments on commit 81d7a05

Please sign in to comment.