From 99308af4895b0e2695533e27d1dd565e81c61583 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 26 Mar 2020 21:29:05 +0000
Subject: jmlr (26mar20)

git-svn-id: svn://tug.org/texlive/trunk@54562 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty | 52 +++++++++++++++++++-------
 1 file changed, 38 insertions(+), 14 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty')

diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty b/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
index 0230e6f5fde..efdfc9ea0bb 100644
--- a/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
@@ -40,7 +40,7 @@
 %%   Right brace   \}     Tilde         \~}
 %% First editor:
 %% Second editor:
-\ProvidesPackage{jmlrutils}[2020/01/31 v1.26 (NLCT)]
+\ProvidesPackage{jmlrutils}[2020/03/26 v1.27 (NLCT)]
 \newif\ifjmlrutilsmaths
 \jmlrutilsmathstrue
 \DeclareOption{maths}{\jmlrutilsmathstrue}
@@ -216,12 +216,24 @@
   \newcommand*{\@p@subfigure}[1]{%
     \protect\@subfigurelabel{\thefigure}{\thesubfigure}%
   }
-  \newcommand*\@subfigurelabel[2]{#1\subfigurelabel{#2}}
-  \newcommand*\@subfigref[1]{%
-    {%
-      \def\@subfigurelabel##1##2{\subfigurelabel{##2}}%
-      \ref{#1}%
-    }%
+  \@ifl@t@r\fmtversion{2019/08/22}%
+  {
+    \newcommand*\@subfigurelabel[3]{#1\subfigurelabel{#2}}
+    \newcommand*\@subfigref[1]{%
+      {%
+        \def\@subfigurelabel##1##2##3{\subfigurelabel{##2}}%
+        \ref{#1}%
+      }%
+    }
+  }%
+  {
+    \newcommand*\@subfigurelabel[2]{#1\subfigurelabel{#2}}
+    \newcommand*\@subfigref[1]{%
+      {%
+        \def\@subfigurelabel##1##2{\subfigurelabel{##2}}%
+        \ref{#1}%
+      }%
+    }
   }
   \newcommand*{\subfigref}[1]{%
     \let\@objectname\@empty
@@ -280,13 +292,25 @@
   \newcommand*{\@p@subtable}[1]{%
     \protect\@subtablelabel{\thetable}{\thesubtable}%
   }
-  \newcommand*\@subtablelabel[2]{#1\subtablelabel{#2}}
-  \newcommand*\@subtabref[1]{%
-    {%
-      \def\@subtablelabel##1##2{\subtablelabel{##2}}%
-      \ref{#1}%
-    }%
-  }
+  \@ifl@t@r\fmtversion{2019/08/22}%
+  {
+    \newcommand*\@subtablelabel[3]{#1\subtablelabel{#2}}
+    \newcommand*\@subtabref[1]{%
+      {%
+        \def\@subtablelabel##1##2##3{\subtablelabel{##2}}%
+        \ref{#1}%
+      }%
+    }
+  }%
+  {
+    \newcommand*\@subtablelabel[2]{#1\subtablelabel{#2}}
+    \newcommand*\@subtabref[1]{%
+      {%
+        \def\@subtablelabel##1##2{\subtablelabel{##2}}%
+        \ref{#1}%
+      }%
+    }
+  }%
   \newcommand*{\subtabref}[1]{%
     \let\@objectname\@empty
     \def\@objectref{}%
-- 
cgit v1.2.3

