diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-19 16:53:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-19 16:53:20 +0000 |
commit | f17434595759bd2eb2cf02b2f042956adb23eb04 (patch) | |
tree | dca1875eff688e7fae19bbf8562636fa6be6a1f8 /Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty | |
parent | a2b539be57596e35eac0c7860004eec5b838c447 (diff) |
computational-complexity (18apr12)
git-svn-id: svn://tug.org/texlive/trunk@26045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty | 11 |
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{% |