texlive[68375] Master/texmf-dist: tcolorbox (26sep23)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 26 22:04:48 CEST 2023
Revision: 68375
https://tug.org/svn/texlive?view=revision&revision=68375
Author: karl
Date: 2023-09-26 22:04:48 +0200 (Tue, 26 Sep 2023)
Log Message:
-----------
tcolorbox (26sep23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md
trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md 2023-09-26 20:04:48 UTC (rev 68375)
@@ -22,6 +22,25 @@
+## [6.1.0] - 2023-09-26
+
+### Added
+- New option `redirectlowerto` (issue #240)
+
+### Changed
+- Added braces to protect square brackets, mostly for key values (issue #234, issue #229 continued)
+- Internal `\__tcobox_include_graphics:nn` refactored (issue #236)
+- `blend into` now also adapts `list type` accordingly,
+ e.g. `blend into=figures` now sets `list type=figure` (issue #238)
+- `every box`, `every box on layer <n>`, and `every box on higher layers` may contain
+ `capture` mode settings now (issue #246)
+
+### Fixed
+- With parbox=false, `\par` was ignored in a `tcolorbox` that starts a list (issue #245)
+- `varwidth upper` ignored horizontal alignment of upper part (issze #247)
+
+
+
## [6.0.4] - 2023-06-19
### Changed
@@ -33,7 +52,7 @@
The implementation is adapted to avoid such a need at several places (issue #229)
### Fixed
-- The last version war inconsistently numbered 6.0.2 and/or 6.0.3 (issue #224)
+- The last version was inconsistently numbered 6.0.2 and/or 6.0.3 (issue #224)
- New LaTeX versions (from 2023-06-01) remove `\parskip` at top of `minipage`.
Therefore, `parbox=false` has to be adapted (issue #232)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-# The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+# The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
> Copyright (c) 2006-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcolorbox-example-poster.tex: a poster example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -346,7 +346,32 @@
\end{exdispExample}
\end{docTcbKey}
+
\clearpage
+\begin{docTcbKey}[][doc new=2023-07-17]{redirectlowerto}{=\meta{file name}}{no default, initially empty}
+ This is a combination of \refKey{/tcb/savelowerto} and \refKey{/tcb/lowerbox}|=|\docValue{ignored}
+ \emph{and additionally} avoids typesetting the content of the lower part.
+ This can be useful, if the lower part contains counters or similar.
+\begin{exdispExample}{redirectlowerto}
+
+\setcounter{enumi}{1}
+Test counter: \theenumi
+
+\begin{tcolorbox}[redirectlowerto=\jobname_bspsave.tex,colback=white]
+This is a \textbf{tcolorbox}.
+\tcblower
+This is the lower part.\stepcounter{enumi}
+New value of test counter: \theenumi.
+\end{tcolorbox}
+
+Now, we load the saved text:\\
+\input{\jobname_bspsave.tex}
+\end{exdispExample}
+\end{docTcbKey}
+
+
+
+\clearpage
\begin{docTcbKey}{lower separated}{\colOpt{=true\textbar false}}{default |true|, initially |true|}
If set to |true|, the lower part is visually separated from the upper part.
It depends on the chosen skin how the visualization of the separation is done.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -210,7 +210,7 @@
\clearpage
-\begin{newTcbKey}[][doc new=2014-09-19]{blend into}{=\meta{name}}{style, no default, initially unset}
+\begin{newTcbKey}[][doc new and updated={2014-09-19}{2023-07-03}]{blend into}{=\meta{name}}{style, no default, initially unset}
Used to comfortably blend into an existing schema of naming and numbering for
some selected cases. For example, a |tcolorbox| can be used to display
and entitle an image pretending to be a standard |figure| environment.
@@ -217,6 +217,7 @@
Here, \refKey{/tcb/title} is used instead of the standard |\caption|
and \refKey{/tcb/list text} can be used instead of the optional parameter
of the standard |\caption|.
+Also, \refKey{/tcb/new/list type} is automatically adapted (changed with version 6.0.5).
Feasible values for \meta{name} are:
\begin{itemize}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -51,8 +51,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{6.0.4}%
-\def\datum{2023/06/19}%
+\def\version{6.1.0}%
+\def\datum{2023/09/26}%
\makeindex
\hypersetup{
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbbreakable.code.tex: Code for breakable colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{pdfcol}
\pdfcolInitStack{tcb at breakable}
@@ -81,6 +81,7 @@
\def\noexpand\@currenvline{\on at line}}%
\reserved at a%
\@endpefalse%
+ \global\@newlistfalse%
\let\tcbbreak\tcb@@break%
\iftcb at usecolorstack%
\pdfcolSwitchStack{tcb at breakable}%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbdocumentation.code.tex: Code for LaTeX documentations
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{listings,skins,xparse,external,raster}
@@ -150,7 +150,7 @@
index colorize/.is if=tcb at doc@colorize,%
index annotate/.is if=tcb at doc@annotate,%
index command/.code={\def\kvtcb at index@command##1{#1{##1}}},%
- index command name/.code={\def\kvtcb at index@command##1{\index[#1]{##1}}},%
+ index command name/.code={\def\kvtcb at index@command##1{\index[{#1}]{##1}}},%
doc left/.dimstore in=\kvtcb at doc@left,
doc right/.dimstore in=\kvtcb at doc@right,
doc left indent/.dimstore in=\kvtcb at doc@indentleft,
@@ -868,7 +868,7 @@
\setrefcountdefault{-1}
\NewDocumentCommand\tcb at ref@doc{msm}{%
- \hyperref[#1:#3]{\texttt{\ref*{#1:#3}}%
+ \hyperref[{#1:#3}]{\texttt{\ref*{#1:#3}}%
\IfBooleanTF{#2}{}{%
\ifnum\getpagerefnumber{#1:#3}=\thepage\relax%
\else%
@@ -899,12 +899,12 @@
\newcommand{\tcbdocmarginnote}[2][]{%
\marginnote{%
- \begin{tcolorbox}[enhanced jigsaw,size=fbox,boxrule=1pt,leftrule=0pt,rightrule=0pt,
+ \begin{tcolorbox}[{enhanced jigsaw,size=fbox,boxrule=1pt,leftrule=0pt,rightrule=0pt,
arc=0pt,outer arc=1pt,boxsep=1pt,top=1pt,bottom=1pt,
nobeforeafter,width=\marginparwidth,
colframe=red!50!white,colback=red!25!yellow!5!white,fontupper=\scriptsize,
if odd page or oneside={flushright upper}{flushleft upper},
- doc at marginnote,#1]#2\end{tcolorbox}}}
+ doc at marginnote,#1}]#2\end{tcolorbox}}}
\newcommand*{\tcbdocnew}[1]{\kvtcb at text@new: #1}
\newcommand*{\tcbdocupdated}[1]{\kvtcb at text@updated: #1}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbexternal.code.tex: Code for externalization
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{pro at cessing}
@@ -160,7 +160,7 @@
\tcb at newenvironment{#1}[2][]{%
#4%
\begingroup%
- \tcbexternal[#3,##1,environment=#2]{##2}%
+ \tcbexternal[{#3,##1,environment=#2}]{##2}%
}{%
\endtcbexternal%
\endgroup%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbfitting.code.tex: Code for fit boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\newdimen\tcbfitdim
\newdimen\tcb at lowerfitdim
@@ -368,7 +368,7 @@
}
\newcommand{\tcboxfit}[2][]{%
- \tcb at ox{capture=fitbox,#1}{#2}%
+ \tcb at ox{capture=fitbox}{#1}{#2}%
}
@@ -380,15 +380,15 @@
\__tcobox_process_newtcolorbox:nn { #2 }{ #3 }
\tl_if_novalue:nTF { #4 }
{
- \exp_args:Nc #1 { #3 }{ \tcboxfit[#6,options at for=#3] }
+ \exp_args:Nc #1 { #3 }{ \tcboxfit[{#6,options at for=#3}] }
}
{
\tl_if_novalue:nTF { #5 }
{
- \exp_args:Nc #1 { #3 }[ #4 ]{ \tcboxfit[#6,options at for=#3] }
+ \exp_args:Nc #1 { #3 }[ #4 ]{ \tcboxfit[{#6,options at for=#3}] }
}
{
- \exp_args:Nc #1 { #3 }[ #4 ][ #5 ]{ \tcboxfit[#6,options at for=#3] }
+ \exp_args:Nc #1 { #3 }[ #4 ][ #5 ]{ \tcboxfit[{#6,options at for=#3}] }
}
}
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbhooks.code.tex: Code for adding hooks
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbset{%
before upper app/.code={\appto\kvtcb at before@upper{#1}},%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcblistings.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{listings}[2007/02/22]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{pro at cessing}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% 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 at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{listings}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbmagazine.code.tex: Code for box sets and magazine styles
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{breakable}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbminted.code.tex: Code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{minted}[2021/12/24]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbposter.code.tex: Code for posters
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{breakable,magazine,skins,fitting}
@@ -131,9 +131,9 @@
\tcbdimto\tcb at poster@boxwidth{\tcb at poster@span\dimexpr\tcbpostercolwidth+\tcbpostercolspacing\relax-\tcbpostercolspacing}%
\iftcb at posterbox@sequence%
\begin{pgfinterruptpicture}%
- \begin{tcolorbox}[tcb at poster@style,width=\tcb at poster@boxwidth,tcb at poster@boxheight,
+ \begin{tcolorbox}[{tcb at poster@style,width=\tcb at poster@boxwidth,tcb at poster@boxheight,
height fixed for=all,#1,
- enforce breakable,reset box array=tcb at poster,store to box array=tcb at poster]#3\end{tcolorbox}%
+ enforce breakable,reset box array=tcb at poster,store to box array=tcb at poster}]#3\end{tcolorbox}%
\end{pgfinterruptpicture}%
\def\tcb at poster@boxcount{0}%
\renewcommand*{\do}[1]{\edef\tcb at poster@boxcount{\the\numexpr\tcb at poster@boxcount+1\relax}%
@@ -153,8 +153,8 @@
\fi%
\else%
\begin{pgfinterruptpicture}%
- \begin{tcolorbox}[tcb at poster@style,width=\tcb at poster@boxwidth,tcb at poster@boxheight,#1,
- reset box array=tcb at poster,store to box array=tcb at poster]#3\end{tcolorbox}%
+ \begin{tcolorbox}[{tcb at poster@style,width=\tcb at poster@boxwidth,tcb at poster@boxheight,#1,
+ reset box array=tcb at poster,store to box array=tcb at poster}]#3\end{tcolorbox}%
\end{pgfinterruptpicture}%
\node[inner sep=0pt,outer sep=0,tcb at poster@node,name=\tcb at poster@prefix\tcb at poster@boxname] at (\tcb at poster@xpos|-\tcb at poster@ypos)
{\consumeboxarray[tcb at poster]{1}};%
@@ -166,7 +166,7 @@
}
\newenvironment{tcb at poster@boxenv}[2][]{%
- \newcommand{\tcb at poster@box at saved}{\posterbox[#1]{#2}{\tcbusetemp}}%
+ \newcommand{\tcb at poster@box at saved}{\posterbox[{#1}]{#2}{\tcbusetemp}}%
\tcbwritetemp}%
{\endtcbwritetemp\tcb at poster@box at saved}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbprocessing.code.tex: Code for conditional processing
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{pdftexcmds}
\RequirePackage{shellesc}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\newcounter{tcbrastercolumn}
\newcounter{tcbrasterrow}
@@ -229,24 +229,24 @@
}
\newcommand{\tcbitem at following}[1][]{%
- \end{tcolorbox}\begin{tcolorbox}[#1]%
+ \end{tcolorbox}\begin{tcolorbox}[{#1}]%
}
\newcommand{\tcbitem at first}[1][]{%
\let\tcbitem=\tcbitem at following%
- \begin{tcolorbox}[#1]%
+ \begin{tcolorbox}[{#1}]%
}
\newenvironment{tcbitemize}[1][]{%
- \begin{tcbraster}[#1]%
+ \begin{tcbraster}[{#1}]%
\let\tcb at raster@change at fitbox=\tcb at raster@change at hbox%
\let\tcbitem=\tcbitem at first%
}{\end{tcolorbox}\end{tcbraster}}
\newenvironment{tcboxedraster}[2][]{%
- \tcolorbox[{#2}]\begin{tcbraster}[#1]}%
+ \tcolorbox[{#2}]\begin{tcbraster}[{#1}]}%
{\end{tcbraster}\endtcolorbox}
\newenvironment{tcboxeditemize}[2][]{%
- \tcolorbox[{#2}]\tcbitemize[#1]}%
+ \tcolorbox[{#2}]\tcbitemize[{#1}]}%
{\endtcbitemize\endtcolorbox}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbskins.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{tikz}[2010/10/13]
\RequirePackage{tikzfill.image}
@@ -1720,12 +1720,10 @@
\cs_new:Npn \__tcobox_include_graphics:nn #1#2
{
- \tl_set:Nn \l_tmpa_tl { \includegraphics }
- \tl_put_right:Nx \l_tmpa_tl { [#1] }
- \l_tmpa_tl {#2}
+ \includegraphics [#1] {#2}
}
+\cs_generate_variant:Nn \__tcobox_include_graphics:nn {en}
-
\cs_new:Npn \__tcobox_include_graphics:
{
\tl_set_eq:NN \l__tcobox_graphics_options_tl \kvtcb at graphics@options
@@ -1734,7 +1732,7 @@
{
\hbox_set:Nn \l_tmpa_box
{
- \__tcobox_include_graphics:nn { \l__tcobox_graphics_options_tl }{ \imagepath }
+ \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl }{ \imagepath }
}
\if_case:w \kvtcb at graphics@orientation
\dim_compare:nNnT {\box_wd:N\l_tmpa_box} < {\box_ht_plus_dp:N \l_tmpa_box}
@@ -1763,7 +1761,7 @@
{
\tcbox
{
- \__tcobox_include_graphics:nn { \l__tcobox_graphics_options_tl }{ \imagepath }
+ \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl }{ \imagepath }
}
}
{
@@ -1770,7 +1768,7 @@
\legacy_if:nTF {tcb at fixedheight}
{
\begin{tcolorbox}
- \__tcobox_include_graphics:nn { \l__tcobox_graphics_options_tl,width=\linewidth,height=\tcbtextheight,keepaspectratio }{ \imagepath }
+ \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl,width=\linewidth,height=\tcbtextheight,keepaspectratio }{ \imagepath }
\end{tcolorbox}
}
{
@@ -1777,7 +1775,7 @@
\tl_if_empty:NTF \tcb at height@adjust
{
\begin{tcolorbox}
- \__tcobox_include_graphics:nn { \l__tcobox_graphics_options_tl,width=\linewidth }{ \imagepath }
+ \__tcobox_include_graphics:en { \l__tcobox_graphics_options_tl,width=\linewidth }{ \imagepath }
\end{tcolorbox}%
}{% height fill
\begin{tcolorbox}[
@@ -1899,7 +1897,7 @@
}\fi}
\tcbset{%
- hyperref node/.style 2 args={finish={\tcbhypernode{\hyperref[#1]}{#2}}},
+ hyperref node/.style 2 args={finish={\tcbhypernode{\hyperref[{#1}]}{#2}}},
hyperref/.style={hyperref node={#1}{frame}},
hyperref interior/.style={hyperref node={#1}{interior}},
hyperref title/.style={hyperref node={#1}{title}},
@@ -1911,7 +1909,7 @@
hyperurl/.style={hyperurl node={#1}{frame}},
hyperurl interior/.style={hyperurl node={#1}{interior}},
hyperurl title/.style={hyperurl node={#1}{title}},
- hyperurl* node/.style n args={3}{finish={\tcbhypernode{\href[#1]{#2}}{#3}}},
+ hyperurl* node/.style n args={3}{finish={\tcbhypernode{\href[{#1}]{#2}}{#3}}},
hyperurl*/.style 2 args={hyperurl* node={#1}{#2}{frame}},
hyperurl* interior/.style 2 args={hyperurl* node={#1}{#2}{interior}},
hyperurl* title/.style 2 args={hyperurl* node={#1}{#2}{title}},
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbtheorems.code.tex: Code for theorems in colorboxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{amsmath}
@@ -149,7 +149,7 @@
\NewDocumentCommand \__tcobox_new_tcbtheorem_x:w { m O{} m m +m m }
{
- #1 [auto~counter,#2] {#3} { +O{} +o +m m }
+ #1 [{auto~counter,#2}] {#3} { +O{} +o +m m }
{
#5,
title = {\__tcobox_theo_title:nnn{#4}{\thetcbcounter}{##3}},
@@ -165,7 +165,7 @@
theo at label = {#6}{##4},
##1
}
- #1 [#2,no~counter,list~inside=] {#3*} { +O{} +m }
+ #1 [{#2,no~counter,list~inside=}] {#3*} { +O{} +m }
{
#5,
title = {\__tcobox_theo_title:nnn{#4}{}{##2}},
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbvignette.code.tex: Code for ornamental frames
%%
%% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcbxparse.code.tex: Code for xparse features
%%
%% -------------------------------------------------------------------------------------------
@@ -18,6 +18,6 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{6.0.4}
+\tcb at set@library at version{6.1.0}
\RequirePackage{xparse}[2013/12/31]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2023-09-26 20:04:16 UTC (rev 68374)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2023-09-26 20:04:48 UTC (rev 68375)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.4 (2023/06/19)
+%% The LaTeX package tcolorbox - version 6.1.0 (2023/09/26)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesPackage{tcolorbox}[2023/06/19 version 6.0.4 text color boxes]
-\def\tcb at version{6.0.4}
+\ProvidesPackage{tcolorbox}[2023/09/26 version 6.1.0 text color boxes]
+\def\tcb at version{6.1.0}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -29,6 +29,7 @@
% register
\newif\iftcb at lowerignored
\newif\iftcb at lowervisible
+\newif\iftcb at redirectlowerto
\newif\iftcb at uppervisible
\newif\iftcb at titlevisible
\newif\iftcb at hasTitle
@@ -285,7 +286,8 @@
fontupper/.store in=\kvtcb at fontupper,
fontlower/.store in=\kvtcb at fontlower,
tempfile/.store in=\kvtcb at tempfile,
- savelowerto/.store in=\kvtcb at savelowerto,
+ savelowerto/.code={\tcb at redirectlowertofalse\def\kvtcb at savelowerto{#1}},
+ redirectlowerto/.code={\tcb at lowerignoredtrue\tcb at lowervisiblefalse\tcb at redirectlowertotrue\def\kvtcb at savelowerto{#1}},
saveto/.store in=\kvtcb at saveupperto,
savedelimiter/.estore in=\kvtcb at savedelimiter,
floatplacement/.store in=\kvtcb at floatplacement,
@@ -681,8 +683,14 @@
tikznode upper/.style={before upper={\centering\tcb at shield@externalize\begin{tikzpicture}\node[{align=center,inner sep=\z@,outer sep=\z@,#1}]\bgroup},after upper={\egroup;\end{tikzpicture}}},%
tikznode lower/.style={before lower={\centering\tcb at shield@externalize\begin{tikzpicture}\node[{align=center,inner sep=\z@,outer sep=\z@,#1}]\bgroup},after lower={\egroup;\end{tikzpicture}}},%
tikznode/.style={tikznode upper={#1},tikznode lower={#1}},%
- varwidth upper/.style={before upper={\tcbdimto\tcb at w@upper{#1-(\kvtcb at left@rule+\kvtcb at right@rule+(\kvtcb at boxsep)*2+\kvtcb at leftupper+\kvtcb at rightupper)}%
- \begin{varwidth}{\tcb at w@upper}},after upper={\end{varwidth}}},%
+ varwidth upper/.style={%
+ before upper={%
+ \tcbdimto\tcb at w@upper{#1-(\kvtcb at left@rule+\kvtcb at right@rule+(\kvtcb at boxsep)*2+\kvtcb at leftupper+\kvtcb at rightupper)}%
+ \begin{varwidth}{\tcb at w@upper}%
+ \kvtcb at halignupper%
+ },%
+ after upper={\end{varwidth}}%
+ },%
varwidth upper/.default=\kvtcb at width,
text fill/.style={before upper={%
\ifdim\dimexpr\tcbtextheight>\z@\relax%
@@ -808,11 +816,11 @@
hypertarget/.style={phantom={\ifdefined\hypertarget\Hy at raisedlink{\hypertarget{#1}{}}\fi}},
bookmark*/.style 2 args={phantom={\ifdefined\bookmark%
\Hy at raisedlink{\hypertarget{tcb@\thetcolorboxnumber}{}}%
- \bookmark[dest=tcb@\thetcolorboxnumber,rellevel=1,keeplevel,#1]{#2}%
+ \bookmark[{dest=tcb@\thetcolorboxnumber,rellevel=1,keeplevel,#1}]{#2}%
\fi}},
bookmark/.style={bookmark*={}{#1}},
index/.style={phantom={\index{#1}}},%
- index*/.style 2 args={phantom={\index[#1]{#2}}},%
+ index*/.style 2 args={phantom={\index[{#1}]{#2}}},%
add to list/.style 2 args={phantom={\tcb at addcontentsline{#1}{#2}}},
nophantom/.code={\def\kvtcb at phantom{}},%
shield externalize/.is choice,
@@ -987,6 +995,7 @@
\let\tcb at parboxrestore=\@parboxrestore
\def\tcb at parbox@false at settings{%
+ \let\par\@@par%
\linewidth\hsize%
\@totalleftmargin\z@%
\leftskip\z at skip%
@@ -1022,7 +1031,8 @@
\def\noexpand\@currenvline{\on at line}}%
\reserved at a
\@endpefalse%
- \let\tcbbreak\par%
+ \global\@newlistfalse%
+ \let\tcbbreak\@@par%
\csname tcb at parbox@use@\kvtcb at parbox\endcsname%
\tcb at minipage{#2}%
\color{#3}%
@@ -1388,8 +1398,9 @@
}
\long\def\tcb@@icolorbox[#1]{%
+ \tcbset{capture=minipage}%
\tcb at layer@inc%
- \tcb at apply@box at options{capture=minipage,#1}\tcb at height@adjust%
+ \tcb at apply@box at options{#1}\tcb at height@adjust%
\tcb at hasLowerfalse%
\csname tcb@@capture@\kvtcb at capture\endcsname%
}
@@ -2059,17 +2070,18 @@
\long\def\tcbox at inner@v@@d#1{}%
-\long\def\tcb at ox#1#2{%
+\long\def\tcb at ox#1#2#3{%
\begingroup%
+ \tcbset{#1}%
\tcb at layer@inc%
- \tcb at apply@box at options{#1,breakable at false,sidebyside at false}\tcb at height@adjust%
- \csname tcbox at inner@\kvtcb at capture\endcsname{#2}%
+ \tcb at apply@box at options{#2,breakable at false,sidebyside at false}\tcb at height@adjust%
+ \csname tcbox at inner@\kvtcb at capture\endcsname{#3}%
\tcb at layer@dec%
\endgroup%
}
\newcommand{\tcbox}[2][]{%
- \tcb at ox{capture=hbox,#1}{#2}%
+ \tcb at ox{capture=hbox}{#1}{#2}%
}
\newcommand{\tcbsubtitle}[2][]{%
@@ -2089,7 +2101,7 @@
\let\tcb at trans@bottom\kvtcb at bottomtitle%
\let\tcb at trans@rule\kvtcb at title@rule%
\let\tcb at trans@style\kvtcb at subtitle@style%
- \begin{tcolorbox}[sharp corners,
+ \begin{tcolorbox}[{sharp corners,
before skip={0.5\baselineskip},after skip={0.5\baselineskip},
colframe=tcbtranscol at frame,colback=tcbtranscol at back,
colupper=tcbtranscol at upper,fontupper=\tcb at trans@fontupper,
@@ -2096,7 +2108,7 @@
boxsep=\tcb at trans@boxsep,left=\tcb at trans@left,right=\tcb at trans@right,
top=\tcb at trans@top,bottom=\tcb at trans@bottom,
boxrule=\tcb at trans@rule,leftrule=\z@,rightrule=\z@,oversize,
- code={\pgfkeysalsofrom\tcb at trans@style},#1]%
+ code={\pgfkeysalsofrom\tcb at trans@style},#1}]%
#2%
\end{tcolorbox}%
\endgroup%
@@ -2140,9 +2152,24 @@
Crefname/.code n args={2}{\begingroup\edef\x{\endgroup\noexpand\Crefname{\tcb at new@boxname}}\x{#1}{#2}\tcb at new@label at type},
%
blend into/.is choice,%
- blend into/figures/.style={use counter*=figure,list inside=lof,/tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\fnum at figure}}}}},%
- blend into/tables/.style={use counter*=table,list inside=lot,/tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\fnum at table}}}}},%
- blend into/listings/.style={use counter*=lstlisting,list inside=lol,/tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\lstlistingname~\thetcbcounter}}}}},%
+ blend into/figures/.style={%
+ use counter* = figure,
+ list inside = lof,
+ list type = figure,
+ /tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\fnum at figure}}}}%
+ },%
+ blend into/tables/.style={%
+ use counter* = table,
+ list inside = lot,
+ list type = table,
+ /tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\fnum at table}}}}%
+ },%
+ blend into/listings/.style={%
+ use counter* = lstlisting,
+ list inside = lol,
+ list type = lstlisting,
+ /tcb/code={\appto\tcb at new@colopt{,before title={\tcb at blend@beforetitle{\lstlistingname~\thetcbcounter}}}}%
+ },%
%
reset at new/.style={no counter,number within=,number format=\arabic,number freestyle=,
list inside=,list type=tcolorbox,init at hook@clear,reset counter on overlays=false},
@@ -2497,7 +2524,7 @@
#1{#4}
}
{
- #1[#3]{#4}
+ #1[{#3}]{#4}
}
}
\@starttoc{#2}
@@ -2583,8 +2610,10 @@
\def\tcb at endlowerverbatimanddraw{%
\endtcbverbatimwrite%
\endgroup%
- \IfFileExists{\kvtcb at savelowerto}{%
- \tcb at savelowerbox\input{\kvtcb at savelowerto}\end{tcb at savebox}}{}%
+ \iftcb at redirectlowerto\else%
+ \IfFileExists{\kvtcb at savelowerto}{%
+ \tcb at savelowerbox\input{\kvtcb at savelowerto}\end{tcb at savebox}}{}%
+ \fi%
\tcb at draw@color at box%
\tcb at finalize@environment%
}
More information about the tex-live-commits
mailing list.