In addition to LaTeX, BBT plays very well with pandoc:
Many tutorials on the use of pandoc to generate documents with citations seem to use bibtex as a bibliography format. I would encourage the use of CSL instead. Internally, both Zotero and pandoc-citeproc use CSL citation engines; the two options you have are:
Not only is the extra step through “pandoc-citeproc in convert mode” unnecesary, the translation between bibtex and CSL is complex and often lossy:
All of these problems go away if you just skip the detour via bibtex and export (Better) CSL from Zotero and use that in your pandoc process.
You can convert a Pandoc-compatible markdown source to a LibreOffice or Word document with live citation fields connecting to Zotero.
---
# all the regular stuff you have here
zotero:
library: <group name> # omitted to use your personal library
scannable-cite: false # only relevant when you're compiling to scannable-cite .odt
client: <zotero or jurism> # defaults to zotero
author-in-text: false # when true, enabled fake author-name-only cites by replacing it with the text of the last names of the authors
csl-style: apa # pre-fill the style
...
or you can specify them on the pandoc command line:
pandoc -s --lua-filter=zotero.lua --metadata=zotero_scannable_cite:true --metadata=zotero_client:jurism ...
And hey presto, a live LibreOffice/Word file, or an ODT file with
scannable cites. When you first open the document with live citations, open the Zotero
document preferences and click OK
before you refresh, or you’ll get a confirmation
popup for each citation. Also, the Word document is sometimes deemed
corrupt when opening it, but running the pandoc command again without
any changes fixes it ¯\_(ツ)_/¯
LibreOffice doesn’t recognise Zotero citations in DOCX,
see issue #2070,
and you must use ODT.
You can also specify transferable: true
to create a transferable document. You don’t really need this for ODT or DOCX (just use Pandoc to create those directly using this filter), but it will allow transferring your document to GDocs.
Zotero needs to be running, with BBT installed, while you compile your document.