Friday, December 13, 2013

latex difference check

#! /bin/sh -f
# Bourne shell
# script to run latex diff on two text files and then 
# compile into a pdf file
#
# usage: latexdifftopdf.sh oldtexprefix newtexprefix

latexdiff $1.tex $2.tex > latexdiffOF$1AND$2.tex

# the usual compile script that incorporates the bib file
# makes the pdf file
# and cleans up after itself
compile.sh latexdiffOF$1AND$2

# cleanup of latexdiff output
/bin/rm -f latexdiffOF$1AND$2.tex

No comments:

Post a Comment