I'm trying bibulous to make custom formatted references. In fact, I'm aiming for a small modification of the
amsplain bibtex style. That style sorts all appearing references alphabetically and numbers them alphabetically. I'm unable to reproduce this behaviour with bibulous. The relevant options are
sortkey. Basically the
citelabel should be 'numerical in alphabetical order' and
sortkey should be equal to
<citelabel>. The best approximation I can get is the following which sorts alphabetically, but also puts alphabetically composed labels.
TEMPLATES: article = <au>, <title>, <journal> <volume> (<year>) <startpage> -- <endpage>. SPECIAL-TEMPLATES: authorlist = <author.to_namelist()> editorlist = <editor.to_namelist()> authorname.n = [<authorlist.n.prefix> ]<authorlist.n.last>[ <authorlist.n.first.initial()>.][ <authorlist.n.middle.initial()>.][, <authorlist.n.suffix>.] au = <authorname.0>, ..., <authorname.9> ed = [<editorlist.0.first.initial()>. ][ <editorlist.0.middle.initial()>. ][<editorlist.0.prefix> ]<editorlist.0.last>[, <editorlist.0.suffix>.] citelabel = <citealpha> sortkey = <citelabel>
If I change
<citenum> then the references are numbered in the order of appearance in the document, which I don't want.
Please don't suggest bibtex solutions, I know they exist, but I want to solve this with bibulous.