diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-11 23:14:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-11 23:14:24 +0000 |
commit | 52bfd911dee324971d1d3f36c3b6f1fa2be1cd9e (patch) | |
tree | d8a50d5594a34031cc16b1a6aa5c61b00ba79d9f /Master/texmf-dist/tex/latex/computational-complexity | |
parent | 4b253de4e3a6e181da022e0ccd93d348dcfe894b (diff) |
computational-complexity (11nov15)
git-svn-id: svn://tug.org/texlive/trunk@38824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/computational-complexity')
7 files changed, 23 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls index 5aac640301e..ff78834e389 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls @@ -38,7 +38,7 @@ \ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi {\ifclass cc\else cc-cls\fi} [% CC MAIN DATE AND VERSION ON NEXT LINE -2013/06/26 v2.25c +2015/11/11 v2.25e computational complexity \ifclass document class\else package\fi] \RequirePackage{ccaux} @@ -59,8 +59,11 @@ computational complexity \DeclareOption{nomultilingual}{\ExecuteOptions{OT1,nolatin1,nobabel}} \DeclareOption{T1}{\@Tonetrue} \DeclareOption{OT1}{\@Tonefalse} -\DeclareOption{latin1}{\@latintrue} +\DeclareOption{latin1}{\@latintrue\@utfviiifalse} \DeclareOption{nolatin1}{\@latinfalse} +\DeclareOption{utf8}{\@utfviiitrue\@latinfalse} +\DeclareOption{noutf8}{\@utfviiifalse} +\DeclareOption{noinputenc}{\@latinfalse\@utfviiifalse} \DeclareOption{babel}{\@babeltrue} \DeclareOption{nobabel}{\@babelfalse} \DeclareOption{ams}{\@amstrue} @@ -161,7 +164,7 @@ computational complexity cctheorems,theoremitemprefixes,noseparateequationcounting,% ccalgorithms} \fi -\ProcessOptions\relax +\ProcessOptions* \PassOptionsToClass{\@ccptsize pt}{article} \if@twoside \PassOptionsToClass{twoside}{article} @@ -189,9 +192,11 @@ computational complexity \if@babel \RequirePackage{babel}[2008/07/06 v3.8l] \fi -\if@latin +\if@utfviii +\RequirePackage[utf8]{inputenc}[2008/03/30 v1.1d] +\else\if@latin \RequirePackage[latin1]{inputenc}[2008/03/30 v1.1d] -\fi +\fi\fi \if@ams \RequirePackage{amsmath}[2000/01/15 v2.05]% 1997/03/20 v1.2d \RequirePackage{amsfonts}[1997/09/17 v2.2e] diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty index 333df87af81..86035d17d29 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty @@ -315,7 +315,7 @@ \newdimen\blockindent \blockindent\parindent \newcounter{block@cnt} \newcommand{\nextblock}{% - \stepcounter{block@cnt}\edef\currentblock{\arabic{block@cnt}}% + \stepcounter{block@cnt}\edef\currentblock{\the\c@block@cnt}% } \newif\if@trivialrange \newcommand{\refsetrange}[2]{% @@ -348,7 +348,7 @@ } \newenvironment{algo@range}{% \par - \stepcounter{block@cnt}\edef\block@{\arabic{block@cnt}}% + \stepcounter{block@cnt}\edef\block@{\the\c@block@cnt}% \refsetrange{bob\block@}{eob\block@}% \AtNextNumberedItem{\algolabel{bob\block@}}% }{% @@ -534,7 +534,7 @@ \unhbox0 \else \dimen0=\linewidth \advance\dimen0 by -\wd2 - \unhbox2\parbox[t]{\dimen0}{\unhbox4\strut}\par\unhbox6 + \unhbox2\parbox[t]{\dimen0}{#2\strut}\par\unhbox6 \fi } \newenvironment{ifblock}[2][] diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty index d8cc727e895..9f0dbe366c3 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty @@ -39,6 +39,7 @@ \newif\if@cclayout \@cclayouttrue \newif\if@Tone \@Tonetrue \newif\if@latin \@latintrue +\newif\if@utfviii \@utfviiifalse \newif\if@babel \@babelfalse \newif\if@ams \@amstrue \newif\if@autotitle \@autotitletrue diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty index 27bec63de62..0edfb7f2394 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty @@ -298,7 +298,7 @@ \draftcopyName{\cc@watermarktext}{75} \linenumbers \fi - \RequirePackage[dvips, + \RequirePackage[%dvips, bookmarks=\ifKV@ccsps@xlink true\else false\fi, breaklinks=true, colorlinks=\ifKV@ccsps@xlink true\else false\fi, diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty index f44aa768b77..cb32ecc7368 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty @@ -31,7 +31,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesPackage{ccqed}[2000/02/29 v2.05 +\ProvidesPackage{ccqed}[2014/07/08 v2.25d right-justified end-of-proof mark, based on Paul Taylor's QED.sty of 24 June 1995] \def\qed{\protect\@qed{$\qedsymbol$}} @@ -161,7 +161,7 @@ \DeclareOption{explicit-QED}{\AutoQEDfalse}% \DeclareOption{black-square}{\def\qedsymbol{\blacksquare}}% \DeclareOption{open-square}{\def\qedsymbol{\square}}% -\ProcessOptions\relax +\ProcessOptions* \newif\if@resettagsleft@ \let\standardqed\qed \def\rescueqed{\qquad\qedsymbol\vphantom{\standardqed}} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty index 4a0908feaac..ee5fc9ffbb9 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty @@ -31,13 +31,13 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesPackage{ccthm}[2012/06/22 v2.25 +\ProvidesPackage{ccthm}[2014/07/08 v2.25d theorem environments for cc. Michael Nuesken, Bonn.] \newif\if@theoremitemprefixes \DeclareOption{theoremitemprefixes}{\@theoremitemprefixestrue} \DeclareOption{notheoremitemprefixes}{\@theoremitemprefixesfalse} \ExecuteOptions{theoremitemprefixes} -\ProcessOptions\relax +\ProcessOptions* \RequirePackage{theorem}[1995/11/23 v2.2c] \RequirePackage{thcc} \RequirePackage{relabel} @@ -78,7 +78,7 @@ \protect\protect\protect\@@conduselabel {{\protect\csname the#1\endcsname}}% {\@thm@bare@currentlabel}{\@thm@currentlabel}% - (\theenumi.\theenumii.\theenumiii##1)} + (\theenumi.\theenumii.\theenumiii##1)}% } \else \def\EnumerationInTheorems#1{% @@ -89,7 +89,7 @@ \def\theenumiii{\@arabic\c@enumiii}% \def\labelenumiii{(\theenumiii)}% \defprefix{enumiii}##1{(\theenumi.\theenumii.##1)}% - \defprefix{enumiv}##1{(\theenumi.\theenumii.\theenumiii##1)} + \defprefix{enumiv}##1{(\theenumi.\theenumii.\theenumiii##1)}% } \fi \def\reset@prefixrefstepcounter#1{% diff --git a/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty b/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty index b412c09d7a8..655da4473cf 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/relabel.sty @@ -33,7 +33,7 @@ %% Right brace \} Tilde \~} %% Copyright (C) 1998 Michael N\"{u}sken, all rights reserved. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{relabel}[1998/09/07 v1.01 Relabel. MNuesken] +\ProvidesPackage{relabel}[2014/07/08 v1.02 Relabel. MNuesken] \newif\if@prefixes \DeclareOption{prefixes}{\@prefixestrue} \DeclareOption{noprefixes}{\@prefixesfalse} @@ -41,7 +41,7 @@ \DeclareOption{bare}{\@baretrue} \DeclareOption{nobare}{\@barefalse} \ExecuteOptions{prefixes,nobare} -\ProcessOptions\relax +\ProcessOptions* \newcommand*{\Label}[2]{\modify{#2}\label{#1}\revert} \newcommand*{\modify}[1]{\@bsphack% \global\let\revert@currentlabel\@currentlabel |