diff options
author | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 19:25:52 +0000 |
---|---|---|
committer | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 19:25:52 +0000 |
commit | beba1e52b76581c28088647d2cd8283ce06cba72 (patch) | |
tree | ad607abb23b820b98ad32337ca7a51c3b48233c9 | |
parent | e3ee47b5319b0a67975429b78411c72b3c906e30 (diff) |
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 <mst@redhat.com>
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@458 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r-- | commands.tex | 2 | ||||
-rw-r--r-- | diffpreamble.tex | 4 |
2 files changed, 6 insertions, 0 deletions
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}} |