The Citation Style Language (CSL) is an XML format for describing the formatting of in-text citations, notes and bibliographies. CSL offers:
- An open format that may be used by any application
- The ability to write compact and robust styles
- Extensive support for style requirements
- Automatic style localization
- Easy distribution and updating of styles
- A fast growing library with thousands of freely available styles
There is in fact a tool to use CSL when compiling LaTeX documents. Pandoc accepts a
--csl=<csl file> argument, and it will use the supplied CSL style to format your bibliography.
pandoc --bibliography=refs.bib --csl=mystyle.csl -o out.pdf doc.tex
Will happily generate
out.pdf file via LaTeX using the bibtex file
refs.bib and CSL file
mystyle.csl, from source
doc.tex, which presumably has a
\thebibliography or some citations in there somewhere.
In one word: no.
Bruce D'Arcus, the original creator of CSL, has repeatedly said that he would like to see an implementation of CSL for LaTeX (to be more precise: he often talked about LuaLaTeX) and that such a thing wouldn't be too difficult to achieve in theory (see this and the following posts for example), but so far, no one has been interested in doing it (the post I linked to dates back to 2008!).
In my opinion, CSL for LaTeX would be extremely useful. CSL is getting more and more traction (there are about half a dozen of implementations ATM), and although it's not quite as powerful as
biblatex (but what is?), it's very versatile, and, most important, truly system-agnostic.
It would be the first solution to offer bibliography styles which work equally for a LaTeX and a variety of word processors and is really able to deal with complex styles.
I've created a Guile Scheme program that can parse a .aux file and produce a .bbl via the Juris-M or Zotero reference manager along with the Better BibTeX for Zotero plugin, modified to provide a bbl format output from its "schomd" interface.
It is incomplete. The script in the top directory will run and produce a .bbl as long as you have Juris-M or Zotero and the version of Better BibTeX for Zotero installed that supports it. I've used it to produce a bibliography in Bluebook format (US legal writing). Eventually I will have support in TeXmacs similar to what's in the OpenOffice pluginfor Zotero, so it will handle formatting the in-document citations as well as the bibliography.