Using Refnotes and Zotero in Tiddlywiki

Zotero is a free and open-source reference management software to manage bibliographic data and related research materials. Better BibTeX (BBT) is an extension for Zotero and Juris-M that makes it easier to manage bibliographic data. Refnotes is a Tiddlywiki plugin to create and manage footnotes, abbreviations, citations, and references.

Tiddlywiki and Refnotes use bibtex to mange references. A few setting of Zotero and BBT should be changed to export correct format for Refnotes.

Config Zotero and BBT

The export format better BibTex escapes specially character in the authors in default, better BibLaTex doesn’t escape in default. So I suggest to use Better BibLaTex as export format. The Quick Copy can be set to Better BibLaTex format, then use shortcut Ctrl + Shift + C to quick copy BibTex into clipboard, then paste into Tiddlywiki.

Better BibLaTex use the quotation for title case in default, which can be disabled in the setting Apply title case in titles.

No year field is exported in Better BibLaTex format. The post script can be used to export year.

if (Translator.BetterBibLaTeX ) {
  const date = Zotero.BetterBibTeX.parseDate(item.date)
  reference.add({ name: 'year', value:  `${date.year}`})
} 

The file field can be ignored in the setting if TiddlyWiki is published in public and you don’t want to expose your local file path.

Disable Use BibLaTex extended name format in the export option BibLaTex to stop prefix for authors, e.g. family=Linden, given=C. Gerard, prefix=van der, useprefix=true.

Export bibtex to Refnotes

After downloading references into Zotero, bibtex can be exported into Refnotes and tiddlywiki with following steps.

  • Find the reference which will be used in tiddlywiki, and then copy the Citation Key (e.g. chinoy_correlation_1947) into clipboard.
  • Use ref macro to cite reference (i.e. << ref chinoy_correlation_1947>>) in the tiddler, and save the tiddler.
  • If an error is shown in the reference list (Reference chinoy_correlation_1947 NOT FOUND. Check your input.)
    • Go back to Zotero and use shortcut Ctrl + Shift + C to quickly copy Better BibLaTex into clipboard.
    • Go back to Tiddlywiki and open the sidebar, Click on Paste your Bibtex Entry here, and paste into Import tiddler to import reference into Tiddlywiki.

  • A message A tiddler with this title already exists indicates the reference has been imported before. You can cancel it or reimport to overwrite if meta data has been changed.
Bangyou Zheng
Bangyou Zheng
Data Scientist / Digital Agronomist

a research scientist of digital agriculture at the CSIRO.

comments powered by Disqus

Related