Command line tool for citations and bibliographies
I was working very hard on the new version of citeproc-java lately and I’m happy to announce that it has just been released. The highlights in version 0.6 are:
- The binary distribution
of citeproc-java contains a
command line tool
that can be used to generate citations and
bibliographies without setting up a complete development
environment. Just download and extract the zip file and then
run
citeproc-java -b references.bib -s ieee
to create a bibliography inieee
style for your BibTeX input file. This feature makes the library very useful even for non-programmers. - The new Mendeley connector allows you to use documents stored in Mendeley Web as input for citations and bibliographies. Of course, this feature also works on the command line.
- The library has been tested with the CSL test suite. All 750+ tests run successfully! I put a lot of work into this to bring citeproc-java on par with other CSL processors.
- Performance has been improved a lot.
I particularly like the new command line tool that can be used to generate citations and bibliographies from various sources such as BibTeX files or your Mendeley Web catalog. I expect the tool to be quite useful for the following users:
- Authors who want a quick way to preview citations or bibliographies in various styles
- Citation Style Language style authors who want to test their style files very quickly
In order to use the tool, you just have to download citeproc-java
and extract the ZIP file. You can then run the following command to
convert a BibTeX file to a bibliography using the ieee
style, for example:
If you want to generate a bibliography that only contains items with certain citation IDs (for example Fowler_2010 and Kisker_2012), use the following command:
The tool will even notify you if you misspelled a citation ID:
If you want to connect to your Mendeley Web account, use the following command:
The tool has a lot more to offer. For more information run citeproc-java --help
or read
the library’s documentataion.
Posted by Michel Krämer
on 25 October 2013
Next post
gradle-download-task: download files with progress
The new gradle-download-task plugin adds a download task to Gradle that is able to fetch a file from a server and display progress information. It also offers many other useful features.
Previous post
Generating citations and bibliographies with CSL and citeproc-java
I’m thrilled to announce the first release of citeproc-java, a library to generate citations and bibliographies. It is similar to BibTeX but uses CSL under the hood and is therefore much more flexible.
Related posts
citeproc-java 2.0.0 has just been released
The new major version offers support for Java 11 and is able to import YAML files. To improve performance, a GraalVM-based JavaScript runner has been added. The update also fixes a few minor bugs.
Generate citations and bibliographies faster with citeproc-java 3.0.0
A new version of the CSL processor has just been released. It is now a pure Java implementation and does not rely on JavaScript and citeproc-js any more. This improves performance and avoids compatibility issues.
Build Scala projects with Eclipse Buckminster
Buckminster is a tool to build Eclipse RCP applications. It contains a lightweight Eclipse SDK and features but no means to build Scala projects yet. This post tries to bridge this gap.