From f17434595759bd2eb2cf02b2f042956adb23eb04 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 19 Apr 2012 16:53:20 +0000
Subject: computational-complexity (18apr12)

git-svn-id: svn://tug.org/texlive/trunk@26045 c570f23f-e606-0410-a88d-b1316a301751
---
 .../computational-complexity/cc-cls-inline.tex     | 71 ++++++++++++----------
 1 file changed, 39 insertions(+), 32 deletions(-)

(limited to 'Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex')

diff --git a/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex b/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
index 839a0f3c046..72747332f1d 100644
--- a/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
+++ b/Master/texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
@@ -7,7 +7,7 @@
 %%
 %% cc.dtx  (with options: `cccls,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -39,7 +39,7 @@
 \ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi
 {\ifclass cc\else cc-cls\fi}
 [% CC MAIN DATE AND VERSION ON NEXT LINE
-2011/07/28 v2.20
+2012/04/17 v2.21
 computational complexity
 \ifclass document class\else package\fi]
 \RequirePackage{ccaux}
@@ -146,7 +146,7 @@ computational complexity
 \DeclareOption*{\OptionNotUsed
   \PassOptionsToClass{\CurrentOption}{article}}
 \ifclass
-\ExecuteOptions{a4paper,12pt,cctextarea,balancedmargins,twoside,%
+\ExecuteOptions{a4paper,12pt,cctextarea,twoside,%
   OT1,nolatin1,nobabel,%
   localnumbering,bare,%
   leqno,ams,ccpublish,cclayout,autotitle,ccsectioning,%
@@ -428,7 +428,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccsty,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -467,7 +467,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc2cite,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -538,7 +538,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4amsart,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -594,7 +594,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4apjrnl,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -660,7 +660,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4elsart,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -745,7 +745,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4jT,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -827,7 +827,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4llncs,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -919,7 +919,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4siamltex,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -998,7 +998,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cc4svjour,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -1084,7 +1084,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccalgo,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -1398,6 +1398,7 @@ computational complexity
 \newif\if@trivialrange
 \newcommand{\refsetrange}[2]{%
   {\shortlabeltrue
+    \let\index\relax
     \let\@tempa\relax
     \protected@edef\@tempa{%
       \csname r@\the\algorithmmasterkey-#1\endcsname}%
@@ -1718,7 +1719,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccaux,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -1771,7 +1772,7 @@ computational complexity
 \def\@cctextareafalse{\@textareaversion\z@}
 \def\@cctextareatrue{\@textareaversion\tw@}
 \@cctextareatrue
-\newcount\@marginmode \@marginmode\tw@
+\newcount\@marginmode \@marginmode\m@ne
 \def\numberallwithin#1{\gdef\cc@numberingtoplevel{#1}}
 \def\@adjustnumbering{%
   \if@longarticle
@@ -1834,6 +1835,9 @@ computational complexity
   \advance\count@\@ne
   \expandafter\xdef\csname cc@warncount@#1\endcsname{\the\count@}%
   }
+\newcommand{\cc@addto}[2]{%
+  \expandafter\ccaddto\expandafter{\csname
+  cc@\string#1\endcsname}{#2}{#1}}
 \providecommand{\addto}[2]{%
   \expandafter\ccaddto\expandafter{\csname
   cc@\string#1\endcsname}{#2}{#1}}
@@ -1884,12 +1888,12 @@ computational complexity
   \@ifnextchar[{\n@wbabel{#1}{#2}}{\n@wbabel{#1}{#2}[]}}
 \def\n@wbabel#1#2[#3]{%
   \def#1{#2}%
-  \cc@ifnotempty{#2}{\addto\captionsenglish{\def#1{#2}}}%
+  \cc@ifnotempty{#2}{\cc@addto\captionsenglish{\def#1{#2}}}%
   \babeladdtranslations#1{#3}%
 }
 \def\b@beladdlang#1=#2=#3\@@@#4{%
   \cc@ifnotempty{#2}{%
-    \expandafter\addto\csname captions#1\endcsname{\def#4{#2}}%
+    \expandafter\cc@addto\csname captions#1\endcsname{\def#4{#2}}%
   }%
 }
 \def\babeladdtranslations#1#2{%
@@ -1924,7 +1928,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cccite,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -2071,7 +2075,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccdbs,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -2127,7 +2131,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `cclayout,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -2425,6 +2429,7 @@ computational complexity
     colorlinks=\ifKV@ccsps@xlink true\else false\fi,
     linkcolor=\ifKV@ccsps@xlink blue\else black\fi,
     unicode]{hyperref}[2011/04/17 v6.82g]%
+  \AtBeginDocument{\init@bare}
   \RequirePackage{breakurl}[2009/01/24 v1.30]%
   \def\l@title##1{\@dottedtocline{-1}{0pt}{0pt}{{\large\textbf{##1}}}}%
   \let\l@title\l@part
@@ -2690,7 +2695,7 @@ computational complexity
     \fi
   \fi}%
 }
-\typeout{Now adjusting margins.}
+\typeout{Now adjusting margins (\the\@marginmode).}
 \ifcase\@marginmode
 \AtEndOfClass{%
 \oddsidemargin\paperwidth
@@ -3078,7 +3083,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccproof,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -3139,7 +3144,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccqed,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -3367,7 +3372,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccref,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -3431,7 +3436,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccreltx,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -3511,7 +3516,7 @@ computational complexity
 %%
 %% cc.dtx  (with options: `ccthm,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -4461,7 +4466,7 @@ Submit
 %%
 %% cc.dtx  (with options: `relabel,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
@@ -4558,14 +4563,16 @@ Submit
        {\csname the#1\endcsname}%
 }
 \if@bare
-\let\relabel@label\label
-\def\label#1{\ifx\@currentlabel\@bare@currentlabel\else
-  {\let\@currentlabel\@bare@currentlabel\relabel@label{bare@#1}}%
-  \fi\relabel@label{#1}}
+\def\relabel@label#1{\ifx\@currentlabel\@bare@currentlabel\else
+  {\let\@currentlabel\@bare@currentlabel\relabel@olabel{bare@#1}}%
+  \fi\relabel@olabel{#1}}
+\def\init@bare{\if@bare\let\relabel@olabel\label\let\label\relabel@label\fi}
+\AtBeginDocument{\init@bare}%
 \def\bare\ref#1{\@ifundefined{r@bare@#1}{\ref{#1}}{\ref{bare@#1}}}
 \else
 \def\bare{\PackageWarning{relabel}{\string\bare\space disabled! (Use
     option bare to enable it.)}}
+\def\init@bare{}
 \fi
 \let\@bare@currentlabel\@currentlabel
 \endinput
@@ -4581,7 +4588,7 @@ Submit
 %%
 %% cc.dtx  (with options: `thcc,chartab')
 %% 
-%% Copyright 2000-2011
+%% Copyright 2000-2012
 %% Michael N"usken, Joachim von zur Gathen, computational complexity
 %% 
 %% IMPORTANT NOTICE:
-- 
cgit v1.2.3

