diff --git a/NEWS.md b/NEWS.md index d4a427c..fbb88cc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -9,7 +9,7 @@ Version v0.5.0 is a major release, including breaking changes and substantial ne - See below for information on the new `--config`, `--noconfig`, `--man`, `--completion`, and `--args` flags. ## Configuration file support -Configuring tex-fmt can now be achieved using a configuration file as well as CLI arguments. The configuration file can be read from a user-specified path with `--config`, from the current working directory, from the root of the current git repository, or from the user's configuration directory, in order of decreasing priority. Arguments passed on the command line will always override those specified in configuration files. Configuration files can be disabled by passing `--noconfig`. +Configuring tex-fmt can now be achieved using a configuration file as well as CLI arguments. The configuration file can be read from a user-specified path with `--config `, from the current working directory, from the root of the current git repository, or from the user's configuration directory, in order of decreasing priority. Arguments passed on the command line will always override those specified in configuration files. Configuration files can be disabled by passing `--noconfig`. ## Man pages Man pages can be generated using the `--man` flag. Pre-built man pages are also available for download from the GitHub repository. @@ -18,7 +18,7 @@ Man pages can be generated using the `--man` flag. Pre-built man pages are also Completion files for popular shells, including bash, fish, zsh, elvish and PowerShell, can be generated using the `--completion ` flag. Pre-built completion scripts are also available for download from the GitHub repository. ## Minor changes -- All arguments passed to tex-fmt can be inspected by passing `--args` +- Arguments passed to tex-fmt can be inspected by passing `--args` - Fixed bug with `\itemsep` matching the `\item` pattern - Added last non-indented line number to "Indent did not return to zero" error messages - Removed LTO optimization to improve compile time with minimal effect on run time diff --git a/notes.org b/notes.org index 9b4f92d..27f214a 100644 --- a/notes.org +++ b/notes.org @@ -12,25 +12,26 @@ ** Args resolver ** GitHub README * Release process -** DONE Update release notes -*** DONE git log --oneline --no-merges vX.X.X..main -*** DONE Write in NEWS.md -** DONE Update version number in Cargo.toml -** DONE Update Nix flake and lock -*** DONE Check for new NixOS version (nixos-XX.XX) for flake.nix -*** DONE just nix -** DONE Update Rust version -*** DONE just upgrade -** DONE Run tests -*** DONE just -*** DONE just perf -*** DONE Update performance results in README.md -** DONE Push to GitHub and check tests pass -** DONE Create a git tag -*** DONE git tag vX.X.X -*** DONE git push --tags -** DONE Publish to crates.io with cargo publish -** Publish GitHub release with notes +** Update release notes +*** git log --oneline --no-merges vX.X.X..main +*** Write in NEWS.md +** Update version number in Cargo.toml +** Update Nix flake and lock +*** Check for new NixOS version (nixos-XX.XX) for flake.nix +*** just nix +** Update Rust version +*** just upgrade +** Run tests +*** just +*** just perf +*** Update performance results in README.md +** Push to GitHub and check tests pass +** Create a git tag +*** git tag vX.X.X +*** git push --tags +** Publish to crates.io with cargo publish +*** Pass --allow-dirty if notes.org has changed +** Publish GitHub release with notes from NEWS.md *** GitHub binaries published automatically with actions ** Publish in nixpkgs *** Check out master branch of nixpkgs fork @@ -47,3 +48,5 @@ *** git push --set-upstream origin HEAD *** Go to GitHub and create a pull request *** Submit pull request and check relevant boxes +** Tidy repository +*** Commit any new changes to NEWS.md or notes.org diff --git a/tex-fmt.toml b/tex-fmt.toml index d68ad49..c6d3430 100644 --- a/tex-fmt.toml +++ b/tex-fmt.toml @@ -2,8 +2,8 @@ check = false print = false wrap = true -tabsize = 2 wraplen = 80 +tabsize = 2 tabchar = "space" -verbosity = "warn" stdin = false +verbosity = "warn"