Note that the API is not stable.
- Intall the package
make installThis command uses l3build to install the .sty and .lua files to TEXMFHOME which is usually ~/texmf on Linux or ~/Library/texmf on macOS.
- Compile the document.
For LuaLaTeX, the citations and bibliography can be generated without triggering BibTeX. It takes at most two passes to get the correct labels.
cd example
lualatex example.tex
lualatex example.texThe latexmk can also be used.
latexmk -cd -lualatex examples/example.texFor engines other than LuaLaTeX, the citeproc executable is required to run as BibTeX.
cd examples
pdflatex example.tex
citeproc-lua example.aux
pdflatex example.texThe following commands are used for uninstalling from TEXMFHOME.
make uninstallThe citeproc can also run as a stanalone script to convert a .bib database to CSL-JSON format.
citeproc-lua examples/example.bib