texlive[47917] Master/texmf-dist: caption

commits+karl at tug.org commits+karl at tug.org
Sun Jun 3 23:23:43 CEST 2018


Revision: 47917
          http://tug.org/svn/texlive?view=revision&revision=47917
Author:   karl
Date:     2018-06-03 23:23:43 +0200 (Sun, 03 Jun 2018)
Log Message:
-----------
caption

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/caption/CHANGELOG
    trunk/Master/texmf-dist/doc/latex/caption/README
    trunk/Master/texmf-dist/doc/latex/caption/bicaption.pdf
    trunk/Master/texmf-dist/doc/latex/caption/newfloat.pdf
    trunk/Master/texmf-dist/doc/latex/caption/subcaption.pdf
    trunk/Master/texmf-dist/source/latex/caption/caption.dtx
    trunk/Master/texmf-dist/source/latex/caption/caption.ins
    trunk/Master/texmf-dist/source/latex/caption/caption3.dtx
    trunk/Master/texmf-dist/source/latex/caption/newfloat.dtx
    trunk/Master/texmf-dist/source/latex/caption/subcaption.dtx
    trunk/Master/texmf-dist/source/latex/caption/totalcount.dtx
    trunk/Master/texmf-dist/tex/latex/caption/bicaption.sty
    trunk/Master/texmf-dist/tex/latex/caption/caption.sty
    trunk/Master/texmf-dist/tex/latex/caption/caption2.sty
    trunk/Master/texmf-dist/tex/latex/caption/caption3.sty
    trunk/Master/texmf-dist/tex/latex/caption/ltcaption.sty
    trunk/Master/texmf-dist/tex/latex/caption/newfloat.sty
    trunk/Master/texmf-dist/tex/latex/caption/subcaption.sty
    trunk/Master/texmf-dist/tex/latex/caption/totalcount.sty

Modified: trunk/Master/texmf-dist/doc/latex/caption/CHANGELOG
===================================================================
--- trunk/Master/texmf-dist/doc/latex/caption/CHANGELOG	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/doc/latex/caption/CHANGELOG	2018-06-03 21:23:43 UTC (rev 47917)
@@ -1,5 +1,13 @@
+Changes made in the caption package bundle
+==========================================
+
+Please note that this document does not reflect bugfix-releases, and that the dates given are the dates of the release w/o bugfixes.
+
+If you are interested in a complete changelog -- including bugfixes -- process the dtx files with \RecordChanges and \PrintChanges.
+
+
 caption package
-===============
+---------------
 
 v1.0 (1994/10/27)
 - 1st published version
@@ -106,7 +114,7 @@
 
 
 bicaption package
