texlive[56395] Master/texmf-dist: jmlr (21sep20)

commits+karl at tug.org commits+karl at tug.org
Mon Sep 21 23:06:09 CEST 2020


Revision: 56395
          http://tug.org/svn/texlive?view=revision&revision=56395
Author:   karl
Date:     2020-09-21 23:06:09 +0200 (Mon, 21 Sep 2020)
Log Message:
-----------
jmlr (21sep20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES
    trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL
    trunk/Master/texmf-dist/doc/latex/jmlr/README
    trunk/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
    trunk/Master/texmf-dist/scripts/jmlr/makejmlrbook
    trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
    trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,3 +1,15 @@
+v1.28 (2020-09-21):
+
+  * jmlr.cls:
+
+   Bug fixes: 
+
+    - fixed twoside option (which should be the default)
+
+    - \thanks now uses mpfootnote instead of footnote counter
+      with matching \footnotemark and \footnotetext optional
+      arguments.
+
 v1.27 (2020-03-26):
 
   * jmlrutils.sty:

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,5 +1,9 @@
 INSTALLATION
 
+*Installation is best performed using your TeX package manager.*
+These are instructions for manual installation if for some reason a
+package manager can't be used.
+
 If you have downloaded the jmlr bundle using the TeX Directory
 Structure (TDS), that is you have downloaded the archive
 jmlr.tds.zip containing doc, tex and source directories, you need to
@@ -13,10 +17,6 @@
 You need to follow the "Installing from DTX and INS" instructions
 below.
 
-For further information on installing LaTeX packages see:
-
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=installthings
-
 INSTALLING FROM TDS
 ===================
 

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/README	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/README	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,4 +1,4 @@
-LaTeX Class : jmlr bundle v1.27 (2020-03-26)
+LaTeX Class : jmlr bundle v1.28 (2020-09-21)
 
 Author      : Nicola L. C. Talbot
               dickimaw-books.com/contact
@@ -15,9 +15,9 @@
 
 This bundle provides:
 
-   * jmlr class
-   * jmlrbook class
-   * jmlrutils package
+   * jmlr class (article authors)
+   * jmlrutils package (supplementary package automatically loaded by jmlr.cls)
+   * jmlrbook class (for production editors)
 
 The jmlr class is a LaTeX class for articles for the Journal of
 Machine Learning Research (JMLR) or the Proceedings of Machine
@@ -37,11 +37,20 @@
 makejmlrbookgui application
 (http://www.dickimaw-books.com/software/makejmlrbookgui/) to
 generate the proceedings. The makejmlrbook Perl script is deprecated
-and may be removed in future releases.
+and will be removed in future releases.
 
+** 
+ jmlrbook.cls is quite fragile as it has to patch third party
+ internal code in order to make combine.cls work with hyperref.sty
+ There's no guarantee that it will work with newer versions of
+ combine.cls or hyperref.sty or new LaTeX kernel releases.
+**
+
 INSTALLATION
 
-See INSTALL file for installation instructions.
+Installation is best performed using your TeX package manager.
+See INSTALL file for manual installation instructions if you are unable to
+use the package manager.
 
 REQUIREMENTS
 
@@ -67,7 +76,7 @@
   xkeyval
   combnat
   setspace
-  fink
+  currfile or fink
 
 RELATED SOFTWARE:
 

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,8 +1,8 @@
  % use the "wcp" class option for workshop and conference
  % proceedings
  %\documentclass[gray]{jmlr} % test grayscale version
- %\documentclass[tablecaption=bottom]{jmlr}% journal article
- \documentclass[tablecaption=bottom,wcp]{jmlr} % W&CP article
+ \documentclass[tablecaption=bottom]{jmlr}% journal article
+ %\documentclass[tablecaption=bottom,wcp]{jmlr} % W&CP article
 
  % The following packages will be automatically loaded:
  % amsmath, amssymb, natbib, graphicx, url, algorithm2e
@@ -120,10 +120,7 @@
 \textsf{epsfig}.\footnote{See
 \url{http://www.ctan.org/pkg/l2tabu}} Some packages that are known
 to cause problems for the production editing process are checked for
-by the \textsf{jmlr} class and will generate an error. (If you want
-to know more about the production editing process, have a look at
-the video tutorials for the production editors at
-\url{http://www.dickimaw-books.com/software/makejmlrbookgui/videos/}.)
+by the \textsf{jmlr} class and will generate an error.
 
 Please also ensure that your document will compile with PDF\LaTeX.
 If you have an error message that's puzzling you, first check for it
@@ -132,8 +129,8 @@
 that doesn't help, create a minimal working example (see
 \url{https://www.dickimaw-books.com/latex/minexample/}) and post
 to somewhere like \TeX\ on StackExchange
-(\url{http://tex.stackexchange.com/}) or the \LaTeX\ Community Forum
-(\url{http://www.latex-community.org/forum/}).
+(\url{https://tex.stackexchange.com/}) or the \LaTeX\ Community Forum
+(\url{https://latex.org/forum/}).
 
 \begin{note}
 This is an numbered theorem-like environment that was defined in

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex	2020-09-21 21:06:09 UTC (rev 56395)
@@ -106,8 +106,8 @@
 that doesn't help, create a minimal working example (see
 \url{https://www.dickimaw-books.com/latex/minexample}) and post
 to somewhere like TeX on StackExchange
-(\url{http://tex.stackexchange.com/}) or the LaTeX Community Forum
-(\url{http://www.latex-community.org/forum/}).
+(\url{https://tex.stackexchange.com/}) or the LaTeX Community Forum
+(\url{https://latex.org/forum/}).
 
 \begin{note}
 This is an numbered theorem-like environment that was defined in

Modified: trunk/Master/texmf-dist/scripts/jmlr/makejmlrbook
===================================================================
--- trunk/Master/texmf-dist/scripts/jmlr/makejmlrbook	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/scripts/jmlr/makejmlrbook	2020-09-21 21:06:09 UTC (rev 56395)
@@ -2,17 +2,23 @@
 # File          : makejmlrbook
 # Author        : Nicola L C Talbot
 # Date          : 22nd March 2010
-# Last Modified : 30 May 2012
-# Version       : 0.32
+# Last Modified : 21st September 2020
+# Version       : 0.33
 # Description   : Given the name of a document using the
 #                 jmlrbook class file, this script runs
 #                 pdflatex (and possibly bibtex) on the
 #                 imported articles and the main document.
-# http://theoval.cmp.uea.ac.uk/~nlct/
+# http://www.dickimaw-books.com/
 #
 # This file is distributed as part of the jmlr LaTeX bundle.
 #
-# Copyright (c) 2006 Nicola L.C. Talbot
+# *****
+# This script is now obsolete and will be removed in later
+# distributions. Use MakeJmlrBookGUI instead:
+# https://www.dickimaw-books.com/software/makejmlrbookgui
+# *****
+#
+# Copyright (c) 2006-2020 Nicola L.C. Talbot
 # This work may be distributed and/or modified under the
 # conditions of the LaTeX Project Public License, either version 1.3
 # of this license or any later version.
@@ -31,7 +37,7 @@
 use Cwd;
 use strict;
 
-my $version = "0.32 (2012-05-28)";
+my $version = "0.33 (2020-09-21)";
 
 my $eol = "\n";
 my $dd  = '/';
@@ -60,6 +66,15 @@
 # without executing them)
 my $execute          = 1; # v0.31 added
 
+my $appname = basename($0);
+
+warn <<__END_OBSOLETE_WARN;
+Warning: $appname is now obsolete and will be removed in later
+distributions. Use MakeJmlrBookGUI instead:
+https://www.dickimaw-books.com/software/makejmlrbookgui
+
+__END_OBSOLETE_WARN
+
 unless(&GetOptions(
    "online!"          => \$online,
    "print!"           => \$print,
@@ -80,8 +95,6 @@
    die "Use --help for help\n";
 }
 
-my $appname = basename($0);
-
 if ($showhelp)
 {
   die "$appname version $version Copyright (c) 2010 Nicola L C Talbot\n",
@@ -179,7 +192,7 @@
    my $pages = $pagerefs{$label}->{'start'}.'--'
              . $pagerefs{$label}->{'end'};
 
-   $import->{'author'}=~s/\\articlepagesref\s*{$label}/$pages/;
+   $import->{'author'}=~s/\\articlepagesref\s*\{$label\}/$pages/;
 }
 
 if ($html)
@@ -390,7 +403,7 @@
             # This doesn't handle complicated cases, such as
             # the author using \abstract ... \endabstract
             # or commenting out the abstract with conditionals
-            if (/^([^%]*)\\end{abstract}/)
+            if (/^([^%]*)\\end\{abstract\}/)
             {
                $text .= $&;
                last;
@@ -435,7 +448,7 @@
          # v0.31 modified \footnote to set the footnote text as in-line
          # parenthesis.
 
-         $text=~s/^([^%\n\r\f]*)\\begin{document}/
+         $text=~s/^([^%\n\r\f]*)\\begin\{document\}/
                  $prebegindoc$&$begindoc
                  \\HCode{<div id="content">}
                  \\renewcommand{\\footnote}[2][]{ (\#2)}%$eol
@@ -585,7 +598,7 @@
          s/^([^%]*)\\documentclass\s*/$&\[html\]/;
       }
 
-      s/^([^%]*)\\begin{document}/
+      s/^([^%]*)\\begin\{document\}/
         \\hypersetup{draft}$eol$&\\HCode{<div id="content">}/x;
 
       if (/^([^%]*)\\maketitle/)
@@ -601,7 +614,7 @@
 
    # Find the book logo
    if ($preamble
-     =~/\\logo\s*(?:\[[^\]]*\])?\s*{(%\s*\n)?\\includegraphics\s*(\[[^\]]*\])?{([^}]*)}}/m)
+     =~/\\logo\s*(?:\[[^\]]*\])?\s*\{(%\s*\n)?\\includegraphics\s*(\[[^\]]*\])?\{([^}]*)\}\}/m)
    {
       my $texpath = $3;
       my $orgtexpath = $texpath;
@@ -644,13 +657,13 @@
       if ($logourl)
       {
          $preamble=~s/
-                  \\includegraphics(\[[^\]]*\])?{$orgtexpath}/
+                  \\includegraphics(\[[^\]]*\])?\{$orgtexpath\}/
                   \\href{$logourl}{\\includegraphics${1}{$img$ext}}/mgx;
       }
       else
       {
          $preamble=~s/
-                  \\includegraphics(\[[^\]]*\])?{$orgtexpath}/
+                  \\includegraphics(\[[^\]]*\])?\{$orgtexpath\}/
                   \\includegraphics${1}{$img$ext}/mgx;
       }
    }
@@ -697,17 +710,17 @@
 
    while (<TOC>)
    {
-      if (/^\\tocpart\s*{(.*)}\s*$/)
+      if (/^\\tocpart\s*\{(.*)\}\s*$/)
       {
          print OUTFD "\\begin{center}\\bfseries $1\\end{center}$eol";
       }
-      elsif (/\\contentsline\s*{papertitle}{(.*)}{[^{}]*}{[^{}]*}\s*$/)
+      elsif (/\\contentsline\s*\{papertitle\}\{(.*)\}\{[^{}]*\}\{[^{}]*\}\s*$/)
       {
          # v0.3 Changed by Olivier Chapelle to use description
          # environment instead of paragraph break
          print OUTFD "\\begin{description}\\item[\\normalfont $1]$eol";
       }
-      elsif (/\\contentsline\s*{chapterauthor}{(.*)}{[^{}]*}{[^{}]*}\s*$/)
+      elsif (/\\contentsline\s*\{chapterauthor\}\{(.*)\}\{[^{}]*\}\{[^{}]*\}\s*$/)
       {
          my $details = $1;
          $details=~s/([^;]*);/\\textbf{\\emph{$1};}/;
@@ -716,7 +729,7 @@
          my $pages = $pagerefs{$label}->{'start'}.'--'
                    . $pagerefs{$label}->{'end'};
 
-         $details=~s/\\articlepagesref\s*{$label}/$pages/;
+         $details=~s/\\articlepagesref\s*\{$label\}/$pages/;
 
          # v0.3 Changed by Olivier Chapelle to use newline instead of par
          print OUTFD "$details\\newline$eol";
@@ -1110,7 +1123,7 @@
       {
          $main_bibdata = 1;
       }
-      elsif (/\\\@jmlr\@import{(.*)}{(.*)}{(.*)}/)
+      elsif (/\\\@jmlr\@import\{(.*)\}\{(.*)\}\{(.*)\}/)
       {
          my $import = 
            {
@@ -1123,18 +1136,18 @@
 
          push @imports, $import;
       }
-      elsif (/\\contentsline\s*{chapterauthor}{(.*)}{}{}}\s*$/
+      elsif (/\\contentsline\s*\{chapterauthor\}\{(.*)\}\{\}\{\}}\s*$/
         and $#imports > -1)
       {
          $imports[$#imports]->{'author'} = $1;
       }
-      elsif (/^\\newlabel\s*{([^}]*)jmlrstart}{{([^}]*)}{([^}]*)}/)
+      elsif (/^\\newlabel\s*\{([^\}]*)jmlrstart\}\{\{([^\}]*)\}\{([^\}]*)\}/)
       {
          my $label = $1;
       
          $pagerefs{$label}->{'start'} = $3;
       }
-      elsif (/^\\newlabel\s*{([^}]*)jmlrend}{{([^}]*)}{([^}]*)}/)
+      elsif (/^\\newlabel\s*\{([^\}]*)jmlrend\}\{\{([^\}]*)\}\{([^\}]*)\}/)
       {
          my $label = $1;
 
@@ -1142,21 +1155,21 @@
       }
       elsif ($extractpreface) # v0.3 new
       {
-         if (/^\\\@prefacestart{([^}]*)}{(\d*)}/)
+         if (/^\\\@prefacestart\{([^\}]*)\}\{(\d*)\}/)
          {
             $preface_data->{'Start'} = $1;
             $preface_data->{'StartArabic'} = $2;
          }
-         elsif (/^\\\@prefaceend{([^}]*)}/)
+         elsif (/^\\\@prefaceend\{([^\}]*)\}/)
          {
             $preface_data->{'End'} = $1;
          }
-         elsif (/^\\\@prefacefile{([^}]*)}{([^}]*)}/)
+         elsif (/^\\\@prefacefile\{([^\}]*)\}\{([^\}]*)\}/)
          {
             $preface_data->{'File'}    = $1;
             $preface_data->{'OutFile'} = $2;
          }
-         elsif (/^\\\@prefaceeditor{(.*)}/)
+         elsif (/^\\\@prefaceeditor\{(.*)\}/)
          {
             my $name = $1;
             $name=~s/\\\\.*//;
@@ -1280,7 +1293,7 @@
       # This is fairly primitive and works best when the begin
       # and end of the environment are on their own line.
 
-      if (/\\begin{preface}/)
+      if (/\\begin\{preface\}/)
       {
          print PREFOUT;
          $scanning = 1;
@@ -1289,7 +1302,7 @@
       {
          print PREFOUT;
 
-         last if /\\end{preface}/;
+         last if /\\end\{preface\}/;
       }
    }
 

Modified: trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,14 +1,14 @@
 %\iffalse
 % jmlr.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
+%   -section "chapter"
 %   -doc "jmlr-manual.tex"
 %   -author "Nicola Talbot"
-%   -section "chapter"
 %   -src "jmlrutils.sty\Z=>jmlrutils.sty"
 %   -src "jmlr.cls\Z=>jmlr.cls"
 %   -src "jmlrbook.cls\Z=>jmlrbook.cls"
 %   jmlr
-% Created on 2020/3/26 11:30
+% Created on 2020/9/21 16:27
 %\fi
 %\iffalse
 %<*package>
@@ -52,7 +52,7 @@
 
 \doxitem{Option}{option}{package options}
 
-\CheckSum{5259}
+\CheckSum{5265}
 
 \newcommand*{\appopt}[1]{\texttt{-{}-#1}}
 
@@ -70,7 +70,7 @@
 % \author{Nicola L. C. Talbot\\[10pt]
 %\url{http://www.dickimaw-books.com/}}
 %
-% \date{2020-03-26 (version 1.27)}
+% \date{2020-09-21 (version 1.28)}
 % \maketitle
 %\tableofcontents
 %
@@ -142,14 +142,15 @@
 %\href{http://www.dickimaw-books.com/software/makejmlrbookgui/manual/troubleshooting.html}{troubleshooting
 %section}.
 %
-%There is also a Perl script called \app{makejmlrbook}, which is
-%distributed with the \clsfmt{jmlr} and \clsfmt{jmlrbook} bundle,
-%however it is now deprecated and has been superseded by
+%The Perl script \app{makejmlrbook} is now deprecated and will be
+%removed in future releases.  It has been superseded by
 %\app{makejmlrbookgui}. Note that PMLR (formerly JMLR W\&CP) has new
 %format guidelines that are followed by new versions of
 %\app{makejmlrbookgui} but not by the Perl script \app{makejmlrbook},
-%so that script is no longer documented or supported and may be
-%dropped from future versions of this bundle.
+%so that script is no longer documented or supported.
+%The PMLR submission requirements for production editors are now much simpler
+%and can be followed without the assistance of \cls{jmlrbook} or 
+%\app{makejmlrbookgui}.
 %
 %\section{Required Packages}
 %
@@ -1152,8 +1153,8 @@
 %\href{http://www.dickimaw-books.com/latex/novices}{\LaTeX\ for Complete Novices}.
 %
 %There are also forums, mailing lists and newsgroups. For example,
-%\TeX\ on StackExchange (\url{http://tex.stackexchange.com/}),
-%the \LaTeX\ Community (\url{http://www.latex-community.org/}),
+%\TeX\ on StackExchange (\url{https://tex.stackexchange.com/}),
+%the \LaTeX\ Community (\url{https://latex.org/forum/}),
 %the \texttt{texhax} mailing list 
 %(\url{http://tug.org/mailman/listinfo/texhax}) and
 %\texttt{comp.text.tex} (archives available at
@@ -1753,7 +1754,7 @@
 %Non-class dependent code. This package is automatically loaded by
 %\cls{jmlr} but may be used with other classes.
 %    \begin{macrocode}
-\ProvidesPackage{jmlrutils}[2020/03/26 v1.27 (NLCT)]
+\ProvidesPackage{jmlrutils}[2020/09/21 v1.28 (NLCT)]
 %    \end{macrocode}
 % Package options:
 %\begin{macro}{\ifjmlrutilsmaths}
@@ -2753,7 +2754,7 @@
 % Declare class and required TeX format:
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/03/26 v1.27 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
 %    \end{macrocode}
 %\changes{1.10}{2011-01-05}{hyperref now loaded by jmlr instead of
 %jmlrbook}
@@ -2976,6 +2977,13 @@
 %    \begin{macrocode}
 \ProcessOptionsX
 %    \end{macrocode}
+% If two-sided, pass that to \cls{article} as well:
+%\changes{1.28}{2020-09-21}{pass twoside to article.cls}
+%    \begin{macrocode}
+\if at twoside
+ \PassOptionsToClass{twoside}{article}
+\fi
+%    \end{macrocode}
 % Load \cls{article} class.
 %\changes{1.10}{2011-01-05}{passed \cs{pt at size} when loading article
 %class}
@@ -3197,11 +3205,13 @@
 %\changes{1.10}{2011-01-05}{Modified definition of \cs{thanks}}
 %Added optional argument to \cs{footnotetext} as per 
 %\url{http://tex.stackexchange.com/questions/229295}.
+%\changes{1.28}{2020-09-21}{switched to using mpfootnote to avoid clashing
+%with document footnotes}
 %    \begin{macrocode}
 \renewcommand*{\thanks}[1]{%
-  \footnotemark
-  \protected at xdef\@thanks{\@thanks 
-    \protect\footnotetext[\arabic{footnote}]{#1}}%
+  \refstepcounter{mpfootnote}%
+  \footnotemark[\number\value{mpfootnote}]%
+  \xappto\@thanks{\noexpand\footnotetext[\number\value{mpfootnote}]{#1}}%
 }
 %    \end{macrocode}
 %\end{macro}
@@ -4879,7 +4889,7 @@
 %    \end{macrocode}
 % Declare class:
 %    \begin{macrocode}
-\ProvidesClass{jmlrbook}[2020/03/26 v1.27 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
 %    \end{macrocode}
 % Need \sty{xkeyval} package to have key=value class options
 %    \begin{macrocode}
@@ -5057,14 +5067,16 @@
 %    \end{macrocode}
 %\begin{option}{oneside}
 %\changes{1.22}{2015/04/11}{new}
+%\changes{1.28}{2020-09-21}{pass option to jmlr.cls}
 %    \begin{macrocode}
-\DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOptionX{oneside}{\PassOptionsToClass{\CurrentOption}{jmlr}}
 %    \end{macrocode}
 %\end{option}
 %\begin{option}{twoside}
 %\changes{1.22}{2015/04/11}{new}
+%\changes{1.28}{2020-09-21}{pass option to jmlr.cls}
 %    \begin{macrocode}
-\DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue}
+\DeclareOptionX{twoside}{\PassOptionsToClass{\CurrentOption}{jmlr}}
 %    \end{macrocode}
 %\end{option}
 %

Modified: trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins	2020-09-21 21:06:09 UTC (rev 56395)
@@ -1,4 +1,4 @@
-% jmlr.ins generated using makedtx version 1.2 2020/3/26 11:30
+% jmlr.ins generated using makedtx version 1.2 2020/9/21 16:27
 \input docstrip
 
 \preamble

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls	2020-09-21 21:06:09 UTC (rev 56395)
@@ -41,7 +41,7 @@
 %% First editor:
 %% Second editor:
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/03/26 v1.27 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
 \RequirePackage{xkeyval}
 \RequirePackage{calc}
 \RequirePackage{etoolbox}
@@ -117,6 +117,9 @@
 \DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{article}}
 \ExecuteOptions{letterpaper}
 \ProcessOptionsX
+\if at twoside
+ \PassOptionsToClass{twoside}{article}
+\fi
 \LoadClass[\pt at size]{article}
 \ifviiXx
   \setlength{\paperwidth}{7in}
@@ -214,9 +217,9 @@
 }
 \newcommand*{\footnoteseptext}{. }
 \renewcommand*{\thanks}[1]{%
-  \footnotemark
-  \protected at xdef\@thanks{\@thanks
-    \protect\footnotetext[\arabic{footnote}]{#1}}%
+  \refstepcounter{mpfootnote}%
+  \footnotemark[\number\value{mpfootnote}]%
+  \xappto\@thanks{\noexpand\footnotetext[\number\value{mpfootnote}]{#1}}%
 }
 \ifjmlrhtml
   \renewenvironment{abstract}{\HCode{<h3>}Abstract\HCode{</h3>}}{}%

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls	2020-09-21 21:06:09 UTC (rev 56395)
@@ -41,7 +41,7 @@
 %% First editor:
 %% Second editor:
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlrbook}[2020/03/26 v1.27 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
 \RequirePackage{xkeyval}
 \RequirePackage{setspace}
 \newcommand*\jmlrprefacepath{}
@@ -93,8 +93,8 @@
 \DeclareOptionX{11pt}{\PassOptionsToClass{\CurrentOption}{jmlr}}
 \DeclareOptionX{12pt}{\PassOptionsToClass{\CurrentOption}{jmlr}}
 \@twosidetrue
-\DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse}
-\DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue}
+\DeclareOptionX{oneside}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{twoside}{\PassOptionsToClass{\CurrentOption}{jmlr}}
 \define at boolkey{jmlrbook.cls}[jmlr]{pdfxa}[true]{}
 \jmlrpdfxafalse
 \ProcessOptionsX

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty	2020-09-21 21:05:48 UTC (rev 56394)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty	2020-09-21 21:06:09 UTC (rev 56395)
@@ -40,7 +40,7 @@
 %%   Right brace   \}     Tilde         \~}
 %% First editor:
 %% Second editor:
-\ProvidesPackage{jmlrutils}[2020/03/26 v1.27 (NLCT)]
+\ProvidesPackage{jmlrutils}[2020/09/21 v1.28 (NLCT)]
 \newif\ifjmlrutilsmaths
 \jmlrutilsmathstrue
 \DeclareOption{maths}{\jmlrutilsmathstrue}



More information about the tex-live-commits mailing list.