texlive[66620] Master/texmf-dist: tcolorbox (17mar23)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 21 17:47:50 CET 2023


Revision: 66620
          http://tug.org/svn/texlive?view=revision&revision=66620
Author:   karl
Date:     2023-03-21 17:47:50 +0100 (Tue, 21 Mar 2023)
Log Message:
-----------
tcolorbox (17mar23)

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.abstract.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty
    trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md	2023-03-21 16:47:50 UTC (rev 66620)
@@ -22,11 +22,36 @@
 
 
 
+## [6.0.2] - 2023-03-17
+
+### Added
+- Usage of `\tcblower` where not applicable gives a more helpful error message (issue #215)
+- Usage of `capture=fitbox` for `\tcbox` gives an error message (issue #217)
+- Library documentation:
+    - Macro `\sarg` (issue #193)
+
+### Changed
+- Documentation: 
+    - List of initialization option macros enlarged (issue #213)
+    - Removed `xparse` references (issue #214)
+    - Typo correction (issue #216, issue #219)   
+- Library `skins`:
+    - `\tcbhypernode` made compatible for xelatex (issue #221)
+
+### Fixed
+- `parbox=false` accumulated negative `\parskip` values, if called several times
+    or used with `attach title to upper` (issue #222)
+- Library `breakable`:
+    - Reverting to `\color{.}` hack to avoid color bleeding after the box
+    - `Discard zero height first box part` problem hopefully solved (issue #218)
+
+
+
 ## [6.0.1] - 2023-02-12
 
 ### Fixed
 - Typo in CHANGES.md (issue #211)
-- Regression bug: `\NewTCBInputListing` without initialization options produces an error 
+- Regression bug: `\NewTCBInputListing` without initialization options produces an error (issue #212)
 
 
 

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README.md	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-# The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+# The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 
 
 > 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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,5 +1,5 @@
 % \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox
 %%
 %% -------------------------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -77,7 +77,7 @@
 \end{tcolorbox}
 {\large Thomas F.~Sturm%
   \footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
-    Universit\"{a}t der Bundeswehr M\"{u}nchen, D-85577 Neubiberg, Germany;
+    University of the Bundeswehr Munich, D-85577 Neubiberg, Germany;
      email: \href{mailto:thomas.sturm at unibw.de}{thomas.sturm at unibw.de}}\par\medskip
 \normalsize\url{https://www.ctan.org/pkg/tcolorbox}\par
 \url{https://github.com/T-F-S/tcolorbox}}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -263,7 +263,7 @@
 \clearpage
 \begin{docTcbKey}{enlargepage flexible}{=\meta{length}}{no default, initially |0pt|}
   This allows an automated page enlargement for up to \meta{length}.
-  The algorithm can use this to avoid breaking a box, if there is anough room
+  The algorithm can use this to avoid breaking a box, if there is enough room
   after enlargement. Also, the \emph{last} partial box of a break sequence
   may be enlarged to avoid further breaking.\\
   Note that this potential enlargement is \emph{additive} to settings of

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -269,7 +269,7 @@
 \clearpage
 \begin{docTcbKey}[][doc new=2015-05-04]{saveto}{=\meta{file name}}{no default, initially empty}
   Saves the content of the box into a file for an optional later usage.
-  This is the counterpart of \refKey{/tcb/savelowerto}, but is saves not
+  This is the counterpart of \refKey{/tcb/savelowerto}, but it saves not
   only the upper part but the whole content. If a lower part is present,
   it is also saved including \refCom{tcblower}.
   \begin{marker}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -478,6 +478,14 @@
 
 \clearpage
 
+\begin{docCommand}[doc new=2023-02-16]{sarg}{}
+  Macro to typeset \sarg{} as an optional star.
+\begin{dispExample}
+This is an optional \sarg.
+\end{dispExample}
+\end{docCommand}
+
+
 \begin{docCommand}{brackets}{\marg{text}}
   Sets the given \meta{text} with curly brackets.
 \begin{dispExample}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -104,7 +104,7 @@
 The following auxiliary macro is defined by the \mylib{skins} library.
 \enlargethispage*{1cm}
 
-\begin{docCommand}[doc new=2016-02-03]{tcbhypernode}{\marg{macro}\marg{node}}
+\begin{docCommand}[doc new and updated={2016-02-03}{2023-02-28}]{tcbhypernode}{\marg{macro}\marg{node}}
 %  Sets the east-to-west dimension of the given \meta{node}
 %  to the \TeX\ \meta{register}.
   Applies a hyperlink creating \meta{macro} from the package |hyperref| \cite{rahtz:hyperref}

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -7,13 +7,14 @@
 of new environments and commands based on |tcolorbox| and friends.
 Particularly, they can be used for
 \begin{itemize}
-\item\refCom{newtcolorbox},
-\item\refCom{newtcbox},
-\item\refCom{newtcblisting},
-\item\refCom{newtcbinputlisting},
-\item\refCom{newtcbtheorem}, and
-\item\refCom{newtcboxfit}.
+\item\refCom{newtcolorbox}, \refCom{NewTColorBox}, \refCom{NewTotalTColorBox},
+\item\refCom{newtcbox}, \refCom{NewTCBox}, \refCom{NewTotalTCBox},
+\item\refCom{newtcblisting}, \refCom{NewTCBListing},
+\item\refCom{newtcbinputlisting}, \refCom{NewTCBInputListing},
+\item\refCom{newtcbtheorem}, \refCom{NewTcbTheorem},
+\item\refCom{newtcboxfit}, \refCom{NewTCBoxFit}, \refCom{NewTotalTCBoxFit},
 \end{itemize}
+and friends like \refCom{renewtcolorbox}, etc.
 
 \bigskip
 \begin{marker}

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	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty	2023-03-21 16:47:50 UTC (rev 66620)
@@ -130,7 +130,7 @@
 
 
 \begin{tcbverbatimwrite}{\jobname_preamble_L.tex}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 
 \NewTColorBox[auto counter,number within=section]{exercise}{+!O{}}{%
   enhanced,colframe=green!20!black,colback=yellow!10!white,coltitle=green!40!black,

Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -218,7 +218,7 @@
 methods from \Fullref{subsec:sidebyside_xparse}.
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 % \usepackage{lipsum}
 % \newsavebox\mysavebox  % preamble
 \DeclareTotalTColorBox{\mysidebox}{ O{} +m +m }{
@@ -262,7 +262,7 @@
 
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 % \usepackage{lipsum}
 \tcbsidebyside[title=The Triangle,
   sidebyside adapt=left,
@@ -300,7 +300,7 @@
 \end{itemize}
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 \tcbsidebyside[sidebyside adapt=left,
   title=Very important table,
   beamer,colframe=blue!50!black,colback=blue!10,
@@ -321,7 +321,7 @@
 
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 \tcbsidebyside[sidebyside adapt=right,
   blanker,sidebyside gap=5mm
 ]{%
@@ -338,7 +338,7 @@
 
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 \tcbsidebyside[sidebyside adapt=both,
   enhanced,center,
   title=Both sides adapted,
@@ -375,7 +375,7 @@
 \refKey{/tcb/if odd page}.
 
 \begin{dispExample}
-% \tcbuselibrary{skins,xparse}
+% \tcbuselibrary{skins}
 \tcbsidebyside{Left}{Right}
 
 \tcbsidebyside[sidebyside switch]{Left}{Right}

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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,5 +1,5 @@
 % \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% tcolorbox.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------
@@ -51,8 +51,8 @@
 \setlength{\bibitemsep}{\smallskipamount}
 \addbibresource{tcolorbox.doc.bib}
 
-\def\version{6.0.1}%
-\def\datum{2023/02/12}%
+\def\version{6.0.3}%
+\def\datum{2023/03/17}%
 \makeindex
 
 \hypersetup{

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \RequirePackage{pdfcol}
 \pdfcolInitStack{tcb at breakable}
@@ -332,6 +332,7 @@
     \tcb at parfillskip@check%
     \tcb at split@start%
   \endgroup%
+  \color{.}% hack for some special cases
   \ifx\kvtcb at float\@empty\relax%
     \aftergroup\tcb at use@after at lastbox%
   \fi%
@@ -404,6 +405,13 @@
       \unvbox\tcb at totalupperbox}%
   \else%
     \tcb at setbox@upper{\tcb at split@dim}{\tcb at upperbox}%
+    \ifdim\dimexpr\tcb at h@upper=0pt\relax%
+      \setbox\tcb at totalupperbox=\vbox{%
+        \unvbox\tcb at upperbox%
+        \splitdiscards%
+        \unvbox\tcb at totalupperbox}%
+      \def\tcb at upper@box at badness{1000000}%
+    \fi%
   \fi%
   \vbadness=\tcb at thevbadness\vfuzz=\tcb at thevfuzz\savingvdiscards=0%
 }
@@ -438,11 +446,17 @@
       \unvbox\tcb at totallowerbox}%
   \else%
     \tcb at setbox@lower{\tcb at split@dim}{\tcb at lowerbox}%
+    \ifdim\dimexpr\tcb at h@lower=0pt\relax%
+      \setbox\tcb at totallowerbox=\vbox{%
+        \unvbox\tcb at lowerbox%
+        \splitdiscards%
+        \unvbox\tcb at totallowerbox}%
+      \def\tcb at lower@box at badness{1000000}%
+    \fi%
   \fi%
   \vbadness=\tcb at thevbadness\vfuzz=\tcb at thevfuzz\savingvdiscards=0%
 }
 
-
 \def\tcb at split@lower at box{%
   \vfuzz=\maxdimen\vbadness=10000%
   \tcb at vsplit@lower%
@@ -592,13 +606,13 @@
             \tcb at drawcolorbox@standalone%
           \fi%
         \else%
-          \ifdim\dimexpr\tcb at h@upper=0pt\relax%
-            \tcb at warning{Discard zero height first box part due to break problems (possible loss of zero height content)}%
-            \tcb at split@break at to@start%
-          \else%
+          %\ifdim\dimexpr\tcb at h@upper=0pt\relax%
+          %  \tcb at warning{Discard zero height first box part due to break problems (possible loss of zero height content)}%
+          %  \tcb at split@break at to@start%
+          %\else%
             \tcb at sdraw@U%
             \let\tcb at split@next=\tcb at split@USL%
-          \fi%
+          %\fi%
         \fi%
       \fi%
     \else%

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{listings,skins,xparse,external,raster}
 
@@ -92,6 +92,7 @@
   {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
 \def\oarg#1{%
   \colOpt{{\ttfamily[}\meta{#1}{\ttfamily]}}}
+\def\sarg{\colOpt{\ttfamily*}}
 \def\brackets#1{{\ttfamily\char`\{}#1{\ttfamily\char`\}}}
 
 \newif\iftcb at doc@colorize

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{pro at cessing}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{listings}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{breakable}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \newcounter{tcbrastercolumn}
 \newcounter{tcbrasterrow}

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \RequirePackage{tikz}[2010/10/13]
 \RequirePackage{tikzfill.image}
@@ -1861,6 +1861,18 @@
     }
 }
 
+\sys_if_engine_xetex:TF
+  {
+    \cs_set:Npn \tcb at XeTeXLinkBox
+      {
+        \setlength{\XeTeXLinkMargin}{0pt}
+        \XeTeXLinkBox
+      }
+  }
+  {
+    \cs_set_eq:NN \tcb at XeTeXLinkBox \use:n
+  }
+
 \ExplSyntaxOff
 
 
@@ -1876,12 +1888,13 @@
   graphics orientation/portrait*/.code={\def\kvtcb at graphics@orientation{3}},
 }
 
+
 \newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf at sh@ns@#2}{}{%
   \node[inner sep=0pt,outer sep=0pt] at (#2.center){%
     \tcbsetmacrotowidthofnode\tcb at w@hn{#2}%
     \tcbsetmacrotoheightofnode\tcb at h@hn{#2}%
     \hypersetup{pdfborder=0 0 0}%
-    #1{\vtop to \dimexpr\tcb at h@hn-2bp\relax{\hbox to \dimexpr\tcb at w@hn-2bp\relax{}\vfil}}%
+    #1{\tcb at XeTeXLinkBox{\vtop to \dimexpr\tcb at h@hn-2bp\relax{\hbox to \dimexpr\tcb at w@hn-2bp\relax{}\vfil}}}%
   };%
 }\fi}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{skins}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \RequirePackage{amsmath}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \tcbuselibrary{skins}
 

Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex	2023-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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.1}
+\tcb at set@library at version{6.0.3}
 
 \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-03-21 16:47:21 UTC (rev 66619)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty	2023-03-21 16:47:50 UTC (rev 66620)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 6.0.1 (2023/02/12)
+%% The LaTeX package tcolorbox - version 6.0.3 (2023/03/17)
 %% 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/02/12 version 6.0.1 text color boxes]
-\def\tcb at version{6.0.1}
+\ProvidesPackage{tcolorbox}[2023/03/17 version 6.0.3 text color boxes]
+\def\tcb at version{6.0.3}
 
 \RequirePackage{pgf}[2008/01/15]
 \RequirePackage{verbatim}[2003/08/22]
@@ -953,11 +953,16 @@
 \def\kvtcb at beforebox{}
 \def\kvtcb at afterbox{}
 
+\def\tcb at set@parbox at indent@{%
+  \vspace{-\parskip}\noindent%
+  \let\tcb at set@parbox at indent\@empty%
+}
+
 \def\tcb at parbox@true at indent{}%
 \def\tcb at parbox@false at indent{%
-  \preto\kvtcb at before@title{\vspace{-\parskip}\noindent}%
-  \preto\kvtcb at before@upper{\vspace{-\parskip}\noindent}%
-  \preto\kvtcb at before@lower{\vspace{-\parskip}\noindent}%
+  \preto\kvtcb at before@title{\tcb at set@parbox at indent}%
+  \preto\kvtcb at before@upper{\tcb at set@parbox at indent}%
+  \preto\kvtcb at before@lower{\tcb at set@parbox at indent}%
 }%
 
 \let\tcb at parboxrestore=\@parboxrestore
@@ -1192,6 +1197,13 @@
   \tcb@@capture at minipage%
 }
 
+% will be overwritten in `fitting` library
+\def\tcbox at inner@fitbox{%
+  \tcb at error{You need to load `fitting' library to use capture mode `fitbox'}{}%
+  % fallback
+  \tcbox at inner@hbox%
+}
+
 % save 'comment' from 'verbatim'
 \let\tcb at verbatim@comment\comment
 \let\tcb at verbatim@endcomment\endcomment
@@ -1333,6 +1345,11 @@
   \def\tcb at lowerdraw@begin at hook{\color{tcbcollower}}%
 }%
 
+\def\tcb at error@nolower{\tcb at error{%
+  \string\tcblower\space cannot be used for \string\tcbox, \string\tcboxfit, and similar box macros,
+  also not for capture=hbox, capture=fitbox, etc.
+  I'll drop this `\string\tcblower'}{}}
+
 \long\def\tcb at apply@box at options#1{%
   \let\tcb at space\tcb at zpt%
   \let\tcb at outer@textheight\tcbtextheight%
@@ -1348,6 +1365,7 @@
   \fi%
   \let\iftcb at minipage\if at minipage%
   \let\iftcb at nobreak\if at nobreak%
+  \let\tcblower\tcb at error@nolower%
 }
 
 \long\def\tcb@@icolorbox[#1]{%
@@ -2636,6 +2654,7 @@
       \let\tcb at upperdraw@end at hook\@empty%
       \let\tcb at lowerdraw@begin at hook\@empty%
       \let\tcb at lowerdraw@end at hook\@empty%
+      \let\tcb at set@parbox at indent\tcb at set@parbox at indent@%
     },
     breakable at false,
     width=\linewidth,beforeafter skip balanced=0.5\baselineskip plus 2pt,arc is curved,



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