From ef519a86f046d1be22f82f32d845653a850c21dd Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Thu, 26 Jun 2014 16:50:13 +0000 Subject: 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 git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@393 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- makediff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makediff.sh') 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 -- cgit v1.2.3