inukshuk / jekyll-scholar

jekyll extensions for the blogging scholar
MIT License
1.13k stars 101 forks source link

Order in bibliography and cite numbers #235

Open kellertuer opened 6 years ago

kellertuer commented 6 years ago

I just noticed something strange.

If I have a kramdown file with the following content

If I cite first Karcher {% cite Ka77 --file mvirt%} and then Afsari {% cite Af11 --file mvirt %}
### References
<div class="references">
    {% bibliography --file mvirt --cited --sorty-by author %}
</div>

any of my styles (numeric) lists Afsari as [1] and Karcher as [2], but in the text Karcher is cited as [1] (but linking to the correct second entry with the right key) and Afasri as [2].

Is that my fault somewhere?

inukshuk commented 6 years ago

Possibly answered in #44

kellertuer commented 6 years ago

Well – nearly. Only, that I want the fix the other way around. I like the alphabetical order in the references, so I would like to have Karcher (though being mentioned first) to get [2] and Afsari to get [1] (though cited second, but he's first in the alphabetical list). This order is usual in my field (mathematics) so I would like to keep it on my homepage.