From beba1e52b76581c28088647d2cd8283ce06cba72 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Tue, 23 Dec 2014 19:25:52 +0000 Subject: commands: add DIFdeltextcstwo/DIFaddtextcstwo Can be used to manually mark up cs02 changes where latexdiff didn't go a good job. We make them nop outside latexdiff. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@458 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- commands.tex | 2 ++ diffpreamble.tex | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/commands.tex b/commands.tex index 182f8ef..59c3da3 100644 --- a/commands.tex +++ b/commands.tex @@ -12,3 +12,5 @@ % Mark a normative section (driver or device) \newcommand{\drivernormative}[3]{#1{Driver Requirements: #2}\label{drivernormative:#3}} \newcommand{\devicenormative}[3]{#1{Device Requirements: #2}\label{devicenormative:#3}} +\providecommand{\DIFaddtextcstwo}[1]{#1} +\providecommand{\DIFdeltextcstwo}[1]{} diff --git a/diffpreamble.tex b/diffpreamble.tex index 6cbf172..8162004 100644 --- a/diffpreamble.tex +++ b/diffpreamble.tex @@ -16,6 +16,10 @@ \providecommand{\DIFaddtext}[1]{\textcolor{green}{\sf #1}} \providecommand{\DIFdeltext}[1]{\textcolor{red}{\footnotesize \sout{#1}}} +%manual markup for cs02 +\renewcommand{\DIFaddtextcstwo}[1]{\textcolor{green}{\sf #1}} +\renewcommand{\DIFdeltextcstwo}[1]{\textcolor{red}{\footnotesize \sout{#1}}} + %DIF FLOATSAFE PREAMBLE: SEEMS UNUSED BUT JUST IN CASE \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} -- cgit v1.2.3