diff options
Diffstat (limited to 'Master/texmf-dist/tex')
19 files changed, 215 insertions, 113 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 90ece8e5a5a..cade134ab2d 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \RequirePackage{pdfcol} \pdfcolInitStack{tcb@breakable} @@ -82,6 +82,7 @@ \reserved@a% \@endpefalse% \global\@newlistfalse% + \tcb@set@savebox@construction@true% \let\tcbbreak\tcb@@break% \iftcb@usecolorstack% \pdfcolSwitchStack{tcb@breakable}% @@ -551,7 +552,7 @@ \let\tcb@before@middle=\@empty% \let\tcb@before@last=\@empty% \iftcb@multicol% - \long\def\tcb@after@first{\par}% using \columnbreak here kills multicols' algortihm sometimes + \long\def\tcb@after@first{\par}% using \columnbreak here kills multicols' algorithm sometimes \long\def\tcb@after@middle{\par\vfill}% \else% \long\def\tcb@after@first{\par\pagebreak\tcb@enlbreak@next}% @@ -827,7 +828,7 @@ \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% \tcbdimto\tcbtextheight{\tcb@innerheight-\kvtcb@boxsep*2-\kvtcb@top-\kvtcb@bottom}% - \tcb@drawing@env@begin% + \begin{tcb@drawing}% \tcb@extensions@preframe% % draw frame and interior \tcb@adraw@frame% @@ -842,7 +843,7 @@ \tcb@tdraw@upper% \tcb@tdraw@lower% \tcb@extensions@final% - \tcb@drawing@env@end% + \end{tcb@drawing}% \endgroup% } @@ -857,7 +858,7 @@ \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% \tcbdimto\tcbtextheight{\tcb@innerheight-\kvtcb@boxsep*2-\kvtcb@top-\kvtcb@bottom}% - \tcb@drawing@env@begin% + \begin{tcb@drawing}% \tcb@extensions@preframe% % draw frame and interior \tcb@adraw@frame% @@ -868,7 +869,7 @@ \tcb@tdraw@title% \tcb@tdraw@upper% \tcb@extensions@final% - \tcb@drawing@env@end% + \end{tcb@drawing}% \endgroup% } @@ -883,7 +884,7 @@ \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% \tcbdimto\tcbtextheight{\tcb@innerheight-\kvtcb@boxsep*2-\kvtcb@top-\kvtcb@bottom}% - \tcb@drawing@env@begin% + \begin{tcb@drawing}% \tcb@extensions@preframe% % draw frame and interior \tcb@adraw@frame% @@ -897,7 +898,7 @@ \tcb@tdraw@title% \tcb@tdraw@lower% \tcb@extensions@final% - \tcb@drawing@env@end% + \end{tcb@drawing}% \endgroup% } @@ -912,7 +913,7 @@ \csname tcb@break@ch@\tcb@split@state\endcsname% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% \tcbdimto\tcbtextheight{\tcb@innerheight-\kvtcb@boxsep*2-\kvtcb@top-\kvtcb@bottom}% - \tcb@drawing@env@begin% + \begin{tcb@drawing}% \tcb@extensions@preframe% % draw frame and interior \tcb@adraw@frame% @@ -923,7 +924,7 @@ \tcb@tdraw@title% \tcb@tdraw@lower% \tcb@extensions@final% - \tcb@drawing@env@end% + \end{tcb@drawing}% \endgroup% } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 3eff9746f86..a550de9fff3 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \tcbuselibrary{listings,skins,external,raster} @@ -199,10 +199,6 @@ keywords bold/true/.code={\let\tcb@doc@bfseries\bfseries}, keywords bold/false/.code={\let\tcb@doc@bfseries\mdseries}, doc key prefix/.store in=\kvtcb@doc@keyprefix, - index key formatter/.code={\let\kvtcb@doc@format@key=#1}, - index keys formatter/.code={\let\kvtcb@doc@format@keys=#1}, - index key formatter/.default=\@firstofone, - index keys formatter/.default=\@firstofone, } @@ -337,6 +333,43 @@ \ExplSyntaxOn +\tcbset{ + index~key~formatter / .code = + { + \__tcobox_store_formatter_in:nN {#1} \kvtcb@doc@format@key + }, + index~key~formatter / .default = \use:n, + index~keys~formatter / .code = + { + \__tcobox_store_formatter_in:nN {#1} \kvtcb@doc@format@keys + }, + index~keys~formatter / .default = \use:n, + page~ref~formatter / .code = + { + \__tcobox_store_formatter_in:nN {#1} \kvtcb@doc@format@page + }, + page~ref~formatter / .default = \use:n, +} + + +\cs_if_exist:NF \__tcobox_store_formatter_in:nN + { + \cs_new_protected:Npn \__tcobox_store_formatter_in:nN #1#2 + { + \__tcobox_if_single_cs:nTF {#1} + { \cs_set_eq:NN #2 #1 } + { + \tcb@error + { + Invalid~formatter~ "\tl_to_str:n {#1}" ~passed~to \MessageBreak + "\pgfkeyscurrentkey". \MessageBreak + A~formatter~should~be~a~single~command~taking~one \MessageBreak + mandatory~argument + } + } + } + } + \cs_new_nopar:Npn \__tcobox_new_bool_key:Nn #1 #2 { @@ -879,7 +912,7 @@ \IfBooleanTF{#2}{}{% \ifnum\getpagerefnumber{#1:#3}=\thepage\relax% \else% - \textsuperscript{{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char213}% + \kvtcb@doc@format@page{{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char213}% \,\kvtcb@text@pageshort\,\pageref*{#1:#3}}% \fi}}% } @@ -1027,6 +1060,7 @@ doc key prefix={/}, index key formatter, index keys formatter, + page ref formatter=\textsuperscript, } % deprecated diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 0bfa994f68e..060f1bb9a0e 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \tcbuselibrary{pro@cessing} @@ -111,14 +111,14 @@ \def\tcbexternal@pdfmissing@warning{% \tcb@warning{File '\tcbexternal@job@pdf' missing. - Compilation error or shell-escape wasn't enabled or a subdirectory could'nt be generated}% + Compilation error or shell-escape wasn't enabled or a subdirectory couldn't be generated}% \message{Load '\tcbexternal@job@source' instead}% \tcbexternal@inputsource% } \def\tcbexternal@pdfmissing@error{% \tcb@error{File '\tcbexternal@job@pdf' missing. - Compilation error or shell-escape wasn't enabled or a subdirectory could'nt be generated}{}% + Compilation error or shell-escape wasn't enabled or a subdirectory couldn't be generated}{}% } \def\tcbexternal@inputpdf{% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 0e34e15ad5a..e133063705f 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 b3edf95636c..6a60587177c 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 195076eee16..9a869f870f6 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 48241a94d57..f3ffb31b906 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 0c9b2b7e8c2..0fb3fd8d22a 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 81180a8eb89..49059a0863a 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 cae9e8d7070..d21bc110367 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbminted.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{6.2.0} +\tcb@set@library@version{6.3.0} \RequirePackage{minted}[2021/12/24] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index 49abfc651a3..3fcec6b22c3 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \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 ce0ae430757..a5bdabc874b 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \ExplSyntaxOn diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index 35510300920..e3645497e90 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 3fbad785842..5e3faed9dde 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,15 +17,10 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} -\RequirePackage{tikz}[2010/10/13] \RequirePackage{tikzfill.image} -\newenvironment{tikzpicture@tcb@hooked}{% - \edef\tcb@tikzpicture@begin{\noexpand\tikzpicture[\expandonce\tcb@tikz@option@hook]}% - \tcb@tikzpicture@begin\tcb@tikz@begin@hook}{\tcb@tikz@end@hook\endtikzpicture} - \def\tcb@creategeonodes@true{% \begin{scope}[every node/.style={line width=0mm,inner sep=0mm,outer sep=0mm,draw=none,fill=none,rectangle}] \node[name=frame,at={(0,0)},above right,minimum width=\tcb@width,minimum height=\tcb@height]{}; @@ -438,7 +433,7 @@ \tcbset{% base@unbroken/.style={% - clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,% + clear@spec,geometry nodes,% set@outerboundary=\tcb@boundaryframe@standard,% shape@of@skin=unbroken,% set@extensions@preframe={\kvtcb@shadow},% @@ -446,7 +441,7 @@ set@extensions@final={\tcb@apply@finish}% },% base@first/.style={% - clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,% + clear@spec,geometry nodes,% set@outerboundary=\tcb@boundaryframe@pathfirst,% shape@of@skin=first,% set@extensions@preframe={\kvtcb@shadow},% @@ -454,7 +449,7 @@ set@extensions@final={\tcb@apply@finish}% },% base@middle/.style={% - clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,% + clear@spec,geometry nodes,% set@outerboundary=\tcb@boundaryframe@pathmiddle,% shape@of@skin=middle,% set@extensions@preframe={\kvtcb@shadow},% @@ -462,7 +457,7 @@ set@extensions@final={\tcb@apply@finish}% },% base@last/.style={% - clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,% + clear@spec,geometry nodes,% set@outerboundary=\tcb@boundaryframe@pathlast,% shape@of@skin=last,% set@extensions@preframe={\kvtcb@shadow},% @@ -885,7 +880,7 @@ segmentation code={\tcb@drawspec@widgetsegment},% skin first=widgetmiddle,skin middle=widgetmiddle,skin last=widgetlast} -\tcb@new@skin{spartan}{graphical environment=tikzpicture@tcb@hooked,geometry nodes=true,shape@of@skin=unbroken,% +\tcb@new@skin{spartan}{geometry nodes=true,shape@of@skin=unbroken,% set@extensions@preframe=,set@extensions@postframe={\tcb@apply@underlay},set@extensions@final=,% frame engine=spartan,interior titled engine=spartan,interior engine=spartan,title engine=spartan,segmentation engine=spartan,% set@outerboundary=\tcb@boundaryframe@standard,% @@ -893,7 +888,7 @@ \tcbset{spartan/.style={skin=spartan}} -\tcb@new@skin{draft}{clear@spec,graphical environment=tikzpicture@tcb@hooked,geometry nodes,shape@of@skin=unbroken,% +\tcb@new@skin{draft}{clear@spec,geometry nodes,shape@of@skin=unbroken,% frame engine=empty,interior titled engine=empty,interior engine=empty,segmentation engine=path,title empty,% segmentation style={draw=black,dashed}, set@extensions@postframe=, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 551971a0df2..6a54fca567f 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \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 f53eda79a52..cfbc1ba796c 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% 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{6.2.0} +\tcb@set@library@version{6.3.0} \RequirePackage{amsmath} @@ -138,7 +138,7 @@ % insert box with name and number \mode_leave_vertical: \box_use_drop:N \l__tcobox_tmpa_box - % insert formated title + % insert formatted title \group_begin: \__tcobox_theo_format_description:n{#3} \group_end: @@ -260,11 +260,31 @@ description~font/.default =, description~formatter/.code = { - \cs_set_eq:NN \__tcobox_theo_format_description:n #1 + \__tcobox_store_formatter_in:nN {#1} \__tcobox_theo_format_description:n }, description~formatter/.default = \__tcobox_theo_format_description_standard:n, } + +\cs_if_exist:NF \__tcobox_store_formatter_in:nN + { + \cs_new_protected:Npn \__tcobox_store_formatter_in:nN #1#2 + { + \__tcobox_if_single_cs:nTF {#1} + { \cs_set_eq:NN #2 #1 } + { + \tcb@error + { + Invalid~formatter~ "\tl_to_str:n {#1}" ~passed~to \MessageBreak + "\pgfkeyscurrentkey". \MessageBreak + A~formatter~should~be~a~single~command~taking~one \MessageBreak + mandatory~argument + } + } + } + } + + \ExplSyntaxOff @@ -298,16 +318,16 @@ ams equation*/.style={ams equation* upper,ams equation* lower},% ams align upper/.style={before upper*=\tcb@hack@amsmath\align,after upper*=\endalign},% ams align lower/.style={before lower*=\tcb@hack@amsmath\align,after lower*=\endalign},% - ams align/.style={ams align upper,ams align lower},% + ams align/.style={ams align upper},% ams align* upper/.style={before upper*=\tcb@hack@amsmath\csname align*\endcsname,after upper*=\endalign},% ams align* lower/.style={before lower*=\tcb@hack@amsmath\csname align*\endcsname,after lower*=\endalign},% - ams align*/.style={ams align* upper,ams align* lower},% + ams align*/.style={ams align* upper},% ams gather upper/.style={before upper*=\tcb@hack@amsmath\gather,after upper*=\endgather},% ams gather lower/.style={before lower*=\tcb@hack@amsmath\gather,after lower*=\endgather},% - ams gather/.style={ams gather upper,ams gather lower},% + ams gather/.style={ams gather upper},% ams gather* upper/.style={before upper*=\tcb@hack@amsmath\csname gather*\endcsname,after upper*=\endgather},% ams gather* lower/.style={before lower*=\tcb@hack@amsmath\csname gather*\endcsname,after lower*=\endgather},% - ams gather*/.style={ams gather* upper,ams gather* lower},% + ams gather*/.style={ams gather* upper},% ams nodisplayskip upper/.style={before upper=\vskip-\abovedisplayskip},% ams nodisplayskip lower/.style={before lower=\vskip-\abovedisplayskip},% ams nodisplayskip/.style={ams nodisplayskip upper,ams nodisplayskip lower},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index e177bb33d49..51a4c9d6d05 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \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 cf60ef07315..5223be23ea1 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,6 +18,6 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{6.2.0} +\tcb@set@library@version{6.3.0} \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 be2dc7e19be..23f0d51569f 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 6.2.0 (2024/01/10) +%% The LaTeX package tcolorbox - version 6.3.0 (2024/07/10) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -17,11 +17,12 @@ %% %% This work consists of all files listed in README %% -\NeedsTeXFormat{LaTeX2e}[2021-11-15] -\ProvidesPackage{tcolorbox}[2024/01/10 version 6.2.0 text color boxes] -\def\tcb@version{6.2.0} +\NeedsTeXFormat{LaTeX2e}[2023-11-01] +\ProvidesPackage{tcolorbox}[2024/07/10 version 6.3.0 text color boxes] +\def\tcb@version{6.3.0} -\RequirePackage{pgf}[2008/01/15] +%\RequirePackage{pgf}[2008/01/15] +\RequirePackage{tikz}[2023/01/15] \RequirePackage{verbatim}[2003/08/22] \RequirePackage{environ}[2013/04/01] \RequirePackage{etoolbox}[2011/01/03] @@ -57,6 +58,7 @@ \ExplSyntaxOn \bool_new:N \l__tcobox_prevent_init_overwrite_bool +\bool_new:N \l__tcobox_savebox_construction_bool \box_new:N \l__tcobox_tmpa_box \dim_new:N \l__tcobox_tmpa_dim \fp_new:N \l__tcobox_tmpa_fp @@ -561,7 +563,7 @@ toggle left and right/evenpage/.code={\let\tcb@lrtoggle=\tcb@lrtoggle@evenpage\tcbset{check odd page}}, toggle left and right/forced/.code={\let\tcb@lrtoggle=\tcb@lrtoggle@forced}, toggle left and right/.default=evenpage, - graphical environment/.store in=\kvtcb@graphenv, + graphical environment/.style=,% deprecated % frame engine/.is choice, frame engine/standard/.style={frame code=\tcb@drawframe@standard}, @@ -1003,22 +1005,13 @@ IfBooleanF/.code~n~args={2}{\IfBooleanF{#1}{\pgfkeysalso{#2}}}, } -\IfFormatAtLeastTF{2023-06-01} - { - \def\tcb@set@parbox@indent@{ - \exp_args:Nne \hook_gput_next_code:nn {para/begin} - { \__tcobox_set_parbox_indent:n { \thetcolorboxnumber } } - \let\tcb@set@parbox@indent\@empty - } - } - { - % Note: To be removed in future - \def\tcb@set@parbox@indent@{ - \vspace{-\parskip} - \noindent - \let\tcb@set@parbox@indent\@empty - } - } + +\def\tcb@set@parbox@indent@{ + \exp_args:Nne \hook_gput_next_code:nn {para/begin} + { \__tcobox_set_parbox_indent:n { \thetcolorboxnumber } } + \let\tcb@set@parbox@indent\@empty +} + \cs_new_protected:Npn \__tcobox_set_parbox_indent:n #1 { @@ -1027,12 +1020,20 @@ { \int_compare_p:nNn { #1 } = { \thetcolorboxnumber } } % and if inside a "tcb@savebox" env (upper or lower part is non-empty), % hence not at the time of using saved \tcb@upperbox or \tcb@lowerbox - { \cs_if_exist_p:N \tcbbreak } + { \l__tcobox_savebox_construction_bool } { \OmitIndent } } + +\def\tcb@set@savebox@construction@true + { + \bool_set_true:N \l__tcobox_savebox_construction_bool + } +\bool_set_false:N \l__tcobox_savebox_construction_bool + + \ExplSyntaxOff \def\tcb@parbox@true@indent{}% @@ -1045,6 +1046,7 @@ \let\tcb@parboxrestore=\@parboxrestore \def\tcb@parbox@false@settings{% + \@nobreakfalse% \let\par\@@par% \linewidth\hsize% \@totalleftmargin\z@% @@ -1082,6 +1084,7 @@ \reserved@a \@endpefalse% \global\@newlistfalse% + \tcb@set@savebox@construction@true% \let\tcbbreak\@@par% \csname tcb@parbox@use@\kvtcb@parbox\endcsname% \tcb@minipage{#2}% @@ -2025,17 +2028,42 @@ \fi% } -\def\tcb@drawing@env@begin{% - \csname tcb@before@\tcb@split@state\endcsname% - \begin{\kvtcb@graphenv}% - \tcb@bbdraw% - \tcb@apply@graph@patches% -} -\def\tcb@drawing@env@end{% - \end{\kvtcb@graphenv}% - \csname tcb@after@\tcb@split@state\endcsname% -} +\let\tcb@tikz@option@hook\@empty +\let\tcb@tikz@begin@hook\@empty +\let\tcb@tikz@end@hook\@empty + +\ExplSyntaxOn + +\NewSocket{tagsupport/tcb/drawing/begin}{0} +\NewSocket{tagsupport/tcb/drawing/end}{0} +\NewSocketPlug{tagsupport/tcb/drawing/begin}{suspend} + {\tag_mc_end_push:\tag_mc_begin:n{artifact}} +\NewSocketPlug{tagsupport/tcb/drawing/end}{resume} + {\tag_mc_end:\tag_mc_begin_pop:n{}} +\AssignSocketPlug{tagsupport/tcb/drawing/begin}{suspend} +\AssignSocketPlug{tagsupport/tcb/drawing/end}{resume} + +\NewDocumentEnvironment{ tcb@drawing }{ } + { + \use:c{ tcb@before@\tcb@split@state } + \exp_last_unbraced:NnNo \begin{tikzpicture}[\tcb@tikz@option@hook] + \UseTaggingSocket{tcb/drawing/begin} + \SuspendTagging{tcb/drawing} + \tcb@tikz@begin@hook + \tcb@bbdraw + \tcb@apply@graph@patches + } + { + \tcb@tikz@end@hook + \ResumeTagging{tcb/drawing} + \UseTaggingSocket{tcb/drawing/end} + \end{tikzpicture} + \use:c{ tcb@after@\tcb@split@state } + } + +\ExplSyntaxOff + \def\tcb@set@normal@unbroken@beforeafter{% \let\tcb@before@unbroken=\kvtcb@beforebox% @@ -2077,7 +2105,8 @@ \tcb@ch% \tcbdimto\tcb@innerheight{\tcb@height-\kvtcb@top@rule-\kvtcb@bottom@rule-\tcb@h@padtitle}% \tcbdimto\tcbtextheight{\tcb@innerheight-\kvtcb@boxsep*2-\kvtcb@top-\kvtcb@bottom}% - \tcb@drawing@env@begin% + \begin{tcb@drawing}% + %\tcb@drawing@env@begin% \pgfsetbaseline{\the\dimexpr\kvtcb@baseline-\kvtcb@bbbottom\relax}% \tcb@extensions@preframe% % draw frame and interior @@ -2097,7 +2126,8 @@ \tcb@tdraw@upper% \iftcb@hasLower\tcb@tdraw@lower\fi% \tcb@extensions@final% - \tcb@drawing@env@end% + %\tcb@drawing@env@end% + \end{tcb@drawing}% } \let\tcb@drawcolorbox@standalone=\tcb@drawcolorbox @@ -2255,6 +2285,9 @@ } \def\tcb@proc@counter@auto#1{% + \ifcsdef{c@tcb@cnt@#1} + {\tcb@error{Auto counter for environment '#1' already defined}{}} + {}% \newcounter{tcb@cnt@#1}% \csxdef{tcb@cnt@#1}{tcb@cnt@#1}% \tcb@proc@counter@autoanduse{#1}% @@ -2297,6 +2330,33 @@ \ExplSyntaxOn +\prg_new_conditional:Npnn \__tcobox_if_single_cs:n #1 { p, TF } + { + \bool_lazy_and:nnTF + { \tl_if_single_p:n { #1 } } + { \token_if_cs_p:N #1 } + { \prg_return_true: } + { \prg_return_false: } + } + +\msg_new:nnn { tcolorbox } { invalid-box-name } + { + Invalid~box~name~`` \tl_to_str:n {#1} ''.~ + A~single~command~is~expected~after~space~trimming.~ + I'll~drop~this~box~definition. + } + +\cs_new:Npn \__tcobox_set_backslash_removed:Nn #1#2 + { + \__tcobox_if_single_cs:nTF { #2 } + { + \tl_set:Ne #1 { \exp_last_unbraced:Ne \cs_to_str:N { \tl_trim_spaces:n { #2 } } } + } + { + \msg_error:nnn { tcolorbox } { invalid-box-name } { #2 } + } + } + \cs_new:Npn \__tcobox_process_newtcolorbox:nn #1#2 { \bool_lazy_and:nnF @@ -2312,14 +2372,6 @@ } -\cs_new:Npn \__tcobox_set_backslash_removed:Nn #1#2 - { - \tl_set:Nn #1 { #2 } - \tl_trim_spaces:N #1 - \tl_set:Ne #1 { \exp_last_unbraced:NV \cs_to_str:N #1 } - } - - \NewDocumentCommand \__tcobox_new_tcolorbox:w { m +O{} >{\TrimSpaces} m o +o +m } { \__tcobox_process_newtcolorbox:nn { #2 }{ #3 } @@ -2740,7 +2792,7 @@ \tcb@new@skin{standard}{frame engine=standard,interior titled engine=standard, interior engine=standard,segmentation engine=standard,title engine=standard, - graphical environment=pgfpicture,geometry nodes=false, + geometry nodes=false, set@extensions@preframe=,set@extensions@postframe={\tcb@apply@overlay},set@extensions@final=,% set@outerboundary=\tcb@boundaryframe@standard,% shape@of@skin=unbroken, |