Note that the API is not stable.
- Intall the package
make install
This 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.tex
The latexmk
can also be used.
latexmk -cd -lualatex examples/example.tex
For engines other than LuaLaTeX, the citeproc
executable is required to run as BibTeX.
cd examples
pdflatex example.tex
citeproc-lua example.aux
pdflatex example.tex
The following commands are used for uninstalling from TEXMFHOME
.
make uninstall
The citeproc
can also run as a stanalone script to convert a .bib
database to CSL-JSON format.
citeproc-lua examples/example.bib