Commit 22d2c30a authored by Sylvester Keil's avatar Sylvester Keil

added sort by year example

#1
parent 545be7fe
Feature: Sorting BibTeX Bibliographies
As a scholar who likes to blog
I want to sort my bibliographies according to configurable parameters
Scenario: Sort Bibliography by Year
Given I have a configuration file with "citation_sort_order" set to "year"
And I have a page "references.bib":
"""
---
---
@book{ruby,
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
}
@book{ruby,
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2007},
publisher = {O'Reilly Media}
}
"""
When I run jekyll
And I should see "\(2007\)\.+\(2008\)" in "_site/references.html"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment