Closed andriusvelykis closed 10 years ago
Hmm, I would have thought this should work.
In any case, the old citeproc-ruby has been deprecated; there is major new release planned (probably this week). I don't know when I'll have time to update jekyll-scholar to use the new version, but hopefully soon.
You can already start playing around with the new citeproc engine. I'll put a quick example in a gist in a moment.
Gist is here: https://gist.github.com/inukshuk/8657987 Let me know when you need help!
Since this is under heavy development feedback is welcome!
Thanks for the quick reply! I hope to give useful feedback, however, my Ruby skills are non-existent.. I am more of a Java guy, but am using Jekyll so at least trying to "read" Ruby blindly.
Having no Ruby skills, I am not very comfortable building my own gems or submitting pull requests - though I could help with feedback and pointing out possible issues, if that is ok with you.
Good to head about citeproc-ruby - if I follow the instructions in the Gist, would it "upgrade" my current citeproc-ruby (v0.0.6) to benefit within Jekyll-Scholar? I really have no idea how it all works :) If there were some instructions how to test the development version within Jekyll-Scholar, I might just do that.
The Gist should not interfere with your current jekyll-scholar setup. You can leave out the lines dealing with existing styles, too, but this would give you a great template for creating your own style (you can just but your CSL in at the bottom).
Once citeproc-ruby is released, we will have to update jekyll-scholar to use the new version. Once that happens we will have much better CSL support and, more importantly, a much cleaner codebase that will hopefully make it easy to improve going forward.
I am using Jekyll-Scholar with a custom CSL and cannot make the word "pages" appear in the reference.
The issue is with the
label
for variablepages
. As described in CSL specification for Label, I want to get e.g. "pages 342-351" output in the reference. To achieve that, I am using the following group:However, Jekyll-Scholar seems to omit the word "page/pages" and only outputs the number. I have created a gist with a minimal CSL (which only outputs this group) and a bib file with
pages
attribute to reproduce.Am I doing something wrong or is this not supported yet?