diff options
30 files changed, 103 insertions, 112 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md index be2c2e58e2b..cd0cb3a9891 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md @@ -22,6 +22,20 @@ and this project adheres to +## [5.0.2] - 2022-01-07 + +### Changed +- Library `minted`: Temporary patch `\tcbTemporaryPatchMintedFancyvrb` removed + because of update for package `minted` (2021/12/24). This is now the required + version for `tcolorbox` (issue #158) + +### Fixed +- Using the `documentation` library with `minted` was broken +- Library `theorems`: New implementation had title expansion with problems (issue #165) + + + + ## [5.0.1] - 2021-12-20 ### Fixed diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README.md b/Master/texmf-dist/doc/latex/tcolorbox/README.md index 4a01a52f29c..38f71ac5841 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README.md +++ b/Master/texmf-dist/doc/latex/tcolorbox/README.md @@ -1,7 +1,7 @@ -# The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +# The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) -> Copyright (c) 2006-2021 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +> Copyright (c) 2006-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> > This work may be distributed and/or modified under the > conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf Binary files differindex 1871f9e64c2..53ea3b56522 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex index 696c53d6bc7..3b2234d5946 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcolorbox-example-poster.tex: a poster example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf Binary files differindex b3b5ac88d0f..e90054c665c 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 80371dbb4a7..aa1a23e52f6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf Binary files differindex cc343d1aa53..89224955ffc 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex index 0db2af1fe97..9653f7fcd72 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex index 2aa5b319740..82b5d9f77bb 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex @@ -533,26 +533,6 @@ For examples of different styles, see See further options in \Vref{sec:commonlistingkeys}. -\medskip - -\begin{docCommand}[doc new=2021-12-16]{tcbTemporaryPatchMintedFancyvrb}{} - \begin{marker} - There is a package clash between the package |minted| (version 2.5) - and the package |fancyvrb| (from version 4.0 on) which is used by - package |minted|. This is results in compilation errors, if the - |autogobble| option is used by the \mylib{minted} library. - At the time of writing this package clash is unresolved by official releases. - Therefore, the \mylib{minted} library contains a patch - \refCom{tcbTemporaryPatchMintedFancyvrb} which is automatically applied - (do not use this manually).\par - To deactivate the patch, define \refCom{tcbTemporaryPatchMintedFancyvrb} - with any content \emph{before} the \mylib{minted} library is loaded.\par - This patch is going to be removed as soon as the package clash is - resolved by official releases of |minted| (or |fancyvrb|). - \end{marker} -\end{docCommand} - - \clearpage diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex 5752a30847a..5d613e89a51 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index b11b1084b83..2287a74e470 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -44,8 +44,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{5.0.1}% -\def\datum{2021/12/20}% +\def\version{5.0.2}% +\def\datum{2022/01/07}% \makeindex \hypersetup{ @@ -63,7 +63,7 @@ %\geometry{showframe} %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.sidebyside} +%\includeonly{tcolorbox.doc.listings} %\hypersetup{colorlinks=false} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index e572f2834ec..543d767c67a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{pdfcol} \pdfcolInitStack{tcb@breakable} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 60f99902770..7a97196d346 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{listings,skins,xparse,external,raster} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 7f78d61f52f..cdc0c2b9e81 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 8a1a39963f6..1259be495c1 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index a61fa099475..f3197fbcf56 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 8235485a0be..7d74e9ad6e5 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{listings}[2007/02/22] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex index 4068e214ce1..d461068fe21 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index c64ef9c42b1..0946a01a81e 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{listings} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex index 8db9256b13f..0ba0c9f278c 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{breakable} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex index 51979901095..802f48e9029 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,43 +18,13 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} -\RequirePackage{minted}[2011/09/17] +\RequirePackage{minted}[2021/12/24] % to be removed, if integrated into the minted package (#281) \minted@def@optcl{envname}{-P envname}{#1} -% to be removed, if minted becomes newer than v2.5 (2017/07/19) -% and resolves the package clash with fancyvrb -\ProvideDocumentCommand\tcbTemporaryPatchMintedFancyvrb{}{% - \@ifpackagelater{minted}{2021/12/01}{}{\@ifpackagelater{fancyvrb}{2021/11/19}{% - % patch from muzimuzhi - \RequirePackage{regexpatch}% - \def\minted@use@FancyVerbStartNum{\the\numexpr\FancyVerbStartNum}% - \def\minted@use@FancyVerbStopNum{\the\numexpr\FancyVerbStopNum}% - % patch for fivesum computation - \xpatchcmd*\minted@pygmentize% - {\ifx\FancyVerbStartNum\z@ 0\else\FancyVerbStartNum\fi}% - {\minted@use@FancyVerbStartNum\relax}% - {}{}% - \xpatchcmd*\minted@pygmentize% - {\ifx\FancyVerbStopNum\z@ 0\else\FancyVerbStopNum\fi}% - {\minted@use@FancyVerbStopNum\relax}% - {}{}% - % patch for option "autogobble" - \xpatchcmd\minted@autogobble% - {\ifx\FancyVerbStartNum\z@ 0\else\FancyVerbStartNum\fi}% - {\minted@use@FancyVerbStartNum}% - {}{}% - \xpatchcmd\minted@autogobble% - {\ifx\FancyVerbStopNum\z@ 0\else\FancyVerbStopNum\fi}% - {\minted@use@FancyVerbStopNum}% - {}{}% -}{}}} - -\tcbTemporaryPatchMintedFancyvrb - \tcbuselibrary{listings@core} \ExplSyntaxOn @@ -66,9 +36,12 @@ \usemintedstyle { #4 } } \tl_set:Nn \l_tmpa_tl { \inputminted[#1 } - \str_if_eq:VnT \tcb@listing@capture { hbox } + \cs_if_exist:NT \tcb@listing@capture { - \tl_put_right:Nn \l_tmpa_tl { ,envname=BVerbatim } + \str_if_eq:VnT \tcb@listing@capture { hbox } + { + \tl_put_right:Nn \l_tmpa_tl { ,envname=BVerbatim } + } } \tl_put_right:Nn \l_tmpa_tl { ] } \file_if_exist:nTF { \minted@outputdir #3 } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 399017a7e00..7a4ec1aa608 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index b776656cf41..1575b8e9908 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{pdftexcmds} \RequirePackage{shellesc} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index 7cf3d8db2ad..78c1ba55058 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 40e27040670..3d048c71c36 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{tikz}[2010/10/13] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 3851f4e87ec..3fe250f2080 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index 2d8f2caa799..f1b4820ebc7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{amsmath} @@ -33,15 +33,21 @@ \tl_new:N \l__tcobox_theo_label_separator_tl \tl_new:N \l__tcobox_theo_separatorsign_tl \tl_new:N \l__tcobox_theo_terminatorsign_tl +\bool_new:N \l__tcobox_theo_headempty_bool \cs_new_nopar:Npn \__tcobox_theo_format_name_number:nn #1#2 { \tl_if_empty:nTF { #1 } { - #2 + \tl_if_empty:nF { #2 } + { + \bool_set_false:N \l__tcobox_theo_headempty_bool + #2 + } } { + \bool_set_false:N \l__tcobox_theo_headempty_bool #1 \tl_if_empty:nF { #2 } { @@ -58,6 +64,26 @@ } +\cs_new_nopar:Npn \__tcobox_theo_format_name:nn #1#2 + { + \tl_if_empty:nF { #1 } + { + \bool_set_false:N \l__tcobox_theo_headempty_bool + #1 + } + } + + +\cs_new_nopar:Npn \__tcobox_theo_format_number:nn #1#2 + { + \tl_if_empty:nF { #2 } + { + \bool_set_false:N \l__tcobox_theo_headempty_bool + #2 + } + } + + \cs_new:Npn \__tcobox_theo_format_description_standard:n #1 { \l__tcobox_theo_description_color_tl @@ -68,26 +94,24 @@ } + \cs_new:Npn \__tcobox_theo_title:nnn #1#2#3 { % format and save display name and number - \tl_set:Nx \l_tmpa_tl { \__tcobox_theo_format:nn{#1}{#2} } + \bool_set_true:N \l__tcobox_theo_headempty_bool \tl_if_empty:nTF { #3 } { % no theorem title; insert name and number - \l_tmpa_tl + \__tcobox_theo_format:nn{#1}{#2} \l__tcobox_theo_terminatorsign_tl } { % box display name and number - \tl_if_empty:NTF \l_tmpa_tl - { - \box_clear:N \l_tmpa_box - } + \hbox_set:Nn \l_tmpa_box { - \hbox_set:Nn \l_tmpa_box + \__tcobox_theo_format:nn{#1}{#2} + \bool_if:NF \l__tcobox_theo_headempty_bool { - \tl_use:N \l_tmpa_tl \l__tcobox_theo_separatorsign_tl \nobreakspace } @@ -186,11 +210,11 @@ }, theorem~name/.code = { - \cs_set_eq:NN \__tcobox_theo_format:nn \use_i:nn + \cs_set_eq:NN \__tcobox_theo_format:nn \__tcobox_theo_format_name:nn }, theorem~number/.code = { - \cs_set_eq:NN \__tcobox_theo_format:nn \use_ii:nn + \cs_set_eq:NN \__tcobox_theo_format:nn \__tcobox_theo_format_number:nn }, separator~sign/ .tl_set:N = \l__tcobox_theo_separatorsign_tl, terminator~sign/ .tl_set:N = \l__tcobox_theo_terminatorsign_tl, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index 12cbaae28dc..f6da2fd7f62 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index 15e77b2b75f..f2fba3e0d89 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.0.1} +\tcb@set@library@version{5.0.2} \RequirePackage{xparse}[2013/12/31] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 5efef3cce02..a836c92d464 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.0.1 (2021/12/20) +%% The LaTeX package tcolorbox - version 5.0.2 (2022/01/07) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2021/12/20 version 5.0.1 text color boxes] -\def\tcb@version{5.0.1} +\ProvidesPackage{tcolorbox}[2022/01/07 version 5.0.2 text color boxes] +\def\tcb@version{5.0.2} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] |