summaryrefslogtreecommitdiff
path: root/makediff.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-06-26 16:50:13 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-06-26 16:50:13 +0000
commitef519a86f046d1be22f82f32d845653a850c21dd (patch)
tree55696fe7bf386e14c9252079023a86d4eadea6e7 /makediff.sh
parentccac3cdd0b8ee5d59618c52fa67006037042441f (diff)
makediff: cleanup using begingroup/endgroup
Pawel Moll found a way to work around xetex bugs without mangling latexdiff output using perl: - define DIFbegin/DIFFend commands in preample - pass --config FLOATENV= to latexdiff Use this in preference to the fixupdiff perl script. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@393 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makediff.sh')
-rwxr-xr-xmakediff.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makediff.sh b/makediff.sh
index 460b593..6657292 100755
--- a/makediff.sh
+++ b/makediff.sh
@@ -35,5 +35,5 @@ sed 's/\\footnote{/\\footnote {/' new/flat.tex > new/flat-fixed.tex
#cp new/flat.tex new/flat-fixed.tex
#wget http://mirror.math.ku.edu/tex-archive/support/latexdiff/latexdiff-fast
#chmod +x latexdiff-fast
-latexdiff-fast --append-safecmd=field --ignore-warnings -p diffpreamble.tex old/flat-fixed.tex new/flat-fixed.tex > virtio-diff.tex
-perl -pi fixupdiff.pl virtio-diff.tex
+latexdiff-fast --config "FLOATENV=(?:figure|table|tabular|plate)[\w\d*@]*" --append-safecmd=field --ignore-warnings -p diffpreamble.tex old/flat-fixed.tex new/flat-fixed.tex > virtio-diff.tex
+#perl -pi fixupdiff.pl virtio-diff.tex