latexrevise(1) selectively remove markup and text from latexdiff output

## SYNOPSIS

latexrevise [ OPTIONS ] [ diff.tex ] > revised.tex

## OPTIONS

-a or --accept
Run in ACCEPT mode (delete all blocks marked by "\DIFdelbegin" and "\DIFdelend").
-d or --decline
Run in DECLINE mode (delete all blocks marked by "\DIFaddbegin" and "\DIFaddend").
-s or --simplify
Run in SIMPLIFY mode (Keep all "\DIFaddbegin", "\DIFaddend", "\DIFdelbegin", "\DIFdelend" tokens, but remove all other latexdiff markup from body).

Note that the three mode options are mutually exclusive. If no mode option is given, latexrevise simply removes user annotations and markup according to the following four options.

-c cmd or --comment=cmd
Remove "\cmd{...}" sequences. "cmd" is supposed to mark some explicit anotations which should be removed from the file before release.
-e envir or --comment-environment=envir
Remove explicit annotation environments from the text, i.e. remove

            \begin{envir}
...
\end{envir}


blocks.

-m cmd or --markup=cmd
Remove the markup command "\cmd" but leave its argument, i.e. turn "\cmd{abc}" into "abc".
-n envir or --markup-environment=envir
Similarly, remove "\begin{envir}" and "\end{envir}" commands but leave content of the environment in the text.
-V or --verbose
Verbose output
-q or --no-warnings

## BUGS

The current version is a beta version which has not yet been extensively tested, but worked fine locally. Please submit bug reports using the issue tracker of the github repository page https://github.com/ftilmann/latexdiff.git, or send them to tilmann --- AT --- gfz-potsdam.de.. Include the serial number of latexrevise (Option --version). If you come across latexdiff output which is not processed correctly by latexrevise please include the problem file as well as the old and new files on which it is based, ideally edited to only contain the offending passage as long as that still reproduces the problem.

Note that latexrevise gets confused by commented "\begin{document}" or "\end{document}" statements

## PORTABILITY

latexrevise does not make use of external commands and thus should run on any platform supporting PERL v5 or higher.