Created
June 17, 2015 23:01
-
-
Save dcguim/b6ec04fa225850bc75f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun write-bib-entry (entry &optional (stream *standard-output*)) | |
(format stream "~&@~A{~A" | |
(bib-entry-type entry) | |
(bib-entry-cite-key entry)) | |
(loop for field being each hash-key in (bib-entry-dict entry) | |
and value being each hash-value in (bib-entry-dict entry) | |
do (format stream ",~% ~A = {~A}" field value)) | |
(format stream "~%}~%")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment