diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-07 22:30:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-07 22:30:09 +0000 |
commit | d194e230372a1eb633c6f500941f3f1d494076b8 (patch) | |
tree | d9f911bf95ca9d91c446e9be99aaa071835b7177 /Master/texmf-dist/tex | |
parent | db5f35c7db6319d4ca6369052b1a492c8729bfc7 (diff) |
tcolorbox (7jan22)
git-svn-id: svn://tug.org/texlive/trunk@61524 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
19 files changed, 80 insertions, 83 deletions
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] |