-=================
+-----------------
 
 v0.9 (2010/09/19)
 - 1st published version (see also http://www.mrunix.de/forums/showthread.php?t=68312)
@@ -119,7 +127,7 @@
 
 
 ltcaption package
-=================
+-----------------
 
 v1.0 (2007/04/15)
 - 1st version
@@ -141,7 +149,7 @@
 
 
 subcaption package
-==================
+------------------
 
 v1.0 (2008/03/16)
 - 1st published version
@@ -152,7 +160,7 @@
 
 
 newfloat package
-================
+----------------
 
 v1.0 (2011/10/30)
 - 1st published version
@@ -162,7 +170,7 @@
 
 
 totalcount package
-==================
+------------------
 
 v1.0 (2008/03/09)
 - 1st published version

Modified: trunk/Master/texmf-dist/doc/latex/caption/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/caption/README	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/doc/latex/caption/README	2018-06-03 21:23:43 UTC (rev 47917)
@@ -1,7 +1,7 @@
 ==========================================================================
 
 The `caption' package bundle
-Release 2018-04-15
+Release 2018-05-27
 Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 
 License: LPPL = LaTeX Project Public Licence
@@ -8,7 +8,7 @@
 Maintenance Status: maintained (by Axel Sommerfeldt)
 
 Home page:
-  https://github.com/axelsommerfeldt/latex-caption
+  https://github.com/axelsommerfeldt/caption
 
 If you need help for installation please visit:
   http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inst-miktex*
@@ -23,7 +23,7 @@
 
 If you think you may have found a bug in these packages,
 or want to report a suggestion for improvement, please either visit
-  https://github.com/axelsommerfeldt/latex-caption/issues
+  https://github.com/axelsommerfeldt/caption/issues (preferred)
 or send an e-mail to
   axel.sommerfeldt at f-m.fm
 

Modified: trunk/Master/texmf-dist/doc/latex/caption/bicaption.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/caption/newfloat.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/caption/subcaption.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/caption/caption.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/caption.dtx	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/caption.dtx	2018-06-03 21:23:43 UTC (rev 47917)
@@ -2,7 +2,7 @@
 % 
 % This is file `caption.dtx'.
 % 
-% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 % 
 % --------------------------------------------------------------------------
 % 
@@ -25,7 +25,7 @@
 % and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 % 
 % \fi
-% \CheckSum{3571}
+% \CheckSum{3579}
 %
 % \iffalse
 %<*driver>
@@ -96,7 +96,7 @@
 %          This package has version number \fileversion, last revised \filedate.}}%^^A
 %        {the caption package}}
 % \author{Axel Sommerfeldt\\
-%         \url{https://github.com/axelsommerfeldt/latex-caption}}
+%         \url{https://github.com/axelsommerfeldt/caption}}
 % \date{\docdate}
 % \maketitle
 %
@@ -218,13 +218,13 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2017/03/19 v3.3-145 Customizing captions (AR)]
+\ProvidesPackage{caption}[2018/05/01 v3.3-147 Customizing captions (AR)]
 %    \end{macrocode}
 %
 % \subsection{Loading the kernel}
 %
 %    \begin{macrocode}
-\RequirePackage{caption3}[2016/02/01] % needs v1.7-130 or newer
+\RequirePackage{caption3}[2018/05/01] % needs v1.8 or newer
 %    \end{macrocode}
 %
 % \subsection{Check against incompatible document classes}
@@ -3641,10 +3641,14 @@
 %    \end{macrocode}
 % Workaround for bug in \package{listings} package:
 % If |\hsize| seems not to be set correctly, we set it to |\linewidth|.
+% \changes{v3.3}{2018/04/30}{Bugfix from Ulrike Fischer applied, see also \url{https://github.com/axelsommerfeldt/caption/issues/1}}
 %    \begin{macrocode}
-    \ifdim\hsize>\linewidth
-      \hsize\linewidth
-    \fi
+      \@tempdima\linewidth
+      \advance\@tempdima\lst at xleftmargin
+      \advance\@tempdima\lst at xrightmargin
+      \ifdim\hsize>\@tempdima
+        \hsize\@tempdima
+      \fi
 %    \end{macrocode}
 % First of all, we set |position=#1| and if it was set to `top',
 % we swap the skips so the default behavior of the \package{listings} package
@@ -3658,7 +3662,7 @@
         \belowcaptionskip\abovecaptionskip
         \abovecaptionskip\@tempdima}{}%
 %    \end{macrocode}
-% Workaround for issue with wrong skips (should be examined further)
+% Workaround for issue with wrong skips (FIXME: should be examined further)
 %    \begin{macrocode}
       \caption at setup{rule=0}%
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/caption/caption.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/caption.ins	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/caption.ins	2018-06-03 21:23:43 UTC (rev 47917)
@@ -8,7 +8,7 @@
 
 Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 
-https://github.com/axelsommerfeldt/latex-caption
+https://github.com/axelsommerfeldt/caption
 
 --------------------------------------------------------------------------
 

Modified: trunk/Master/texmf-dist/source/latex/caption/caption3.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/caption3.dtx	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/caption3.dtx	2018-06-03 21:23:43 UTC (rev 47917)
@@ -25,12 +25,12 @@
 % and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 % 
 % \fi
-% \CheckSum{3671}
+% \CheckSum{3848}
 %
 % \iffalse
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{caption3.drv}[2015/09/15 v1.7 Implementation of the caption kernel]
+\ProvidesFile{caption3.drv}[2015/09/15 v1.8 Implementation of the caption kernel]
 \hbadness=9999 \newcount\hbadness \hfuzz=100pt % Make TeX shut up.
 %\errorcontextlines=3
 %
@@ -57,7 +57,7 @@
 \ifpdf\usepackage{hypdestopt}\fi
 \hypersetup{pdfkeywords={LaTeX, package, caption},pdfstartpage={},pdfstartview={}}
 %
-\usepackage[debug]{caption3}[2013/01/01]
+\usepackage[debug]{caption3}[2018/05/01]
 %
 \DeclareRobustCommand*\eTeX{\texorpdfstring
   {\leavevmode\hbox{$\varepsilon$}-\TeX}%
@@ -99,7 +99,7 @@
 %          This package has version number \fileversion, last revised \filedate.}}%^^A
 %        {the caption kernel}}
 % \author{Axel Sommerfeldt\\
-%         \url{https://github.com/axelsommerfeldt/latex-caption}}
+%         \url{https://github.com/axelsommerfeldt/caption}}
 % \date{\docdate}
 % \maketitle
 %
@@ -198,7 +198,7 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption3}[2018/04/15 v1.7-167 caption3 kernel (AR)]
+\ProvidesPackage{caption3}[2018/05/27 v1.8a caption3 kernel (AR)]
 %    \end{macrocode}
 %
 % \subsection{Workaround for bug in package \package{arabtex}}
@@ -866,7 +866,7 @@
   \expandafter\caption at ifempty@list\csname caption at opt@#2\endcsname
     {\caption at removefromoptlist{#2}}{}%
   \caption at tempa{\caption at Warning{%
-    Option `#1' was not in list `#2'\MessageBreak}}}
+    Option `#1' was not in list `#2'}}}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1751,8 +1751,9 @@
 % \changes{v1.2}{2007/12/16}{Caption label format \opt{brace} added}
 % \changes{v1.7}{2015/09/16}{Caption label format \opt{autodot} added}
 % \changes{v1.7}{2016/05/22}{Caption label format \opt{autodot} fixed}
-% There are five pre-defined label formats, called `empty', `simple',
-% `parens', `brace', and `autodot'.
+% \changes{v1.8}{2016/05/22}{Caption label format \opt{unnumbered} added}
+% There are six pre-defined label formats, called `empty', `simple',
+% `parens', `brace', `autodot', and `unnumbered'.
 %    \begin{macrocode}
 \DeclareCaptionLabelFormat{empty}{}
 \DeclareCaptionLabelFormat{simple}{\bothIfFirst{#1}{\nobreakspace}#2}
@@ -1759,6 +1760,7 @@
 \DeclareCaptionLabelFormat{parens}{\bothIfFirst{#1}{\nobreakspace}(#2)}
 \DeclareCaptionLabelFormat{brace}{\bothIfFirst{#1}{\nobreakspace}#2)}
 \DeclareCaptionLabelFormat{autodot}{\bothIfFirst{#1}{\nobreakspace}#2\autodot}
+\DeclareCaptionLabelFormat{unnumbered}{#1}
 %    \end{macrocode}
 %
 % `default' usually maps to `simple'.
@@ -2059,7 +2061,9 @@
 \DeclareCaptionFont{tt}{\ttfamily}
 %    \end{macrocode}
 %
+% \changes{v1.7}{2018/05/01}{Missing font sizes \texttt{tiny}, \texttt{LARGE}, \texttt{huge}, and \texttt{Huge} added}
 %    \begin{macrocode}
+\DeclareCaptionFont{tiny}{\tiny}
 \DeclareCaptionFont{scriptsize}{\scriptsize}
 \DeclareCaptionFont{footnotesize}{\footnotesize}
 \DeclareCaptionFont{small}{\small}
@@ -2066,8 +2070,73 @@
 \DeclareCaptionFont{normalsize}{\normalsize}
 \DeclareCaptionFont{large}{\large}
 \DeclareCaptionFont{Large}{\Large}
+\DeclareCaptionFont{LARGE}{\LARGE}
+\DeclareCaptionFont{huge}{\huge}
+\DeclareCaptionFont{Huge}{\Huge}
 %    \end{macrocode}
 %
+% \changes{v1.8}{2018/05/01}{Font size \texttt{smaller} added}
+%    \begin{macrocode}
+\newcommand\caption at smaller{%
+  \ifx\@currsize\tiny
+    \relax
+  \else\ifx\@currsize\scriptsize
+    \tiny
+  \else\ifx\@currsize\footnotesize
+    \scriptsize
+  \else\ifx\@currsize\small
+    \footnotesize
+  \else\ifx\@currsize\normalsize
+    \small
+  \else\ifx\@currsize\large
+    \normalsize
+  \else\ifx\@currsize\Large
+    \large
+  \else\ifx\@currsize\LARGE
+    \Large
+  \else\ifx\@currsize\huge
+    \LARGE
+  \else\ifx\@currsize\Huge
+    \huge
+  \else
+    \caption at Warning{%
+      Cannot determine current font size.\MessageBreak
+      Try setting it with `size=' explicitly}%
+  \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
+\DeclareCaptionFont{smaller}{\caption at smaller}
+%    \end{macrocode}
+%
+% \changes{v1.8}{2018/05/02}{Font size \texttt{larger} added}
+%    \begin{macrocode}
+\newcommand\caption at larger{%
+  \ifx\@currsize\tiny
+    \scriptsize
+  \else\ifx\@currsize\scriptsize
+    \footnotesize
+  \else\ifx\@currsize\footnotesize
+    \small
+  \else\ifx\@currsize\small
+    \normalsize
+  \else\ifx\@currsize\normalsize
+    \large
+  \else\ifx\@currsize\large
+    \Large
+  \else\ifx\@currsize\Large
+    \LARGE
+  \else\ifx\@currsize\LARGE
+    \huge
+  \else\ifx\@currsize\huge
+    \Huge
+  \else\ifx\@currsize\Huge
+    \relax
+  \else
+    \caption at Warning{%
+      Cannot determine current font size.\MessageBreak
+      Try setting it with `size=' explicitly}%
+  \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
+\DeclareCaptionFont{larger}{\caption at larger}
+%    \end{macrocode}
+%
 % \changes{v1.3}{2011/01/01}{\package{sansmath} package support added}
 %    \begin{macrocode}
 \DeclareCaptionFont{sansmath}{\sansmath}
@@ -2742,6 +2811,7 @@
 % \changes{v1.5}{2013/04/27}{The \package{beamer} template \texttt{caption label separator} will be used now}
 % \changes{v1.7}{2016/05/22}{Re-definition of label format \texttt{simpleMagyar} added to \package{beamer} class support}
 % \changes{v1.7}{2018/04/15}{Re-definition of label format \texttt{simpleMagyar} revised}
+% \changes{v1.7}{2018/05/01}{Definition of \package{beamer} default label font revised}
 %
 % \begin{macro}{\caption at ifbeamerclass}
 %    \begin{macrocode}
@@ -2790,15 +2860,19 @@
 %
 %    \begin{macrocode}
   \DeclareCaptionLabelFormat{default}{%
-    \caption at ifbeamertemplate{numbered}{%
-      \caption at lfmt@simple{#1}{#2}}{#1}}
+    \caption at ifbeamertemplate{numbered}%
+      \caption at lfmt@simple
+      \caption at lfmt@unnumbered
+    {#1}{#2}}
 %    \end{macrocode}
 % The \package{magyar} babel package redefines the current label format to a one called |simple|\-|Magyar|,
 % defined within |\@@magyar at caption|\-|fix| which will be executed |\At|\-|Begin|\-|Document|.
 %    \begin{macrocode}
   \DeclareCaptionLabelFormat{default at magyar}{%
-    \caption at ifbeamertemplate{numbered}{%
-      \caption at lfmt@simple at magyar{#1}{#2}}{#1}}
+    \caption at ifbeamertemplate{numbered}%
+      \caption at lfmt@simple at magyar
+      \caption at lfmt@unnumbered
+    {#1}{#2}}
   \@ifundefined{@@magyar at captionfix}\AtBeginDocument\@firstofone{%
     \@ifundefined{@@magyar at captionfix}{}{%
       \g at addto@macro\@@magyar at captionfix{%
@@ -2815,8 +2889,10 @@
     \usebeamerfont*{caption}%
     \usebeamercolor[fg]{caption}}
   \DeclareCaptionDefaultFont{labelfont}{%
+    \setbeamercolor*{caption}{}% avoid setting "caption" color additionally
     \usebeamercolor[fg]{caption name}%
-    \usebeamerfont*{caption name}}
+    \setbeamerfont*{caption}{}% avoid setting "caption" font additionally
+    \usebeamerfont{caption name}}
   \DeclareCaptionDefaultJustification{\raggedright}
 %    \end{macrocode}
 %    \begin{macrocode}
@@ -3443,15 +3519,20 @@
 % \changes{v1.1}{2007/06/13}{Redefinition of \cs{(H@)refstepcounter} added}
 % \changes{v1.1}{2007/08/12}{Redefinition of \cs{label} improved}
 % \changes{v1.1c}{2007/10/06}{Definition of \cs{caption at l@stepcounter} added}
-%  |\caption at prepareslc|\par
 % \changes{v1.3}{2011/07/07}{Bugfix 11-07-06: Redefinition of \cs{footnote} and \cs{footnotemark} added, redefinition of \cs{stepcounter} and \cs{refstepcounter} dropped}
 % \changes{v1.4a}{2011/10/21}{Redefinition of \cs{pagenote} from \textsf{memoir} document class added}
 % \changes{v1.4a}{2011/10/22}{Redefinition of \cs{footnote} revised}
 % \changes{v1.5}{2013/04/13}{Redefinition os \cs{glsunset} added}
+% \changes{v1.8}{2018/01/21}{Redefinition of \cs{endnote} added (thanks to Markus Kohm)}
+% \changes{v1.8}{2018/05/16}{Redefinition of \cs{acused} added}
+% \changes{v1.8}{2018/05/26}{Definition method changed so it can be pre-defined by other packages}
+% \changes{v1.8}{2018/05/27}{Redefinition of \cs{hypertarget} added}
+%  |\caption at prepareslc|\par
 %  Re-define anything which would disturb the single-line-check.
 %    \begin{macrocode}
-\newcommand*\caption at prepareslc{%
+\@ifundefined{caption at prepareslc}\def\g at addto@macro\caption at prepareslc{%
   \let\label\caption at gobble
+  \let\hypertarget\@gobbletwo
 %    \end{macrocode}
 %    \begin{macrocode}
   \let\caption at footnotemark@ORI\footnotemark
@@ -3460,11 +3541,20 @@
   \let\@footnotetext\caption at gobble
 %    \end{macrocode}
 %    \begin{macrocode}
+  \let\caption at endnotemark@ORI\endnotemark
+  \def\endnote{\caption at withoptargs\caption at endnote}%
+  \def\endnotemark{\caption at withoptargs\caption at endnotemark}%
   \let\@endnotetext\caption at gobble
 %    \end{macrocode}
 %    \begin{macrocode}
   \let\pagenote\caption at gobble
 %    \end{macrocode}
+% Adaption to the \package{acronym} package.\par
+% See also \url{https://tex.stackexchange.com/questions/428788}
+%    \begin{macrocode}
+  \let\acused\@gobble
+  \let\AC at placelabel\@gobble
+%    \end{macrocode}
 % Adaption to the \package{glossaries} package.\par
 % Please note that while this adaption is usually sufficient
 % it could give incorrect measuring results if \cs{gls} is both used
@@ -3471,7 +3561,7 @@
 % for the very first time and more than once (for a particular acronym).
 % The alternative would be using internal macros of the
 % \package{glossaries} package which I would like to avoid.\par
-% See also \url{http://tex.stackexchange.com/questions/108368}
+% See also \url{https://tex.stackexchange.com/questions/108368}
 %    \begin{macrocode}
   \let\glsunset\@gobble
 %    \end{macrocode}
@@ -3488,6 +3578,15 @@
   \endgroup}
 %    \end{macrocode}
 %    \begin{macrocode}
+\newcommand\caption at endnote[2]{%
+  \caption at endnotemark{#1}}
+\newcommand\caption at endnotemark[1]{%
+  \begingroup
+    \let\stepcounter\caption at l@stepcounter
+    \caption at endnotemark@ORI#1
+  \endgroup}
+%    \end{macrocode}
+%    \begin{macrocode}
 \newcommand*\caption at l@stepcounter[1]{%
   \advance\csname c@#1\endcsname\@ne\relax}
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/caption/newfloat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/newfloat.dtx	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/newfloat.dtx	2018-06-03 21:23:43 UTC (rev 47917)
@@ -25,7 +25,7 @@
 % and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 % 
 % \fi
-% \CheckSum{1313}
+% \CheckSum{1307}
 %
 % \iffalse
 %<*driver>
@@ -531,7 +531,7 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{newfloat}[2015/09/17 v1.1-109 Defining new floating environments (AR)]
+\ProvidesPackage{newfloat}[2018/03/04 v1.1a Defining new floating environments (AR)]
 %    \end{macrocode}
 %
 % \begin{macro}{\newfloat at Info}
@@ -609,6 +609,7 @@
 % \changes{v1.1}{2013/04/27}{Revised, only defines stuff yet undefined now}
 % \changes{v1.1}{2013/11/03}{Uses \cs{newfloat at capitalize} now}
 % \changes{v1.1}{2015/09/16}{Support of \cs{autodot} (offered by the \KOMAScript\ classes) added}
+% \changes{v1.1}{2018/03/04}{Usage of \cs{ifdefined} replaced by \cs{@ifundefined} to improve compatibility with the \package{listings} package}
 %  |\DeclareFloatingEnvironment|\oarg{options}\marg{environment}\oarg{name}\oarg{list name}
 %    \begin{macrocode}
 \newcommand*\DeclareFloatingEnvironment{%
@@ -626,20 +627,20 @@
 % Set |\ftype@|\meta{type} which contains the type number for floats of type \meta{type}\par
 % (See also \url{http://tex.stackexchange.com/q/32359/2574})
 %    \begin{macrocode}
-  \ifdefined\c at float@type % from float package
-    \expandafter\edef\csname ftype@#2\endcsname{\the\value{float at type}}%
-    \addtocounter{float at type}{\value{float at type}}%
-  \else\ifdefined\c at newflo@tctr % from memoir document class
-    \expandafter\edef\csname ftype@#2\endcsname{\the\c at newflo@tctr}%
-    \advance\c at newflo@tctr \c at newflo@tctr
-  \else
-    \ifdefined\newfloat at ftype \else
-      \newcount\newfloat at ftype
-      \newfloat at ftype=8\relax
-    \fi
-    \expandafter\xdef\csname ftype@#2\endcsname{\the\newfloat at ftype}%
-    \advance\newfloat at ftype\newfloat at ftype
-  \fi\fi
+  \@ifundefined{c at float@type}%     from float package
+    {\@ifundefined{c at newflo@tctr}% from memoir document class
+       {\ifdefined\newfloat at ftype \else
+          \newcount\newfloat at ftype
+          \newfloat at ftype=8\relax
+        \fi
+        \expandafter\xdef\csname ftype@#2\endcsname{\the\newfloat at ftype}%
+        \advance\newfloat at ftype\newfloat at ftype}%
+       {\expandafter\edef\csname ftype@#2\endcsname{\the\c at newflo@tctr}%
+        \advance\c at newflo@tctr \c at newflo@tctr}}%
+    {\expandafter\edef\csname ftype@#2\endcsname{\the\value{float at type}}%
+     \addtocounter{float at type}{\value{float at type}}}%
+%    \end{macrocode}
+%    \begin{macrocode}
   \newfloat at Info{float type `#2'=\@nameuse{ftype@#2}}%
 %    \end{macrocode}
 % Define |\fnum@|\meta{type}, a macro to generate the figure number for a caption

Modified: trunk/Master/texmf-dist/source/latex/caption/subcaption.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/subcaption.dtx	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/subcaption.dtx	2018-06-03 21:23:43 UTC (rev 47917)
@@ -2,7 +2,7 @@
 % 
 % This is file `subcaption.dtx'.
 % 
-% Copyright (C) 2007-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+% Copyright (C) 2007-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 % 
 % --------------------------------------------------------------------------
 % 
@@ -30,7 +30,7 @@
 % \iffalse
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{subcaption.drv}[2013/04/16 v1.1 Adds a sub-caption feature to the caption package]
+\ProvidesFile{subcaption.drv}[2018/05/01 v1.1 Adds a sub-caption feature to the caption package]
 \hbadness=9999 \newcount\hbadness \hfuzz=74pt % Make TeX shut up.
 %\errorcontextlines=3
 %
@@ -115,7 +115,7 @@
 %          This package has version number \fileversion, last revised \filedate.}}%^^A
 %        {The subcaption package}}
 % \author{Axel Sommerfeldt\\
-%         \url{https://github.com/axelsommerfeldt/latex-caption}}
+%         \url{https://github.com/axelsommerfeldt/caption}}
 % \date{\docdate}
 % \maketitle
 % 
@@ -172,7 +172,7 @@
 %
 % The default settings for |sub|captions are:
 % \begin{quote}
-%   |margin=0pt,font+=small,labelformat=parens,labelsep=space,|\\
+%   |margin=0pt,font+=smaller,labelformat=parens,labelsep=space,|\\
 %   |skip=6pt,list=false,hypcap=false|~\footnote{%^^A
 %     This means that sub-captions are not listed in the List of Figures
 %     or Tables by default, but you can enable that by
@@ -193,7 +193,7 @@
 % \item Local settings
 %  {\small(|\captionsetup{|\ldots|}| inside |figure| or |table| environment)}
 % \item Default `sub' settings
-%  {\small(|margin=0pt,font+=small,|\ldots, see above)}
+%  {\small(|margin=0pt,font+=smaller,|\ldots, see above)}
 % \item Custom `sub' settings
 %  {\small(|\usepackage[|\ldots|]{subcaption}| and |\captionsetup[sub]{|\ldots|}|)}
 % \item Environmental `sub' settings
@@ -898,7 +898,7 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{subcaption}[2016/05/22 v1.1-161 Sub-captions (AR)]
+\ProvidesPackage{subcaption}[2018/05/01 v1.1-162 Sub-captions (AR)]
 %    \end{macrocode}
 %
 % \subsection{Initial code}
@@ -905,7 +905,7 @@
 %
 % Since we base on the \package{caption} package we load it here.
 %    \begin{macrocode}
-\RequirePackage{caption}[2012/03/25] % needs v3.3 or newer
+\RequirePackage{caption}[2018/05/01] % needs v3.3-147 or newer
 %    \end{macrocode}
 %
 % \begin{macro}{\subcaption at CheckCompatibility}
@@ -972,10 +972,11 @@
 %
 % We use |\caption at ExecuteOptions| and |\caption at ProcessOptions| here to add
 % the options to the `|sub|' option list instead of executing them immediately.
+% \changes{v1.1}{2018/05/01}{Bugfix: Option \texttt{font+=small} changed to \texttt{font+=smaller}}
 %    \begin{macrocode}
 \caption at SetupOptions{subcaption}{\captionsetup[sub]{#2}}%
 \caption at ExecuteOptions{subcaption}{%
-  font+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0}
+  font+=smaller,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0}
 \caption at ProcessOptions*{subcaption}
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/caption/totalcount.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/caption/totalcount.dtx	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/source/latex/caption/totalcount.dtx	2018-06-03 21:23:43 UTC (rev 47917)
@@ -2,7 +2,7 @@
 % 
 % This is file `totalcount.dtx'.
 % 
-% Copyright (C) 2010-2013 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+% Copyright (C) 2010-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 % 
 % --------------------------------------------------------------------------
 % 
@@ -260,7 +260,7 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{totalcount}[2013/05/12 v1.0-92 Total values of counters (AR)]
+\ProvidesPackage{totalcount}[2018/01/21 v1.0a Total values of counters (AR)]
 %    \end{macrocode}
 %
 % \subsection{Initial code}
@@ -327,6 +327,7 @@
 % \end{macro}
 %
 % \begin{macro}{\totalcount at set}
+% \changes{v1.0a}{2018/01/21}{A negative counter value will be handled correctly now}
 % |\totalcount at set|\marg{counter name}\marg{value}
 %    \begin{macrocode}
 \newcommand*\totalcount at set[2]{%
@@ -334,7 +335,7 @@
 %   {\global\@namedef{totalcount at set@#1}{\totalcount at set{#1}{#2}}}%
     {}%
     {\global\@namedef{total#1s}{#2\totalcount at xspace}%
-     \ifnum#2=0\relax \else
+     \ifnum#2<1\relax \else
        \global\@nameuse{total#1strue}%
      \fi}}
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/tex/latex/caption/bicaption.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/bicaption.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/bicaption.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% bicaption.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 

Modified: trunk/Master/texmf-dist/tex/latex/caption/caption.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/caption.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/caption.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% caption.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 
@@ -37,8 +37,8 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2017/03/19 v3.3-145 Customizing captions (AR)]
-\RequirePackage{caption3}[2016/02/01] % needs v1.7-130 or newer
+\ProvidesPackage{caption}[2018/05/01 v3.3-147 Customizing captions (AR)]
+\RequirePackage{caption3}[2018/05/01] % needs v1.8 or newer
 \caption at ifbool{documentclass}{}{%
   \caption at WarningNoLine{%
     Unsupported document class (or package) detected,\MessageBreak
@@ -1484,9 +1484,12 @@
   \let\caption at ORI@lst at MakeCaption\lst at MakeCaption
   \def\lst at MakeCaption#1{% #1 is `t' or `b'
     \begingroup
-    \ifdim\hsize>\linewidth
-      \hsize\linewidth
-    \fi
+      \@tempdima\linewidth
+      \advance\@tempdima\lst at xleftmargin
+      \advance\@tempdima\lst at xrightmargin
+      \ifdim\hsize>\@tempdima
+        \hsize\@tempdima
+      \fi
       \caption at setposition{#1}%
       \caption at iftop{%
         \@tempdima\belowcaptionskip

Modified: trunk/Master/texmf-dist/tex/latex/caption/caption2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/caption2.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/caption2.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% caption2.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 

Modified: trunk/Master/texmf-dist/tex/latex/caption/caption3.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/caption3.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/caption3.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -8,7 +8,7 @@
 %% 
 %% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 
@@ -37,7 +37,7 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption3}[2018/04/15 v1.7-167 caption3 kernel (AR)]
+\ProvidesPackage{caption3}[2018/05/27 v1.8a caption3 kernel (AR)]
 \providecommand\caption at FixArabTeX{%
   \def\caption at tempa##1{}%
   \ifx\caption at tempa\@gobble
@@ -313,7 +313,7 @@
   \expandafter\caption at ifempty@list\csname caption at opt@#2\endcsname
     {\caption at removefromoptlist{#2}}{}%
   \caption at tempa{\caption at Warning{%
-    Option `#1' was not in list `#2'\MessageBreak}}}
+    Option `#1' was not in list `#2'}}}
 \newcommand*\showcaptionsetup[2][\@firstofone]{%
   \@bsphack
     \GenericWarning{}{%
@@ -655,6 +655,7 @@
 \DeclareCaptionLabelFormat{parens}{\bothIfFirst{#1}{\nobreakspace}(#2)}
 \DeclareCaptionLabelFormat{brace}{\bothIfFirst{#1}{\nobreakspace}#2)}
 \DeclareCaptionLabelFormat{autodot}{\bothIfFirst{#1}{\nobreakspace}#2\autodot}
+\DeclareCaptionLabelFormat{unnumbered}{#1}
 \def\caption at lfmt@default{\caption at lfmt@simple}
 \newcommand\DeclareCaptionLabelSeparator{%
   \caption at teststar\caption at declarelabelseparator\@gobble\@firstofone}
@@ -789,6 +790,7 @@
 \DeclareCaptionFont{rm}{\rmfamily}
 \DeclareCaptionFont{sf}{\sffamily}
 \DeclareCaptionFont{tt}{\ttfamily}
+\DeclareCaptionFont{tiny}{\tiny}
 \DeclareCaptionFont{scriptsize}{\scriptsize}
 \DeclareCaptionFont{footnotesize}{\footnotesize}
 \DeclareCaptionFont{small}{\small}
@@ -795,6 +797,63 @@
 \DeclareCaptionFont{normalsize}{\normalsize}
 \DeclareCaptionFont{large}{\large}
 \DeclareCaptionFont{Large}{\Large}
+\DeclareCaptionFont{LARGE}{\LARGE}
+\DeclareCaptionFont{huge}{\huge}
+\DeclareCaptionFont{Huge}{\Huge}
+\newcommand\caption at smaller{%
+  \ifx\@currsize\tiny
+    \relax
+  \else\ifx\@currsize\scriptsize
+    \tiny
+  \else\ifx\@currsize\footnotesize
+    \scriptsize
+  \else\ifx\@currsize\small
+    \footnotesize
+  \else\ifx\@currsize\normalsize
+    \small
+  \else\ifx\@currsize\large
+    \normalsize
+  \else\ifx\@currsize\Large
+    \large
+  \else\ifx\@currsize\LARGE
+    \Large
+  \else\ifx\@currsize\huge
+    \LARGE
+  \else\ifx\@currsize\Huge
+    \huge
+  \else
+    \caption at Warning{%
+      Cannot determine current font size.\MessageBreak
+      Try setting it with `size=' explicitly}%
+  \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
+\DeclareCaptionFont{smaller}{\caption at smaller}
+\newcommand\caption at larger{%
+  \ifx\@currsize\tiny
+    \scriptsize
+  \else\ifx\@currsize\scriptsize
+    \footnotesize
+  \else\ifx\@currsize\footnotesize
+    \small
+  \else\ifx\@currsize\small
+    \normalsize
+  \else\ifx\@currsize\normalsize
+    \large
+  \else\ifx\@currsize\large
+    \Large
+  \else\ifx\@currsize\Large
+    \LARGE
+  \else\ifx\@currsize\LARGE
+    \huge
+  \else\ifx\@currsize\huge
+    \Huge
+  \else\ifx\@currsize\Huge
+    \relax
+  \else
+    \caption at Warning{%
+      Cannot determine current font size.\MessageBreak
+      Try setting it with `size=' explicitly}%
+  \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
+\DeclareCaptionFont{larger}{\caption at larger}
 \DeclareCaptionFont{sansmath}{\sansmath}
 \DeclareCaptionFont{singlespacing}{%
   \caption at ifundefined\setspace at singlespace{}{%
@@ -1124,11 +1183,15 @@
         \endgroup\expandafter\@secondoftwo
       \fi}
   \DeclareCaptionLabelFormat{default}{%
-    \caption at ifbeamertemplate{numbered}{%
-      \caption at lfmt@simple{#1}{#2}}{#1}}
+    \caption at ifbeamertemplate{numbered}%
+      \caption at lfmt@simple
+      \caption at lfmt@unnumbered
+    {#1}{#2}}
   \DeclareCaptionLabelFormat{default at magyar}{%
-    \caption at ifbeamertemplate{numbered}{%
-      \caption at lfmt@simple at magyar{#1}{#2}}{#1}}
+    \caption at ifbeamertemplate{numbered}%
+      \caption at lfmt@simple at magyar
+      \caption at lfmt@unnumbered
+    {#1}{#2}}
   \@ifundefined{@@magyar at captionfix}\AtBeginDocument\@firstofone{%
     \@ifundefined{@@magyar at captionfix}{}{%
       \g at addto@macro\@@magyar at captionfix{%
@@ -1143,8 +1206,10 @@
     \usebeamerfont*{caption}%
     \usebeamercolor[fg]{caption}}
   \DeclareCaptionDefaultFont{labelfont}{%
+    \setbeamercolor*{caption}{}% avoid setting "caption" color additionally
     \usebeamercolor[fg]{caption name}%
-    \usebeamerfont*{caption name}}
+    \setbeamerfont*{caption}{}% avoid setting "caption" font additionally
+    \usebeamerfont{caption name}}
   \DeclareCaptionDefaultJustification{\raggedright}
   \DeclareOption{beamerclass}{%
     \renewcommand\caption at ifslc{%
@@ -1467,14 +1532,20 @@
 \newcommand*\caption at singleline{%
   \caption at xsetup\caption at opt@singleline
   \let\caption at fmt\caption at slfmt}
-\newcommand*\caption at prepareslc{%
+\@ifundefined{caption at prepareslc}\def\g at addto@macro\caption at prepareslc{%
   \let\label\caption at gobble
+  \let\hypertarget\@gobbletwo
   \let\caption at footnotemark@ORI\footnotemark
   \def\footnote{\caption at withoptargs\caption at footnote}%
   \def\footnotemark{\caption at withoptargs\caption at footnotemark}%
   \let\@footnotetext\caption at gobble
+  \let\caption at endnotemark@ORI\endnotemark
+  \def\endnote{\caption at withoptargs\caption at endnote}%
+  \def\endnotemark{\caption at withoptargs\caption at endnotemark}%
   \let\@endnotetext\caption at gobble
   \let\pagenote\caption at gobble
+  \let\acused\@gobble
+  \let\AC at placelabel\@gobble
   \let\glsunset\@gobble
 }
 \newcommand\caption at footnote[2]{%
@@ -1484,6 +1555,13 @@
     \let\stepcounter\caption at l@stepcounter
     \caption at footnotemark@ORI#1%
   \endgroup}
+\newcommand\caption at endnote[2]{%
+  \caption at endnotemark{#1}}
+\newcommand\caption at endnotemark[1]{%
+  \begingroup
+    \let\stepcounter\caption at l@stepcounter
+    \caption at endnotemark@ORI#1
+  \endgroup}
 \newcommand*\caption at l@stepcounter[1]{%
   \advance\csname c@#1\endcsname\@ne\relax}
 \newcommand*\caption at applyfont{%

Modified: trunk/Master/texmf-dist/tex/latex/caption/ltcaption.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/ltcaption.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/ltcaption.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% ltcaption.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 

Modified: trunk/Master/texmf-dist/tex/latex/caption/newfloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/newfloat.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/newfloat.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% newfloat.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 
@@ -37,7 +37,7 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{newfloat}[2015/09/17 v1.1-109 Defining new floating environments (AR)]
+\ProvidesPackage{newfloat}[2018/03/04 v1.1a Defining new floating environments (AR)]
 \newcommand*\newfloat at Info[1]{%
   \PackageInfo{newfloat}{#1}}
 \newcommand*\newfloat at InfoNoLine[1]{%
@@ -64,20 +64,18 @@
 \def\@DeclareFloatingEnvironment[#1]#2{%
   \newfloat at Info{New float `#2' with options `#1'}%
   \newfloat at ifundefined{c@#2}{\newcounter{#2}}%
-  \ifdefined\c at float@type % from float package
-    \expandafter\edef\csname ftype@#2\endcsname{\the\value{float at type}}%
-    \addtocounter{float at type}{\value{float at type}}%
-  \else\ifdefined\c at newflo@tctr % from memoir document class
-    \expandafter\edef\csname ftype@#2\endcsname{\the\c at newflo@tctr}%
-    \advance\c at newflo@tctr \c at newflo@tctr
-  \else
-    \ifdefined\newfloat at ftype \else
-      \newcount\newfloat at ftype
-      \newfloat at ftype=8\relax
-    \fi
-    \expandafter\xdef\csname ftype@#2\endcsname{\the\newfloat at ftype}%
-    \advance\newfloat at ftype\newfloat at ftype
-  \fi\fi
+  \@ifundefined{c at float@type}%     from float package
+    {\@ifundefined{c at newflo@tctr}% from memoir document class
+       {\ifdefined\newfloat at ftype \else
+          \newcount\newfloat at ftype
+          \newfloat at ftype=8\relax
+        \fi
+        \expandafter\xdef\csname ftype@#2\endcsname{\the\newfloat at ftype}%
+        \advance\newfloat at ftype\newfloat at ftype}%
+       {\expandafter\edef\csname ftype@#2\endcsname{\the\c at newflo@tctr}%
+        \advance\c at newflo@tctr \c at newflo@tctr}}%
+    {\expandafter\edef\csname ftype@#2\endcsname{\the\value{float at type}}%
+     \addtocounter{float at type}{\value{float at type}}}%
   \newfloat at Info{float type `#2'=\@nameuse{ftype@#2}}%
   \newfloat at def{fnum@#2}%
    {\@nameuse{#2name}\nobreakspace\@nameuse{the#2}\@nameuse{autodot}}%

Modified: trunk/Master/texmf-dist/tex/latex/caption/subcaption.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/subcaption.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/subcaption.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% subcaption.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 
@@ -37,8 +37,8 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{subcaption}[2016/05/22 v1.1-161 Sub-captions (AR)]
-\RequirePackage{caption}[2012/03/25] % needs v3.3 or newer
+\ProvidesPackage{subcaption}[2018/05/01 v1.1-162 Sub-captions (AR)]
+\RequirePackage{caption}[2018/05/01] % needs v3.3-147 or newer
 \newcommand\subcaption at CheckCompatibility{%
   \@ifpackageloaded{subfigure}{%
     \PackageError{subcaption}%
@@ -69,7 +69,7 @@
 }
 \caption at SetupOptions{subcaption}{\captionsetup[sub]{#2}}%
 \caption at ExecuteOptions{subcaption}{%
-  font+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0}
+  font+=smaller,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0}
 \caption at ProcessOptions*{subcaption}
 \caption at ForEachType{\DeclareCaptionSubType{#1}}
 \caption at ifundefined\newsubfloat{}{%

Modified: trunk/Master/texmf-dist/tex/latex/caption/totalcount.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/caption/totalcount.sty	2018-06-03 21:23:17 UTC (rev 47916)
+++ trunk/Master/texmf-dist/tex/latex/caption/totalcount.sty	2018-06-03 21:23:43 UTC (rev 47917)
@@ -6,9 +6,9 @@
 %%
 %% totalcount.dtx  (with options: `package')
 %% 
-%% Copyright (C) 1994-2016 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
+%% Copyright (C) 1994-2018 Axel Sommerfeldt (axel.sommerfeldt at f-m.fm)
 %% 
-%% https://github.com/axelsommerfeldt/latex-caption
+%% https://github.com/axelsommerfeldt/caption
 %% 
 %% --------------------------------------------------------------------------
 %% 
@@ -37,7 +37,7 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{totalcount}[2013/05/12 v1.0-92 Total values of counters (AR)]
+\ProvidesPackage{totalcount}[2018/01/21 v1.0a Total values of counters (AR)]
 \newcommand*\DeclareTotalCounter[1]{%
   \newcounter{totalcount@#1}%
   \@namedef{total#1s}{\nfss at text{\reset at font\bfseries ??}}%
@@ -67,7 +67,7 @@
   \@ifundefined{c at totalcount@#1}%
     {}%
     {\global\@namedef{total#1s}{#2\totalcount at xspace}%
-     \ifnum#2=0\relax \else
+     \ifnum#2<1\relax \else
        \global\@nameuse{total#1strue}%
      \fi}}
 \AtBeginDocument{\AtEndDocument{%



More information about the tex-live-commits mailing list