From 2cb1be86ca0bdb5d7a7c2febba6744d2ab8959e2 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Thu, 26 Jun 2014 12:34:23 +0000 Subject: diffpreamble: remove duplicate text latexdiff adds some Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@388 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- diffpreamble.tex | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/diffpreamble.tex b/diffpreamble.tex index d34ced5..6dc177c 100644 --- a/diffpreamble.tex +++ b/diffpreamble.tex @@ -1,8 +1,11 @@ +%% diffpreable.tex start + %DIF FONTSTRIKE PREAMBLE \RequirePackage[normalem]{ulem} -\providecommand{\DIFaddtex}[1]{{\sf #1}} -\providecommand{\DIFdeltex}[1]{{\footnotesize \sout{#1}}} +\providecommand{\DIFadd}[1]{{\sf #1}} +\providecommand{\DIFdel}[1]{{\footnotesize \sout{#1}}} %DIF END FONTSTRIKE PREAMBLE + %DIF COLOR PREAMBLE \RequirePackage{color} \providecommand{\DIFaddbegin}{\protect\color{blue}} @@ -10,12 +13,6 @@ \providecommand{\DIFdelbegin}{\protect\color{red}} \providecommand{\DIFdelend}{\protect\color{black}} %DIF END COLOR PREAMBLE -% Standard \DIFadd and \DIFdel are redefined as \DIFaddtex and \DIFdeltex -% when hyperref package is included. -%DIF HYPERREF PREAMBLE -\providecommand{\DIFadd}[1]{\texorpdfstring{\DIFaddtex{#1}}{#1}} -\providecommand{\DIFdel}[1]{\texorpdfstring{\DIFdeltex{#1}}{}} -%DIF END HYPERREF PACKAGE %DIF FLOATSAFE PREAMBLE: SEEMS UNUSED BUT JUST IN CASE \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} @@ -25,3 +22,5 @@ \providecommand{\DIFdelbeginFL}{} \providecommand{\DIFdelendFL}{} %DIF END FLOATSAFE PREAMBLE + +%% diffpreable.tex end -- cgit v1.2.3