From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: a new csl - citation style lisp ;)
Date: Fri, 11 Dec 2015 14:57:33 -0500 [thread overview]
Message-ID: <m2twnoyd02.fsf@andrew.cmu.edu> (raw)
Hi everyone,
I got curious enough about citation processing to draft an elisp-based
citeproc for orgmode. You can see the code here:
https://github.com/jkitchin/org-ref/tree/master/citeproc
It is loosely based on the xml-CSL file, but in lisp. The principle is
the same, there is a csl file in lisp that contains formatting
information, and a processor that works on my org-ref links to replace
them with formatted citations and entries.
The readme doesn't do it justice, check out
https://github.com/jkitchin/org-ref/blob/master/citeproc/readme.html (in
a browser) to see the formatted citations in an unsorted, numeric
superscript style. There is also a working author-year style.
It certainly isn't complete, bug-free, or stable yet and might still not solve
note-based styles, but it is pretty powerful already.
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
next reply other threads:[~2015-12-11 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 19:57 John Kitchin [this message]
2015-12-12 9:31 ` a new csl - citation style lisp ;) Martin Yrjölä
2015-12-12 13:23 ` John Kitchin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2twnoyd02.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).