texlive[44046] Master/texmf-dist: tcolorbox (25apr17)
commits+karl at tug.org
commits+karl at tug.org
Wed Apr 26 00:30:39 CEST 2017
Revision: 44046
http://tug.org/svn/texlive?view=revision&revision=44046
Author: karl
Date: 2017-04-26 00:30:39 +0200 (Wed, 26 Apr 2017)
Log Message:
-----------
tcolorbox (25apr17)
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.pdf
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.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/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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -982,4 +982,14 @@
- bug fix: '/tcb/external/!' and '/tcb/external/-' were not usable inside \tcbset
- documentation optimizations
-
+version 4.03 (2017/04/25)
+- Implementation of 'raster equal height' changed to be more robust e.g. for loops
+- Implementation of several fill options like 'fill stretch image' changed
+ to be more efficient and to be independent from TikZ node positioning options.
+- Bug fix: 'fill plain image' and 'fill plain picture' ignored 'fill image opacity'.
+- new macro: '\tcbsegmentstate'
+- library 'breakable':
+ * new option: 'segmentation at break'
+- library 'documentation':
+ * new options: 'documentation minted language', 'keywords bold'
+- Creation of leaflets documented
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -425,6 +425,21 @@
\end{docTcbKey}
+\begin{docTcbKey}[][doc new=2017-03-20]{segmentation at break}{\colOpt{=true\textbar false}}{default |true|, initially |true|}
+ If a breakable box contains an \emph{upper part} and a \emph{lower part} and
+ the break happens at the \emph{segmentation} between both parts, then
+ \begin{itemize}
+ \item the segmenation line (or similar) is drawn as first element of the
+ partial box containing the \emph{lower part}, if \refKey{/tcb/segmentation at break}
+ is set to be |true|.
+ \item the segmenation line (or similar) is not drawn at all, if
+ \refKey{/tcb/segmentation at break} is set to be |false|.
+ This may be preferable for skins like \refSkin{bicolor}, \refSkin{tile},
+ or \refSkin{beamer}.
+ \end{itemize}
+\end{docTcbKey}
+
+
\clearpage
\subsection{Extra Options for Partial Boxes}\label{subsec:extras}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -512,6 +512,14 @@
Used for \refKey{/tcb/listing engine}|=listings| only.
\end{docTcbKey}
+\begin{docTcbKey}{documentation minted options}{=\meta{minted style}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|}
+ Sets the options from the package |minted| \cite{poore:2015a}
+ which are used during typesetting of the listing, if used.
+ Note that this is not identical to the key
+ \refKey{/tcb/minted options} which is used for 'normal' listings.\\
+ Used for \refKey{/tcb/listing engine}|=minted| only.
+\end{docTcbKey}
+
\begin{docTcbKey}{documentation minted style}{=\meta{key list}}{no default, initially unset}
Sets a \meta{style} known to |Pygments| \cite{pygments:2013} for
the package |minted| \cite{poore:2015a}, if used.
@@ -520,14 +528,15 @@
Used for \refKey{/tcb/listing engine}|=minted| only.
\end{docTcbKey}
-\begin{docTcbKey}{documentation minted options}{=\meta{minted style}}{no default,\\\hspace*{\fill} initially |tabsize=2,fontsize=\textbackslash small|}
- Sets the options from the package |minted| \cite{poore:2015a}
- which are used during typesetting of the listing, if used.
+\begin{docTcbKey}[][doc new=2017-04-24]{documentation minted language}{=\meta{programming language}}{no default, initially |latex|}
+ Sets a \meta{programming language} known to |Pygments| \cite{pygments:2013}
+ for the package |minted| \cite{poore:2015a}, if used.
Note that this is not identical to the key
- \refKey{/tcb/minted options} which is used for 'normal' listings.\\
+ \refKey{/tcb/minted language} which is used for 'normal' listings.\\
Used for \refKey{/tcb/listing engine}|=minted| only.
\end{docTcbKey}
+
\begin{marker}
The following two keys are deprecated and without function (v3.50 and above).
Use \refKey{/tcb/before} and \refKey{/tcb/after} with appropriate values
@@ -549,6 +558,22 @@
\end{docTcbKey}
\clearpage
+\begin{docTcbKey}[][doc new=2017-04-25]{keywords bold}{\colOpt{=true\textbar false}}{default |true|, initially |true|}
+ Keyword used in \refEnv{docEnvironment}, \refEnv{docCommand}, etc. are printed
+ boldface (or not). Since the typewriter font is used, the effect may be
+ invisible with Computer Modern fonts or similar which do not
+ have a bold variant. Note that references to keywords are not printed boldface at all.
+\begin{dispExample*}{sidebyside}
+\LARGE
+\docAuxCommand{fooaux}, \refCom{tcbset}
+
+\tcbset{keywords bold=false}
+\docAuxCommand{fooaux}, \refCom{tcbset}
+\end{dispExample*}
+\end{docTcbKey}
+
+
+
\begin{docTcbKey}[][doc new=2015-01-09]{index command}{=\meta{macro}}{no default, initially \cs{index}}
Replaces the internally used \cs{index} macro by the given \meta{macro}.
The \meta{macro} has to take one mandatory argument like \cs{index}.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.magazine.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -432,6 +432,68 @@
\end{exdispExample}
\end{docCommand}
+\clearpage
+\subsection{Leaflet Example}
+The following full application example can be used to create leaflets.
+Obviously, the code can be adapted and customized in many ways.
+\begin{tcblisting}{
+ enhanced jigsaw,lower separated=false,breakable,
+ listing style=mydocumentation,base example,
+ listing and comment,
+ pdf comment,freeze pdf,
+ comment style={raster columns=1},
+ compilable listing,
+ run pdflatex}
+\documentclass[a4paper,landscape]{article}
+\usepackage[noheadfoot,margin=0pt]{geometry}
+\usepackage[skins,raster,magazine]{tcolorbox}
+\usepackage{lipsum}
+\newenvironment{leaflet}[1][]{%
+ \begin{tcolorbox}[nobeforeafter,empty,colback=white,
+ sharp corners,size=minimal,left=10mm,right=10mm,top=10mm,bottom=10mm,
+ width=\textwidth/3,
+ breakable,
+ break at=\textheight,
+ height fixed for=all,
+ reset box array,
+ store to box array,#1]}
+ {\end{tcolorbox}%
+ \begin{tcbitemize}[raster columns=3,raster equal skip=0pt,blankest]
+ \tcbitem\consumeboxarray{5}
+ \tcbitem\consumeboxarray{6}
+ \tcbitem\consumeboxarray{1}
+ \tcbitem\consumeboxarray{2}
+ \tcbitem\consumeboxarray{3}
+ \tcbitem\consumeboxarray{4}
+ \end{tcbitemize}%
+ }
+\pagestyle{empty}
+\begin{document}
+
+\begin{leaflet}[underlay={\node[above=5mm,font=\footnotesize]
+ at (frame.south) {- \arabic{tcbbreakpart} -};}]
+ \includegraphics[width=\linewidth]{Basilica_5.png}
+ \begin{center}
+ \bfseries\LARGE Example
+ \end{center}
+
+ \section{Introduction}
+ \lipsum[1]
+
+ \section{Main Part A}
+ \lipsum[2-8]
+
+ \section{Main Part B}
+ \lipsum[9-15]
+
+ \section{Conclusion}
+ \lipsum[16-18]
+\end{leaflet}
+
+\end{document}
+\end{tcblisting}
+
+
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.raster.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -455,7 +455,7 @@
\clearpage
-\begin{docTcbKey}[][doc new=2014-11-10]{raster equal height}{=\meta{type}}{default \docValue{all}, initially \docValue{none}}
+\begin{docTcbKey}[][doc new and updated={2014-11-10}{2017-02-28}]{raster equal height}{=\meta{type}}{default \docValue{all}, initially \docValue{none}}
Puts the enclosed boxes into a common \refKey{/tcb/equal height group}.
The \meta{id} of the equal height group is chosen automatically, but
it may be set manually by \refKey{/tcb/raster equal height group}.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.technical.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -728,3 +728,25 @@
\end{tcolorbox}
\end{dispExample}
\end{docCommand}
+
+
+\begin{docCommand}[doc new=2017-04-25]{tcbsegmentstate}{}
+ This macro contains |0|, |1|, or |2|. Itis set for every unbroken box and every broken partial box
+ with the following meaning:
+ \begin{itemize}
+ \item\docValue{0}: The current (partial) box contains only an upper part.
+ \item\docValue{1}: The current (partial) box contains an upper and a lower part.
+ The segmentation node can be used for positioning.
+ \item\docValue{2}: The current (partial) box contains only a lower part.
+ This can only be true for parts of breakable boxes.
+ \end{itemize}
+ Skins like \refSkin{bicolor} use this property to paint the (partial) boxes.
+\begin{dispExample}
+% \tcbuselibrary{skins,raster}
+\begin{tcbraster}[raster equal height,enhanced,
+ watermark text=\tcbsegmentstate]
+ \begin{tcolorbox}Upper part\end{tcolorbox}
+ \begin{tcolorbox}Upper part\tcblower Lower part\end{tcolorbox}
+\end{tcbraster}
+\end{dispExample}
+\end{docCommand}
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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -43,8 +43,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{4.02}%
-\def\datum{2017/02/24}%
+\def\version{4.03}%
+\def\datum{2017/04/25}%
\makeindex
\hypersetup{
@@ -58,7 +58,7 @@
%\tcbset{draftmode}
\tcbset{/tcb/external/-}% for final run
-%\includeonly{tcolorbox.doc.external}
+%\includeonly{tcolorbox.doc.magazine}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\let\tcb at parboxrestore@true=\tcb at parboxrestore
\let\tcb at parboxrestore@false\tcb at parbox@false at settings
@@ -705,7 +705,7 @@
}
-\def\tcb at split@SL{%
+\def\tcb at split@SL at displayed{%
\tcb at nextbreakpart%
\tcb at comp@h at page%
\let\tcb at h@upper=\tcb at zpt%
@@ -778,7 +778,7 @@
\tcbset{skin=\csname kvtcb at skin@@\tcb at split@state\endcsname}%
\csuse{tcb at extras@\tcb at split@state}%
\tcb at afteroptions@hook%
- \def\tcb at segment@state{1}%
+ \def\tcbsegmentstate{1}%
\tcbdimto\tcb at natheight{\tcb at h@padtitle+\kvtcb at top@rule+\kvtcb at bottom@rule+\kvtcb at boxsep*2+\kvtcb at top+\kvtcb at bottom+\tcb at h@upper+\tcb at h@segment+\tcb at h@lower+\csname tcb at h@breaksep@\tcb at split@state\endcsname}%
\csname tcb at break@ch@\tcb at split@state\endcsname%
\tcbdimto\tcb at innerheight{\tcb at height-\kvtcb at top@rule-\kvtcb at bottom@rule-\tcb at h@padtitle}%
@@ -808,7 +808,7 @@
\tcbset{skin=\csname kvtcb at skin@@\tcb at split@state\endcsname}%
\csuse{tcb at extras@\tcb at split@state}%
\tcb at afteroptions@hook%
- \def\tcb at segment@state{0}%
+ \def\tcbsegmentstate{0}%
\tcbdimto\tcb at natheight{\tcb at h@padtitle+\kvtcb at top@rule+\kvtcb at bottom@rule+\kvtcb at boxsep*2+\kvtcb at top+\kvtcb at bottom+\tcb at h@upper+\csname tcb at h@breaksep@\tcb at split@state\endcsname}%
\csname tcb at break@ch@\tcb at split@state\endcsname%
\tcbdimto\tcb at innerheight{\tcb at height-\kvtcb at top@rule-\kvtcb at bottom@rule-\tcb at h@padtitle}%
@@ -834,7 +834,7 @@
\tcbset{skin=\csname kvtcb at skin@@\tcb at split@state\endcsname}%
\csuse{tcb at extras@\tcb at split@state}%
\tcb at afteroptions@hook%
- \def\tcb at segment@state{1}%
+ \def\tcbsegmentstate{1}%
\tcbdimto\tcb at natheight{\tcb at h@padtitle+\kvtcb at top@rule+\kvtcb at bottom@rule+\kvtcb at bottom+\kvtcb at boxsep+\tcb at h@segment+\tcb at h@lower+\csname tcb at h@breaksep@\tcb at split@state\endcsname}%
\csname tcb at break@ch@\tcb at split@state\endcsname%
\tcbdimto\tcb at innerheight{\tcb at height-\kvtcb at top@rule-\kvtcb at bottom@rule-\tcb at h@padtitle}%
@@ -863,7 +863,7 @@
\tcbset{skin=\csname kvtcb at skin@@\tcb at split@state\endcsname}%
\csuse{tcb at extras@\tcb at split@state}%
\tcb at afteroptions@hook%
- \def\tcb at segment@state{2}%
+ \def\tcbsegmentstate{2}%
\tcbdimto\tcb at natheight{\tcb at h@padtitle+\kvtcb at top@rule+\kvtcb at bottom@rule+\kvtcb at boxsep*2+\kvtcb at top+\kvtcb at bottom+\ht\tcb at lowerbox+\dp\tcb at lowerbox+\csname tcb at h@breaksep@\tcb at split@state\endcsname}%
\csname tcb at break@ch@\tcb at split@state\endcsname%
\tcbdimto\tcb at innerheight{\tcb at height-\kvtcb at top@rule-\kvtcb at bottom@rule-\tcb at h@padtitle}%
@@ -987,6 +987,10 @@
no extras/.code={\let\tcb at extras@unbroken\@empty\let\tcb at extras@first\@empty\let\tcb at extras@middle\@empty\let\tcb at extras@last\@empty},%
if odd page*/.style 2 args={check odd page,extras={if odd page={#1}{#2}}},%
if odd page or oneside*/.style 2 args={check odd page,extras={if odd page or oneside={#1}{#2}}},%
+ segmentation at break/.is choice,%
+ segmentation at break/true/.code={\let\tcb at split@SL\tcb at split@SL at displayed},
+ segmentation at break/false/.code={\let\tcb at split@SL\tcb at split@L},
+ segmentation at break/.default=true,
}
@@ -1002,6 +1006,7 @@
height fixed for=none,
vfill before first=false,
no extras,
+ segmentation at break
},
initialize at reset=reset at breakable,
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\tcbuselibrary{listings,skins,xparse,external}
@@ -115,6 +115,7 @@
\tcbset{
documentation listing options/.store in=\kvtcb at doclistingoptions,%
documentation listing style/.style={documentation listing options={style=#1}},%
+ documentation minted language/.store in=\kvtcb at docminted@language,
documentation minted style/.store in=\kvtcb at docmintstyle,
documentation minted options/.store in=\kvtcb at docmintoptions,
color command/.store in=\kvtcb at col@command,
@@ -159,6 +160,10 @@
doc new/.style={before upper={\tcbdocmarginnote{\tcbdocnew{#1}}}},
doc new and updated/.style 2 args={before upper={\tcbdocmarginnote{\tcbdocnew{#1}\\\tcbdocupdated{#2}}}},
doc marginnote/.style={doc at marginnote/.style={#1}},
+ keywords bold/.is choice,%
+ keywords bold/.default=true,%
+ keywords bold/true/.code={\let\tcb at doc@bfseries\bfseries},
+ keywords bold/false/.code={\let\tcb at doc@bfseries\mdseries},
}
@@ -167,6 +172,7 @@
docexample/.style={colframe=ExampleFrame,colback=ExampleBack,
before skip=\medskipamount,after skip=\medskipamount,
fontlower=\footnotesize},
+ documentation minted language=latex,
documentation minted style=,
documentation minted options={tabsize=2,fontsize=\small},
index default settings/.style={index actual={@},index quote={"},index level={!}},
@@ -243,31 +249,31 @@
}
\newrobustcmd{\tcbIndexPrintComC}[1]{\tcb at Index@Print at ComC{#1}{\kvtcb at col@command}}
-\def\tcb at Print@Com#1{\textcolor{\kvtcb at col@command}{\bfseries\tcb at cs{#1}}}
+\def\tcb at Print@Com#1{\textcolor{\kvtcb at col@command}{\tcb at doc@bfseries\tcb at cs{#1}}}
\newrobustcmd{\tcbIndexPrintEnvCA}[1]{\tcb at Index@Print at CA{#1}{\kvtcb at col@environment}{\kvtcb at text@env}}
\newrobustcmd{\tcbIndexPrintEnvC}[1]{\tcb at Index@Print at C{#1}{\kvtcb at col@environment}}
-\def\tcb at Print@Env#1{\textcolor{\kvtcb at col@environment}{\bfseries\tcb at scantokens{#1}}}
+\def\tcb at Print@Env#1{\textcolor{\kvtcb at col@environment}{\tcb at doc@bfseries\tcb at scantokens{#1}}}
\newrobustcmd{\tcbIndexPrintKeyCA}[1]{\tcb at Index@Print at CA{#1}{\kvtcb at col@key}{\kvtcb at text@key}}
\newrobustcmd{\tcbIndexPrintKeyC}[1]{\tcb at Index@Print at C{#1}{\kvtcb at col@key}}
-\def\tcb at Print@Key#1{\textcolor{\kvtcb at col@key}{\bfseries\tcb at scantokens{#1}}}
+\def\tcb at Print@Key#1{\textcolor{\kvtcb at col@key}{\tcb at doc@bfseries\tcb at scantokens{#1}}}
\newrobustcmd{\tcbIndexPrintValCA}[1]{\tcb at Index@Print at CA{#1}{\kvtcb at col@value}{\kvtcb at text@value}}
\newrobustcmd{\tcbIndexPrintValC}[1]{\tcb at Index@Print at C{#1}{\kvtcb at col@value}}
-\def\tcb at Print@Val#1{\textcolor{\kvtcb at col@value}{\bfseries\tcb at scantokens{#1}}}
+\def\tcb at Print@Val#1{\textcolor{\kvtcb at col@value}{\tcb at doc@bfseries\tcb at scantokens{#1}}}
\newrobustcmd{\tcbIndexPrintColCA}[1]{\tcb at Index@Print at CA{#1}{\kvtcb at col@color}{\kvtcb at text@color}}
\newrobustcmd{\tcbIndexPrintColC}[1]{\tcb at Index@Print at C{#1}{\kvtcb at col@color}}
-\def\tcb at Print@Col#1{\textcolor{\kvtcb at col@color}{\bfseries\tcb at scantokens{#1}}}
+\def\tcb at Print@Col#1{\textcolor{\kvtcb at col@color}{\tcb at doc@bfseries\tcb at scantokens{#1}}}
\newrobustcmd{\tcbIndexPrintCountCA}[1]{\tcb at Index@Print at CA{#1}{\kvtcb at col@counter}{\kvtcb at text@counter}}
\newrobustcmd{\tcbIndexPrintCountC}[1]{\tcb at Index@Print at C{#1}{\kvtcb at col@counter}}
-\def\tcb at Print@Count#1{\textcolor{\kvtcb at col@counter}{\bfseries\tcb at scantokens{#1}}}
+\def\tcb at Print@Count#1{\textcolor{\kvtcb at col@counter}{\tcb at doc@bfseries\tcb at scantokens{#1}}}
\newrobustcmd{\tcbIndexPrintLenCA}[1]{\tcb at Index@Print at ComCA{#1}{\kvtcb at col@length}{\kvtcb at text@length}}
\newrobustcmd{\tcbIndexPrintLenC}[1]{\tcb at Index@Print at ComC{#1}{\kvtcb at col@length}}
-\def\tcb at Print@Len#1{\textcolor{\kvtcb at col@length}{\bfseries\tcb at cs{#1}}}
+\def\tcb at Print@Len#1{\textcolor{\kvtcb at col@length}{\tcb at doc@bfseries\tcb at cs{#1}}}
\def\tcb at index@Com#1{\iftcb at doc@toindex\kvtcb at index@command{#1\idx at actual\tcbIndexPrintComC{#1}}\fi}
\def\tcb at index@Env#1{\iftcb at doc@toindex\kvtcb at index@command{#1\idx at actual\tcbIndexPrintEnvCA{#1}}\kvtcb at index@command{\kvtcb at text@envs\idx at level#1\idx at actual\tcbIndexPrintEnvC{#1}}\fi}
@@ -491,6 +497,7 @@
index colorize=false,
index annotate=true,
english language,
+ keywords bold,
}
% deprecated
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\RequirePackage{listingsutf8}[2011/11/10]
\tcbuselibrary{listings}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\tcbuselibrary{breakable}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\RequirePackage{minted}[2011/09/17]
@@ -48,7 +48,7 @@
}%
\def\tcb at minted@doc at usetemplisting{%
- \tcb at minted@input at listing{\kvtcb at docmintoptions}{latex}{\kvtcb at tempfile}{\kvtcb at docmintstyle}%
+ \tcb at minted@input at listing{\kvtcb at docmintoptions}{\kvtcb at docminted@language}{\kvtcb at tempfile}{\kvtcb at docmintstyle}%
}
\tcbset{%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\newcounter{tcbrastercolumn}
\newcounter{tcbrasterrow}
@@ -62,12 +62,9 @@
raster equal height group/.store in=\kvtcb at raster@ehgid,%
raster equal height/.is choice,
raster equal height/.default=all,
- raster equal height/none/.code={\let\tcb at raster@ehg at start\@empty%
- \let\tcb at raster@ehg at continue\@empty},%
- raster equal height/rows/.code={\let\tcb at raster@ehg at start\tcb at raster@ehg at row%
- \let\tcb at raster@ehg at continue\tcb at raster@ehg at row},%
- raster equal height/all/.code={\let\tcb at raster@ehg at start\tcb at raster@ehg at all%
- \let\tcb at raster@ehg at continue\@empty},%
+ raster equal height/none/.code={\let\tcb at raster@ehg at set\@empty},%
+ raster equal height/rows/.code={\let\tcb at raster@ehg at set\tcb at raster@ehg at row},%
+ raster equal height/all/.code={\let\tcb at raster@ehg at set\tcb at raster@ehg at all},%
%
raster force size/.is choice,%
raster force size/.default=true,%
@@ -134,6 +131,7 @@
\setcounter{tcbrasterrow}{1}%
\let\tcb at height@fill at unbroken\tcb at height@fill at unbroken@raster%
\tcbset{every box on layer \the\numexpr\number\c at tcblayer+1\relax/.code={%
+ \tcb at raster@ehg at set%
\tcbset{raster every box/.try}%
\ifodd\c at tcbrastercolumn\relax%
\tcbset{raster odd column/.try}%
@@ -164,7 +162,6 @@
\ifnum\c at tcbrastercolumn=\kvtcb at raster@columns\relax%
\kern\kvtcb at raster@skip at right%
\setcounter{tcbrastercolumn}{1}\addtocounter{tcbrasterrow}{1}%
- \aftergroup\tcb at raster@ehg at continue%
\else%
\stepcounter{tcbrastercolumn}%
\fi},%
@@ -179,7 +176,6 @@
\tcbdimto\tcb at raster@box at height{(\kvtcb at raster@height+\kvtcb at raster@yskip-0.001pt)/\kvtcb at raster@rows-\kvtcb at raster@yskip}%
\tcb at raster@set at size{height=\tcb at raster@box at height}%
\fi%
- \tcb at raster@ehg at start%
\let\tcb at end@raster\@empty%
\ifinner\ifhmode%
\color at vbox%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\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\tcb at segment@state=1%
+ \ifnum\tcbsegmentstate=1%
\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%
@@ -510,7 +510,7 @@
frame engine=path,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=path,%
interior titled code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithtitle@path}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UT%
@@ -522,7 +522,7 @@
\fi\tcb at spec{}},
interior code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithouttitle@path}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UR%
@@ -543,7 +543,7 @@
frame engine=pathfirst,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathfirst,%
interior titled code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithtitle@pathfirst}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UT%
@@ -555,7 +555,7 @@
\fi\tcb at spec{}},
interior code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithouttitle@pathfirst}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UR%
@@ -574,7 +574,7 @@
frame engine=pathmiddle,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathmiddle,%
interior titled code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithtitle@pathmiddle}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UT%
@@ -586,7 +586,7 @@
\fi\tcb at spec{}},%
interior code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithouttitle@pathmiddle}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@US%
@@ -605,7 +605,7 @@
frame engine=pathlast,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathlast,%
interior titled code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state
+ \ifcase\tcbsegmentstate
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithtitle@pathlast}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@UT%
@@ -617,7 +617,7 @@
\fi\tcb at spec{}},
interior code={%
\iftcb at lowerseparated%
- \ifcase\tcb at segment@state%
+ \ifcase\tcbsegmentstate%
{\tcb at spec{fill=tcbcol at back}\tcb at drawwithouttitle@pathlast}%
\or%
\tcb at spec{fill=tcbcol at back}\tcb at drawspec@US%
@@ -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\tcb at segment@state=1%
+ \ifnum\tcbsegmentstate=1%
\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\tcb at segment@state=1
+ \ifnum\tcbsegmentstate=1
\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\tcb at segment@state=1%
+ \ifnum\tcbsegmentstate=1%
\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\tcb at segment@state=1
+ \ifnum\tcbsegmentstate=1
\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\tcb at segment@state=1%
+ \ifnum\tcbsegmentstate=1%
\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\tcb at segment@state=1
+ \ifnum\tcbsegmentstate=1
\tcb at spec{beamer at color}\tcb at drawspec@US%
\else%
{\tcb at spec{beamer at color}\tcb at drawwithouttitle@pathmiddle}%
@@ -732,7 +732,7 @@
frame engine=pathlast,interior titled engine=empty,interior engine=empty,segmentation engine=empty,title engine=pathlast,%
interior titled code={%
\iftcb at lowerseparated%
- \ifnum\tcb at segment@state=1%
+ \ifnum\tcbsegmentstate=1%
\tcb at spec{beamer at color}\tcb at drawspec@UT%
\else%
{\tcb at spec{beamer at color}\tcb at drawwithtitle@pathlast}%
@@ -743,7 +743,7 @@
\tcb at drawspec@T\tcb at spec{}},%
interior code={%
\iftcb at lowerseparated%
- \ifnum\tcb at segment@state=1
+ \ifnum\tcbsegmentstate=1
\tcb at spec{beamer at color}\tcb at drawspec@US%
\else%
{\tcb at spec{beamer at color}\tcb at drawwithouttitle@pathlast}%
@@ -828,7 +828,7 @@
([xshift={\kvtcb at left@rule},yshift={\kvtcb at bottom@rule}]frame.south west) rectangle
([xshift={-\kvtcb at right@rule},yshift={-\kvtcb at top@rule}]frame.north east);
\fi%
- \ifcase\tcb at segment@state
+ \ifcase\tcbsegmentstate
\path[fill=white,draw,dotted]
([xshift={\kvtcb at boxsep},yshift={\kvtcb at boxsep+\tcb at break@bottomsep}]interior.south west) rectangle
([xshift={-\kvtcb at boxsep},yshift={-\kvtcb at boxsep-\tcb at break@topsep}]interior.north east);
@@ -1215,6 +1215,8 @@
\tcbdimto\tcb at ppbb@height{\pgf at yb-\pgf at ya}%
}
+\def\tcb at ppbb@textbox#1{\pgftext[x=\the\dimexpr\pgf at xa+\tcb at ppbb@width/2\relax,y=\pgf at ya+\tcb at ppbb@height/2]{#1}}
+
\def\tcb at set@waterbox at to@graphics#1{%
\setbox\tcb at waterbox=\color at hbox\pgfinterruptpicture{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options]{#1}}\endpgfinterruptpicture\color at endbox%
}
@@ -1231,29 +1233,31 @@
fill image options/.store in=\tcb at tikz@fill at graphics@options,%
fill image options=,%
fill plain image/.style={path picture={%
- \node at (path picture bounding box.center) {\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options]{#1}};
+ \tcb at process@ppbb at wh%
+ \tcb at ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options]{#1}}%
}},
fill plain picture/.style={path picture={%
+ \tcb at process@ppbb at wh%
\tcb at set@waterbox at to@picture{#1}%
- \node at (path picture bounding box.center) {\box\tcb at waterbox};
+ \tcb at ppbb@textbox{\box\tcb at waterbox}%
}},
fill stretch image/.style={path picture={%
\tcb at process@ppbb at wh%
- \node at (path picture bounding box.center) {\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options,%
+ \tcb at ppbb@textbox{\expandafter\includegraphics\expandafter[\tcb at tikz@fill at graphics@options,%
width=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@width\relax,%
- height=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@height\relax]{#1}};
+ height=\the\dimexpr\tcb at tikz@fill at graphics@scale\dimexpr\tcb at ppbb@height\relax]{#1}}%
}},
fill stretch picture/.style={path picture={%
\tcb at process@ppbb at wh%
\tcb at set@waterbox at to@picture{#1}%
\tcb at comp@waterbox at stretch{\tcb at tikz@fill at graphics@scale}{\tcb at ppbb@width}{\tcb at ppbb@height}%
- \node at (path picture bounding box.center) {\tcb at box@scaled at waterbox};%
+ \tcb at ppbb@textbox{\tcb at box@scaled at waterbox}%
}},
fill at overzoom/.style={path picture={%
\tcb at process@ppbb at wh%
#1%
\tcb at comp@waterbox at overzoom{\tcb at tikz@fill at graphics@scale}{\tcb at ppbb@width}{\tcb at ppbb@height}%
- \node at (path picture bounding box.center) {\tcb at box@scaled at waterbox};%
+ \tcb at ppbb@textbox{\tcb at box@scaled at waterbox}%
}},
fill overzoom image/.style={fill at overzoom={\tcb at set@waterbox at to@graphics{#1}}},%
fill overzoom picture/.style={fill at overzoom={\tcb at set@waterbox at to@picture{#1}}},%
@@ -1261,7 +1265,7 @@
\tcb at process@ppbb at wh%
#1%
\tcb at comp@waterbox at zoom{\tcb at tikz@fill at graphics@scale}{\tcb at ppbb@width}{\tcb at ppbb@height}%
- \node at (path picture bounding box.center) {\tcb at box@scaled at waterbox};%
+ \tcb at ppbb@textbox{\tcb at box@scaled at waterbox}%
}},
fill zoom image/.style={fill at zoom={\tcb at set@waterbox at to@graphics{#1}}},%
fill zoom picture/.style={fill at zoom={\tcb at set@waterbox at to@picture{#1}}},%
@@ -1269,7 +1273,7 @@
\tcb at process@ppbb at wh%
#1%
\tcb at comp@waterbox at shrink{\tcb at tikz@fill at graphics@scale}{\tcb at ppbb@width}{\tcb at ppbb@height}%
- \node at (path picture bounding box.center) {\tcb at box@scaled at waterbox};%
+ \tcb at ppbb@textbox{\tcb at box@scaled at waterbox}%
}},
fill shrink image/.style={fill at shrink={\tcb at set@waterbox at to@graphics{#1}}},%
fill shrink picture/.style={fill at shrink={\tcb at set@waterbox at to@picture{#1}}},%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\RequirePackage{amsmath}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% 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.02}
+\tcb at set@library at version{4.03}
\RequirePackage{xparse}[2013/12/31]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2017-04-25 22:27:45 UTC (rev 44045)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2017-04-25 22:30:39 UTC (rev 44046)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 4.02 (2017/02/24)
+%% The LaTeX package tcolorbox - version 4.03 (2017/04/25)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2017/02/24 version 4.02 text color boxes]
-\def\tcb at version{4.02}
+\ProvidesPackage{tcolorbox}[2017/04/25 version 4.03 text color boxes]
+\def\tcb at version{4.03}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -1659,9 +1659,9 @@
\tcbdimto\tcb at natheight{\tcb at h@padtitle+\kvtcb at top@rule+\kvtcb at bottom@rule+\kvtcb at boxsep*2+\kvtcb at top+\kvtcb at bottom+\tcb at h@upper}%
\iftcb at lowerspace%
\tcbdimto\tcb at natheight{\tcb at natheight+\tcb at h@segment+\tcb at h@lower}%
- \def\tcb at segment@state{1}%
+ \def\tcbsegmentstate{1}%
\else%
- \def\tcb at segment@state{0}%
+ \def\tcbsegmentstate{0}%
\fi%
\tcb at ch%
\tcbdimto\tcb at innerheight{\tcb at height-\kvtcb at top@rule-\kvtcb at bottom@rule-\tcb at h@padtitle}%
More information about the tex-live-commits
mailing list