Benoît Legat

Writing

Read this book, available in Zotero.

Don't use too long lines in your LaTeX file, use line breaks at the end of sentences. LaTeX ignores these line breaks but when looking at Git diffs, it avoid the cases of ling lines that differ just by a few characters.

Zotero

When exporting for LaTeX, use BibTeX if forced to by a conference of journal LaTeX class, use BibLaTeX otherwise.

Zotero-Overleaf integration

With overleaf, you can have automatic export using "Integrations" on the left -> Zotero.

Export Zotero library to BibLaTeX

If using LaTeX locally, the automatic export of Zotero into BibTeX isn't good. Install this extension: https://retorque.re/zotero-better-bibtex/ Then, to export, right click on a library -> Export library -> in format, select "Better BibLaTeX" and check "Keep updated" and "Background export". To avoid conflict with your colleagues, don't export the file fields since the path will differ. For this, got in Edit -> Settings -> Better BibTeX. In Export -> Fields, write "file".