diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
18 files changed, 64 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls index ebbd93b927c..9bb0e2a613c 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc.cls +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc.cls @@ -39,7 +39,7 @@ \newif\ifclass \ifx\@currext\@clsextension\classtrue\else\classfalse\fi \ifclass\expandafter\ProvidesClass\else\expandafter\ProvidesPackage\fi -{\ifclass cc\else cc-cls\fi}[2005/08/27 v2.04 +{\ifclass cc\else cc-cls\fi}[2006/10/13 v2.06 computational complexity \ifclass document class\else package\fi] \RequirePackage{ccaux} @@ -268,12 +268,24 @@ {-2.9ex\@plus-.5ex\@minus-.2ex}% {1.5ex\@plus.5ex\@minus.2ex}% {\normalfont\large\bfseries\centering}} +\def\opt@fullstop#1{#1{\tracingall\has@fullstop#1.\@@@ +\if@tempswa\else +\has@exlamationmark#1!\@@@ +\if@tempswa\else +\has@questionmark#1?\@@@ +\if@tempswa\else +.\fi +\fi +\fi}} +\def\has@fullstop#1.#2\@@@{\@ifempty{#2}{\@tempswafalse}{\@tempswatrue}} +\def\has@exlamationmark#1!#2\@@@{\@ifempty{#2}{\@tempswafalse}{\@tempswatrue}} +\def\has@questionmark#1?#2\@@@{\@ifempty{#2}{\@tempswafalse}{\@tempswatrue}} \def\dot@sect#1#2#3#4#5#6[#7]#8{% \let\@sect\ccorg@sect\let\@ssect\ccorg@ssect - \@sect{#1}{#2}{#3}{#4}{#5}{#6}[#7]{#8.}} + \@sect{#1}{#2}{#3}{#4}{#5}{#6}[#7]{\opt@fullstop{#8}}} \def\dot@ssect#1#2#3#4#5{% \let\@sect\ccorg@sect\let\@ssect\ccorg@ssect - \@ssect{#1}{#2}{#3}{#4}{#5.}} + \@ssect{#1}{#2}{#3}{#4}{\opt@fullstop{#5}}} \def\add@dot{% \let\ccorg@sect\@sect\let\ccorg@ssect\@ssect \let\@sect\dot@sect\let\@ssect\dot@ssect} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty index e85750a9baf..3291c6a419e 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc2cite.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc2cite}[2000/02/29 v2.04 cc2 cite helper package] +\ProvidesPackage{cc2cite}[2000/02/29 v2.05 cc2 cite helper package] \RequirePackage{natbib} \bibpunct{(}{)}{;}{a}{}{,} \newcommand{\bibstyle@cc}{\bibpunct{(}{)}{;}{a}{}{,}} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty index 9773f80769d..a1a260ffc5e 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4amsart.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4amsart}[2002/01/08 v2.04 +\ProvidesPackage{cc4amsart}[2002/01/08 v2.05 computational complexity, adaptions to amsart. Michael Nuesken, Bonn.] \RequirePackage{ccaux} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4apjrnl.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4apjrnl.sty index e55dbeceab2..61f291766ee 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4apjrnl.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4apjrnl.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4apjrnl}[2002/01/08 v2.04 +\ProvidesPackage{cc4apjrnl}[2002/01/08 v2.05 computational complexity, adaptions to apjrnl. Michael Nuesken, Bonn.] \let\answer\relax diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty index ef06f3356e7..1f628bd5410 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4elsart.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4elsart}[2003/08/28 v2.04 +\ProvidesPackage{cc4elsart}[2003/08/28 v2.05 computational complexity, adaptions to elsart. Michael Nuesken, Bonn.] \RequirePackage{ccaux} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty index b513a6a9188..c665a0290c3 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4jT.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4jT}[2002/01/08 v2.04 +\ProvidesPackage{cc4jT}[2002/01/08 v2.05 computational complexity, adaptions to jT which uses amsart. Michael Nuesken, Bonn.] \RequirePackage{ccaux} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty index 2d915d3c2c9..0bf853203f7 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4llncs.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4llncs}[2002/10/01 v2.04 +\ProvidesPackage{cc4llncs}[2002/10/01 v2.05 computational complexity, adaptions to llncs. Michael Nuesken, Bonn.] \let\claim\relax \let\endclaim\relax diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty b/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty index 5d85deaf87a..0ebc534796f 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cc4siamltex}[2002/05/22 v2.04 +\ProvidesPackage{cc4siamltex}[2002/05/22 v2.05 computational complexity, adaptions to siamltex. Michael Nuesken, Bonn.] diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty index 9171a0d01b3..9583be673ca 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccalgo.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccalgo}[2005/08/27 v2.04 +\ProvidesPackage{ccalgo}[2005/08/27 v2.05 algorithm environment for cc. Michael Nuesken, Bonn.] \let\namedalgorithm\@undefined \let\endnamedalgorithm\@undefined diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty index b5ff2b5b442..93f256b6dcb 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccaux.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccaux}[2005/08/27 v2.04 +\ProvidesPackage{ccaux}[2005/08/27 v2.05 computational complexity, auxiliaries. Michael Nuesken, Bonn.] \newif\if@longarticle \@longarticletrue @@ -125,11 +125,11 @@ cc@\string#1\endcsname}{#2}{#1}} \newcommand{\ccaddto}[3]{% \ifx#1\@undefined - \def#1{#2}% + \gdef#1{#2}% \AtBeginDocument{\expandafter\ccaddtonow\expandafter{#1}#3}% \else \ifx#1\relax - \def#1{#2}% + \gdef#1{#2}% \AtBeginDocument{\expandafter\ccaddtonow\expandafter{#1}#3}% \else {\toks@\expandafter{#1#2}% @@ -139,10 +139,10 @@ } \newcommand{\ccaddtoINDOC}[3]{% \ifx#1\@undefined - \def#1{#2}% + \gdef#1{#2}% \else \ifx#1\relax - \def#1{#2}% + \gdef#1{#2}% \else {\toks@\expandafter{#1#2}% \xdef#1{\the\toks@}}% @@ -152,10 +152,10 @@ \AtBeginDocument{\global\let\ccaddto\ccaddtoINDOC} \newcommand{\ccaddtonow}[2]{% \ifx#2\@undefined - \def#2{#1}% + \gdef#2{#1}% \else \ifx#2\relax - \def#2{#1}% + \gdef#2{#1}% \else {\toks@\expandafter{#2#1}% \xdef#2{\the\toks@}}% diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty b/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty index 148eb619ee6..459effe5ab4 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cccite.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{cccite}[2000/02/29 v2.04 cc cite helper package] +\ProvidesPackage{cccite}[2000/02/29 v2.05 cc cite helper package] \PackageWarningNoLine{cccite}{% The package cccite is obsolete.\MessageBreak Better use cc2cite. diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccdbs.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccdbs.sty index 2346d7bad32..46d798e89bb 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccdbs.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccdbs.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccdbs}[2000/02/20 v2.04 bibliography helper package] +\ProvidesPackage{ccdbs}[2000/02/20 v2.05 bibliography helper package] \let\ccorg@bibliographystyle\bibliographystyle \newif\if@bibstylemissing \@bibstylemissingtrue \def\bibliographystyle{\@bibstylemissingfalse diff --git a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty index d42ed53542e..1a935bc8cac 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/cclayout.sty @@ -80,13 +80,21 @@ \newdimen\@abstrwidth \newenvironment{@abstr}[1]{% \vbox\bgroup - \hsize\@abstrwidth + \hsize\textwidth \@parboxrestore + \leftmargin.5\textwidth \advance\leftmargin-.5\@abstrwidth + \rightmargin\leftmargin + \@trivlist\@newlistfalse\global\@inlabeltrue + \advance\linewidth -\rightmargin + \advance\linewidth -\leftmargin + \advance\@totalleftmargin \leftmargin + \parshape \@ne \@totalleftmargin \linewidth \small \textbf{#1. }\ignorespaces} {% - \strut\par - \vskip\z@ + %\strut + \par + %\vskip\z@ \egroup \ignorespacesafterend} \newif\if@abstractoptional @@ -120,7 +128,7 @@ \gdef\@cctxt{cc \textbf{#2} (#1)}% \global\@autotitletrue \AtBeginDocument{\addtocounter{section}{-1}\refstepcounter{section}}% - \AtEndDocument{\label{!end!document!}}% + \AtEndDocument{\label{ccenddocument}}% } \newcommand{\noccpublish}[1]{% \global\@ccpublishfalse @@ -393,20 +401,24 @@ \cite@hook{}% \if@cchead \vbox to\z@{\vss - \@ifundefined{r@!end!document!}{\@tempcnta\z@}{% + \@ifundefined{r@ccenddocument}{\@tempcnta\z@}{% \@tempcnta\@ne \advance\@tempcnta-\@ccfirst - \edef\@tempa{% - \expandafter\@secondoftwo\csname r@!end!document!\endcsname}% + \edef\@tempa{\csname r@ccenddocument\endcsname}% + \ifx\@secondoffive\@@@@undefined% hyperref launches this! + \edef\@tempa{\expandafter\@secondoftwo\@tempa{}{}{}{}{}}% + \else + \edef\@tempa{\expandafter\@secondoffive\@tempa{}{}{}{}{}}% + \fi% \advance\@tempcnta\@tempa% - }% + }% \setcounter{page}{\@ccfirst}% \hbox to\textwidth{% \vbox to\z@{\vss \baselineskip=12pt% \halign{\ixpt##\hfil\cr comput. complex.~\textbf{\@ccvolume}~(\@ccyear), - \thepage\ -- \pageref{!end!document!}\cr + \thepage\ -- \pageref{ccenddocument}\cr \issn/\expandafter\@gobbletwo\@ccyear% %% use + instead --? /\twodigits{\@ccnumber}\fourdigits{\thepage}--\the\@tempcnta\ @@ -485,17 +497,18 @@ \protect\begin{abstract} ... \protect\end{abstract}.}% \fi \else - \@tempa\leavevmode\box\@abstract\par + \@tempa\leavevmode\unvbox\@abstract\par \fi }{% \ifvoid\@abstract\else \ClassWarningNoLine{cc}{Two abstracts, using the one defined by \protect\Abstract}% \fi - \@tempa\leavevmode + \global\setbox\@abstract \@abstr{\ccabstractname} \the\@abstract@toks \end@abstr + \@tempa\leavevmode\unvbox\@abstract\par } \ifvoid\@keywords \if@keywordsoptional @@ -506,7 +519,7 @@ \protect\begin{keywords} ... \protect\end{keywords}.}% \fi \else - \@tempa\leavevmode\box\@keywords\par + \@tempa\leavevmode\unvbox\@keywords\par \fi \ifvoid\@subject \if@subjectoptional @@ -517,9 +530,10 @@ \protect\begin{subject} ... \protect\end{subject}.}% \fi \else - \@tempa\leavevmode\box\@subject\par + \@tempa\leavevmode\unvbox\@subject\par \fi \@thanks + \ifx\@tempa\relax\vskip3ex\fi \end{center} \thispagestyle{empty} \setcounter{footnote}{0}% diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty index a78a1e8b8c6..429b19d2b77 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccproof.sty @@ -34,7 +34,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesPackage{ccproof}[2000/02/29 v2.04 +\ProvidesPackage{ccproof}[2000/02/29 v2.05 proof environments for cc. Michael Nuesken, Bonn.] \RequirePackage{theorem} \RequirePackage{thcc} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty index dcb71833d4b..d8b230c4510 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccqed.sty @@ -34,7 +34,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesPackage{ccqed}[2000/02/29 v2.04 +\ProvidesPackage{ccqed}[2000/02/29 v2.05 right-justified end-of-proof mark, based on Paul Taylor's QED.sty of 24 June 1995] \def\qed{\protect\@qed{$\qedsymbol$}} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty index faa438ef829..64c27afddfc 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccreltx.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{ccreltx}[2002/05/22 v2.04 +\ProvidesPackage{ccreltx}[2002/05/22 v2.05 computational complexity, reactivate ltthm. Michael Nuesken, Bonn.] %%% From File: ltthm.dtx diff --git a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty index ad5bdb8fea3..5a1717bf85a 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/ccthm.sty @@ -34,7 +34,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesPackage{ccthm}[2000/02/29 v2.04 +\ProvidesPackage{ccthm}[2000/02/29 v2.05 theorem environments for cc. Michael Nuesken, Bonn.] \newif\if@theoremitemprefixes \DeclareOption{theoremitemprefixes}{\@theoremitemprefixestrue} diff --git a/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty b/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty index 29a6ca52d7f..a8b751dd098 100644 --- a/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty +++ b/Master/texmf-dist/tex/latex/computational-complexity/thcc.sty @@ -35,7 +35,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{thcc}[2000/02/29 v2.04 +\ProvidesPackage{thcc}[2000/02/29 v2.05 computational complexity, theorem layouts. Michael Nuesken, Bonn.] \RequirePackage{theorem}[1995/11/23] |