Closed arkivm closed 1 year ago
Thanks for raising this. This should be fixed in v1.10.1. Executing bibtex-tidy <file>
should create the file <file>.original.bib
.
Note that bibtex-tidy v2 will work slightly differently. You will be able to specify a different input and output, which hopefully precludes the need for backups. The v2 behaviour can be enabled using the --v2
flag - e.g. bibtex-tidy --v2 references.bib -o tidied.bib
.
In CLI mode, the option
--backup
gets activated only if the option is explicitly passed.Expected behavior: This should happen automatically as it is marked as default.
The default option gets set in
normalizeOptions
which gets called only fromtidy
. However, the normalized options are not visible in thestart
function.This crude band-aid fix solves it for me.