citeproc-java 2.0.0 has just been released
The new version of citeproc-java 2.0.0, the Citation Style Language (CSL) processor for Java, has just been released. citeproc-java interprets CSL styles and generates citations and bibliographies. Some of the highlights are:
- Importers for BibTeX, EndNote, and RIS allow you to create citations and bibliographies from your existing citation databases.
- The library supports a range of output formats
- Use the command line tool to execute the library without setting up a development environment. This is great for testing, in particular if you are a CSL style author and want to test your style files in an easy and quick manner. The command line tool even contains an interactive shell with command completion and automatic suggestions.
- citeproc-java is backed by the popular citeproc-js library, which is very mature and stable.
- It is CSL 1.0.1 compliant and all standard tests from the CSL test suite run successfully.
Here is a list of the changes in version 2.0.0:
- Update citeproc-js to version 1.2.27
- Add support for Java 11 and higher
- Add support for importing CSL bibliographies in YAML format
- Remove remote connectors to improve maintainability
- Tons of bug fixes and other minor improvements!
Grab citeproc-java 2.0.0 while it’s still hot:
The following illustrative example will generate an HTML bibliography containing one entry for the citeproc-java website in IEEE style:
CSLItemData item = new CSLItemDataBuilder() .type(CSLType.WEBPAGE) .title("citeproc-java: A Citation Style Language (CSL) processor for Java") .author("Michel", "Krämer") .issued(2019, 11, 9) .URL("https://michel-kraemer.github.io/citeproc-java/") .accessed(2019, 11, 9) .build(); String bibl = CSL.makeAdhocBibliography("ieee", item).makeString(); System.out.println(bibl);
The output will be:
<div class="csl-bib-body"> <div class="csl-entry"> <div class="csl-left-margin"></div> <div class="csl-right-inline">M. Krämer, “citeproc-java: A Citation Style Language (CSL) processor for Java,” 09-Nov-2019. [Online]. Available: https://michel-kraemer.github.io/citeproc-java/. [Accessed: 09-Nov-2019]. </div> </div> </div>
Find more examples and the full documentation on the citeproc-java website.
Posted by Michel Krämer
on 9 November 2019
I’m thrilled to announce that the workflow management system I’ve been working on for the last couple of years is now open-source! Read more about Steep and its features in this blog post.
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.
Version 0.6 of citeproc-java introduces a command line tool that can be used to generate citations and bibliographies without setting up a complete development environment.
The new version of the scientific workflow management system contains many new features including an improved workflow syntax, better parallelization, workflow priorities, and full-text search. It also fixes a few bugs.