citeproc-lua
The Citation Style Language} (CSL) is an XML-based language that defines the formats of citations and bibliography.
There are currently thousands of styles in CSL including the most widely used APA, Chicago, Vancouver, etc.
The citeproc-lua project is a Lua implementation of CSL processor that is amimed for use with LaTeX.
The engine reads bibliographic metadata and performs sorting and formatting
both citations and bibliography according to the selected CSL style.
A LaTeX package is also provided to communicate with the processor.
LaTeX example
A full example is in the example/ directory.
- LaTeX document example.tex
\documentclass{article}
\usepackage{csl}
\cslsetup{style = apa}
\addbibresource{example.bib}
\begin{document}
\cite{ITEM-1}
\printbibliography
\end{document}- Compiling with LuaTeX
lualatex example.tex
lualatex example.tex- Compiling with other TeX engines
pdflatex example.tex
citeproc example.aux
pdflatex example.texLicense
The LaTeX package and Lua library are released under MIT license. The CSL locale files and styles are redistributed under the Creative Commons Attribution-ShareAlike 3.0 Unported license.
Related material
- CSL
- Articles
- A Citation Style Language (CSL) workshop (TUGboat article)
- Discussions

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
