4 This program removes [changes](https://www.ctan.org/pkg/changes) package markup from LaTeX documents. It was written because none of the existing regular expression based scripts actually worked on any sort of complex markup. This program (written in [Rust](https://www.rust-lang.org)) is not based on regular expressions, but has an actual semi-proper parser. |
4 This program removes [changes](https://www.ctan.org/pkg/changes) package markup from LaTeX documents. It was written because none of the existing regular expression based scripts actually worked on any sort of complex markup. This program (written in [Rust](https://www.rust-lang.org)) is not based on regular expressions, but has an actual semi-proper parser. |
5 |
5 |
6 ## Installation and usage |
6 ## Installation and usage |
7 |
7 |
8 1. Install [Rust](https://www.rust-lang.org) following instructions. |
8 1. Install [Rust](https://www.rust-lang.org) following instructions. |
9 2. Run `cargo build` to run the program (optional; the next step does it if needed). |
9 2. Run `cargo build` to compile the program (optional; the next step does it if needed). |
10 3. To process a document, use |
10 3. To process a document, use |
11 ``` |
11 ``` |
12 cargo run < input.tex > output.tex |
12 cargo run < input.tex > output.tex |
13 ``` |
13 ``` |
14 You may also find the built binary under `target/debug/strip-changes-markup`, and copy it to a place that works for you, instead of using `cargo` to run the program. |
14 You may also find the built binary under `target/debug/strip-changes-markup`, and copy it to a place that works for you, instead of using `cargo` to run the program. |