Tidy up automatically your library each time you save it.
Field formats can be tidied up when saving the library. That ensures your entries to have consistent formatting. In Library → Library properties, check Enable save actions. You can now select the actions to be carried out using the 2 drop-down menus located under the table. Each action is defined by:
an entry field (upon which the action will be applied).
the type of action to be carried out (such as HTML to LaTeX, which converts HTML code to LaTeX code, as described in the window).
A click on the "circular arrow" icon enables a set of recommended formatting actions (the set of actions will depend on your library type: BibTeX or BibLaTeX).
Clears the field completely.
Escape underscores
Escapes ampersands.
Text & with &ersands
⇒ Text \& with \&ersands
Converts HTML code to LaTeX code.
Cleanup URL links.
http%3A%2F%2Fwikipedia.org
⇒ http://wikipedia.org
Converts HTML code to Unicode.
Cleans up LaTeX code:
Escape percent character (e.g.50% ⇒ 50\%)
Remove redundant $
, {
, and }
(but not if the }
is part of a command argument)
Move numbers, +
, -
, /
, and brackets into equations
Move numbers followed by a space left of $
inside the equation (e.g. 0.35 $\mu$m
)
Replace all @@
with $
Replace multiple spaces with a single space
Normalizes the date to ISO date format. Format date string to yyyy-mm-dd or yyyy-mm. Keeps the existing String if it does not match one of the following formats:
"M/y" (covers 9/15, 9/2015, and 09/2015)
"MMMM (dd), yyyy" (covers September 1, 2015 and September, 2015)
"yyyy-MM-dd" (covers 2009-1-15)
"d.M.uuuu" (covers 15.1.2015)
Normalize month to Bib(la)TeX standard abbreviation.
Normalizes lists of persons to the Bib(la)TeX standard. This separates authors by "and"s with first names after last name separated by a comma; first names are not abbreviated.
"John Smith" ⇒ "Smith, John"
"John Smith and Black Brown, Peter" ⇒ "Smith, John and Black Brown, Peter"
"John von Neumann and John Smith and Black Brown, Peter" ⇒ "von Neumann, John and Smith, John and Black Brown, Peter".
Normalize pages to Bib(la)TeX standard. Format page numbers, separated either by commas or double-hyphens. Converts the range number format to page_number--page_number. Removes unwanted literals except for letters, numbers, and -+ signs. Keeps the existing String if the resulting field does not match the expected Regex.
Converts ordinals to LaTeX superscripts, e.g. 1st, 2nd or 3rd. Will replace ordinal numbers even if they are semantically wrong, e.g. 21rd
1st Conf. Cloud Computing -> 1\textsuperscript{st} Conf. Cloud Computing
Removes braces encapsulating the complete field content.
Shortens DOI to more human-readable form using http://shortdoi.org.
Converts Unicode characters to LaTeX encoding.
Converts LaTeX to Unicode characters if possible.
$\acute{\omega}$
⇒ ώ
Converts units to LaTeX formatting. This includes:
Add braces around the unit to keep case.
Replace hyphen with non-break hyphen
Replace space with a hard space
Remove protective braces from words.
{In} {CDMA}
⇒ In CDMA
Changes the first letter of all words to capital case and the remaining letters to lower case.
Changes all letters to lower case.
Capitalize the first word, changes other words to lower case.
Capitalize all words, but converts articles, prepositions, and conjunctions to lower case.
Changes all letters to upper case.
Shortens lists of persons if there are more than 2 persons to "et al.".
The field formatters listed above can also be used as modifiers in citation key patterns using their keys listed below.
Save action | Key |
---|---|
clear
escapeUnderscores
escapeAmpersands
html_to_latex
cleanup_url
html_to_unicode
latex_cleanup
normalize_date
normalize_month
normalize_names
normalize_page_numbers
ordinals_to_superscript
remove_braces
short_doi
unicode_to_latex
latex_to_unicode
units_to_latex
unprotect_terms
capitalize
lower_case
sentence_case
title_case
upper_case
minify_name_list