summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-25 22:31:43 +0000
committerKarl Berry <karl@freefriends.org>2011-03-25 22:31:43 +0000
commitcfed44562985f2f168a5b2f6df46bcaec533d7e9 (patch)
tree30f24d025629d6b15af090531a16ba7df8576a4f /Master/texmf-dist/tex/latex/jmlr/jmlr.cls
parent3923279f3c33488793532b77f5881847f1ebfb7d (diff)
jmlr 1.11 (24mar11)
git-svn-id: svn://tug.org/texlive/trunk@21830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlr.cls')
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlr.cls33
1 files changed, 30 insertions, 3 deletions
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