From b665b3165b454b98c782617e37a128b53b56c89c Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Thu, 26 Jun 2014 12:34:38 +0000 Subject: work around xetex bug Too many \color directives produce corrupted output and this warning: WARNING ** Color stack overflow. Just ignore. Use script to reduce # of these directives. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@389 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- makediffpdf.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makediffpdf.sh') diff --git a/makediffpdf.sh b/makediffpdf.sh index 2eb2fbd..34904bf 100755 --- a/makediffpdf.sh +++ b/makediffpdf.sh @@ -28,6 +28,8 @@ cd "${cur}" #wget http://mirror.math.ku.edu/tex-archive/support/latexdiff/latexdiff-fast #chmod +x latexdiff-fast latexdiff-fast -p diffpreamble.tex old/flat.tex new/flat.tex > virtio-diff.tex +perl -pi fixupdiff.pl virtio-diff.tex +SPECDOC="${SPECDOC}-diff" rm $SPECDOC.aux $SPECDOC.pdf $SPECDOC.out xelatex --jobname $SPECDOC virtio-diff.tex xelatex --jobname $SPECDOC virtio-diff.tex -- cgit v1.2.3