summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jmlr/jmlr.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/jmlr/jmlr.dtx')
-rw-r--r--macros/latex/contrib/jmlr/jmlr.dtx50
1 files changed, 31 insertions, 19 deletions
diff --git a/macros/latex/contrib/jmlr/jmlr.dtx b/macros/latex/contrib/jmlr/jmlr.dtx
index 577b06010d..14215e52a9 100644
--- a/macros/latex/contrib/jmlr/jmlr.dtx
+++ b/macros/latex/contrib/jmlr/jmlr.dtx
@@ -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 @@ Research (PMLR)},
\doxitem{Option}{option}{package options}
-\CheckSum{5259}
+\CheckSum{5265}
\newcommand*{\appopt}[1]{\texttt{-{}-#1}}
@@ -70,7 +70,7 @@ Research (PMLR)},
% \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 @@ Research (PMLR)},
%\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 @@ Research (PMLR)},
%\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 @@ Research (PMLR)},
%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 @@ Research (PMLR)},
% 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 @@ Research (PMLR)},
% \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@twoside
+ \PassOptionsToClass{twoside}{article}
+\fi
+% \end{macrocode}
% Load \cls{article} class.
%\changes{1.10}{2011-01-05}{passed \cs{pt@size} when loading article
%class}
@@ -3197,11 +3205,13 @@ Research (PMLR)},
%\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@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 @@ Keywords:} \ignorespaces}%
% \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 @@ Keywords:} \ignorespaces}%
% \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}
%