Compared to other reference management software, one of the major features of Zotero is its integration with a reader. Currently, it supports reading and annotating PDF and EPUB files, but does not support the CNKI CAJ format.
Most English literature is downloaded in PDF format, so the following plugins are all based on enhancing the reading of English literature in PDF format.
Installation method for plugins#
Since this is the first article introducing plugins, let's first talk about the installation method. Zotero's plugins are similar to Firefox browser plugins. First, click on the "Plugins" option under the "Tools" tab to open the plugin settings page.
Click on "Install Add-on From File" at the setting icon, and select the downloaded plugin release to install. Some plugins may need to be manually enabled. The installed plugins will appear in the list on the left side of the settings page, providing additional configuration options for the plugins.
pdf-translate#
The most important plugin is the translation plugin, which is similar to Zhiyun Literature Translation and provides automatic translation of selected text. Project address and Chinese documentation for direct access. The author has written a complete user guide, which can be followed for detailed configuration. This article only briefly describes the solution I adopted.
Simple configuration of the plugin#
After successful installation, enter the literature reading interface to see the translation effect when selecting text.
It can also be presented through the sidebar on the right.
For cases where the font is too small, please go to the settings page to adjust the font size and line height.
Translation service#
This translation plugin provides a wide range of translation service interfaces. For detailed configuration methods, please refer to the Chinese documentation. For me, Google Translate has some network issues, DeepL has good translation results, but free translation has frequency limitations, and the paid API has restrictions on overseas credit cards.
Therefore, I adopted the solution of DeepLX, which overcomes the limitations of DeepL. In addition, I recommend using the method of DeepLX Serverless, which uses Tencent Cloud Function service to avoid access frequency limitations caused by fixed IP addresses. The disadvantage is that it requires additional payment (about 50 per year) to enable Tencent Cloud Function service.
In addition, the configured DeepLX API can also be configured in a very useful browser extension called "Immersive Translation", so the payment is also quite worthwhile.
If you are configuring the pdf-translate plugin for the first time, it is recommended to use the default translation service first. For DeepLX Serverless and Immersive Translation plugin configurations, if necessary, I will write a separate tutorial later.
Translation of titles and abstracts#
Right-click on any entry on the literature library page, and additional options for translating titles and abstracts will appear in the menu. After clicking, the translated result will appear under the "Other" column of the entry data. The plugin author has written another plugin called Actions and Tags for Zotero, which can automate the translation of literature titles and abstracts (to be introduced in the next article), and ultimately can be inserted into the summary of literature reading with one click.
better-notes#
A powerful annotation and note enhancement plugin that enables bidirectional note-taking in Zotero. It can export MD files to other locations and achieve bidirectional synchronization, truly linking with other note-taking software such as Obsidian.
Regarding Obsidian, it is a useful note-taking software, but its usage tutorial is also a huge pit with a certain learning curve. If you have no experience with Obsidian, you can first organize your notes in Zotero.
better-notes is also written by the same author, so the Chinese documentation is also very complete. The author of this plugin is very fast in debugging and responding to issues. These plugins have greatly improved the usability of Zotero.
Converting annotations to notes#
In PDF reading, we can annotate by selecting text, forming an annotation in the left sidebar. If you have installed the pdf-translate and better-notes plugins, the annotation content will be automatically translated and a synchronization note icon will appear.
After clicking the yellow synchronization note icon, a note in .md format will be created with the content of the annotation.
In addition, you can create a new .md format note by right-clicking on the entry.
You can also click the plus sign on the right sidebar of the reader to add entry notes.
You can drag the annotation directly into the note to insert it.
What's magical about converting annotations to notes is that the annotation content in the .md note file is actually inserted in the form of a link. After left-clicking, an option "Show on Page" will appear, and clicking it will directly jump to the original text position.
What's even more magical is that by exporting the notes through synchronization, you can still click on the link to jump to the annotation position in Obsidian, truly achieving the linkage between Zotero and Obsidian.
Implementing bidirectional notes within Zotero#
In the editing page of any note, click on the better notes icon in the upper left corner to select a bidirectional relationship with other notes.
The "Point to" function means inserting a link pointing to the target note in this note. After selecting another note, the effect is as shown in the figure.
The "Mention" function is the opposite, it will add a link pointing to this note at the end of the target note, mentioning this note in the target note.
While it is commendable that Zotero can achieve bidirectional notes, the bidirectional note function of this plugin is relatively simple. If you need more powerful bidirectional note functions, it is recommended to use Obsidian to manage notes. A brief introduction to Obsidian may be provided later.
Exporting notes and achieving bidirectional synchronization#
In the editing page of the note, click on "Export Current Note" in the tabs above.
Or right-click on the entry in the library view and click "Export Note" with the yellow icon.
After configuring as shown in the figure, a note file synchronized bidirectionally with the Zotero library will be generated at the export location.
Open the synchronization manager under the "Tools" tab in Zotero to view the current bidirectional synchronization note status.
The synchronization manager will automatically refresh the note exported at the export location according to the synchronization time (with some delay). When modifying the content of the file using other markdown editors, the modified content will also be synchronized back to the note in the Zotero database.
However, it is worth noting that if you want to modify the export file location or delete the exported note file, you need to first cancel the synchronization in the synchronization manager, otherwise the note will be re-exported to the target location every time it is refreshed.
Additional configuration for synchronizing notes to Obsidian#
If you directly export the synchronized notes to the Obsidian database, you may encounter some formatting issues, such as the addition of escape characters before square brackets. If you encounter similar issues, you can modify the export template according to the following configuration:
Open the template editor under the Zotero "Edit" tab, select "ExportMDFileContent", and replace the template with the code snippet below. Be sure to copy it completely, including ${{.
${{
return mdContent.replaceAll("\\[\\[","[[").replaceAll("\\#","#").replaceAll("\\","");
}}$
Conclusion#
The note function plugins of Zotero are very powerful. In the next article, I will introduce several other note enhancement plugins, and then briefly introduce the workflow of literature notes for reference.
There may be an introduction to the use of Obsidian later, including the notes in this article are written using Obsidian.
Related articles#
Research Tool Series (2): Configuring Zotero Sync with Nutstore