- add --quiet and --no-backup CLI options
- Duplicate checking now checks whole title rather than just the first 50 characters.
- #12 Added --quiet and --no-backup
- #13 Allow multiple files on CLI. This will output multiple tidied files (ie this does not combine them) e.g. bibtex-tidy file1.bib file2.bib
- #14 Add .pre-commit-hooks.yaml
- #15 Add option for trailing commas
- #16 Option to remove empty fields
- Add --no-lowercase option to prevent bibtex-tidy from changing case of field names and entry types
No changes, aside from correcting version number at top of bibtex-tidy.js
- #17 Restore --help option
- Support for older browsers and node versions
- Breaking change: paragraphs within field values will now be preserved
- #18 --enclosing-braces option added to preserve case when compiling BibTeX
- #19 --wrap option added for wrapping long values
- #20 added --max-authors option for truncating long list of authors
- Improve CLI help text for --max-authors
- #23 #28 Prevent adding enclosing brace on each tidy
--remove-dupe-fields
/removeDuplicateFields
option added- Better generation of CLI command in Web UI
- Improved man page
- Handle CRLF/CR line endings
- Handle empty entry key
- Handling empty entries
- Add --version CLI option
- Better handling of invalid CLI params
- New higher performance bibtex parser
- Better handling of comments
- #38 Fix "-" in input args not being interpreted as stdin
- #41 Set minimum node 12
- #51 Remove invalid windows filename chars
- #47 Fix parsing for concatenate after literal
- Retain whitespace in quoted values
- #47 Do not trim braced values if concatenated
- #32 Sort month and numeric values
- #27 Do not escape math expressions
- #44 Option to generate standardised keys
No changes, aside from correcting version number at top of bibtex-tidy.js
Add type definitions
No changes, aside from correcting version number at top of bibtex-tidy.js
Remove npm prepare script
- New release process, including tagging releases (#75)
Features:
- Bibtex keys can now be generated according to a JabRef template, such as
[auth:lower][year]
. See https://docs.jabref.org/setup/citationkeypatterns. Currently bibtex-tidy only supports a few markers and modifiers (see generateKeys.ts) (#179) - Add --blank-lines option to separate entries with a blank line (#245)
- Docker configuration added (#371)
- The web UI will now persist the user's bibtex-tidy configuration in the URL (#344)
- The web UI has a new look and feel based on material v3. This includes larger text, more space between interactive elements, higher contrast colours, and better consistency across browsers and OS's.
- Add copy button to web UI (#177)
- Add removeBraces to remove all braces from specified fields (#33)
Bug fixes:
- Convert invalid key characters to _ when generating keys (#304)
- More permitted characters in citation key, including parentheses, which were triggering a parser error (#358).
- Support escaping quotes in quoted value, which were triggering a parser error (#98)
- Fix extra empty line when wrapping long word (#141)
Other enhancements:
- UI rewritten in Svelte. This should't change end user experience but will make maintenance much easier.
- Entries with similar author and title will not be marked as duplicates if the
number
field is different (#364). - DUPLICATE_ENTRY now has a 'rule' property (can be key, doi, citation, or abstract). Note: This includes the removal of DUPLICATE_KEY warning. Look for DUPLICATE_ENTRY with
rule: "key "
instead. - Make duplicate key check case insensitive to match bibtex implementation