From beb1210c66bfa1edea4ff69a6baa148f1fa22db9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 Jan 2020 21:53:54 +0000 Subject: jmlr (17jan20) git-svn-id: svn://tug.org/texlive/trunk@53441 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/jmlr/jmlr.cls | 92 ++++++++++++++++++++++++-- Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls | 4 +- Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty | 7 +- 3 files changed, 94 insertions(+), 9 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 9dab2b8fe3e..10da8606a51 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 2017 Nicola Talbot +%% Copyright 2020 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}[2017/08/01 v1.24 (NLCT) Journal of Machine Learning Research] +\ProvidesClass{jmlr}[2020/01/17 v1.25 (NLCT) Journal of Machine Learning Research] \RequirePackage{xkeyval} \RequirePackage{calc} \RequirePackage{etoolbox} @@ -588,11 +588,10 @@ Keywords:} \ignorespaces}% \newcommand{\acks}[1]{\section*{Acknowledgments}#1} \newcommand{\researchnote}[1]{\noindent {\LARGE\itshape Research Note} #1} \providecommand{\ifprint}[2]{\ifgrayscale#1\else#2\fi} -%% \begin{macrocode} \ifjmlrhtml \else \let\@org@Ginclude@graphics\Ginclude@graphics - \def\Ginclude@graphics#1{% + \def\@jmlr@old@Ginclude@graphics#1{% \begingroup \let\input@path\Ginput@path \ifprint{\filename@parse{#1-gray}}{\filename@parse{#1}}% @@ -628,6 +627,91 @@ Keywords:} \ignorespaces}% \csname Gin@rule@\Gin@ext\endcsname{\Gin@base\Gin@ext}}% \fi \endgroup} +\def\@jmlr@new@Ginclude@graphics#1{% + \ifx\detokenize\@undefined\else + \edef\Gin@extensions{\detokenize\expandafter{\Gin@extensions}}% + \fi + \begingroup + \let\input@path\Ginput@path + \ifprint{\set@curr@file{#1-gray}}{\set@curr@file{#1}}% + \expandafter\filename@parse\expandafter{\@curr@file}% + \ifx\filename@ext\Gin@gzext + \expandafter\filename@parse\expandafter{\filename@base}% + \ifx\filename@ext\relax + \let\filename@ext\Gin@gzext + \else + \edef\Gin@ext{\Gin@ext\Gin@sepdefault\Gin@gzext}% + \fi + \fi + \let\@jmlr@filename@ext\filename@ext + \ifx\filename@ext\relax + \@for\Gin@temp:=\Gin@extensions\do{% + \ifx\Gin@ext\relax + \Gin@getbase\Gin@temp + \fi}% + \ifprint + {\ifx\Gin@ext\relax + \set@curr@file{#1}% + \expandafter\filename@parse\expandafter{\@curr@file}% + \ifx\filename@ext\Gin@gzext + \expandafter\filename@parse\expandafter{\filename@base}% + \ifx\filename@ext\relax + \let\filename@ext\Gin@gzext + \else + \edef\Gin@ext{\Gin@ext\Gin@sepdefault\Gin@gzext}% + \fi + \fi + \let\@jmlr@filename@ext\filename@ext + \ifx\filename@ext\relax + \@for\Gin@temp:=\Gin@extensions\do{% + \ifx\Gin@ext\relax + \Gin@getbase\Gin@temp + \fi}% + \fi + \fi}{}% + \fi + \ifx\@jmlr@filename@ext\relax + \else + \Gin@getbase{\Gin@sepdefault\filename@ext}% + \ifx\Gin@ext\relax + \let\Gin@savedbase\filename@base + \let\Gin@savedext\filename@ext + \edef\filename@base{\filename@base\Gin@sepdefault\filename@ext}% + \let\filename@ext\relax + \@for\Gin@temp:=\Gin@extensions\do{% + \ifx\Gin@ext\relax + \Gin@getbase\Gin@temp + \fi}% + \ifx\Gin@ext\relax + \let\filename@base\Gin@savedbase + \let\filename@ext\Gin@savedext + \fi + \fi + \ifx\Gin@ext\relax + \@warning{File `#1' not found}% + \def\Gin@base{\filename@area\filename@base}% + \edef\Gin@ext{\Gin@sepdefault\filename@ext}% + \fi + \fi + \ifx\Gin@ext\relax + \@latex@error{File `#1' not found}% + {I could not locate the file with any of these extensions:^^J% + \Gin@extensions^^J\@ehc}% + \else + \@ifundefined{Gin@rule@\Gin@ext}% + {\ifx\Gin@rule@*\@undefined + \@latex@error{Unknown graphics extension: \Gin@ext}\@ehc + \else + \expandafter\Gin@setfile\Gin@rule@*{\Gin@base\Gin@ext}% + \fi}% + {\expandafter\expandafter\expandafter\Gin@setfile + \csname Gin@rule@\Gin@ext\endcsname{\Gin@base\Gin@ext}}% + \fi + \endgroup +} + \@ifpackagelater{graphics}{2019/07/01} + {\let\Ginclude@graphics\@jmlr@new@Ginclude@graphics}% + {\let\Ginclude@graphics\@jmlr@old@Ginclude@graphics}% \fi \newcommand{\artappendix}{\par \setcounter{section}{0} diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls index 71423d3b34a..7f206ba1fe8 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 2017 Nicola Talbot +%% Copyright 2020 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}[2017/08/01 v1.24 (NLCT) JMLR Book Style] +\ProvidesClass{jmlrbook}[2020/01/17 v1.25 (NLCT) JMLR Book Style] \RequirePackage{xkeyval} \RequirePackage{setspace} \newcommand*\jmlrprefacepath{} diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty b/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty index 8c6d6209bf2..d3ff8c5898f 100644 --- a/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty +++ b/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty @@ -7,7 +7,7 @@ %% jmlr.dtx (with options: `jmlrutils.sty,package') %% %% jmlr.dtx -%% Copyright 2017 Nicola Talbot +%% Copyright 2020 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -40,7 +40,7 @@ %% Right brace \} Tilde \~} %% First editor: %% Second editor: -\ProvidesPackage{jmlrutils}[2017/08/01] +\ProvidesPackage{jmlrutils}[2020/01/17 v1.25 (NLCT)] \newif\ifjmlrutilsmaths \jmlrutilsmathstrue \DeclareOption{maths}{\jmlrutilsmathstrue} @@ -374,9 +374,10 @@ \newcommand{\jmlrBlackBox}{\rule{1.5ex}{1.5ex}} \providecommand{\BlackBox}{\jmlrBlackBox} \newcommand{\jmlrQED}{\hfill\jmlrBlackBox\par\bigskip} +\providecommand{\proofname}{Proof} \newenvironment{proof}% {% - \par\noindent{\bfseries\upshape Proof\ }% + \par\noindent{\bfseries\upshape \proofname\ }% }% {\jmlrQED} \newcommand*{\theorembodyfont}[1]{% -- cgit v1.2.3