summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-18 23:20:46 +0000
committerKarl Berry <karl@freefriends.org>2016-11-18 23:20:46 +0000
commit56b28b78401bc0acc968306eeed9a28b3fbd657d (patch)
tree47c67e62e9581a315e5280e0508fec30b2afa09d /Master/texmf-dist/doc/latex/tcolorbox
parentb1738761511777180f24fe861550ef9b06de3af8 (diff)
tcolorbox (18nov16)
git-svn-id: svn://tug.org/texlive/trunk@42532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/CHANGES14
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/README2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdfbin458032 -> 458032 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex27
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex8
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex10
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdfbin6845440 -> 6855333 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex6
9 files changed, 58 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
index f652f8f0301..4ead1edfae4 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
+++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
@@ -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 @@ version 3.95 (2016/10/21)
'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
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README
index e42973c5a98..8598f0f2a8f 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/README
+++ b/Master/texmf-dist/doc/latex/tcolorbox/README
@@ -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>
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
index 112019c58b4..66ecbcc5982 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
index 61ecb12e82a..484511c5315 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 3.95 (2016/10/21)
+%% The LaTeX package tcolorbox - version 3.96 (2016/11/18)
%% tcolorbox-example.tex: an example for tcolorbox
%%
%% -------------------------------------------------------------------------------------------
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 dde34abfeb1..bec89df1840 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex
@@ -3672,7 +3672,7 @@ This issues:\\
\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 @@ This box is automatically numbered with \ref{mynamelabel} on page
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 @@ has to be set explicitely! Also see \refKey{/tcb/if odd page*}.
\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 @@ packed into \refKey{/tcb/extras}.
\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 @@ the box \textbf{content text}. If needed, the methods from the packages
\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
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 24db4b03d24..ac2bae49bb3 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex
@@ -28,6 +28,12 @@ The package |makeidx| is loaded only, if \docAuxCommand*{printindex} is
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 @@ instead. Also see \refKey{/tcb/docexample}.
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}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
index a1f98a9f666..1181b9570f7 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
@@ -34,10 +34,12 @@ This also loads the package |amsmath|.
%\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 also loads the package |amsmath|.
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}
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
index e864984f19d..c0e14887e57 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex
index 24317856014..c5ee0e2c930 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 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{