From 3d0e09c82b0f65767a780e5a3c4175930de8a5bc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Mar 2017 22:20:56 +0000 Subject: jmlr (10mar17) git-svn-id: svn://tug.org/texlive/trunk@43458 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/jmlr/jmlr.cls | 14 ++++++++++---- Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls | 11 ++++++++--- 2 files changed, 18 insertions(+), 7 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 ed2197b367a..0576e3a24d3 100644 --- a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls +++ b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls @@ -7,7 +7,7 @@ %% jmlr.dtx (with options: `jmlr.cls,package') %% %% jmlr.dtx -%% Copyright 2015 Nicola Talbot +%% Copyright 2017 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -41,7 +41,7 @@ %% First editor: %% Second editor: \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{jmlr}[2015/02/24 v1.21 (NLCT) Journal of Machine Learning Research] +\ProvidesClass{jmlr}[2017/03/09 v1.23 (NLCT) Journal of Machine Learning Research] \RequirePackage{xkeyval} \RequirePackage{calc} \RequirePackage{etoolbox} @@ -90,14 +90,21 @@ \newcommand*{\jmlrwcp}{% \jmlrproceedings{JMLR W\&CP}{JMLR: Workshop and Conference Proceedings}% } +\newcommand*{\jmlrpmlr}{% + \jmlrproceedings{PMLR}{Proceedings of Machine Learning Research}% +} \DeclareOptionX{nowcp}{\jmlrnowcp} \DeclareOptionX{wcp}{\jmlrwcp} +\DeclareOptionX{pmlr}{\jmlrpmlr} +\DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue} +\@twosidetrue \newif\ifviiXx \viiXxfalse \DeclareOptionX{7x10}{\viiXxtrue} \DeclareOptionX{letterpaper}{\PassOptionsToPackage{letterpaper}{typearea}} \DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{article}} -\ExecuteOptions{twoside,letterpaper} +\ExecuteOptions{letterpaper} \ProcessOptionsX \LoadClass[\pt@size]{article} \ifviiXx @@ -147,7 +154,6 @@ \renewcommand{\textfraction}{0.05} % let figure take up nearly whole page \widowpenalty=10000\relax \clubpenalty=10000\relax -\@twosidetrue \@mparswitchtrue \bibliographystyle{plainnat} \bibpunct{(}{)}{;}{a}{,}{,} diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls index 932c1c41420..b74c1ab12ff 100644 --- a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls +++ b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls @@ -7,7 +7,7 @@ %% jmlr.dtx (with options: `jmlrbook.cls,package') %% %% jmlr.dtx -%% Copyright 2015 Nicola Talbot +%% Copyright 2017 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -41,7 +41,7 @@ %% First editor: %% Second editor: \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{jmlrbook}[2015/02/24 v1.21 (NLCT) JMLR Book Style] +\ProvidesClass{jmlrbook}[2017/03/09 v1.23 (NLCT) JMLR Book Style] \RequirePackage{xkeyval} \RequirePackage{setspace} \newcommand*\jmlrprefacepath{} @@ -81,6 +81,9 @@ \DeclareOptionX{wcp}{% \PassOptionsToClass{\CurrentOption}{jmlr}% } +\DeclareOptionX{pmlr}{% + \PassOptionsToClass{\CurrentOption}{jmlr}% +} \DeclareOptionX{nowcp}{% \PassOptionsToClass{\CurrentOption}{jmlr}% } @@ -89,6 +92,9 @@ \DeclareOptionX{10pt}{\PassOptionsToClass{\CurrentOption}{jmlr}} \DeclareOptionX{11pt}{\PassOptionsToClass{\CurrentOption}{jmlr}} \DeclareOptionX{12pt}{\PassOptionsToClass{\CurrentOption}{jmlr}} +\@twosidetrue +\DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue} \define@boolkey{jmlrbook.cls}[jmlr]{pdfxa}[true]{} \jmlrpdfxafalse \ProcessOptionsX @@ -289,7 +295,6 @@ \expandafter\NAT@split\NAT@temp?????@@% \expandafter\NAT@parse@date\NAT@date??????@@% \ifciteindex\NAT@index\fi} -\@twosidetrue \newif\if@openright \@openrighttrue \newif\if@mainmatter -- cgit v1.2.3