Skip to content

Table of formatters #920

@tobiasdiez

Description

@tobiasdiez

This issue summarizes all the available formatters.
The aim is to improve their names and descriptions.
I think the most practicable way is to directly edit this post with the new proposed version.

Class Name Key Name Description
AuthorsFormatter AuthorsFormatter BibTex authors format Normalizes lists of persons in %s to the BibTeX standard
UpperEachFirst CaseChanger UpperEachFirst CaseChanger Upper Each First Converts the first character of each word in %s to upper case (and all others to lower case), but does not change words starting with "{".
UpperCaseChanger UpperCaseChanger UPPER Converts all characters in %s to upper case, but does not change words starting with "{"
MonthFormatter MonthFormatter Month Normalizes content of %s to the format #mon#.
LatexFormatter LatexFormatter Latex Cleans latex code in %s.
UpperFirst CaseChanger UpperFirst CaseChanger Upper first Converts the first character of the first word in %s to upper case (and the remaining characters of the first word to lower case), but does not change anything if word starts with "{".
AuthorsMinifier MinifyAuthors Minify authors Replaces three or more authors with "and others".
DateFormatter DateFormatter Date Normalizes dates in %s to the BibLaTeX standard yyyy-mm-dd or yyyy-mm.
TitleCaseChanger TitleCaseChanger Title Converts all words in %s to upper case, but converts articles, prepositions, and conjunctions to lower case.
CaseKeeper CaseKeeper CaseKeeper Adds {} brackets around acronyms, month names and countries in %s to preserve their case.
PageNumbers Formatter PageNumbers Formatter Page numbers Ensures that pages numbers in %s are of the form num--num.
LowerCaseChanger LowerCaseChanger lower Converts all characters in %s to lower case, but does not change words starting with "{"
TrimFormatter TrimFormatter Trim whitespace Removes any leading and trailing whitespace in %s.
HTMLToLatex Formatter HtmlConverter HtmlToLatex HTMLConverter HTML to LaTeX Changes HTML expressions in %s to their LaTeX equivalent.
SuperscriptFormatter SuperscriptFormatter Superscripts Transforms ordinal numbers in %s into LaTex superscripts.
UnitFormatter UnitFormatter UnitFormatter Converts units in %s to LaTeX code.
RemoveBraces Formatter RemoveBraces Formatter RemoveBraces Remove enclosing double braces Removes all matching braces around the contents of %s.
UnicodeToLatex Formatter UnicodeConverter UnicodeToLatex UnicodeConverter Unicode to LaTeX Converts unicode characters in %s to their LaTeX equivalent.
EraseFormatter EraseFormatter Erase Erase all Erase field Completely erases %s.

Remarks:

  • The key is used for the serialization.
  • The name should be used for example in the drop down box. Note: some names are also used in the context menu which appears on right-clicking a text field in entry edit. Which explains the shorter and somewhat cryptic names for example the UpperCaseChanger.
  • The description is shown as a tooltip.
  • (I added some spacing in the classname and key so that the columns are not super-wide)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions