summaryrefslogtreecommitdiff
path: root/makediff.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2016-02-16 18:09:33 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2016-02-16 18:09:33 +0000
commitfed7c9840265d7a5f251db42f6ee6d0c3f67eee0 (patch)
tree567c6ac8277d17679fbee393aadd6ed371d3bfdf /makediff.sh
parentcf56d824c88b9707b1db7e591661aebdf67ede60 (diff)
makediff: suppress diff for chater names
Temporary hack since we have nameref pointing to a chapter name, and that conflicts with latexdiff. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@566 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makediff.sh')
-rwxr-xr-xmakediff.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/makediff.sh b/makediff.sh
index 71b640e..1dd75d4 100755
--- a/makediff.sh
+++ b/makediff.sh
@@ -52,6 +52,7 @@ sed 's/\\footnote{/\\footnote {/' new/flat.tex > new/flat-fixed.tex
latexdiff-fast --config \
"FLOATENV=(?:figure|longtable|table|tabular|plate|lstlisting|note|enumerate|itemize)[\w\d*@]*,PICTUREENV=(?:picture|DIFdeltextcstwo|DIFnomarkup|lstlisting)[\w\d*@]*" \
--append-safecmd=field --append-textcmd=mmioreg \
+ --exclude-textcmd=chapter \
--ignore-warnings -p diffpreamble.tex old/flat-fixed.tex \
new/flat-fixed.tex > virtio-diff-tofix.tex
perl fixupdiff.pl virtio-diff-tofix.tex > virtio-diff.tex