Matthew Johnson

Page Body

LaTeX Changebar Integration with Git

This is a small shell script which will automatically generate changebars for a LaTeX document stored in the Git revision control system based on changes from a previous version. It is licenced under the GNU GPL version 2.

git-changebar depends on git and a variety of common UNIX utilities. It takes 2 parameters: a treeish (commit hash, branch name, HEAD, etc) and a list of files, which must be LaTeX documents (extension .tex). It creates files with changebars named .diff.tex for each input file.