From 212e37aa7c71f236f93ffdb4a502972ecb6373a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Jan 2012 00:12:25 +0000 Subject: tcolorbox (26jan12) git-svn-id: svn://tug.org/texlive/trunk@25211 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 7 +- Master/texmf-dist/doc/latex/tcolorbox/README | 8 +- .../doc/latex/tcolorbox/tcblistings.code.tex | 89 --------------------- .../doc/latex/tcolorbox/tcbtheorems.code.tex | 35 -------- .../doc/latex/tcolorbox/tcolorbox-example.tex | 4 +- .../texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | Bin 741068 -> 740774 bytes 6 files changed, 12 insertions(+), 131 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/tcolorbox/tcblistings.code.tex delete mode 100644 Master/texmf-dist/doc/latex/tcolorbox/tcbtheorems.code.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index be23f7a7c4e..527571bc9b1 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 1.00 (2011/12/08) +%% The LaTeX package tcolorbox - version 1.01 (2012/01/26) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2011 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2012 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -21,3 +21,6 @@ version 1.00 (2011/12/08): initial public release +version 1.01 (2012/01/26): +- dates amended to \RequirePackage(s) +- provision of the tcolorbox.tds.zip file for easier installation diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 68150c2ccc9..40e242785ce 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,7 +1,7 @@ -%% The LaTeX package tcolorbox - version 1.00 (2011/12/08) +%% The LaTeX package tcolorbox - version 1.01 (2012/01/26) %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2011 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2012 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -37,7 +37,9 @@ Contents of the package Installation ============ -Put the files to their respective locations within the TeX installation: +Copy the contents of the 'tcolorbox.tds.zip' from CTAN to your local TeX file tree. + +Alternatively, put the files to their respective locations within the TeX installation: 'tcolorbox.sty' -> /tex/latex/tcolorbox 'tcblistings.code.tex' -> /tex/latex/tcolorbox 'tcbtheormes.code.tex' -> /tex/latex/tcolorbox diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcblistings.code.tex deleted file mode 100644 index 64abe4c4489..00000000000 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcblistings.code.tex +++ /dev/null @@ -1,89 +0,0 @@ -%% The LaTeX package tcolorbox - version 1.00 (2011/12/08) -%% tcblistings.code.tex: Code for colorboxes with listings -%% -%% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2011 by Prof. Dr. Dr. Thomas F. Sturm -%% ------------------------------------------------------------------------------------------- -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `author-maintained'. -%% -%% This work consists of all files listed in README -%% -\makeatletter -\def\tcblibrary@listings@loaded{} - -\RequirePackage{listings} - -\lstdefinestyle{tcblatex}{language={[LaTeX]TeX}, - aboveskip={0\p@ \@plus 6\p@}, belowskip={0\p@ \@plus 6\p@}, - columns=fullflexible, keepspaces=true, - breaklines=true, breakatwhitespace=true, - basicstyle=\ttfamily\small, extendedchars=true - } - -\def\tcbuselistingtext{\input{\kvtcb@listingfile}}% - -\def\tcbuselistinglisting{% - \toks@=\expandafter{\kvtcb@listingoptions}% - \edef\tcb@temp{\noexpand\lstinputlisting[\the\toks@]}% - \tcb@temp{\kvtcb@listingfile}% -}% - -\def\tcb@listing@listingAndText{% - \tcbuselistinglisting% - \tcblower% - \tcbuselistingtext% -} - -\def\tcb@listing@textAndListing{% - \tcbuselistingtext% - \tcblower% - \tcbuselistinglisting% -} - -\tcbset{ - listing file/.store in=\kvtcb@listingfile, - listing options/.store in=\kvtcb@listingoptions, - listing style/.style={listing options={style=#1}}, - listing and text/.code={\let\tcp@listing@process\tcb@listing@listingAndText}, - text and listing/.code={\let\tcp@listing@process\tcb@listing@textAndListing}, - listing only/.code={\let\tcp@listing@process\tcbuselistinglisting}, - text only/.code={\let\tcp@listing@process\tcbuselistingtext}, -} - -\tcbset{ - listing file=\jobname.listing, - listing style=tcblatex, - listing and text, -} - -\newenvironment{tcblisting}[1]{% - \def\tcblisting@box{\begin{tcolorbox}[#1]\tcp@listing@process\end{tcolorbox}}% - \begingroup\tcbverbatimwrite{\kvtcb@listingfile}% -}{\endtcbverbatimwrite\endgroup% - \tcblisting@box% -} - -\def\tcbinputlisting#1{% - \begin{tcolorbox}[#1]\tcp@listing@process\end{tcolorbox}% -} - -\newenvironment{tcboutputlisting}{% - \begingroup\tcbverbatimwrite{\kvtcb@listingfile}% -}{\endtcbverbatimwrite\endgroup} - -\def\tcbusetemplisting{% - \toks@=\expandafter{\kvtcb@listingoptions}% - \edef\tcb@temp{\noexpand\lstinputlisting[\the\toks@]}% - \tcb@temp{\kvtcb@tempfile}% -}% - - diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcbtheorems.code.tex deleted file mode 100644 index 69496997f42..00000000000 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcbtheorems.code.tex +++ /dev/null @@ -1,35 +0,0 @@ -%% The LaTeX package tcolorbox - version 1.00 (2011/12/08) -%% tcbtheorems.code.tex: Code for theorems in colorboxes -%% -%% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2011 by Prof. Dr. Dr. Thomas F. Sturm -%% ------------------------------------------------------------------------------------------- -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `author-maintained'. -%% -%% This work consists of all files listed in README -%% -\makeatletter -\def\tcblibrary@theorems@loaded{} - -\tcbset{ - theorem/.code args={#1#2#3#4}{% - \refstepcounter{#2}\label{#4}% - \pgfkeysalso{title={\setlength{\hangindent}{\widthof{#1~\csname the#2\endcsname:\ }}\hangafter=1 #1~\csname the#2\endcsname:\ #3}}}% -} - -\newcommand{\tcbmaketheorem}[5]{% - \newenvironment{#1}[3][]{% - \tcolorbox[#3,savedelimiter=#1, - theorem={#2}{#4}{##2}{#5:##3}, - ##1]}% - {\endtcolorbox}% -} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index d48647760e3..21d70fa4229 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 1.00 (2011/12/08) +%% The LaTeX package tcolorbox - version 1.01 (2012/01/26) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2011 by Prof. Dr. Dr. Thomas F. Sturm +%% Copyright (c) 2006-2012 by Prof. Dr. Dr. Thomas F. Sturm %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf index a1e3153db03..ab71b415697 100644 Binary files a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf and b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf differ -- cgit v1.2.3