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.dtx53
1 files changed, 35 insertions, 18 deletions
diff --git a/macros/latex/contrib/jmlr/jmlr.dtx b/macros/latex/contrib/jmlr/jmlr.dtx
index 22a9621139..bde2faa142 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:
-% -doc "jmlr-manual.tex"
% -src "jmlrutils.sty\Z=>jmlrutils.sty"
% -src "jmlr.cls\Z=>jmlr.cls"
% -src "jmlrbook.cls\Z=>jmlrbook.cls"
-% -author "Nicola Talbot"
+% -doc "jmlr-manual.tex"
% -section "chapter"
+% -author "Nicola Talbot"
% jmlr
-% Created on 2020/1/17 16:46
+% Created on 2020/1/31 10:46
%\fi
%\iffalse
%<*package>
@@ -52,7 +52,7 @@ Research (PMLR)},
\doxitem{Option}{option}{package options}
-\CheckSum{5241}
+\CheckSum{5237}
\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-01-17 (version 1.25)}
+% \date{2020-01-31 (version 1.26)}
% \maketitle
%\tableofcontents
%
@@ -184,7 +184,10 @@ Research (PMLR)},
%\item[\clsopt{wcp}] The article is for JMLR Workshop and Conference
%Proceedings (JMLR W\&CP).
%
-%\item[\clsopt{twocolumn}] Use two-column style.
+%\item[\clsopt{twocolumn}] Use two-column style. The title and author
+%information will span both columns through the use of the optional
+%argument of \cs{twocolumn}. This means that no page break can occur
+%in the title and author list.
%
%\item[\clsopt{onecolumn}] Use one-column style (default).
%
@@ -619,8 +622,8 @@ Research (PMLR)},
%If your image file is made up of \LaTeX\ code (e.g.\ \sty{tikz}
%commands) the file can be included using \cs{includeteximage}.
%The optional argument is a key=value comma-separated list
-%where the keys are a subset of those provided by
-%\linebreak\cs{includegraphics}. The main keys are: \texttt{width},
+%where the available keys are a subset of those provided by
+%\sty{graphicx}'s \cs{includegraphics}. The main keys are: \texttt{width},
%\texttt{height}, \texttt{scale} and \texttt{angle}. Some
%of the keys specific to image files (such as the bounding box
%and type keys) do nothing with \cs{includeteximage}.
@@ -1734,6 +1737,7 @@ Research (PMLR)},
%section}.
%
%\StopEventually{\clearpage\phantomsection
+% \PrintChanges
% \PrintIndex
%}
%
@@ -1749,7 +1753,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/01/17 v1.25 (NLCT)]
+\ProvidesPackage{jmlrutils}[2020/01/31 v1.26 (NLCT)]
% \end{macrocode}
% Package options:
%\begin{macro}{\ifjmlrutilsmaths}
@@ -2676,7 +2680,7 @@ Research (PMLR)},
% Declare class and required TeX format:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/01/17 v1.25 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2020/01/31 v1.26 (NLCT) Journal of Machine Learning Research]
% \end{macrocode}
%\changes{1.10}{2011-01-05}{hyperref now loaded by jmlr instead of
%jmlrbook}
@@ -3585,17 +3589,30 @@ Keywords:} \ignorespaces}%
% \end{macrocode}
%\end{macro}
%\begin{macro}{\@jmlrmaketitle}
-% \begin{macrocode}
-\def\@jmlrmaketitle{\vbox{\hsize\textwidth
- \linewidth\hsize
- \jmlrpretitle
+%\changes{1.26}{2020-01-31}{removed vbox}
+%This used to enclose the title in a \cs{vbox} but this caused a
+%problem for extremely long author/affiliation lists that spanned
+%multiple pages, so the \cs{vbox} has been removed (in v1.26), but
+%the grouping has been retained.
+% \begin{macrocode}
+\def\@jmlrmaketitle{%
+ {%
+ \jmlrpretitle
{%
\def\titletag##1{##1}%
\@title
}%
- \jmlrposttitle
- \jmlrpreauthor \@author \jmlrpostauthor
-}}
+ \jmlrposttitle
+% \end{macrocode}
+%\changes{1.26}{2020-01-31}{added \cs{ignorespaces}}
+% Use \cs{ignorespaces} before \cs{@author} in case a space has been inserted
+% at the start of \cs{author}. May occur with a long author list
+% that's been spaced for clarity, but less likely to occur with \cs{title}.
+% Trailing spaces are less likely to be noticeable.
+% \begin{macrocode}
+ \jmlrpreauthor \ignorespaces\@author \jmlrpostauthor
+ }%
+}
% \end{macrocode}
%\end{macro}
%\begin{macro}{\kernelmachines}
@@ -4789,7 +4806,7 @@ Keywords:} \ignorespaces}%
% \end{macrocode}
% Declare class:
% \begin{macrocode}
-\ProvidesClass{jmlrbook}[2020/01/17 v1.25 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2020/01/31 v1.26 (NLCT) JMLR Book Style]
% \end{macrocode}
% Need \sty{xkeyval} package to have key=value class options
% \begin{macrocode}