inukshuk / citeproc-ruby

A Citation Style Language (CSL) Cite Processor
101 stars 22 forks source link

MLA8 sorting does not work correctly in some circumstances #42

Closed lightman76 closed 6 years ago

lightman76 commented 7 years ago

The modern-language-association-8th-edition style sorts by author, and then title. However, the author has a substitution of title. The style has the the title quoted in some circumstances.

When citeproc-ruby is doing the sort comparison, it is rendering author as a string to use in the sorting comparison. For sources with only a title and container-title the author is then rendered as "title" which messes up the string comparison due to the leading ".

lightman76 commented 7 years ago

Submitted pull request #43 for this