texlive[41700] Master/texmf-dist: tcolorbox (14jul16)
commits+karl at tug.org
commits+karl at tug.org
Thu Jul 14 23:41:31 CEST 2016
Revision: 41700
http://tug.org/svn/texlive?view=revision&revision=41700
Author: karl
Date: 2016-07-14 23:41:30 +0200 (Thu, 14 Jul 2016)
Log Message:
-----------
tcolorbox (14jul16)
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.external.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
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/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
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/CHANGES 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -913,3 +913,16 @@
- bug fix: compatibility patch for \vsplit in luatex 0.95 was buggy
- system commands are now accessed using the 'shellesc' package for
compatibility with luatex
+
+version 3.94 (2016/07/14)
+- bug fix: '\tcbincludegraphics' for fixed height boxes was broken since v3.90 (2016/02/29)
+- new option 'nameref'
+- library 'theorems':
+ Theorems made nameref-aware
+- library 'listings':
+ * new options:
+ 'freeze file', 'freeze none', 'freeze extension',
+ 'freeze pdf', 'freeze png', 'freeze jpg'
+- library 'external':
+ * implementation improved for lualatex and xelatex
+ * new macro '\tcbiffileprocess'
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/README 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
@@ -39,6 +39,7 @@
'tcblistingsutf8.code.tex' LaTeX package file (library of tcolorbox)
'tcbmagazine.code.tex' LaTeX package file (library of tcolorbox)
'tcbminted.code.tex' LaTeX package file (library of tcolorbox)
+ 'tcbprocessing.code.tex' LaTeX package file (library of tcolorbox)
'tcbraster.code.tex' LaTeX package file (library of tcolorbox)
'tcbskins.code.tex' LaTeX package file (library of tcolorbox)
'tcbskinsjigsaw.code.tex' LaTeX package file (library of tcolorbox)
@@ -73,6 +74,7 @@
'tcblistingsutf8.code.tex' -> /tex/latex/tcolorbox
'tcbmagazine.code.tex' -> /tex/latex/tcolorbox
'tcbminted.code.tex' -> /tex/latex/tcolorbox
+ 'tcbprocessing.code.tex' -> /tex/latex/tcolorbox
'tcbraster.code.tex' -> /tex/latex/tcolorbox
'tcbskins.code.tex' -> /tex/latex/tcolorbox
'tcbskinsjigsaw.code.tex' -> /tex/latex/tcolorbox
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -3662,6 +3662,27 @@
|\addcontentsline|\marg{list}\marg{type}\marg{entry text}
\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-06-22]{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}.
+
+\inputpreamblelisting{A}
+
+\begin{dispExample}
+\begin{pabox}[label={mynamelabel},nameref={Title or anything else}]{Title text}
+This is a tcolorbox.
+\end{pabox}
+This box is automatically numbered with \ref{mynamelabel} on page
+\pageref{mynamelabel}.
+
+The box is titled '\nameref{mynamelabel}'.
+\end{dispExample}
+\end{docTcbKey}
+
+
+\clearpage
\subsection{Even and Odd Pages}
\begin{marker}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.external.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -42,7 +42,7 @@
They are not compiled automatically, if option settings are changed or
anything outside the snippet is changed.
Use \refKey{/tcb/external/force remake} to force compilation in this case
-or simply delete the externalized snippets.
+or simply delete the externalized pdf oder md5 files.
\end{marker}
\begin{marker}
@@ -575,6 +575,27 @@
\end{docCommand}
+\begin{docCommand}[doc new=2016-07-14]{tcbiffileprocess}{\marg{condition}\marg{source}\marg{md5-file}\marg{target}\marg{true}\marg{false}}
+ This is a low-level macro which is internally used.
+ The MD5 digest of a \meta{source} file is compared with
+ a stored MD5 digest from an auxiliary \meta{md5-file}.
+ If they are not equal, the auxiliary \meta{md5-file} is updated to
+ store the current MD5 digest. Further,
+ \begin{itemize}
+ \item if \meta{condition} equals |0|, \meta{true} is executed.
+ \item if \meta{condition} equals |1|:\\
+ If the current and stored MD5 digests were different, \meta{true} is executed.\\
+ Otherwise, if the \meta{target} file is not existing, \meta{true} is executed.\\
+ Otherwise, if the \meta{target} file is older than the \meta{md5-file}, \meta{true} is executed.\\
+ Otherwise, \meta{false} is executed.
+ \item if \meta{condition} equals |2|, \meta{false} is executed.
+ \end{itemize}
+ The intended processing purpose of the \meta{true} code is to produce a \meta{target}
+ file from the given \meta{source} file.
+\end{docCommand}
+
+
+\clearpage
\subsection{Troubleshooting and FAQ}\label{subsec:external_troubleshooting}
\begin{itemize}
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.graphics.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -15,7 +15,7 @@
\subsection{Macros}
-\begin{docCommand}[doc new and updated={2014-11-14}{2016-02-19}]{tcbincludegraphics}{\oarg{options}\marg{file name}}
+\begin{docCommand}[doc new and updated={2014-11-14}{2016-07-13}]{tcbincludegraphics}{\oarg{options}\marg{file name}}
In principle, this macro includes an image file denoted by \meta{file name}
using the standard |\includegraphics| and puts it into a \refEnv{tcolorbox}.
The \meta{options} are |tcolorbox| keys to set up the colored box.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -943,6 +943,8 @@
The processing result can be used inside a \refKey{/tcb/comment}.
Several \refKey{/tcb/process code} options can be given which are
processed in the given order.
+ Typically, \meta{code} is added by using the following styles
+ \refKey{/tcb/run system command}, \refKey{/tcb/run pdflatex}, etc.
\end{docTcbKey}
\begin{marker}
@@ -957,6 +959,7 @@
Runs a \meta{system command}, if the document is compiled with the
|-shell-escape| permission.
The current listing file can be accessed as |\filename at area\filename at base\filename at ext|.
+This \meta{system command} is added to \refKey{/tcb/process code}.
\end{docTcbKey}
@@ -988,7 +991,7 @@
colframe=red!50!black,colback=yellow!10!white,
listing options={style=tcblatex,texcsstyle=*\color{red!70!black}},
listing and comment,
- pdf comment,
+ pdf comment,freeze pdf,
compilable listing,
run pdflatex
}
@@ -1050,6 +1053,7 @@
Issues a |dvips| compilation of the listing with the given \meta{arguments}.
\end{docTcbKey}
+\enlargethispage*{1cm}
\begin{docTcbKey}[][doc new=2014-11-14]{run ps2pdf}{\colOpt{=\meta{arguments}}}{style, no default, initially unset}
Issues a |ps2pdf| compilation of the listing with the given \meta{arguments}.
\end{docTcbKey}
@@ -1060,11 +1064,12 @@
colframe=red!50!black,colback=yellow!10!white,
listing options={style=tcblatex,texcsstyle=*\color{red!70!black}},
lower separated=false,middle=0pt,
- listing side comment,righthand width=4.5cm,
+ listing side comment,righthand width=4cm,
compilable listing,
run latex,run dvips,run ps2pdf,
- pdf comment,
- comment style={raster columns=1,graphics options={viewport=0in 8in 4in 11.5in,clip}},
+ pdf comment,freeze pdf,
+ comment style={raster columns=1,
+ graphics options={viewport=0.5in 7.7in 3.5in 10.5in,clip}},
}
\documentclass{article}
\usepackage{pstricks,multido}
@@ -1078,9 +1083,58 @@
\end{dispListing*}
{\tcbusetemp}
+\clearpage
+\begin{marker}
+ For most applications, you will like to add \refKey{/tcb/freeze pdf} as option,
+ since the included |pdf| file is only refreshed, if the source for this file
+ has changed.
+\end{marker}
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze file}{=\meta{file}}{no default, initially unset}
+ Observes some \meta{file}, usually the final file produced by \refKey{/tcb/process code},
+ \refKey{/tcb/run system command}, \refKey{/tcb/run pdflatex}, etc.
+ If the MD5 checksum of the current \refKey{/tcb/listing file} is unchanged
+ and \meta{file} exists, the processing is skipped and
+ the \meta{file} is kept (frozen).
+ Typically, the style \refKey{/tcb/freeze pdf} can be used for
+ convenience.
+\end{docTcbKey}
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze none}{}{no default, initially set}
+ Freeze no file and always execute the given process commands.
+\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze extension}{=\meta{text}}{style, no default}
+ Calls \refKey{/tcb/freeze file} with the current \refKey{/tcb/listing file}
+ stripped with its extension plus \meta{text} as new extension.
+\begin{dispListing}
+ ...
+ listing file=myfile.tex,
+ freeze extension=-modified.pdf, % -> myfile-modified.pdf is observed
+ ...
+\end{dispListing}
+\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze pdf}{}{no value}
+ Calls \refKey{/tcb/freeze file} with the current \refKey{/tcb/listing file}
+ stripped with its extension plus |.pdf| as new extension.
+\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze png}{}{no value}
+ Calls \refKey{/tcb/freeze file} with the current \refKey{/tcb/listing file}
+ stripped with its extension plus |.png| as new extension.
+ See the examples for \refKey{/tcb/run pdflatex} and \refKey{/tcb/run ps2pdf}.
+\end{docTcbKey}
+
+\begin{docTcbKey}[][doc new=2016-07-14]{freeze jpg}{}{no value}
+ Calls \refKey{/tcb/freeze file} with the current \refKey{/tcb/listing file}
+ stripped with its extension plus |.jpg| as new extension.
+\end{docTcbKey}
+
+
+
+
\clearpage
\subsection{Creation of \LaTeX\ Tutorials}\label{sec:latextutorial}
The following source code gives a guideline for the creation of \LaTeX\ tutorials.
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.s_main.sty 2016-07-14 21:41:30 UTC (rev 41700)
@@ -11,6 +11,7 @@
\RequirePackage[svgnames,table,hyperref]{xcolor}
\RequirePackage{tikz}
\RequirePackage{varioref}
+\RequirePackage[makeindex]{imakeidx}
\RequirePackage[pdftex,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks]{hyperref}
\RequirePackage{varwidth,cleveref,incgraph}
@@ -171,6 +172,7 @@
tcbEXTERNALIZE,tcbifexternal,newtcbexternalizeenvironment,
renewtcbexternalizeenvironment,extcolorbox,extikzpicture,
newtcbexternalizetcolorbox,renewtcbexternalizetcolorbox,
+ tcbiffileprocess,
% box array
newboxarray,boxarraygetsize,boxarrayreset,boxarrayclear,
boxarraygetbox,boxarraygetwidth,boxarraygetheight,boxarraygetdepth,
Modified: trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -11,7 +11,7 @@
\subsection{Macros of the Library}
-\begin{docCommand}{newtcbtheorem}{\oarg{init options}\marg{name}\marg{display name}\marg{options}\marg{prefix}}
+\begin{docCommand}[doc updated=2016-06-22]{newtcbtheorem}{\oarg{init options}\marg{name}\marg{display name}\marg{options}\marg{prefix}}
Creates new environments \meta{name} and \meta{name}|*| based on |tcolorbox| to frame a
(mathematical) theorem. The \meta{display name} is used in the title line
with a number, e.\,g. \mbox{\flqq Theorem 5.1\frqq}.
@@ -24,7 +24,8 @@
parameters. The optional parameter supplements the options and should be
used only in rare cases.
The first mandatory parameter is the title text for the theorem and
- the second mandatory parameter is a \meta{marker}. The theorem is
+ is also set as \refKey{/tcb/nameref} identifier.
+ The second mandatory parameter is a \meta{marker}. The theorem is
automatically labeled with \meta{prefix}\meta{separator}\meta{marker}
where \meta{separator} is predefined as '|:|', see \refKey{/tcb/label separator}.\par
The new environment \meta{name}|*| takes one optional and one mandatory
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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,5 +1,5 @@
% \LaTeX-Main\
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% tcolorbox.tex: Manual
%%
%% -------------------------------------------------------------------------------------------
@@ -18,6 +18,12 @@
%%
%% This work consists of all files listed in README
%%
+% arara: pdflatex: { shell: yes }
+% arara: biber
+% arara: pdflatex: { shell: yes }
+% arara: pdflatex: { shell: yes }
+% arara: pdflatex: { shell: yes, synctex: yes }
+%
\documentclass[a4paper,11pt]{ltxdoc}
\usepackage{tcolorbox.doc.s_main}
@@ -36,8 +42,8 @@
\setlength{\bibitemsep}{\smallskipamount}
\addbibresource{tcolorbox.doc.bib}
-\def\version{3.93}%
-\def\datum{2016/06/01}%
+\def\version{3.94}%
+\def\datum{2016/07/14}%
\makeindex
\hypersetup{
@@ -49,18 +55,10 @@
\usepackage{pgfplots}
-%\nocite{*}
-
-% intermediate hack to compensate a biblatex error (3.4)
-%\makeatletter
-%\def\ifempty#1{%
-% \protected at edef\z{#1}%
-% \expandafter\ifblank\expandafter{\z}}
-%\makeatother
-
%\tcbset{draftmode}
%\includeonly{tcolorbox.doc.listings}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{tcolorbox.doc.abstract}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\let\tcb at parboxrestore@true=\tcb at parboxrestore
\let\tcb at parboxrestore@false\tcb at parbox@false at settings
@@ -156,7 +156,7 @@
\else%
\tcb at hasTitletrue%
\tcbdimto\tcb at w@title{\tcb at innerwidth-\kvtcb at boxsep*2-\kvtcb at lefttitle-\kvtcb at righttitle}%
- \begin{tcb at savebox}{\tcb at titlebox}{\tcb at w@title}\color{tcbcol at title}\kvtcb at fonttitle\kvtcb at followingtitle\end{tcb at savebox}%
+ \begin{tcb at savebox}{\tcb at titlebox}{\tcb at w@title}\leavevmode\color{tcbcol at title}\kvtcb at fonttitle\kvtcb at followingtitle\end{tcb at savebox}%
\tcbdimto\tcb at h@title{\ht\tcb at titlebox+\dp\tcb at titlebox}%
\tcbdimto\tcb at h@padtitle{\kvtcb at title@rule+\kvtcb at boxsep*2+\kvtcb at toptitle+\kvtcb at bottomtitle+\tcb at h@title}%
\fi%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\tcbuselibrary{listings,skins,xparse,external}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% tcbexternal.code.tex: Code for externalization
%%
%% -------------------------------------------------------------------------------------------
@@ -17,9 +17,9 @@
%%
%% This work consists of all files listed in README
%%
-\tcb at set@library at version{3.93}
+\tcb at set@library at version{3.94}
-\RequirePackage{shellesc}
+\tcbuselibrary{pro at cessing}
{
\catcode`\"=12
@@ -90,6 +90,12 @@
\endgroup%
}
+\def\tcbexternal at compile#1{%
+ \tcbiffileprocess{#1}%
+ {\tcbexternal at job@source}{\tcbexternal at job@mdfive}{\tcbexternal at job@pdf}%
+ {\tcbexternal at corecompile}{}%
+}
+
\def\tcbexternal at inputsource{%
\IfFileExists{\tcbexternal at job@source}%
{\input{\tcbexternal at job@source}}%
@@ -122,37 +128,12 @@
\newif\iftcb at externalize
\tcb at externalizefalse
-\def\tcbexternal at generatemdivesum{%
- \iftcb at externalize%
- \def\tcbexternallastmdfivesum{}%
- \IfFileExists{\tcbexternal at job@mdfive}{\input{\tcbexternal at job@mdfive}}{}%
- \edef\tcbexternalmdfivesum{\pdfmdfivesum file {\tcbexternal at job@source}}%
- \else%
- \def\tcbexternallastmdfivesum{x}%
- \edef\tcbexternalmdfivesum{}%
- \fi%
- \immediate\openout\tcb at out=\tcbexternal at job@mdfive%
- \immediate\write\tcb at out{\string\def\string\tcbexternallastmdfivesum{\tcbexternalmdfivesum}\@percentchar}%
- \immediate\closeout\tcb at out%
-}
-
-\def\tcbexternal at conditionalcompile{%
- \IfFileExists{\tcbexternal at job@pdf}{%
- \ifdefstrequal{\tcbexternallastmdfivesum}{\tcbexternalmdfivesum}{%
- }{%
- \tcbexternal at corecompile%
- }%
- }{%
- \tcbexternal at corecompile%
- }%
-}
-
\def\tcb at useexternal{%
- \tcbexternal at generatemdivesum%
\iftcb at externalize%
- \tcbexternal at compile%
+ \tcbexternal at compile{\tcbexternal at condition}%
\tcbexternal at inputpdf%
\else%
+ \tcbexternal at compile{2}%
\tcbexternal at inputsource%
\fi%
}
@@ -242,8 +223,8 @@
-/.style={externalize=false},
%
force remake/.is choice,
- force remake/true/.code={\let\tcbexternal at compile=\tcbexternal at corecompile},
- force remake/false/.code={\let\tcbexternal at compile=\tcbexternal at conditionalcompile},
+ force remake/true/.code={\def\tcbexternal at condition{0}},
+ force remake/false/.code={\def\tcbexternal at condition{1}},
force remake/.default=true,
!/.style=force remake,
%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings
%%
%% -------------------------------------------------------------------------------------------
@@ -18,10 +18,9 @@
%% This work consists of all files listed in README
%%
%\makeatletter
-\tcb at set@library at version{3.93}
+\tcb at set@library at version{3.94}
-\RequirePackage{pdftexcmds}
-\RequirePackage{shellesc}
+\tcbuselibrary{pro at cessing}
\def\tcbuselistingtext at input{\input{\kvtcb at listingfile}}%
\def\tcbuselistingtext{\tcbuselistingtext at input}%
@@ -43,7 +42,6 @@
\newenvironment{tcb at lower@outside}[1]{%
\tcbset{savedelimiter=tcb at lower@outside}\tcb at minipage{#1}%
\color{tcbcol at lower}\kvtcb at fontlower\kvtcb at halignlower\kvtcb at before@lower\ignorespaces}%
-% {\unskip\kvtcb at after@lower\endminipage}
{\kvtcb at after@lower\endminipage}
\def\tcb at use@listing at other@reset{%
@@ -172,7 +170,7 @@
\or\or
\tcb at warning{System call with restricted shell escape may fail}%
\fi%
- \filename at parse{\kvtcb at listingfile}\ShellEscape{#1}%
+ \ShellEscape{#1}%
\relax%
}
@@ -233,10 +231,23 @@
run latex/.style={run at system@command={latex}{#1}},%
run dvips/.style={run at system@command={dvips}{#1}},%
run ps2pdf/.style={run system command={ps2pdf\space#1\space\filename at area\filename at base.ps}},%
+ freeze file/.code={\def\tcbprocess at condition{1}\def\tcbprocess at target{#1}},%
+ freeze none/.code={\def\tcbprocess at condition{0}\def\tcbprocess at target{}},%
+ freeze extension/.style={freeze file={\filename at area\filename at base#1}},%
+ freeze pdf/.style={freeze extension={.pdf}},
+ freeze png/.style={freeze extension={.png}},
+ freeze jpg/.style={freeze extension={.jpg}},
}
+\def\tcb at listing@process at core{%
+ \filename at parse{\kvtcb at listingfile}%
+ \tcbiffileprocess{\tcbprocess at condition}%
+ {\kvtcb at listingfile}{\filename at area\filename at base.md5}{\tcbprocess at target}%
+ {\tcb at listing@process at hook}{}%
+}
+
\def\tcbinputlisting at core{%
- \tcb at listing@process at hook%
+ \ifdefempty\tcb at listing@process at hook{}{\tcb at listing@process at core}%
\let\tcb at listing@capture=\kvtcb at capture%
\tcb at inputlisting%
}
@@ -313,7 +324,8 @@
reset at listingscore/.style={%
listing file=\jobname.listing,
comment=, listing and text,
- no process,comment style=,pdf extension=pdf,
+ no process,freeze none,
+ comment style=,pdf extension=pdf,
},
initialize at reset=reset at listingscore,
}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\tcbuselibrary{breakable}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\RequirePackage{minted}[2011/09/17]
Added: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -0,0 +1,79 @@
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
+%% tcbprocessing.code.tex: Code for conditional processing
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2006-2016 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% This work consists of all files listed in README
+%%
+\tcb at set@library at version{3.94}
+
+\RequirePackage{pdftexcmds}
+\RequirePackage{shellesc}
+
+\ifdefined\pdf at filemdfivesum\else% XeLaTeX presumed ...
+ \def\pdf at filemdfivesum#1{\mdfivesum file {#1}}%
+\fi
+\ifdefined\pdf at filemoddate\else% very poor XeLaTeX bypassing
+ \def\pdf at filemoddate#1{}%
+\fi
+
+\def\tcbproc at readmdfive#1#2{%
+ \edef\tcbprocmdfivesum{\pdf at filemdfivesum{#1}}%
+ \IfFileExists{#2}{\input{#2}}{\def\tcbproclastmdfivesum{}}%
+}
+
+\def\tcbproc at writemdfive#1{%
+ \immediate\openout\tcb at out=#1%
+ \immediate\write\tcb at out{\string\def\string\tcbproclastmdfivesum{\tcbprocmdfivesum}\@percentchar}%
+ \immediate\closeout\tcb at out%
+}
+
+\newrobustcmd{\iftcb at process@on}[3]{%
+ \tcbproc at readmdfive{#1}{#2}%
+ \ifdefstrequal{\tcbproclastmdfivesum}{\tcbprocmdfivesum}{}{\tcbproc at writemdfive{#2}}%
+ \expandafter\@firstoftwo%
+}
+
+\newrobustcmd{\iftcb at process@conditional}[3]{%
+ \tcbproc at readmdfive{#1}{#2}%
+ \ifdefstrequal{\tcbproclastmdfivesum}{\tcbprocmdfivesum}{%
+ \IfFileExists{#3}{%
+ \ifnum\pdf at strcmp{\pdf at filemoddate{#2}}{\pdf at filemoddate{#3}}>0\relax%
+ \expandafter\@firstoftwo%
+ \else%
+ \expandafter\@secondoftwo%
+ \fi%
+ }{\expandafter\@firstoftwo}%
+ }{%
+ \tcbproc at writemdfive{#2}%
+ \expandafter\@firstoftwo%
+ }%
+}
+
+\newrobustcmd{\iftcb at process@off}[3]{%
+ \tcbproc at readmdfive{#1}{#2}%
+ \ifdefstrequal{\tcbproclastmdfivesum}{\tcbprocmdfivesum}{}{\tcbproc at writemdfive{#2}}%
+ \expandafter\@secondoftwo%
+}%
+
+\newrobustcmd{\tcbiffileprocess}[1]{%
+ \ifcase\numexpr#1\relax%
+ \expandafter\iftcb at process@on%
+ \or%
+ \expandafter\iftcb at process@conditional%
+ \else%
+ \expandafter\iftcb at process@off%
+ \fi%
+}
Property changes on: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\RequirePackage{tikz}[2010/10/13]
@@ -1707,7 +1707,7 @@
}{%
\iftcb at fixedheight%
\begin{tcolorbox}%
- \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb at graphics@options,height=\tcbtextheight]}%
+ \begingroup\edef\x{\endgroup\noexpand\includegraphics[\expandonce\kvtcb at graphics@options,width=\linewidth,height=\tcbtextheight,keepaspectratio]}%
\x{\imagepath}%
\end{tcolorbox}%
\else%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\RequirePackage{amsmath}
@@ -139,6 +139,7 @@
\@@newtcolorbox[auto counter,#1]{#2}[3][]{#4,%
title={\tcb at theo@title{#3}{\thetcbcounter}{##2}},%
list entry={\protect\numberline{\thetcbcounter}##2},%
+ nameref={##2},%
code={\tcb at theo@label{#5}{##3}},%
##1}%
\@@newtcolorbox[#1,no counter,list inside=]{#2*}[2][]{#4,%
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\tcbuselibrary{skins}
Modified: trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2016-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% 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.93}
+\tcb at set@library at version{3.94}
\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-07-14 21:41:14 UTC (rev 41699)
+++ trunk/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty 2016-07-14 21:41:30 UTC (rev 41700)
@@ -1,4 +1,4 @@
-%% The LaTeX package tcolorbox - version 3.93 (2016/06/01)
+%% The LaTeX package tcolorbox - version 3.94 (2016/07/14)
%% tcolorbox.sty: Text color boxes
%%
%% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
%% This work consists of all files listed in README
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tcolorbox}[2016/06/01 version 3.93 text color boxes]
-\def\tcb at version{3.93}
+\ProvidesPackage{tcolorbox}[2016/07/14 version 3.94 text color boxes]
+\def\tcb at version{3.94}
\RequirePackage{pgf}[2008/01/15]
\RequirePackage{verbatim}[2003/08/22]
@@ -129,7 +129,7 @@
\pgfkeys{/handlers/.colorlet/.code=\pgfkeysalso{\pgfkeyscurrentpath/.code=\colorlet{#1}{##1}}}
\newcommand\tcbtitle{\ifx\tcbtitletext\@empty\else%
- {\color{tcbcol at title}\kvtcb at fonttitle\kvtcb at haligntitle\kvtcb at before@title\tcbtitletext\kvtcb at after@title}\fi}
+ \leavevmode{\color{tcbcol at title}\kvtcb at fonttitle\kvtcb at haligntitle\kvtcb at before@title\tcbtitletext\kvtcb at after@title}\fi}
\def\tcb at detach@title at code@{%
\let\tcbtitletext\kvtcb at title%
@@ -149,6 +149,14 @@
\let\tcb at specialtitle@hook\@empty%
}
+\def\tcb at gettitle#1{\edef\@currentlabelname{#1}}
+
+\AtBeginDocument{%
+ \@ifpackageloaded{nameref}{%
+ \let\tcb at gettitle\NR at gettitle%
+ }{}%
+}
+
% analog to plain.tex
\def\tcb at raggedright@plain{\raggedright\rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax}
\def\tcb at raggedleft@plain{\raggedleft\leftskip0pt plus2em \spaceskip.3333em \xspaceskip.5em \hbadness=10000\relax}
@@ -580,6 +588,7 @@
step/.style={phantom={\refstepcounter{#1}}},%
label/.style={phantom={\tcb at set@label{#1}}},%
phantomlabel/.style={phantom={\ifdefined\phantomsection\phantomsection\fi\tcb at set@label{#1}}},%
+ nameref/.code={\tcb at gettitle{#1}},%
label type/.store in=\kvtcb at label@type,%
no label type/.style={label type=},%
add to list/.style 2 args={phantom={\tcb at addcontentsline{#1}{#2}}},
@@ -1470,7 +1479,7 @@
\fi%
\iftcb at hasLower%
\tcb at box@align{\tcb at lowerbox}%
- \iftcb at lowervisible\color{tcbcol at lower}\unhbox\tcb at lowerbox%
+ \iftcb at lowervisible\leavevmode\color{tcbcol at lower}\unhbox\tcb at lowerbox%
\else%
\iftcb at lowerignored\else\rule[-\dp\tcb at lowerbox]{0pt}{\the\dimexpr\ht\tcb at lowerbox+\dp\tcb at lowerbox\relax}\fi%
\fi%
@@ -2066,6 +2075,7 @@
\DeclareOption{#1}{\appto\tcb at optionlist{,#1}}%
}
+\tcb at add@library{pro at cessing}{tcbprocessing.code.tex}
\tcb at add@library{listings at core}{tcblistingscore.code.tex}
\tcb at add@library{listings}{tcblistings.code.tex}
\tcb at add@library{listingsutf8}{tcblistingsutf8.code.tex}
More information about the tex-live-commits
mailing list