An addon for Zotero to format item metadata. Shortcut to set rich text, set journal abbreviations, university places, item languages, etc.
简体中文 | English
An addon for Zotero to format item metadata.
The rich text content in Zotero's reference list requires manual insertion of HTML tags (See ^rich_text_bibliography), which is difficult for the common user. Although Zotero's documentation mentions that visual editing of rich text will be supported in future versions, years have passed without any progress on this issue, so this plugin provides a quick way to insert these HTML tags.
Once the text is selected, press the following shortcut keys to quickly apply the corresponding style:
Ctrl
+ Shift
+ +
Ctrl
+ =
Ctrl
+ B
Ctrl
+ I
Ctrl
+ N
(Setting class="nocase"
to prevent certain special names from being capitalized in CSL title cases mode, #17 )BTW: These shortcuts are the same as the ones in Microsoft Word.
When editing the "Title" field, a toolbar pops up and can be closed automatically by clicking on the blank space when editing is complete. The toolbar can be closed completely in the preferences.
The Zotero's documentation recommends storing titles in "sentence case" format, which will allow CSL to perform a "title case" transformation on them ^sentenceCase. Although Zotero has a built-in function to convert titles to "sentence case", this function only recognizes function words, not proper nouns such as chemical formulas, etc.
This plugin provides a similar function, but avoids converting words that should be capitalized to lower case.
Detailed test results are available at test/toSentenceCase.test.ts.
The plugin has a built-in dataset of about 96,000 journal abbreviations (from JabRef), and the plugin will first look up the journal abbreviations in the local dataset;
If none are available, the abbreviations are inferred from the ISSN List of Title Word Abbreviations (optional);
If still no abbreviations are found, the full name of the journal is substituted (optional).
The plugin has a built-in list of universities in mainland China and their locations. For the thesis items, the location is filled in according to the university of the thesis, which is helpful to meet the requirement of GB/T 7714-2015 for the thesis to show the location [^gb7714].
[^gb7714]: Chinese GB/T 7714-2015: http://www.cessp.org.cn/a258.html
Some items in the Zotero library may be added with incomplete information such as issue volume pages because the translator is not available, or the official publication is not in the journal at the time of record, etc. The plugin provides the ability to complete these fields based on the DOI.
The plugin determines the language of an item based on its title and fills in the "Language" field, which is important for CSL to perform bilingual layout of the bibliography (e.g., et al and 等 mixed). ^csl-etal .
By default, the plugin is restricted to recognize only Simplified Chinese and English. You can turn off the language restriction in the preferences or add ISO 639-3 codes for other common languages.
.xpi
file.
Tools
-> Add-ons
and drag the .xpi
onto the Add-ons window. See how to install a Zotero addon.Note: The latest version is only supported for Zotero 7. If you are using Zotero 6, please download version 0.4.4.
See CHANGELOG.md.
See Project #1 .
GNU Affero General Public License v3.0
Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
Some quicker actions are available:
Both zotero-journalabbr and zotero-updateifsE plugins provide similar function.
where zotero-journalabbr's local dataset is essentially the same as this plugin, both being JabRef abbreviated data, while zotero-journalabbr uses journal abbreviated data provided by Columbia University Library, so if you only need journal abbreviation functionality, then this plugin is a good choice!
zotero-updateifsE is a plugin to update data such as impact factor, partition rank, etc. for journals. For journal abbreviations, its readme file mentions that it contains only about 5000 journal abbreviations and does not support Columbia University Library data and ISSN LTWA inferences. Its journal abbreviation function is more suitable for light use.
This plug-in adds the ability to infer abbreviations from ISSN LTWA to JabRef data, which basically covers most journals.
A quicker action is available: 填充城市
The Jasminum and Delitem plugins provide similar functionality, but the language recognition provided by Jasminum is based on nlp.js
and seems is not pre-processed and does not work well for text with HTML tags or chemical formulas in the title, Delitem only provides direct specification of the two languages.
This plugin based franc
and has been processed for HTML tags to improve the recognition accuracy. However, if you have no demand for the other features provided by this plugin and are a Jasminum user, then using the Jasminum plugin is already fully satisfying and there is no need to load tens of extra megabytes of plugins for this slight increase in accuracy.
The code of the following plug-ins was referenced during the development of this plug-in:
The following data sets were used: