summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty')
-rw-r--r--Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty24
1 files changed, 7 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
index 0a6af049c11..994a55cb022 100644
--- a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
+++ b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
@@ -6,7 +6,7 @@
%%
%% cc.dtx (with options: `ccaux,chartab')
%%
-%% Copyright 2000-2010
+%% Copyright 2000-2011
%% Michael N"usken, Joachim von zur Gathen, computational complexity
%%
%% IMPORTANT NOTICE:
@@ -47,13 +47,18 @@
\newif\if@natbib \@natbibtrue
\newif\if@manualbibliography \@manualbibliographyfalse
\newif\if@twocolumnbibliography \@twocolumnbibliographyfalse
+\newif\if@twocolumnendtitle \@twocolumnendtitletrue
\newif\if@cctheorems \@cctheoremstrue
\newif\if@standardtheorems \@standardtheoremstrue
\newif\if@ccnosepeqncnt \@ccnosepeqncnttrue
\newif\if@ccalgo \@ccalgotrue
\newif\if@theoremitemprefixes \@theoremitemprefixestrue
\newif\if@ccpublish \@ccpublishfalse
-\newif\if@cctextarea \@cctextareatrue
+\newcount\@textareaversion
+\expandafter\def\csname if@cctextarea\endcsname{\ifnum\@textareaversion>0}
+\def\@cctextareafalse{\@textareaversion\z@}
+\def\@cctextareatrue{\@textareaversion\tw@}
+\@cctextareatrue
\newcount\@marginmode \@marginmode\tw@
\def\numberallwithin#1{\gdef\cc@numberingtoplevel{#1}}
\def\@adjustnumbering{%
@@ -163,16 +168,6 @@
\long\def\cc@xifempty#1#2@#3#4#5\@nil{%
\ifx#3#4\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
\long\def\cc@ifnotempty#1{\cc@ifempty{#1}{}}
-%%% \def\oldbabel\def#1#2#3#4#5#6{\def#1{#2}%
-%%% \cc@ifnotempty{#2}{\addto\captionsenglish{\def#1{#2}}}%
-%%% \cc@ifnotempty{#3}{%
-%%% \addto\captionsgerman{\def#1{#3}}%
-%%% \addto\captionsngerman{\def#1{#3}}%
-%%% }%
-%%% \cc@ifnotempty{#4}{\addto\captionsfrench{\def#1{#4}}}%
-%%% \cc@ifnotempty{#5}{\addto\captionsitalian{\def#1{#5}}}%
-%%% \cc@ifnotempty{#6}{\addto\captionsspanish{\def#1{#6}}}%
-%%% }
\def\babel\def#1#2{%
\@ifnextchar[{\n@wbabel{#1}{#2}}{\n@wbabel{#1}{#2}[]}}
\def\n@wbabel#1#2[#3]{%
@@ -182,12 +177,7 @@
}
\def\b@beladdlang#1=#2=#3\@@@#4{%
\cc@ifnotempty{#2}{%
- %%% \@ifundefined{captions#1}{%
- %%% \ClassWarning{cc}{Language `#1' undefined, ignoring
- %%% translation \string#4=#2.}%
- %%% }{%
\expandafter\addto\csname captions#1\endcsname{\def#4{#2}}%
- %%% }%
}%
}
\def\babeladdtranslations#1#2{%