From c4817efca9e197163ea521e2d114433812a9dcc8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 1 Jun 2012 00:23:04 +0000 Subject: jmlr 1.17 (30may12) git-svn-id: svn://tug.org/texlive/trunk@26759 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/jmlr/jmlr.cls | 48 ++++++++++++++++++++++----- Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls | 46 +++++++++++++++++++++---- 2 files changed, 79 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex/latex/jmlr') diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls index 9ad9c278933..23e01c425f0 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}[2012/05/16 v1.16 (NLCT) Journal of Machine Learning Research] +\ProvidesClass{jmlr}[2012/05/30 v1.17 (NLCT) Journal of Machine Learning Research] \RequirePackage{xkeyval} \providecommand*{\jmlrprehyperref}{} \newif\if@openright @@ -215,6 +215,7 @@ Keywords:} \ignorespaces}% \setlength\interauthorskip{0.08in plus 0.1in minus 0.1in} \setlength\aftermaketitskip{0.3in plus 0.1in minus 0.1in} \newcommand*{\titlebreak}{\newline} +\newcommand*{\titletag}[1]{} \renewcommand*{\title}[2][\@title]{% \def\@shorttitle{#1}% \def\@title{#2}% @@ -418,7 +419,12 @@ Keywords:} \ignorespaces}% } \def\@jmlrmaketitle{\vbox{\hsize\textwidth \linewidth\hsize - \jmlrpretitle \@title \jmlrposttitle + \jmlrpretitle + {% + \def\titletag##1{##1}% + \@title + }% + \jmlrposttitle \jmlrpreauthor \@author \jmlrpostauthor }} \newcommand*\kernelmachines{(for @@ -500,19 +506,19 @@ Keywords:} \ignorespaces}% \def\@evenfoot{\hfill \small\rmfamily \thepage \hfill}% }% \pagestyle{jmlrps} -\let\@jmlrvolume\@empty +\providecommand*{\@jmlrvolume}{} \newcommand*{\jmlrvolume}[1]{\renewcommand*{\@jmlrvolume}{#1}} -\let\@jmlrissue\@empty +\providecommand*{\@jmlrissue}{} \newcommand*{\jmlrissue}[1]{\renewcommand*{\@jmlrissue}{#1}} -\let\@jmlryear\@empty +\providecommand*{\@jmlryear}{} \newcommand*{\jmlryear}[1]{\renewcommand*{\@jmlryear}{#1}} -\newcommand*\@jmlrpages{\pageref{jmlrstart}--\pageref{jmlrend}} +\providecommand*\@jmlrpages{\pageref{jmlrstart}--\pageref{jmlrend}} \newcommand*{\jmlrpages}[1]{\renewcommand*{\@jmlrpages}{#1}} -\let\@jmlrsubmitted\@empty +\providecommand*\@jmlrsubmitted{} \newcommand*{\jmlrsubmitted}[1]{\renewcommand*{\@jmlrsubmitted}{#1}} -\let\@jmlrpublished\@empty +\providecommand*\@jmlrpublished{} \newcommand*{\jmlrpublished}[1]{\renewcommand*{\@jmlrpublished}{#1}} -\let\@jmlrworkshop\@empty +\providecommand*\@jmlrworkshop{} \newcommand*{\jmlrworkshop}[1]{\renewcommand*{\@jmlrworkshop}{#1}} \newcommand*{\@jmlrauthors}{} \newcommand*{\@jmlr@authors}{\@jmlrauthors} @@ -1104,6 +1110,7 @@ Keywords:} \ignorespaces}% \setcounter{section}{0}% \gdef\@chapapp{\appendixname}% \gdef\thechapter{\@Alph\c@chapter}% + \def\@write@jmlr@import{\@@write@jmlr@apdimport}% \csname appendixmore\endcsname } \newcommand*{\jmlrbookcommands}{% @@ -1157,6 +1164,29 @@ Keywords:} \ignorespaces}% \newcommand*{\jmlrSuppressPackageChecks}{% \let\@jmlr@check@packages\relax } +\DeclareRobustCommand*{\obsoletefontcs}[1]{% + \ClassWarning{jmlr}{Obsolete command + \expandafter\string\csname#1\endcsname\space detected.}% + \csname #1 \endcsname +} +\renewcommand*{\bf}{% + \obsoletefontcs{bf}% +} +\renewcommand*{\it}{% + \obsoletefontcs{it}% +} +\renewcommand*{\sc}{% + \obsoletefontcs{sc}% +} +\renewcommand*{\rm}{% + \obsoletefontcs{rm}% +} +\renewcommand*{\sf}{% + \obsoletefontcs{sf}% +} +\renewcommand*{\tt}{% + \obsoletefontcs{tt}% +} \endinput %% %% End of file `jmlr.cls'. diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls index 9ac00e3bd4f..3b0f9441aae 100644 --- a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls +++ b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls @@ -41,7 +41,7 @@ %% First editor: %% Second editor: \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{jmlrbook}[2012/05/16 v1.16 (NLCT) JMLR Book Style] +\ProvidesClass{jmlrbook}[2012/05/30 v1.17 (NLCT) JMLR Book Style] \RequirePackage{xkeyval} \RequirePackage{setspace} \RequirePackage{fink} @@ -358,7 +358,18 @@ \renewcommand*{\@productioneditorname}{Production Editors}% } \newcommand*{\@logo}{} -\newcommand*{\logo}[1]{\renewcommand*{\@logo}{#1}} +\newcommand*{\logo}[2][]{% +\ifjmlrhtml + \def\@logo@tmp{#1}% + \ifx\@logo@tmp\@empty + \renewcommand*{\@logo}{#2}% + \else + \renewcommand*{\@logo}{\HCode{}#2\HCode{}}% + \fi +\else + \renewcommand*{\@logo}{#2}% +\fi +} \def\c@lbmaketitle{\jmlrmaketitle} \newcommand*{\maintitle}{} \newcommand*{\SetTitleElement}[3]{% @@ -392,10 +403,15 @@ \HCode{}% \HCode{

}% \@title\newline - \ifx\@volume\@empty + \ifx\@jmlrvolume\@empty + \ifx\@volume\@empty + \else + Volume \@volume + \ifx\@subtitle\@empty\else: \fi + \fi \else - Volume \@volume - \ifx\@subtitle\@empty\else: \fi + Volume \@jmlrvolume + \ifx\@subtitle\@empty\else: \fi \fi \@subtitle \HCode{

}% @@ -657,10 +673,15 @@ \expandafter\gdef\csname @jmlr@author@#1\endcsname{% \hyperref[#1jmlrstart]{#2}}% } -\newcommand*{\@write@jmlr@import}[3]{% +\newcommand*{\@@write@jmlr@import}[3]{% \protected@write\@mainauxout{}{\string\@jmlr@import{#1}{#2}{#3}}% } \newcommand*{\@jmlr@import}[3]{} +\newcommand*{\@@write@jmlr@apdimport}[3]{% + \protected@write\@mainauxout{}{\string\@jmlr@apdimport{#1}{#2}{#3}}% +} +\newcommand*{\@jmlr@apdimport}[3]{} +\def\@write@jmlr@import{\@@write@jmlr@import} \def\jmlrpremaketitlehook{% \cleardoublepage \phantomsection @@ -778,6 +799,11 @@ not permitted outside `jmlrpapers' environment}{}% }% }% \def\Xprefix{#1}% + \let\jmlrvolume\@gobble + \let\jmlryear\@gobble + \let\jmlrworkshop\@gobble + \let\jmlrissue\@gobble + \let\jmlrpages\@gobble \jmlrimporthook \import{\@importdir\@importfile}% \def\Xprefix{}% @@ -830,6 +856,7 @@ not permitted outside `jmlrpapers' environment}{}% }% \def\Xprefix{#1}% \jmlrimporthook + \let\ps@jmlrtps\ps@articlet \import{\@importdir\@importfile}% \def\Xprefix{}% \egroup @@ -1024,6 +1051,13 @@ not permitted outside `jmlrpapers' environment}{}% \renewcommand*{\@oddfoot}{\footfont\hfill\thepage} \renewcommand*{\@evenfoot}{\footfont\thepage\hfill} } +\newcommand*{\ps@articlet}{% + \let\@mkboth\@gobbletwo + \renewcommand*{\@oddhead}{}% + \renewcommand*{\@evenhead}{}% + \renewcommand*{\@oddfoot}{\footfont\hfill\thepage} + \renewcommand*{\@evenfoot}{\footfont\thepage\hfill} +} \newcommand*{\ps@jmlrbook}{% \renewcommand*{\@oddfoot}{\footfont\hfill\thepage} \renewcommand*{\@evenfoot}{\footfont\thepage\hfill} -- cgit v1.2.3