texlive[42532] Master/texmf-dist: tcolorbox (18nov16)
commits+karl at tug.org
commits+karl at tug.org
Sat Nov 19 00:20:46 CET 2016
Revision: 42532
http://tug.org/svn/texlive?view=revision&revision=42532
Author: karl
Date: 2016-11-19 00:20:46 +0100 (Sat, 19 Nov 2016)
Log Message:
-----------
tcolorbox (18nov16)
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.coreoptions.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -939,3 +939,15 @@
'output-directory' and also locally.
- library 'documentation':
Language settings are not longer reset to English for embedded boxes.
+
+version 3.96 (2016/11/18)
+- bug fix: unprotected definition of the 'nameref' option induced serious errors
+- bug fix: nameref package was not detected if loaded after tcolorbox
+- new macros:
+ '\tcbifoddpageoroneside'
+- new options:
+ 'if odd page or oneside', 'if odd page or oneside*',
+- library 'documentation':
+ * Documentation options are not longer reset to default values for embedded
+ boxes. User code may be affected by this change.
+ * marginnotes adapt to twosided documents now
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2016 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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -3672,7 +3672,7 @@
\end{docTcbKey}
-\begin{docTcbKey}[][doc new=2016-06-22]{nameref}{=\meta{text}}{no default, initially unset}
+\begin{docTcbKey}[][doc new and updated={2016-06-22}{2016-11-18}]{nameref}{=\meta{text}}{no default, initially unset}
If the |nameref| package is loaded, the given \meta{text} is used for
corresponding |\nameref| makros. Typically, the \meta{text} will be chosen
to be identical or nearly identical to the one for \refKey{/tcb/title}.
@@ -3688,6 +3688,11 @@
The box is titled '\nameref{mynamelabel}'.
\end{dispExample}
+
+\begin{marker}
+\refKey{/tcb/nameref} is used automatically inside \refCom{newtcbtheorem}.
+\end{marker}
+
\end{docTcbKey}
@@ -3737,6 +3742,13 @@
\end{marker}
\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-11-18]{if odd page or oneside}{=\marg{odd options}\marg{even options}}{style, no default}
+ For onesided documents, the \meta{odd options} are applied always.
+ For twosided documents, this style is identical to \refKey{/tcb/if odd page}.
+\end{docTcbKey}
+
+
\clearpage
\begin{docTcbKey}[][doc new=2015-11-13]{if odd page*}{=\marg{odd options}\marg{even options}}{style, no default}
\begin{marker}
@@ -3767,7 +3779,13 @@
\end{docTcbKey}
-\enlargethispage*{2cm}
+\begin{docTcbKey}[][doc new=2016-11-18]{if odd page or oneside*}{=\marg{odd options}\marg{even options}}{style, no default}
+ For onesided documents, the \meta{odd options} are applied always.
+ For twosided documents, this style is identical to \refKey{/tcb/if odd page*}.
+\end{docTcbKey}
+
+
+\clearpage
\begin{docCommand}[doc new=2015-11-13]{tcbifoddpage}{\marg{odd code}\marg{even code}}
If the current box is on an odd page, the \meta{odd code} is executed.
On an even page, the \meta{even code} is executed.
@@ -3798,6 +3816,11 @@
\end{docCommand}
+\begin{docCommand}[doc new=2016-11-18]{tcbifoddpageoroneside}{\marg{odd code}\marg{even code}}
+ For onesided documents, the \meta{odd code} is executed always.
+ For twosided documents, this macro is identical to \refCom{tcbifoddpage}.
+\end{docCommand}
+
\clearpage
\begin{docCommand}[doc new=2015-11-13]{thetcolorboxnumber}{}
This is a unique identifier (arabic number) for a tcolorbox. It is locally
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -28,6 +28,12 @@
The package |marginnote| is loaded only, if \docAuxCommand*{marginnote} is
\emph{not} already defined.
\end{marker}
+\begin{marker}
+In contrast to other |tcolorbox| options, the option
+settings for \mylib{documentation} are typically not
+getting reset by \refKey{/tcb/reset}, i.e. they keep their
+values for embedded boxes.
+\end{marker}
For UTF-8 support, load:
\begin{dispListing}
@@ -673,8 +679,6 @@
The following keys are provided for language specific settings.
The English language is predefined.
-\refKey{/tcb/reset} does not reset these language settings.\tcbdocmarginnote{\tcbdocupdated{2016-10-21}}
-
\begin{docTcbKey}{english language}{}{style, no value}
Sets all language specific settings to English.
\end{docTcbKey}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -34,10 +34,12 @@
%\enlargethispage*{20mm}
\inputpreamblelisting{F}
\begin{dispExample}
+% usage of '\nameref' needs 'nameref' or 'hyperref' to be loaded
\begin{mytheo}{This is my title}{theoexample}
This is the text of the theorem. The counter is automatically assigned and,
in this example, prefixed with the section number. This theorem is numbered with
- \ref{th:theoexample} and is given on page \pageref{th:theoexample}.
+ \ref{th:theoexample}, it is given on page~\pageref{th:theoexample},
+ and it is titled \flqq\nameref{th:theoexample}\frqq.
\end{mytheo}
\end{dispExample}
@@ -66,6 +68,12 @@
This theorem has no number and no title.
\end{mytheo*}
\end{dispExample}
+
+\begin{marker}
+To switch off the \texttt{nameref} feature permanently, add
+\mbox{\texttt{nameref/.style=\{\}}} inside the \meta{options} list.
+\end{marker}
+
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -43,8 +43,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{3.95}%
-\def\datum{2016/10/21}%
+\def\version{3.96}%
+\def\datum{2016/11/18}%
\makeindex
\hypersetup{
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\let\tcb at parboxrestore@true=\tcb at parboxrestore
\let\tcb at parboxrestore@false\tcb at parbox@false at settings
@@ -985,6 +985,7 @@
no extras last/.code={\let\tcb at extras@last\@empty},%
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}}},%
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\tcbuselibrary{listings,skins,xparse,external}
@@ -416,7 +416,8 @@
\begin{tcolorbox}[enhanced jigsaw,size=fbox,boxrule=1pt,leftrule=0pt,rightrule=0pt,
arc=0pt,outer arc=1pt,boxsep=1pt,top=1pt,bottom=1pt,
nobeforeafter,width=\marginparwidth,
- colframe=red!50!white,colback=red!25!yellow!5!white,fontupper=\scriptsize,before upper=\flushright,
+ colframe=red!50!white,colback=red!25!yellow!5!white,fontupper=\scriptsize,
+ if odd page or oneside={flushright upper}{flushleft upper},
doc at marginnote,#1]#2\end{tcolorbox}}}
\newcommand*{\tcbdocnew}[1]{\kvtcb at text@new: #1}
@@ -468,27 +469,27 @@
\tcbset{%
reset at documentation/.style={%
- index command=\index,%
- documentation listing style=tcbdocumentation,
- index default settings,
- color option=Option,
- color definition=Definition,
- color hyperlink=Hyperlink,
- doc left=2em,
- doc right=0pt,
- doc left indent=-2em,
- doc right indent=0pt,
- doc head=,
- before doc body=,
- after doc body=,
- doc description=,
- doc into index=true,
- index colorize=false,
- index annotate=true,
- doc marginnote=,
},
+ documentation listing style=tcbdocumentation,
+ doc left=2em,
+ doc right=0pt,
+ doc left indent=-2em,
+ doc right indent=0pt,
+ doc head=,
+ before doc body=,
+ after doc body=,
+ doc description=,
+ doc into index=true,
+ doc marginnote=,
initialize at reset=reset at documentation,
+ color option=Option,
+ color definition=Definition,
+ color hyperlink=Hyperlink,
+ index command=\index,%
index format=pgf,
+ index default settings,
+ index colorize=false,
+ index annotate=true,
english language,
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\tcbuselibrary{breakable}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\RequirePackage{minted}[2011/09/17]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\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 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\RequirePackage{tikz}[2010/10/13]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\RequirePackage{amsmath}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% 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{3.95}
+\tcb at set@library at version{3.96}
\RequirePackage{xparse}[2013/12/31]
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2016-11-18 23:20:15 UTC (rev 42531)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2016-11-18 23:20:46 UTC (rev 42532)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2016/10/21 version 3.95 text color boxes]
-\def\tcb at version{3.95}
+\ProvidesPackage{tcolorbox}[2016/11/18 version 3.96 text color boxes]
+\def\tcb at version{3.96}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -149,12 +149,12 @@
\let\tcb at specialtitle@hook\@empty%
}
-\def\tcb at gettitle#1{\edef\@currentlabelname{#1}}
+\def\tcb at gettitle#1{\protected at edef\@currentlabelname{#1}}
-\AtBeginDocument{%
- \@ifpackageloaded{nameref}{%
+\AfterEndPreamble{%
+ \ifdefined\NR at gettitle%
\let\tcb at gettitle\NR at gettitle%
- }{}%
+ \fi%
}
% analog to plain.tex
@@ -582,8 +582,12 @@
check odd page/.is if=tcb at checkpage,
if odd page/.code 2 args={%
\tcbset{check odd page}%
- \ifodd\thetcolorboxpage\tcbset{#1}\else\tcbset{#2}\fi%
+ \tcbifoddpage{\tcbset{#1}}{\tcbset{#2}}%
},
+ if odd page or oneside/.code 2 args={%
+ \tcbset{check odd page}%
+ \tcbifoddpageoroneside{\tcbset{#1}}{\tcbset{#2}}%
+ },
phantom/.code={\appto\kvtcb at phantom{#1}},
step and label/.style 2 args={phantom={\refstepcounter{#1}\tcb at set@label{#2}}},%
step/.style={phantom={\refstepcounter{#1}}},%
@@ -917,6 +921,19 @@
\fi%
}
+\def\tcbifoddpageoroneside{%
+ \if at twoside%
+ \ifodd\thetcolorboxpage\relax%
+ \let\reserved at a\@firstoftwo%
+ \else%
+ \let\reserved at a\@secondoftwo%
+ \fi%
+ \else%
+ \let\reserved at a\@firstoftwo%
+ \fi%
+ \expandafter\reserved at a%
+}
+
\def\tcb at managed@layers at max{0}
\def\tcbsetmanagedlayers#1{%
\setcounter{tcblayer}{\tcb at managed@layers at max}%
@@ -1394,7 +1411,7 @@
}
\def\tcb at setbb@toggle at evenpage{%
- \ifodd\thetcolorboxpage\tcb at setbb@toggle at none\else\tcb at setbb@toggle at forced\fi%
+ \tcbifoddpage{\tcb at setbb@toggle at none}{\tcb at setbb@toggle at forced}%
}
\def\tcb at creategeonodes@false{}
@@ -1415,7 +1432,7 @@
}
\def\tcb at lrtoggle@evenpage{%
- \unless\ifodd\thetcolorboxpage\tcb at lrtoggle@forced\fi%
+ \tcbifoddpage{}{\tcb at lrtoggle@forced}%
}
\def\tcb at bbdraw{%
More information about the tex-live-commits
mailing list