The Wayback Machine - http://web.archive.org/web/20220121202829/https://github.com/zepinglee/citeproc-lua
Skip to content
main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.tex

License

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

About

A Lua implementation of the Citation Style Language (CSL)

Resources

License

Stars

Watchers

Forks

Packages

No packages published