Install Zotero#

https://www.zotero.org/support/installation > Linux Official Tarball:

Download the tarball, extract the contents, and run zotero from that directory to start Zotero.

Download current tarball from https://www.zotero.org/download/, e.g. right click, save to “Downloads”.

To install the tarball without sudo rights follow the instructions at https://wiki.ubuntuusers.de/Zotero/ > “Manuelle Installation”, e.g. like this:

tar -xvf Downloads/Zotero-7.0.5_linux-x86_64.tar.bz2

To launch Zotero simply call the start script directly:

cd
Zotero_linux-x86_64/zotero &

If you launch Zotero the first time Zotero will detect that the Firefox launcher isn’t installed. It will open the according page https://www.zotero.org/start. Push the button “install”.

Zotero also offers to install the libre office connector: do it.

Restart firefox. Make the Zotero toolbar visible in firefox toolbar:

If the button doesn’t appear to the right of the address bar, you can find it either in the Extensions menu (opened via a puzzle-piece button to the right of other toolbar buttons) or the overflow menu (opened via a “»” button to the right of your other toolbar buttons). If the button appears in the Extensions menu, click the gear icon and select Pin to Toolbar to keep it in the toolbar.

Zotero’s Better BibTeX#

Enhance Zotero with https://retorque.re/zotero-better-bibtex/: Follow the installation instructions from https://retorque.re/zotero-better-bibtex/installation/ > latest release:

  • Save file zotero-better-bibtex-6.7.169.xpi (as of 2024-03-17) e.g. to Downloads

  • start Zotero, and import this file: Zotero > Plugins > Add-ons > Install Add-on from File > select zotero-better-bibtex-6.7.169.xpi >

  • OLD: Zotero wants you to restart Zotero: do it!

You will find that Zotero has allocated the new directory ~/Zotero: Include this directory to your list of directories which are backuped daily ;-) . To learn where your data reside read https://www.zotero.org/support/zotero_data.

TBD: Export

  • File > Export > Format: BetterBibTeX

  • Keep Updated: Yes!

  • suggested location in the dsci-lab: ~/b/bib/BetterBibtexExport.bib

Transfer existing Zotero database#

HowTo: https://www.zotero.org/support/kb/transferring_a_library . This is how we do it:

Old linux computer (here: virtual machine, i.e. dsci-lab last year):

  • shut down Zotero (!)

  • Copy whole Zotero directory to a hard disk outside the guest, e.g.

cd
cp -rp Zotero /media/sf_abc123/a/l/Zotero_2024-03-17

New Linux computer, with newly intalled empty Zotero:

cd
mv Zotero Zotero_empty
cp -rp /media/sf_abc123/a/l/Zotero_2024-03-17/ Zotero

Start Zotero again:

cd
Zotero_linux-x86_64/zotero &

You now should have avaialble your complete Zotero database.

Zotero HowTo#

Daily Business#

Download pdf of a journal article, and transfer it to the Zotero database, with automatic analysis of content:

Download pdf of a journal article via DOI:

Add arbitrary pdf to the Zotero database:

  • e.g. https://publikationen.bibliothek.kit.edu/1000018419/1355289 (Denny Vrandecic: Ontology Evaluation. Dissertation, June 10, 2010 )

  • Zotero > PLUS-icon “Kopie einer Datei speichern” > select pdf in your file system

  • Zotero will import and show pdf file - but metadata are missing!

    • enter them manually: right click > add metadata

Those who find the manual collection of metadata too tedious and error-prone can search for metadata on the web.

  • Denny e.g. is listed here: https://dblp.org/pid/59/5618.html. Search his publication in the 2010 section.

  • Export record > BibTeX: a new page will open, and show the BibTeX record … and Zotero will recognize the metadat!

  • Hit the “Z” icon in the toolbar, and import the metadata into Zotero.

  • As a last step drag the pdf-file into the newly generated metada record.

Try this also with:

pdf without metadata, e.g. Universität Osnabrück – Dezernat 7: Wie schreibe ich ein wissenschaftliches Exposé? https://www.uni-osnabrueck.de/fileadmin/documents/public/4_forschung/4.3_nachwuchsfoerderung/zepros/Wie_schreibe_ich_ein_wissenschaftliches_Expose_09022020_01.pdf

  • Download to Downloads; Zotero > PLUS-icon > Kopie einer Datei speichern

  • Zotero > right klick on imported pdf file > create parent item > Manual Entry

My most often used workflow

  • search for article e.g. with google

  • download pdf, Zotero > PLUS-icon > Kopie einer Datei speichern: Metadata out of the box available and ok? If not:

  • search for DOI;

export to BibTeX file and keep current#

File > Export Library > Format: Better BibLaTeX > Filename: zotero.bib

On my own machine I have choosen to put the file zotero.bib into a local folder (here: ~/a/l/LA_2024_ss/bib/zotero.bib`), where all my projects have access to this file.

Merge other Zotero database into existing Zotero database#

(2017/11/22) https://www.zotero.org/support/kb/merging_libraries

You will want to export one library as Zotero RDF and import the .rdf file into the second library. To do this, click “File” → “Export Library…”. The default export format should be “Zotero RDF”, which you should leave selected. You can check the boxes for including files and notes if you would like to transfer those to the other library. Click OK, name the .rdf file, and choose a destination to save it. You can then e-mail this folder to a friend or colleague or to yourself. From the second Zotero library, click the “File” menu again and select “Import…”. Choose the .rdf file in the folder you created and click OK. This should import the items, combining the two libraries.

JB: Tested 2022-03-11 with directory /home/dsci/a/l/test/zotero-rdf-2022-03-11/ - it worked fine.