From cfed44562985f2f168a5b2f6df46bcaec533d7e9 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 25 Mar 2011 22:31:43 +0000
Subject: jmlr 1.11 (24mar11)

git-svn-id: svn://tug.org/texlive/trunk@21830 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/jmlr/jmlr.cls | 33 ++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
index 0b627dc3405..cf016afd3db 100644
--- a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
@@ -41,7 +41,7 @@
 %% First editor:
 %% Second editor:
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2011/01/05 v1.10 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2011/03/24 v1.11 (NLCT) Journal of Machine Learning Research]
 \RequirePackage{xkeyval}
 \providecommand*{\jmlr@prehyperref}{}
 \define@key{jmlr.cls}{prehyperref}{%
@@ -86,7 +86,7 @@
   \jmlrproceedings{JMLR}{Journal of Machine Learning Research}%
 }
 \newcommand*{\jmlrwcp}{%
-  \jmlrproceedings{JMLR WC\&P}{JMLR: Workshop and Conference Proceedings}%
+  \jmlrproceedings{JMLR W\&CP}{JMLR: Workshop and Conference Proceedings}%
 }
 \DeclareOptionX{nowcp}{\jmlrnowcp}
 \DeclareOptionX{wcp}{\jmlrwcp}
@@ -355,6 +355,33 @@ Keywords:} \ignorespaces}%
   \def\nametag##1{##1}%
   \@name #1%
 }
+\newcommand*{\jmlrabbrnamelist}[1]{%
+  \def\nametag##1{}%
+  \def\@jmlr@authors@sep{, }%
+  \def\@jmlr@namelist{}%
+  \@for\@thisname:=#1\do{%
+    \expandafter\@jmlrabbrname\expandafter{\@thisname}%
+    \ifx\@jmlr@namelist\@empty
+       \protected@edef\@jmlr@namelist{%
+          \@initials\space\@surname
+       }%
+    \else
+       \protected@edef\@jmlr@namelist{%
+          \@jmlr@namelist
+          \noexpand\@jmlr@authors@sep
+          \@initials\space\@surname
+       }%
+    \fi
+  }%
+  \def\@jmlr@authors@sep{ \& }%
+  \@jmlr@namelist
+}
+\newcommand*{\@jmlrabbrname}[1]{%
+  \def\@initials{}%
+  \def\@surname{}%
+  \def\@forenames{}%
+  \@parsename#1 \@nil\end@parsename
+}
 \newcommand*{\Email}[1]{{\@email #1}}
 \def\jmlrpostauthor{\@endauthor\egroup
   \par
@@ -833,7 +860,7 @@ Keywords:} \ignorespaces}%
                     \@afterindentfalse
                     \secdef\@chapter\@schapter}
 \newcommand\artchapter{%
-  \ClassError{jmlrwcp}{Chapters not permitted in articles}{}}
+  \ClassError{jmlr}{Chapters not permitted in articles}{}}
 \let\chapter\artchapter
 \def\@chaptoclabel{chapter}
 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
-- 
cgit v1.2.3

