diff options
Diffstat (limited to 'Master')
37 files changed, 155 insertions, 74 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md index 58b92fe55e6..b6256d3975f 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES.md @@ -22,11 +22,36 @@ and this project adheres to +## [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) diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README.md b/Master/texmf-dist/doc/latex/tcolorbox/README.md index 6dfef2db0ff..bbb05cf127d 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README.md +++ b/Master/texmf-dist/doc/latex/tcolorbox/README.md @@ -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> diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf Binary files differindex c2c43d64dfc..5a86a54edd0 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex index e3320325c68..27f6cb02f61 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex @@ -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 %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf Binary files differindex bd17e2f6d94..86b42164a25 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index d415cda138b..45bc994a994 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -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 %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf Binary files differindex 744ea412066..8ca17756e30 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex index 44a485d1c5a..361776ecdc7 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-tutorial-poster.tex @@ -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 %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex index 058a4c162f4..0bdfb2842bb 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex @@ -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@unibw.de}{thomas.sturm@unibw.de}}\par\medskip \normalsize\url{https://www.ctan.org/pkg/tcolorbox}\par \url{https://github.com/T-F-S/tcolorbox}} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex index 7841220a060..be89357f354 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex @@ -263,7 +263,7 @@ The |break at| option can be used to insert better break points by hand. \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 diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex index 70ac6c7ff82..996a59253db 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -269,7 +269,7 @@ This is a \textbf{tcolorbox} (but invisible). \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} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex index 909ad20a243..ff9a02f1544 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -478,6 +478,14 @@ This is an optional \oarg{argument}. \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} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex index 7eae0cc4fff..9f1f4627caa 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.filling.tex @@ -104,7 +104,7 @@ and a border is to be drawn, this border width has to be substracted. 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} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex index bb7c0361ce1..1491edd0d62 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex @@ -7,13 +7,14 @@ The \emph{initialization} options are only applicable for the generation 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} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty index 3771159be29..2fd71f8aaa2 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_snippet.sty @@ -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, diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex index 4783b10bc06..b287edf0ab6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.sidebyside.tex @@ -218,7 +218,7 @@ its width. A more convenient way to handle this task is to use the 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 @@ and \refKey{/tcb/sidebyside switch}. \begin{dispExample} -% \tcbuselibrary{skins,xparse} +% \tcbuselibrary{skins} % \usepackage{lipsum} \tcbsidebyside[title=The Triangle, sidebyside adapt=left, @@ -300,7 +300,7 @@ Feasible values for \meta{side(s)} are: \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 @@ Feasible values for \meta{side(s)} are: \begin{dispExample} -% \tcbuselibrary{skins,xparse} +% \tcbuselibrary{skins} \tcbsidebyside[sidebyside adapt=right, blanker,sidebyside gap=5mm ]{% @@ -338,7 +338,7 @@ Feasible values for \meta{side(s)} are: \begin{dispExample} -% \tcbuselibrary{skins,xparse} +% \tcbuselibrary{skins} \tcbsidebyside[sidebyside adapt=both, enhanced,center, title=Both sides adapted, @@ -375,7 +375,7 @@ The side switching can be made even/odd page sensitive, if used inside \refKey{/tcb/if odd page}. \begin{dispExample} -% \tcbuselibrary{skins,xparse} +% \tcbuselibrary{skins} \tcbsidebyside{Left}{Right} \tcbsidebyside[sidebyside switch]{Left}{Right} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex f7dbfbcc4ea..625c49046cf 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index ecfc14c670b..4192dfc417a 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -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{ diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index e8ee1f0ba78..490c57aeed4 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{pdfcol} \pdfcolInitStack{tcb@breakable} @@ -332,6 +332,7 @@ \tcb@parfillskip@check% \tcb@split@start% \endgroup% + \color{.}% hack for some special cases \ifx\kvtcb@float\@empty\relax% \aftergroup\tcb@use@after@lastbox% \fi% @@ -404,6 +405,13 @@ \unvbox\tcb@totalupperbox}% \else% \tcb@setbox@upper{\tcb@split@dim}{\tcb@upperbox}% + \ifdim\dimexpr\tcb@h@upper=0pt\relax% + \setbox\tcb@totalupperbox=\vbox{% + \unvbox\tcb@upperbox% + \splitdiscards% + \unvbox\tcb@totalupperbox}% + \def\tcb@upper@box@badness{1000000}% + \fi% \fi% \vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0% } @@ -438,11 +446,17 @@ \unvbox\tcb@totallowerbox}% \else% \tcb@setbox@lower{\tcb@split@dim}{\tcb@lowerbox}% + \ifdim\dimexpr\tcb@h@lower=0pt\relax% + \setbox\tcb@totallowerbox=\vbox{% + \unvbox\tcb@lowerbox% + \splitdiscards% + \unvbox\tcb@totallowerbox}% + \def\tcb@lower@box@badness{1000000}% + \fi% \fi% \vbadness=\tcb@thevbadness\vfuzz=\tcb@thevfuzz\savingvdiscards=0% } - \def\tcb@split@lower@box{% \vfuzz=\maxdimen\vbadness=10000% \tcb@vsplit@lower% @@ -592,13 +606,13 @@ \tcb@drawcolorbox@standalone% \fi% \else% - \ifdim\dimexpr\tcb@h@upper=0pt\relax% - \tcb@warning{Discard zero height first box part due to break problems (possible loss of zero height content)}% - \tcb@split@break@to@start% - \else% + %\ifdim\dimexpr\tcb@h@upper=0pt\relax% + % \tcb@warning{Discard zero height first box part due to break problems (possible loss of zero height content)}% + % \tcb@split@break@to@start% + %\else% \tcb@sdraw@U% \let\tcb@split@next=\tcb@split@USL% - \fi% + %\fi% \fi% \fi% \else% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index 29ffa8592ca..db066ad327a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@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@doc@colorize diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index f5684747e11..98578e37498 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 7dbddde94f6..e339093144f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index aafaf4031f1..fa0df2d86cc 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 7c10d707736..266e626425d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{listings}[2007/02/22] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex index ed6dd7c8e72..0add00ba127 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index 341fea2d376..888a67402f1 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{listings} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex index 1594d05e9ee..72260838444 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{breakable} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex index d8aa808a1d4..09a6e9c6c79 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{minted}[2021/12/24] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex index a0c97a1a0f1..d5e32ab1d52 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index 3b5904d0441..7591e9e35be 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{pdftexcmds} \RequirePackage{shellesc} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index 9b08f76d4b8..27d5e1e0718 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 40dfba8cc8b..8ff3c2d4d14 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@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@XeTeXLinkBox + { + \setlength{\XeTeXLinkMargin}{0pt} + \XeTeXLinkBox + } + } + { + \cs_set_eq:NN \tcb@XeTeXLinkBox \use:n + } + \ExplSyntaxOff @@ -1876,12 +1888,13 @@ graphics orientation/portrait*/.code={\def\kvtcb@graphics@orientation{3}}, } + \newcommand{\tcbhypernode}[2]{\ifdefined\hypersetup\@ifundefined{pgf@sh@ns@#2}{}{% \node[inner sep=0pt,outer sep=0pt] at (#2.center){% \tcbsetmacrotowidthofnode\tcb@w@hn{#2}% \tcbsetmacrotoheightofnode\tcb@h@hn{#2}% \hypersetup{pdfborder=0 0 0}% - #1{\vtop to \dimexpr\tcb@h@hn-2bp\relax{\hbox to \dimexpr\tcb@w@hn-2bp\relax{}\vfil}}% + #1{\tcb@XeTeXLinkBox{\vtop to \dimexpr\tcb@h@hn-2bp\relax{\hbox to \dimexpr\tcb@w@hn-2bp\relax{}\vfil}}}% };% }\fi} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 3726f9ef715..2fe95bae581 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index e5688bc3a1b..abcf018183f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{amsmath} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index efabe919b9d..257abe7d14a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index ae7e2158124..052c00dd788 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@set@library@version{6.0.1} +\tcb@set@library@version{6.0.3} \RequirePackage{xparse}[2013/12/31] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 7aaf198415c..85074afd257 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 6.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@version{6.0.1} +\ProvidesPackage{tcolorbox}[2023/03/17 version 6.0.3 text color boxes] +\def\tcb@version{6.0.3} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -953,11 +953,16 @@ \def\kvtcb@beforebox{} \def\kvtcb@afterbox{} +\def\tcb@set@parbox@indent@{% + \vspace{-\parskip}\noindent% + \let\tcb@set@parbox@indent\@empty% +} + \def\tcb@parbox@true@indent{}% \def\tcb@parbox@false@indent{% - \preto\kvtcb@before@title{\vspace{-\parskip}\noindent}% - \preto\kvtcb@before@upper{\vspace{-\parskip}\noindent}% - \preto\kvtcb@before@lower{\vspace{-\parskip}\noindent}% + \preto\kvtcb@before@title{\tcb@set@parbox@indent}% + \preto\kvtcb@before@upper{\tcb@set@parbox@indent}% + \preto\kvtcb@before@lower{\tcb@set@parbox@indent}% }% \let\tcb@parboxrestore=\@parboxrestore @@ -1192,6 +1197,13 @@ \tcb@@capture@minipage% } +% will be overwritten in `fitting` library +\def\tcbox@inner@fitbox{% + \tcb@error{You need to load `fitting' library to use capture mode `fitbox'}{}% + % fallback + \tcbox@inner@hbox% +} + % save 'comment' from 'verbatim' \let\tcb@verbatim@comment\comment \let\tcb@verbatim@endcomment\endcomment @@ -1333,6 +1345,11 @@ \def\tcb@lowerdraw@begin@hook{\color{tcbcollower}}% }% +\def\tcb@error@nolower{\tcb@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@apply@box@options#1{% \let\tcb@space\tcb@zpt% \let\tcb@outer@textheight\tcbtextheight% @@ -1348,6 +1365,7 @@ \fi% \let\iftcb@minipage\if@minipage% \let\iftcb@nobreak\if@nobreak% + \let\tcblower\tcb@error@nolower% } \long\def\tcb@@icolorbox[#1]{% @@ -2636,6 +2654,7 @@ \let\tcb@upperdraw@end@hook\@empty% \let\tcb@lowerdraw@begin@hook\@empty% \let\tcb@lowerdraw@end@hook\@empty% + \let\tcb@set@parbox@indent\tcb@set@parbox@indent@% }, breakable@false, width=\linewidth,beforeafter skip balanced=0.5\baselineskip plus 2pt,arc is curved, |