Closed ghost closed 10 years ago
That's a good one, thanks for reporting!
I think you can workaround the problem by calling cp2.abbreviations
once before rendering as this would create the default abbreviations hash. In the 1.0.0 release there must have been a stray delegator or method alias, because calling the method on the processor engine as opposed to the processor (which is what the renderer does) returned nil.
This is also fixed in the 1.0.1 release. So if you do gem i citeproc citeproc-ruby
(you need to update both) it should work out of the box.
Thanks, release 1.0.1 seems to have solved the problem.
I have updated to citeproc-ruby 1.0.0 and run into a problem rendering articles in IEEE style, whereas other kinds of bibtex entry, such as 'inproceedings' or 'book', render correctly in both APA and IEEE styles.
The error message is:
This problem was not present in citeproc-ruby 0.0.6.
e.g. for the following biblio.bib
I get the following results in irb:
Everything works fine for apa style:
But articles fail to render for ieee style: