diff options
-rw-r--r-- | diffpreamble.tex | 14 | ||||
-rwxr-xr-x | makediff.sh | 8 |
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 |