diff options
author | Karl Berry <karl@freefriends.org> | 2012-03-15 22:55:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-03-15 22:55:09 +0000 |
commit | 9cb823777741267aa9b1dc0a77508da79eb86025 (patch) | |
tree | 241821ff3af9d5fc8eaaaefa2a54af2e01346b75 /Master/texmf-dist/tex/latex/caption/subcaption.sty | |
parent | d1ad8fadf5a36d2b3eb1d25d8437eb6e8f1142f0 (diff) |
caption 3.2 (15mar12)
git-svn-id: svn://tug.org/texlive/trunk@25657 c570f23f-e606-0410-a88d-b1316a301751
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{} |