diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/subcaption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/caption/subcaption.sty | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/subcaption.sty b/Master/texmf-dist/tex/latex/caption/subcaption.sty index 66dae89eef4..13cfa8b6b71 100644 --- a/Master/texmf-dist/tex/latex/caption/subcaption.sty +++ b/Master/texmf-dist/tex/latex/caption/subcaption.sty @@ -6,7 +6,7 @@ %% %% subcaption.dtx (with options: `package') %% -%% Copyright (C) 1994-2011 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) +%% Copyright (C) 1994-2012 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) %% %% -------------------------------------------------------------------------- %% @@ -29,7 +29,7 @@ %% and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{subcaption}[2011/10/30 v1.1c Sub-captions (AR)] +\ProvidesPackage{subcaption}[2012/01/12 v1.1d Sub-captions (AR)] \RequirePackage{caption}[2011/08/18] % needs v3.2b or newer \caption@AtBeginDocument{\caption@ifcompatibility{% \caption@Error{% @@ -87,7 +87,8 @@ \protected@edef\@currentlabel{\csname thesub\@captype\endcsname}% \subcaption@ORI@label#1{sub@#2}% \endgroup\@esphack} -\DeclareRobustCommand*\subref{\@ifstar{\subcaption@ref*}\@subref} +\DeclareRobustCommand*\subref{% + \@ifstar{\subcaption@ref*}\@subref} \newcommand*\@subref{% \caption@withoptargs\@@subref} \newcommand*\@@subref[2]{% @@ -98,7 +99,7 @@ \caption@withoptargs\subcaption@@ref} \newcommand*\subcaption@@ref[2]{% \begingroup - \caption@setoptions*{sub}% + \caption@setoptions{sub}% \subcaption@reffmt\p@subref{\ref#1{sub@#2}}% \endgroup} \newcommand*\p@subref{} |