summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-06-26 16:50:47 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-06-26 16:50:47 +0000
commit0529224af82fbcfa5b65f84c5cb2f809d50de7ae (patch)
tree6c0fa3633239455c7bdddd64dbf69563ea1a622a
parent5de86e7b0e0ba41eac5b45d8fbc28ebd702b8333 (diff)
diff: back to green for added text
using blue does not work well for html Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@396 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r--diffpreamble.tex14
-rwxr-xr-xmakediff.sh8
2 files changed, 10 insertions, 12 deletions
diff --git a/diffpreamble.tex b/diffpreamble.tex
index b9c8e00..6cbf172 100644
--- a/diffpreamble.tex
+++ b/diffpreamble.tex
@@ -1,21 +1,19 @@
%% diffpreable.tex start
-\definecolor{pinegreen}{rgb}{0.0, 0.47, 0.44}
-
%DIF FONTSTRIKE PREAMBLE
\RequirePackage[normalem]{ulem}
-\providecommand{\DIFadd}[1]{{\color{blue}\sf #1}}
-\providecommand{\DIFdel}[1]{{\color{red}\footnotesize \sout{#1}}}
+\providecommand{\DIFadd}[1]{\protect\textcolor{green}{\sf #1}}
+\providecommand{\DIFdel}[1]{\protect\textcolor{red}{\footnotesize \sout{#1}}}
%DIF END FONTSTRIKE PREAMBLE
%DIF COLOR PREAMBLE
\RequirePackage{color}
-\providecommand{\DIFaddbegin}{\begingroup\color{blue}\hypersetup{linkcolor=blue,urlcolor=blue}}
-\providecommand{\DIFaddend}{\hypersetup{linkcolor=pinegreen,urlcolor=pinegreen}\endgroup}
+\providecommand{\DIFaddbegin}{\begingroup\color{green}\hypersetup{linkcolor=green,urlcolor=green}}
+\providecommand{\DIFaddend}{\hypersetup{linkcolor=blue,urlcolor=blue}\endgroup}
\providecommand{\DIFdelbegin}{\begingroup\color{red}\hypersetup{linkcolor=red,urlcolor=red}}
-\providecommand{\DIFdelend}{\hypersetup{linkcolor=pinegreen,urlcolor=pinegreen}\endgroup}
+\providecommand{\DIFdelend}{\hypersetup{linkcolor=blue,urlcolor=blue}\endgroup}
%DIF END COLOR PREAMBLE
-\providecommand{\DIFaddtext}[1]{\textcolor{blue}{\sf #1}}
+\providecommand{\DIFaddtext}[1]{\textcolor{green}{\sf #1}}
\providecommand{\DIFdeltext}[1]{\textcolor{red}{\footnotesize \sout{#1}}}
%DIF FLOATSAFE PREAMBLE: SEEMS UNUSED BUT JUST IN CASE
diff --git a/makediff.sh b/makediff.sh
index 6657292..3bf9dc0 100755
--- a/makediff.sh
+++ b/makediff.sh
@@ -8,9 +8,9 @@ rm -fr old new
git clone $PWD old
cd "${cur}/old"
git checkout ec1ffbf27a8f0a06ca65cd498a69c7f89bd97dc1
-mv specvars.tex specvars-orig.tex
+#mv specvars.tex specvars-orig.tex
#make links green to avoid confusion
-sed s/blue/pinegreen/ specvars-orig.tex > specvars.tex
+#sed s/blue/pinegreen/ specvars-orig.tex > specvars.tex
SPECDOC=${SPECDOC:-`cat REVISION`}
./make-setup-generated.sh "$SPECDOC"
#wget http://www.ctan.org/pkg/latexpand
@@ -19,9 +19,9 @@ latexpand $MAIN -o flat.tex
cd "${cur}"
git clone $PWD new
cd "${cur}/new"
-mv specvars.tex specvars-orig.tex
+#mv specvars.tex specvars-orig.tex
#make links green to avoid confusion
-sed s/blue/pinegreen/ specvars-orig.tex > specvars.tex
+#sed s/blue/pinegreen/ specvars-orig.tex > specvars.tex
SPECDOC=${SPECDOC:-`cat REVISION`}
./make-setup-generated.sh "$SPECDOC"
latexpand $MAIN -o flat.tex