texlive[56009] Master/texmf-dist: tcolorbox (31jul20)

commits+karl at tug.org commits+karl at tug.org
Fri Jul 31 23:45:52 CEST 2020


Revision: 56009
          http://tug.org/svn/texlive?view=revision&revision=56009
Author:   karl
Date:     2020-07-31 23:45:51 +0200 (Fri, 31 Jul 2020)
Log Message:
-----------
tcolorbox (31jul20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
    trunk/Master/texmf-dist/doc/latex/tcolorbox/README
    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.external.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.poster.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty
    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
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %%
 %% -------------------------------------------------------------------------------------------
 %% Copyright (c) 2006-2020 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -1144,3 +1144,12 @@
 - library 'poster':
   poster width and height caveats described in more detail (#98)
 
+version 4.31 (2020/07/31)
+- bug fix (#101): \tcbincludepdf did not work for lualatex
+- bug fix (#103): Several tests had a missing \relax
+- bug fix (#106): Breakable tcolorbox may overlap with following the text
+- bug fix: 'space to' did not result in a stable value
+- Internal change: all 'code 2 args' replaced by 'code n args={2}'
+- documentation typo corrections (#102)
+- library 'documentation':
+  * indention of <environment content> changed to \ttfamily (#100)

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %%
 %% -------------------------------------------------------------------------------------------
 %% Copyright (c) 2006-2020 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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,5 +1,5 @@
 % \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1915,7 +1915,7 @@
 
 
 
-\begin{docTcbKey}[][doc new=2015-02-15]{space to}{=\meta{macro}}{no default, initially unset}
+\begin{docTcbKey}[][doc new and updated={2015-02-15}{2020-07-30}]{space to}{=\meta{macro}}{no default, initially unset}
   If the height of a |tcolorbox| is not the natural height, the space
   difference between the forced and the natural size is saved into the
   given local \meta{macro}. This \meta{macro} can and should be used inside

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -553,7 +553,7 @@
   \meta{env}! Otherwise, externalized and non-externalized version will have
   different spacings.
   \end{marker}
-  \refEnv{extcolorbox} is an example application for\refCom{newtcbexternalizetcolorbox}.
+  \refEnv{extcolorbox} is an example application for \refCom{newtcbexternalizetcolorbox}.
 
 
 \inputpreamblelisting{M}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1182,9 +1182,9 @@
 and |texexptitledspec| are defined with automatic numbering.
 
 \begin{itemize}
-\item |texexp| is used for untitled examles,
-\item |texexptitled| is used for titled examles,
-\item |texexptitledspec| is used for titled examles with special treatment.
+\item |texexp| is used for untitled examples,
+\item |texexptitled| is used for titled examples,
+\item |texexptitledspec| is used for titled examples with special treatment.
 \end{itemize}
 
 \inputpreamblelisting{D}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.poster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.poster.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.poster.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -287,7 +287,7 @@
   boxes    = {sharp corners=downhill,arc=3mm,boxrule=1mm,
               colback=white,colframe=cyan,
               title style={left color=black,right color=cyan},
-              fonttitle=\bfseries\scshape}
+              fonttitle=\bfseries}
 ]
   \posterbox[adjusted title=First]{column=1,row=1,span=2}{First box}
   \posterbox[adjusted title=Second]{column=1,row=2,span=2}{Second box}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty	2020-07-31 21:45:51 UTC (rev 56009)
@@ -11,7 +11,7 @@
 \RequirePackage[svgnames,table,hyperref]{xcolor}
 \RequirePackage{tikz}
 \RequirePackage{varioref}
-\RequirePackage[makeindex]{imakeidx}
+%\RequirePackage[makeindex]{imakeidx}
 \RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
 \RequirePackage{bookmark,varwidth,cleveref,incgraph}
 
@@ -310,3 +310,23 @@
   compilable listing,
   run pdflatex,#1
 }
+
+\ExplSyntaxOn
+
+\cs_new:Npn \__tcobox_aux_mkdir:n #1
+  {
+    \file_if_exist:nF { "#1"/dir.marker }
+      {
+        \sys_shell_now:x {mkdir~"#1"}
+        \iow_open:Nn \g_tmpa_iow {"#1"/dir.marker}
+        \iow_close:N \g_tmpa_iow
+      }
+  }
+
+\NewDocumentCommand{ \tcbAUXmkdir }{ m }
+  {
+    \__tcobox_aux_mkdir:n {#1}
+  }
+
+\ExplSyntaxOff
+

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty	2020-07-31 21:45:51 UTC (rev 56009)
@@ -177,7 +177,8 @@
   colbacktitle=red!50!yellow,before skip=6pt,after skip=6pt,
   title={#2},#1}
 
-\newtcbexternalizetcolorbox{exmyownlisting}{myownlisting}{minipage}%
+\newtcbexternalizetcolorbox{exmyownlisting}{myownlisting}%
+  {minipage,environment with percent=false}%
   {before skip=6pt,after skip=6pt}% same values as for mylisting
 \end{tcbverbatimwrite}
 \input{\jobname_preamble_M.tex}

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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,5 +1,5 @@
 % \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% tcolorbox.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------
@@ -31,8 +31,8 @@
 \tcbEXTERNALIZE
 \usepackage{tcolorbox.doc.s_snippet}
 %\tcbset{external/PassOptionsToPackage={cache=false}{minted}}
-\ShellEscape{mkdir external}
-\ShellEscape{mkdir solutions}
+\tcbAUXmkdir{external}
+\tcbAUXmkdir{solutions}
 
 \RequirePackage{csquotes}
 \RequirePackage[style=numeric-comp,sorting=nyt,
@@ -43,8 +43,8 @@
 \setlength{\bibitemsep}{\smallskipamount}
 \addbibresource{tcolorbox.doc.bib}
 
-\def\version{4.30}%
-\def\datum{2020/04/28}%
+\def\version{4.31}%
+\def\datum{2020/07/31}%
 \makeindex
 
 \hypersetup{
@@ -62,7 +62,7 @@
 %\geometry{showframe}
 %\tcbset{draftmode}
 \tcbset{/tcb/external/-}% for final run
-%\includeonly{tcolorbox.doc.picturecredits}
+%\includeonly{tcolorbox.doc.external}
 
 %\hypersetup{colorlinks=false}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \let\tcb at parboxrestore@true=\tcb at parboxrestore
 \let\tcb at parboxrestore@false\tcb at parbox@false at settings
@@ -24,9 +24,9 @@
 
 % total height for boxes smaller than 0.4375\maxdimen and 0.4375\maxdimen else (ca 2.5m)
 \def\tcb at defToTotalHeightBreakable#1#2{%
-  \ifnum\ht#2<0 %
+  \ifnum\ht#2<0\relax%
     \edef#1{7168pt}%
-  \else\ifnum\ht#2<469762048 %
+  \else\ifnum\ht#2<469762048\relax%
     \tcbdimto#1{\ht#2+\dp#2}%
   \else%
     \edef#1{7168pt}%
@@ -106,12 +106,12 @@
   \ifdim\tcb at breakat@dim>0pt\relax%
     \tcbdimto\tcb at h@page{\tcb at breakat@dim-\kvtcb at shrinkbreakgoal}%
   \else%
-    \ifx\kvtcb at float\@empty%
+    \ifx\kvtcb at float\@empty\relax%
       \iftcb at multicol%
         \ifnum\c at tcbbreakpart>1\relax%
           \tcbdimto\tcb at h@page{\@colroom}%
         \else%
-          \ifdim\pagegoal=16383.99998pt
+          \ifdim\pagegoal=16383.99998pt\relax%
             \tcbdimto\tcb at h@page{\@colroom}%
           \else%
             \@tempdima\pagetotal%
@@ -120,7 +120,7 @@
           \fi%
         \fi%
       \else%
-        \ifdim\pagegoal=16383.99998pt
+        \ifdim\pagegoal=16383.99998pt\relax%
           \tcbdimto\tcb at h@page{\vsize}% detects floating objects
         \else%
           \tcb at comp@compress%
@@ -162,7 +162,7 @@
 }
 
 \def\tcb at following@title{%
-  \ifx\kvtcb at followingtitle\@empty%
+  \ifx\kvtcb at followingtitle\@empty\relax%
     \tcb at hasTitlefalse%
     \let\tcb at h@title=\tcb at zpt%
     \let\tcb at h@padtitle=\tcb at zpt%
@@ -189,7 +189,7 @@
 \def\tcb at enlbreak@next at scan#1/#2@{%
   \def\temp at a{#2}%
   \tcbdimto\tcb at enlbreak@dim{#1}%
-  \ifx\temp at a\@empty%
+  \ifx\temp at a\@empty\relax%
     \let\tcb at enlbreak@next=\tcb at enlbreak@next at final%
   \else%
      \edef\tcb at enlbreak@seq{\temp at a @}%
@@ -212,7 +212,7 @@
 \def\tcb at breakat@next at scan#1/#2@{%
   \def\temp at a{#2}%
   \tcbdimto\tcb at breakat@dim{#1}%
-  \ifx\temp at a\@empty%
+  \ifx\temp at a\@empty\relax%
     \let\tcb at breakat@next=\@empty%
   \else%
      \edef\tcb at breakat@seq{\temp at a @}%
@@ -264,12 +264,12 @@
   \setcounter{tcbbreakpart}{0}%
   \let\tcb at nobreak@warning\@empty%
   \@ifundefined{columnbreak}{\tcb at multicolfalse}{%
-    \ifnum\doublecol at number>\z@ %
+    \ifnum\doublecol at number>\z@\relax%
       \tcb at multicoltrue%
     \else%
       \tcb at multicolfalse%
     \fi}%
-  \ifx\kvtcb at float\@empty%
+  \ifx\kvtcb at float\@empty\relax%
     \iftcb at nobreak{%
       \let\tcb at nobreak@warning\tcb at do@nobreak at warning%
       \iftcb at ignorenobreak%
@@ -318,7 +318,7 @@
     \tcb at split@start%
   \endgroup%
   \color{.}% hack for some special cases
-  \ifx\kvtcb at float\@empty%
+  \ifx\kvtcb at float\@empty\relax%
     \aftergroup\tcb at use@after at lastbox%
   \fi%
 }
@@ -514,7 +514,7 @@
 
 \def\tcb at split@first{%
   \setcounter{tcbbreakpart}{1}%
-  \ifx\kvtcb at float\@empty%
+  \ifx\kvtcb at float\@empty\relax%
     \iftcb at vfillbeforefirst%
       \let\tcb at before@first=\vfill%
     \else%
@@ -636,7 +636,8 @@
 
 \def\tcb at split@force at last{%
   \tcb at split@setstate at last%
-  \ifdim\tcb at h@total>\tcb at h@page%
+  \ifdim\tcb at h@total>\tcb at h@page\relax%
+    \gdef\tcb at after@lastbox{\clearpage}%
     \tcbdimto\kvtcb at bbbottom{\kvtcb at bbbottom+\tcb at h@page-\tcb at h@total}%
   \fi%
 }
@@ -978,7 +979,7 @@
   compress page/all/.code={\def\tcb at comp@compress{\def\tcb at compress@height{\pageshrink-1sp}}},%
   compress page/none/.code={\def\tcb at comp@compress{\let\tcb at compress@height\tcb at zpt}},%
   compress page/baselineskip/.code={\def\tcb at comp@compress{%
-    \ifdim\pageshrink>\baselineskip%
+    \ifdim\pageshrink>\baselineskip\relax%
       \let\tcb at compress@height\baselineskip%
     \else%
       \def\tcb at compress@height{\pageshrink-1sp}%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{listings,skins,xparse,external,raster}
 
@@ -487,7 +487,7 @@
         \seq_gput_left:NV \g__tcobox_label_seq \kvtcb at doc@label
       }
     {\ttfamily\kvtcb at doc@parameter}\par
-    \strut\nobreakspace\nobreakspace\meta{\kvtcb at text@envcontent}\par
+    \strut{\ttfamily\nobreakspace\nobreakspace}\meta{\kvtcb at text@envcontent}\par
     \strut\cs{end}\brackets{\__tcobox_print_environment:}
     \tcb at doc@do at description
   }
@@ -808,7 +808,7 @@
 \NewDocumentCommand\tcb at ref@doc{msm}{%
   \hyperref[#1:#3]{\texttt{\ref*{#1:#3}}%
   \IfBooleanTF{#2}{}{%
-    \ifnum\getpagerefnumber{#1:#3}=\thepage%
+    \ifnum\getpagerefnumber{#1:#3}=\thepage\relax%
     \else%
       \textsuperscript{\ding{213}\,\kvtcb at text@pageshort\,\pageref*{#1:#3}}%
     \fi}}%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{pro at cessing}
 
@@ -217,8 +217,8 @@
   clear preamble/.code={\def\tcbexternal at preamble{}},
   preclass/.code={\appto\tcbexternal at preclass{#1}},
   clear preclass/.code={\def\tcbexternal at preclass{}},
-  PassOptionsToPackage/.code 2 args={\appto\tcbexternal at preclass{\PassOptionsToPackage{#1}{#2}}},
-  PassOptionsToClass/.code 2 args={\appto\tcbexternal at preclass{\PassOptionsToClass{#1}{#2}}},
+  PassOptionsToPackage/.code n args={2}{\appto\tcbexternal at preclass{\PassOptionsToPackage{#1}{#2}}},
+  PassOptionsToClass/.code n args={2}{\appto\tcbexternal at preclass{\PassOptionsToClass{#1}{#2}}},
   externalize/.code={},
   -/.style={/tcb/external/externalize=false},
   %

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \newdimen\tcbfitdim
 \newdimen\tcb at lowerfitdim

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{pro at cessing}
 
@@ -178,11 +178,11 @@
 \tcbset{%
   listing file/.store in=\kvtcb at listingfile,%
   comment/.store in=\kvtcb at listingcomment,%
-  listing at process@inside/.code 2 args={%
+  listing at process@inside/.code n args={2}{%
     \let\tcb at inputlisting\tcb at inputlisting@inside%
     \let\tcb at listing@process=#1%
     \let\tcb at use@listing at other=#2},%
-  listing at process@outside/.code 2 args={%
+  listing at process@outside/.code n args={2}{%
     \let\tcb at inputlisting=#1%
     \let\tcb at use@listing at other=#2},%
   listing only/.style={listing at process@inside={\tcb at listing@listing}{\tcbuselistingtext}},%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{listings}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{breakable}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \RequirePackage{minted}[2011/09/17]
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{breakable,magazine,skins,fitting}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \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	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \newcounter{tcbrastercolumn}
 \newcounter{tcbrasterrow}
@@ -193,7 +193,7 @@
     \color at vbox%
     \hsize=\tcb at raster@width%
     \let\tcb at end@raster\color at endbox%
-  \fi\fi%&
+  \fi\fi%
   \if at nobreak%
     \iftcb at ignorenobreak%
       {\par\nointerlineskip%
@@ -206,7 +206,7 @@
   \tcb at parfillskip@check\kvtcb at raster@halign\noindent%
 }{%
   \ifhmode\unskip\fi%
-  \ifnum\c at tcbrastercolumn>1 %
+  \ifnum\c at tcbrastercolumn>1\relax%
     \kern\tcb at raster@skip at right%
   \fi%
   \begingroup%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \RequirePackage{tikz}[2010/10/13]
 
@@ -29,7 +29,7 @@
   \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 at width,minimum height=\tcb at height]{};
     \node[name=interior,at={({\kvtcb at left@rule},{\kvtcb at bottom@rule})},above right,minimum width=\tcb at innerwidth,minimum height=\tcb at innerheight]{};
-    \ifnum\tcbsegmentstate=1%
+    \ifnum\tcbsegmentstate=1\relax%
     \node[name=segmentation,at={({\kvtcb at left@rule},{\the\dimexpr\kvtcb at bottom@rule+\kvtcb at boxsep*2+\tcb at break@bottomsep+\kvtcb at bottom+\tcb at height@lower\relax})},above right,
        minimum width=\tcb at innerwidth,minimum height=\the\dimexpr\kvtcb at middle*2\relax]{};
     \else\iftcb at sidebyside%
@@ -652,7 +652,7 @@
   frame engine=path,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=path,%
   interior titled code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1%
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@UT%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithtitle@path}%
@@ -663,7 +663,7 @@
     \tcb at drawspec@T\tcb at spec{}},
   interior code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@UR%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithouttitle@path}%
@@ -680,7 +680,7 @@
   frame engine=pathfirst,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathfirst,%
   interior titled code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1%
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@UT%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithtitle@pathfirst}%
@@ -691,7 +691,7 @@
     \tcb at drawspec@T\tcb at spec{}},%
   interior code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@UR%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithouttitle@pathfirst}%
@@ -706,7 +706,7 @@
   frame engine=pathmiddle,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathmiddle,%
   interior titled code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1%
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@UT%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithtitle@pathmiddle}%
@@ -717,7 +717,7 @@
     \tcb at drawspec@T\tcb at spec{}},%
   interior code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@US%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithouttitle@pathmiddle}%
@@ -743,7 +743,7 @@
     \tcb at drawspec@T\tcb at spec{}},%
   interior code={%
     \iftcb at lowerseparated%
-      \ifnum\tcbsegmentstate=1
+      \ifnum\tcbsegmentstate=1\relax%
       \tcb at spec{beamer at color}\tcb at drawspec@US%
       \else%
       {\tcb at spec{beamer at color}\tcb at drawwithouttitle@pathlast}%
@@ -1021,13 +1021,13 @@
     \ifdim\dimexpr\kvtcb at yinnershift@boxedtitle<0pt\relax\let\kvtcb at yinnershift@boxedtitle\tcb at zpt\fi%
   }},
   boxtitle/adapt at top/.code={%
-    \ifdim\dimexpr\tcboxedtitleheight+\kvtcb at yshift@boxedtitle>0pt\relax
+    \ifdim\dimexpr\tcboxedtitleheight+\kvtcb at yshift@boxedtitle>0pt\relax%
       \tcbdimto\kvtcb at bbtop@stand{\kvtcb at bbtop@stand+\tcboxedtitleheight+\kvtcb at yshift@boxedtitle}%
     \fi%
     \tcbdimto\kvtcb at top{\kvtcb at top-\kvtcb at yinnershift@boxedtitle}%
   },
   boxtitle/adapt at bottom/.code={%
-    \ifdim\dimexpr\tcboxedtitleheight-\kvtcb at yshift@boxedtitle>0pt\relax
+    \ifdim\dimexpr\tcboxedtitleheight-\kvtcb at yshift@boxedtitle>0pt\relax%
       \tcbdimto\kvtcb at bbbottom@stand{\kvtcb at bbbottom@stand+\tcboxedtitleheight-\kvtcb at yshift@boxedtitle}%
     \fi%
     \tcbdimto\kvtcb at bottom{\kvtcb at bottom+\kvtcb at yinnershift@boxedtitle}%
@@ -1103,7 +1103,7 @@
 
 \def\tcb at setratio#1#2#3{\edef#1{\strip at pt\dimexpr\number\numexpr\number\dimexpr#2\relax*65536/\number\dimexpr#3\relax\relax sp\relax}}
 
-\def\tcb at setratiorobust#1#2#3{\ifdim\dimexpr#3<1pt\tcb at setratio#1{#2}{1pt}\else\tcb at setratio#1{#2}{#3}\fi}
+\def\tcb at setratiorobust#1#2#3{\ifdim\dimexpr#3<1pt\relax\tcb at setratio#1{#2}{1pt}\else\tcb at setratio#1{#2}{#3}\fi}
 
 \def\tcb at comp@waterbox at stretch#1#2#3{%
   \tcb at setratiorobust\tcb at scale@x{#1\dimexpr#2}{\wd\tcb at waterbox}%
@@ -1288,10 +1288,10 @@
     \pgfutil at loop%
       \pgfutil at loop%
         \pgftext[x=\pgf at xc,y=\pgf at yc,left,top]{\copy\tcb at waterbox}%
-        \ifdim\pgf at xc<\pgf at xb%
+        \ifdim\pgf at xc<\pgf at xb\relax%
         \advance\pgf at xc\tcb at ppbb@tilew%
       \pgfutil at repeat%
-      \ifdim\pgf at yc>\pgf at ya%
+      \ifdim\pgf at yc>\pgf at ya\relax%
       \advance\pgf at yc-\tcb at ppbb@tileh%
       \pgf at xc\pgf at xa%
     \pgfutil at repeat%
@@ -1484,7 +1484,7 @@
 
 
 \def\tcb at shadow@comp at ts@smart#1#2{%
-  \ifdim#2>0pt\relax\tcbdimto\tcb at shadow@ts{#1-#2/2}%%
+  \ifdim#2>0pt\relax\tcbdimto\tcb at shadow@ts{#1-#2/2}%
   \else\tcbdimto\tcb at shadow@ts{#1+#2/2}\fi%
 }
 
@@ -1806,16 +1806,24 @@
 \def\tcb at set@pdfpages#1#2{%
   \IfFileExists{#2}{%
     \ifdef{\pdfximage}{%
+      % pdftex
       \pdfximage{#2}%
       \edef#1{\the\pdflastximagepages}%
     }{%
-      \ifdef{\XeTeXpdfpagecount}{%
-        \edef#1{\the\XeTeXpdfpagecount #2 }%
-        \ifnum#1=0 %
-          \edef#1{1}%
-        \fi%
-      }{\tcb at error{For PDF support run pdflatex, xelatex, or lualatex}{%
-        Your compiler seems not to support PDF include files.}}%
+      \ifdef{\saveimageresource}{%
+        % luatex
+        \saveimageresource{#2}%
+        \edef#1{\the\lastsavedimageresourcepages}%
+      }{%
+        \ifdef{\XeTeXpdfpagecount}{%
+          % xetex
+          \edef#1{\the\XeTeXpdfpagecount #2 }%
+          \ifnum#1=0\relax%
+            \edef#1{1}%
+          \fi%
+        }{\tcb at error{For PDF support run pdflatex, xelatex, or lualatex}{%
+          Your compiler seems not to support PDF include files.}}%
+      }%
     }%
   }{\tcb at error{PDF file `#2' not found}{The PDF file `#2' was not found}}%
   \relax%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{skins}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \RequirePackage{amsmath}
 
@@ -106,7 +106,7 @@
   terminator sign dash/.style={terminator sign={\ --}},%
   terminator sign none/.style={terminator sign=},%
   label separator/.store in=\kvtcb at label@sep,%
-  description delimiters/.code 2 args={\def\kvtcb at desc@delim at left{#1}\def\kvtcb at desc@delim at right{#2}},%
+  description delimiters/.code n args={2}{\def\kvtcb at desc@delim at left{#1}\def\kvtcb at desc@delim at right{#2}},%
   description delimiters parenthesis/.style={description delimiters=()},
   description delimiters none/.style={description delimiters={}{}},
   description color/.code={\def\temp at a{#1}\ifx\temp at a\@empty\relax%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% 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{4.30}
+\tcb at set@library at version{4.31}
 
 \tcbuselibrary{skins}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% tcbxparse.code.tex: Code for xparse features
 %%
 %% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
 %% This work consists of all files listed in README
 %%
 %\makeatletter
-\tcb at set@library at version{4.30}
+\tcb at set@library at version{4.31}
 
 \RequirePackage{xparse}[2013/12/31]
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty	2020-07-31 21:45:27 UTC (rev 56008)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty	2020-07-31 21:45:51 UTC (rev 56009)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.30 (2020/04/28)
+%% The LaTeX package tcolorbox - version 4.31 (2020/07/31)
 %% tcolorbox.sty: Text color boxes
 %%
 %% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
 %% This work consists of all files listed in README
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2020/04/28 version 4.30 text color boxes]
-\def\tcb at version{4.30}
+\ProvidesPackage{tcolorbox}[2020/07/31 version 4.31 text color boxes]
+\def\tcb at version{4.31}
 
 \RequirePackage{pgf}[2008/01/15]
 \RequirePackage{verbatim}[2003/08/22]
@@ -666,11 +666,11 @@
   void/.style={capture=v@@d,capture/.code=,options at for/.code=,code={\def\tcbinputlisting at core{}}},
   nirvana/.code={\let\tcb at draw@color at box\@empty},
   check odd page/.is if=tcb at checkpage,
-  if odd page/.code 2 args={%
+  if odd page/.code n args={2}{%
     \tcbset{check odd page}%
     \tcbifoddpage{\tcbset{#1}}{\tcbset{#2}}%
   },
-  if odd page or oneside/.code 2 args={%
+  if odd page or oneside/.code n args={2}{%
     \tcbset{check odd page}%
     \tcbifoddpageoroneside{\tcbset{#1}}{\tcbset{#2}}%
   },
@@ -828,7 +828,7 @@
     {\edef\ftype at tcbfloat{\the\c at float@type}%
      \addtocounter{float at type}{\value{float at type}}}%
 \def\c at tcbfloat{\c at float@type}% tricking the caption package
-\ifdim\parskip>\z@%
+\ifdim\parskip>\z@\relax%
   \tcbset{autoparskip/.style=parskip}%
 \else%
   \tcbset{autoparskip/.style=noparskip}%
@@ -1043,7 +1043,7 @@
       \newbox\tcb at temp%
       \cslet{tcb at footnote@\romannumeral\c at tcblayer}{\tcb at temp}%
       \tcbset{every box on layer \number\c at tcblayer/.style={reset,every box}}
-    \ifnum\c at tcblayer<#1\repeat%
+    \ifnum\c at tcblayer<#1 \repeat%
   \else%
   \fi%
   \xdef\tcb at managed@layers at max{#1}%
@@ -1061,12 +1061,12 @@
 \def\tcb at layer@inc{%
   \tcb at count@boxes%
   \stepcounter{tcblayer}%
-  \ifnum\c at tcblayer>1%
+  \ifnum\c at tcblayer>1\relax%
     \tcbset{breakable at true/.code=}%
   \else%
     \ifinner\ifhmode\tcbset{breakable at true/.code=}\fi\fi%
   \fi%
-  \ifnum\c at tcblayer>\tcb at managed@layers at max%
+  \ifnum\c at tcblayer>\tcb at managed@layers at max\relax%
     \tcbset{every box on higher layers}%
   \else%
     \expandafter\setbox\csname tcb at footnote@\romannumeral\c at tcblayer\endcsname\box\@mpfootins%
@@ -1079,12 +1079,12 @@
   \tcb at count@boxes%
   \global\advance\c at tcolorbox@number by -1\relax%
   \stepcounter{tcblayer}%
-  \ifnum\c at tcblayer>1%
+  \ifnum\c at tcblayer>1\relax%
     \tcbset{breakable at true/.code=}%
   \else%
     \ifinner\ifhmode\tcbset{breakable at true/.code=}\fi\fi%
   \fi%
-  \ifnum\c at tcblayer>\tcb at managed@layers at max%
+  \ifnum\c at tcblayer>\tcb at managed@layers at max\relax%
     \tcbset{every box on higher layers}%
     \tcbset{every box on higher layers/.code=}%
   \else%
@@ -1095,7 +1095,7 @@
 }
 
 \def\tcb at layer@dec{%
-  \ifnum\c at tcblayer>\tcb at managed@layers at max%
+  \ifnum\c at tcblayer>\tcb at managed@layers at max\relax%
   \else%
     \expandafter\global\setbox\@mpfootins\box\csname tcb at footnote@\romannumeral\c at tcblayer\endcsname%
     \setcounter{mpfootnote}{\csname tcb at footnote@cnt@\romannumeral\c at tcblayer\endcsname}%
@@ -1179,23 +1179,32 @@
   \immediate\write\@auxout{\string\csgdef{tcb at space@#1}{#2}}%
 }
 
-\def\tcb at ch@fixed at spacesave{%
-  \tcbdimto\tcb at space{\tcb at space+\tcbheightspace}%
-  \ifdim\dimexpr\tcb at space<0pt\relax
-    \let\tcb at space\tcb at zpt%
-  \else%
-    \ifdim\dimexpr\tcb at space>\tcb at height\relax
-      \let\tcb at space\tcb at height%
-    \fi%
-  \fi%
-  \begingroup\edef\x{\endgroup\noexpand\tcb at savespace{\thetcolorboxnumber}{\tcb at space}}\x%
-  \tcbdimto\tcb at height@upper{\ht\tcb at upperbox+\dp\tcb at upperbox+\tcbheightspace}%
-  \let\tcbheightspace\tcb at zpt%
-  \iftcb at lowerspace%
-  \tcbdimto\tcb at height@lower{\ht\tcb at lowerbox+\dp\tcb at lowerbox}%
-  \fi%
-}
 
+\ExplSyntaxOn
+\def\tcb at ch@fixed at spacesave
+  {
+    \fp_set:Nn \l_tmpa_fp { \tcb at space+\tcbheightspace }
+    \fp_compare:nTF { \l_tmpa_fp < 0 }
+      {
+        \fp_zero_new:N \l_tmpa_fp
+      }
+      {
+        \fp_compare:nT { \l_tmpa_fp > \tcb at height }
+          {
+            \fp_set:Nn \l_tmpa_fp { \tcb at height }
+          }
+      }
+    \tcbdimto\tcb at space { \fp_to_dim:n { trunc(\l_tmpa_fp,2) } }
+    \use:x { \exp_not:N\tcb at savespace{\thetcolorboxnumber}{\tcb at space} }
+    \tcbdimto\tcb at height@upper{\ht\tcb at upperbox+\dp\tcb at upperbox+\tcbheightspace}
+    \let\tcbheightspace\tcb at zpt
+    \iftcb at lowerspace
+      \tcbdimto\tcb at height@lower{\ht\tcb at lowerbox+\dp\tcb at lowerbox}
+    \fi
+  }
+\ExplSyntaxOff
+
+
 \def\tcb at ch@fixed at split{%
   \tcbdimto\tcb at height@space{\tcbheightspace+\ht\tcb at upperbox+\dp\tcb at upperbox+\ht\tcb at lowerbox+\dp\tcb at lowerbox}%
   \tcbdimto\tcb at height@upper{\tcb at height@fraction\dimexpr\tcb at height@space\relax}%
@@ -1859,8 +1868,8 @@
   list type/.store in=\kvtcb at new@listtype,
   %
   init at hook@clear/.code={\def\kvtcb at init@hook{}},
-  crefname/.code 2 args={\begingroup\edef\x{\endgroup\noexpand\crefname{\tcb at new@boxname}}\x{#1}{#2}\tcb at new@label at type},
-  Crefname/.code 2 args={\begingroup\edef\x{\endgroup\noexpand\Crefname{\tcb at new@boxname}}\x{#1}{#2}\tcb at new@label at type},
+  crefname/.code n args={2}{\begingroup\edef\x{\endgroup\noexpand\crefname{\tcb at new@boxname}}\x{#1}{#2}\tcb at new@label at type},
+  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}}}}},%



More information about the tex-live-commits mailing list.