John Kitchin <jkitc...@andrew.cmu.edu> writes:

> They are probably minor, but for example I am not sure how easy it would
> be to sort a multicite with all of the syntax options. I guess it can be
> done, I just do not see it clearly. It may not be necessary to do this
> either.

Out of curiosity:

Why would this be hard?  Would it amount to more than replacing identity
in the below snippet with something that gets the true author?  You can
split out global pre and post note beforehand and reinsert it.  I'm
probably missing something.

(sort '((:key "foo" :pre "pre")
        (:key "bar" :post "pp. 22")
        (:key "baz"))
      (lambda (a b) (string-collate-lessp
                (funcall 'identity (plist-get a :key))
                (funcall 'identity (plist-get b :key)))))

—Rasmus

-- 
A clever person solves a problem. A wise person avoids it


Reply via email to