My fork of git-latexdiff. The main purpose is to include support for the LaTeX package gitinfo2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Jireh Loreaux abace51f75 add support for gitinfo2 5 years ago
tests Fix tectonic support 5 years ago
.gitignore add man-related generated files to .gitignore 9 years ago
COPYING add BDS licence as an alternative 8 years ago
Makefile Better README for ctan, as requested following the first upload 5 years ago
README.md Better README for ctan, as requested following the first upload 5 years ago
git-latexdiff add support for gitinfo2 5 years ago
git-latexdiff.txt.header add rudimentary man page 9 years ago
windows_install.cmd Simple install script for MS Windows 9 years ago

README.md

Git LaTeXdiff

git-latexdiff is a tool to graphically visualize differences between different versions of a LaTeX file. Technically, it is a wrapper around git and latexdiff.

If your LaTeX source is split accross several *.tex files, git-latexdiff can call latexpand to expand it before running latexdiff (this usually works better than using latexdiff --flatten).

To get the manpage (needed to get git-latexdiff --help to work), you need the a2x tool from the asciidoc package.

Copying

git-latexdiff’s main author is Matthieu Moy. The script is freely distributable and modifyable under the terms of the simplified BSD licence.

Documentation

The documentation is available through these commands:

git-latexdiff -h
git-latexdiff --help-examples

If you installed the manpage properly, you can get the same documentation with:

man git-latexdiff

Installation

Using the Makefile

To install git-latexdiff in Git’s exec-path and generate and install a manpage, run this command from the root directory of git-latexdiff’s distribution:

make install

If Git was installed as root, you will need to run this command as root, for example using:

sudo make install

If it fails, you may try installing only the script (you can still read the documentation using git latexdiff -h):

make install-bin

Once the script git-latexdiff and the manpage git-latexdiff.1 are installed, you’re ready to go (no configuration file to edit).

Manual installation

A simple way to install git-latexdiff is to copy the file git-latexdiff anywhere in your $PATH (e.g. in /usr/local/bin, run echo $PATH get the list) or in Git’s exec-path (run git --exec-path to get it).

To get the documentation, you need to generate it:

make git-latexdiff.1

and then copy git-latexdiff.1 in your man-path (run git --man-path to get the location).