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.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty
index 994a55cb022..dba85f432d6 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-2011
+%% Copyright 2000-2012
%% Michael N"usken, Joachim von zur Gathen, computational complexity
%%
%% IMPORTANT NOTICE:
@@ -59,7 +59,7 @@
\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
@@ -122,6 +122,9 @@
\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}}
@@ -172,12 +175,12 @@
\@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{%