table of contents
| TEXCHANGES-MERGE(1) | User Commands | TEXCHANGES-MERGE(1) |
NAME¶
texchanges-merge - resolve or merge Texchanges markup
SYNOPSIS¶
texchanges-merge [options] input [output]
DESCRIPTION¶
texchanges-merge accepts, rejects, or interactively resolves changes marked with Texchanges or supported compatibility commands. It can update decision statuses while preserving markup or permanently merge the selected result into the LaTeX source. The program requires Python 3.10 or later and uses only the Python standard library.
OPTIONS¶
- -h, --help
- Show the command help and exit.
- --version
- Show the program version and exit.
- --accept
- Accept matching changes.
- --reject
- Reject matching changes.
- --interactive
- Prompt for each matching change.
- --merge
- Remove markup and keep the resolved text instead of updating the status.
- Process only changes with the specified author ID.
- --id CHANGE_ID
- Process only the specified change ID.
- --dry-run
- Print a unified diff without writing files.
- --in-place
- Update the input file and create a backup.
- --backup-suffix SUFFIX
- Use SUFFIX for in-place backups instead of .bak.
EXIT STATUS¶
- 0
- The operation completed successfully.
- 2
- The command line or LaTeX markup was malformed.
EXAMPLES¶
Accept all changes and update their statuses in a separate file:
texchanges-merge paper.tex reviewed.tex --accept
Accept all changes and permanently remove the markup:
texchanges-merge paper.tex final.tex --accept --merge
Preview rejection of one change without writing a file:
texchanges-merge paper.tex --reject --id R12 --dry-run
FILES¶
An in-place operation creates a backup beside the input file. The default backup suffix is .bak.
AUTHOR¶
Written and maintained by Phuc Nguyen.
REPORTING BUGS¶
Report issues at the Texchanges issue tracker.
| 2026-08-18 | texchanges 0.3.0 |