summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/CHANGES25
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/INSTALL62
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/README58
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/example-teximage.tex (renamed from Master/texmf-dist/doc/latex/jmlr/sample-papers/images/teximage.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/jmlr.pdfbin632452 -> 633161 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib (renamed from Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.bib)0
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdfbin0 -> 346341 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex (renamed from Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex)135
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.pngbin2456 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.pngbin2241 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdfbin317288 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex247
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex98
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.bib19
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.tex65
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.bib19
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.tex56
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.bib19
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.tex53
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdfbin415534 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex79
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle-gray.pngbin1416 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle.jpgbin6743 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes-gray.pngbin3902 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes.pngbin6295 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square-gray.pngbin157 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square.pngbin157 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib19
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdfbin311674 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex837
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdfbin324230 -> 0 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/jmlr/makejmlrbook1321
-rw-r--r--Master/texmf-dist/source/latex/jmlr/jmlr.dtx415
-rw-r--r--Master/texmf-dist/source/latex/jmlr/jmlr.ins4
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlr.cls26
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls7
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty126
37 files changed, 518 insertions, 3172 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/CHANGES b/Master/texmf-dist/doc/latex/jmlr/CHANGES
index 998cc1ce7ab..1d90c73ef77 100644
--- a/Master/texmf-dist/doc/latex/jmlr/CHANGES
+++ b/Master/texmf-dist/doc/latex/jmlr/CHANGES
@@ -1,3 +1,28 @@
+v1.29 (2022-01-29):
+
+ * jmlr.cls:
+
+ - added cleveref option
+
+ - fixed draft option
+
+ - bug fix #168: Float-only last pages not counted for page numbering
+ https://www.dickimaw-books.com/bugtracker.php?key=168
+
+ * jmlrutils.sty:
+
+ - added cleveref option
+
+ - added \jmlralgorule
+
+ - added \jmlrminsubcaptionwidth
+
+ * jmlrbook.cls:
+
+ - obsoleted (https://www.dickimaw-books.com/faq.php?itemlabel=latex20201009)
+ Production editors will need to set the first page number
+ of each article manually.
+
v1.28 (2020-09-21):
* jmlr.cls:
diff --git a/Master/texmf-dist/doc/latex/jmlr/INSTALL b/Master/texmf-dist/doc/latex/jmlr/INSTALL
deleted file mode 100644
index 4dbbc8f15b4..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/INSTALL
+++ /dev/null
@@ -1,62 +0,0 @@
-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
-follow the "Installing from TDS" instructions below.
-
-If you have downloaded the following files:
-
-jmlr.dtx
-jmlr.ins
-
-You need to follow the "Installing from DTX and INS" instructions
-below.
-
-INSTALLING FROM TDS
-===================
-
-Files in tex and doc directories should go in the corresponding
-TEXMF directories (for example, /usr/share/texmf-local/ or
-C:\localtexmf\).
-
-*Remember to refresh TeX's database*
-
-Example (on UNIX like systems):
-
-unzip jmlr.tds.zip -d ~/texmf/
-texhash ~/texmf/
-
-INSTALLING FROM DTX AND INS
-===========================
-
-Run LaTeX on jmlr.ins to generate jmlr.cls and jmlrbook.cls:
-
-latex jmlr.ins
-
-To create the documentation (jmlr.pdf):
-
-pdflatex jmlr.dtx
-makeindex -s gind.ist jmlr.idx
-makeindex -s gglo.ist -o jmlr.gls jmlr.glo
-pdflatex jmlr.dtx
-pdflatex jmlr.dtx
-
-If TEXMF denotes the base directory of your local TeX installation (e.g.
-/usr/share/texmf-local/ or C:\localtexmf\) then create the following
-directories (if they don't already exist):
-
-TEXMF/doc/latex/jmlr
-TEXMF/tex/latex/jmlr
-
-Move the documentation to TEXMF/doc/latex/jmlr/
-
-Move jmlrutils.sty, jmlr.cls and jmlrbook.cls to TEXMF/tex/latex/jmlr/
-
-*Remember to refresh TeX's database*
-
-
diff --git a/Master/texmf-dist/doc/latex/jmlr/README b/Master/texmf-dist/doc/latex/jmlr/README
index e9a52cdccfe..87601eb9341 100644
--- a/Master/texmf-dist/doc/latex/jmlr/README
+++ b/Master/texmf-dist/doc/latex/jmlr/README
@@ -1,4 +1,4 @@
-LaTeX Class : jmlr bundle v1.28 (2020-09-21)
+LaTeX Class : jmlr bundle v1.29 (2022-01-29)
Author : Nicola L. C. Talbot
dickimaw-books.com/contact
@@ -9,7 +9,7 @@ This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/license/lppl1.3
for the details of that license.
-Copyright 2006-2020 Nicola Talbot
+Copyright 2006-2022 Nicola Talbot
DESCRIPTION
@@ -17,40 +17,30 @@ This bundle provides:
* jmlr class (article authors)
* jmlrutils package (supplementary package automatically loaded by jmlr.cls)
- * jmlrbook class (for production editors)
+ * jmlrbook class (for production editors, now obsolete)
-The jmlr class is a LaTeX class for articles for the Journal of
-Machine Learning Research (JMLR) or the Proceedings of Machine
-Learning Research (PMLR) formerly JMLR Workshop and Conference
-Proceedings (JMLR W&CP). It is designed as a replacement for both
-jmlr2e.sty and jmlrwcp2e.sty.
+The jmlr class was designed primarily for the Journal of
+Machine Learning Research Workshop and Conference Proceedings
+(JMLR W&CP) based on the jmlrwcp2e package to make it easier for
+production editors to combine articles into a single book.
+
+JMLR W&CP has been renamed Proceedings of Machine Learning Research
+(PMLR). Please use class option 'pmlr' for new articles.
+
+If you want to submit an article to the Journal of Machine Learning
+Research (JMLR), please follow their guidelines instead.
The jmlrutils package is automatically loaded by the jmlr class, but
may be used with other classes. (You may need to additionally load
graphicx and algorithm2e, which jmlr.cls does automatically.)
-The jmlrbook class is a LaTeX class that can be used to combine
-articles written using the jmlr class into a book. The jmlrbook
-class uses the combine class and the hyperref package to produce
-either a colour hyperlinked book for on-line viewing or a greyscale
-nonhyperlinked book for printing. Production editors can use the
-makejmlrbookgui application
-(http://www.dickimaw-books.com/software/makejmlrbookgui/) to
-generate the proceedings. The makejmlrbook Perl script is deprecated
-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
-
-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.
+The jmlrbook class no longer works since it relies on another class
+that has stopped working following modifications to the LaTeX kernel
+in 2020. Production editors will now need to manually set the first
+page number for each article. If a printed book is required, all
+articles can be combined using pdfpages instead.
+
+This doesn't affect article authors who can continue to use jmlr.cls.
REQUIREMENTS
@@ -76,11 +66,5 @@ jmlrbook class requirements:
xkeyval
combnat
setspace
- currfile or fink
-
-RELATED SOFTWARE:
-
-http://www.dickimaw-books.com/software/makejmlrbookgui/
-
-Author's home page: http://www.dickimaw-books.com/
+ currfile
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/teximage.tex b/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex
index 9fdc0d13827..9fdc0d13827 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/teximage.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex
diff --git a/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf b/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
index 98ad5b636ee..8c14221763f 100644
--- a/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
+++ b/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.bib b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib
index ddc24c66628..ddc24c66628 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.bib
+++ b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib
diff --git a/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
new file mode 100644
index 00000000000..65f05536a00
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex
index 470e2d92151..165fa2510a9 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex
@@ -1,6 +1,4 @@
- %\documentclass[wcp,gray]{jmlr} % test grayscale version
- %\documentclass[wcp]{jmlr}% former name JMLR W\&CP
-\documentclass[pmlr]{jmlr}% new name PMLR (Proceedings of Machine Learning)
+\documentclass[pmlr]{jmlr}% new name PMLR (Proceedings of Machine Learning Research)
% The following packages will be automatically loaded:
% amsmath, amssymb, natbib, graphicx, url, algorithm2e
@@ -37,12 +35,18 @@
A Line Break\titletag{\thanks{sample footnote}}}
% Use \Name{Author Name} to specify the name.
+
+ % Spaces are used to separate forenames from the surname so that
+ % the surnames can be picked up for the page header and copyright footer.
+
% If the surname contains spaces, enclose the surname
% in braces, e.g. \Name{John {Smith Jones}} similarly
% if the name has a "von" part, e.g \Name{Jane {de Winter}}.
% If the first letter in the forenames is a diacritic
% enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
+ % *** Make sure there's no spurious space before \nametag ***
+
% Two authors with the same address
\author{\Name{Author Name1\nametag{\thanks{with a note}}} \Email{abc@sample.com}\and
\Name{Author Name2} \Email{xyz@sample.com}\\
@@ -92,7 +96,7 @@ List of keywords
\label{sec:intro}
This is a sample article that uses the \textsf{jmlr} class with
-the \texttt{wcp} class option. Please follow the guidelines in
+the \texttt{pmlr} class option. Please follow the guidelines in
this sample document as it can help to reduce complications when
combining the articles into a book. Please avoid using obsolete
commands, such as \verb|\rm|, and obsolete packages, such as
@@ -158,10 +162,10 @@ Referencing tables: \tableref{tab:operatornames} or
\tableref{tab:operatornames,tab:example} or
\tableref{tab:operatornames,tab:example,tab:example-booktabs}.
-Referencing figures: \figureref{fig:nodes} or
-\figureref{fig:nodes,fig:teximage} or
-\figureref{fig:nodes,fig:teximage,fig:subfigex} or
-\figureref{fig:circle,fig:square}.
+Referencing figures: \figureref{fig:image} or
+\figureref{fig:image,fig:teximage} or
+\figureref{fig:image,fig:teximage,fig:subfigex} or
+\figureref{fig:image-a,fig:image-b}.
Referencing algorithms: \algorithmref{alg:gauss} or
\algorithmref{alg:gauss,alg:moore} or
@@ -375,7 +379,7 @@ siunitx} or \url{http://www.ctan.org/pkg/siunitx}}.
\floatconts
{tab:example-siunitx}
{\caption{A Table With Numbers Aligned on the Decimal Point}}
- {\begin{tabular}{lS[tabformat=3.5]}
+ {\begin{tabular}{lS}
\bfseries Dataset & {\bfseries Result}\\
Data1 & 0.12345\\
Data2 & 10.6789\\
@@ -406,15 +410,15 @@ caption and center the image. Use \verb|\includegraphics|
for external graphics files but omit the file extension. Do not
use \verb|\epsfig| or \verb|\psfig|. If you want to scale the
image, it's better to use a fraction of the line width rather
-than an explicit length. For example, see \figureref{fig:nodes}.
+than an explicit length. For example, see \figureref{fig:image}.
\begin{figure}[htbp]
% Caption and label go in the first argument and the figure contents
% go in the second argument
\floatconts
- {fig:nodes}
+ {fig:image}
{\caption{Example Image}}
- {\includegraphics[width=0.5\linewidth]{images/nodes}}
+ {\includegraphics[width=0.5\linewidth]{example-image}}
\end{figure}
If your image is made up of \LaTeX\ code (for example, commands
@@ -427,18 +431,19 @@ For example, see \figureref{fig:teximage}.
\floatconts
{fig:teximage}
{\caption{Image Created Using \LaTeX\ Code}}
- {\includeteximage[angle=45]{images/teximage}}
+ {\includeteximage[angle=45]{example-teximage}}
\end{figure}
If the figure is too wide to fit on the page, you can use the
\texttt{sidewaysfigure} environment defined in the
\textsf{rotating} package.
-Don't use \verb|\graphicspath|. If the images are contained in
-a subdirectory, specify this when you include the image, for
-example \verb|\includegraphics{figures/mypic}|.
+It's best not to use \verb|\graphicspath| with the \textsf{jmlr} class
+as it can cause problems with the production editing process. If the
+images are contained in a subdirectory, specify this when you
+include the image, for example \verb|\includegraphics{figures/mypic}|.
-\subsubsection{Sub-Figures}
+\subsection{Sub-Figures}
\label{sec:subfigures}
Sub-figures can be created using \verb|\subfigure|, which is
@@ -447,20 +452,20 @@ you to provide a subcaption. The label should be placed in the
mandatory argument of \verb|\subfigure|. You can reference the
entire figure, for example \figureref{fig:subfigex}, or you can
reference part of the figure using \verb|\figureref|, for example
-\figureref{fig:circle}. Alternatively you can reference the
+\figureref{fig:image-a}. Alternatively you can reference the
subfigure using \verb|\subfigref|, for example
-\subfigref{fig:circle,fig:square} in \figureref{fig:subfigex}.
+\subfigref{fig:image-a,fig:image-b} in \figureref{fig:subfigex}.
\begin{figure}[htbp]
\floatconts
{fig:subfigex}
{\caption{An Example With Sub-Figures.}}
{%
- \subfigure[A Circle]{\label{fig:circle}%
- \includegraphics[width=0.2\linewidth]{images/circle}}%
+ \subfigure[Image A]{\label{fig:image-a}%
+ \includegraphics[width=0.2\linewidth]{example-image-a}}%
\qquad
- \subfigure[A Square]{\label{fig:square}%
- \includegraphics[width=0.2\linewidth]{images/square}}
+ \subfigure[Image B]{\label{fig:image-b}%
+ \includegraphics[width=0.25\linewidth]{example-image-b}}
}
\end{figure}
@@ -468,20 +473,42 @@ By default, the sub-figures are aligned on the baseline.
This can be changed using the second optional argument
of \verb|\subfigure|. This may be \texttt{t} (top), \texttt{c}
(centered) or \texttt{b} (bottom). For example, the subfigures
-\subfigref{fig:circle2,fig:square2} in \figureref{fig:subfigex2}
+\subfigref{fig:image-a2,fig:image-b2} in \figureref{fig:subfigex2}
both have \verb|[c]| as the second optional argument.
\begin{figure}[htbp]
\floatconts
{fig:subfigex2}
- {\caption{Another Example With Sub-Figures.}}
+ {\caption{Another Example With Sub-Figures (with a Cramped
+ Sub-Caption).}}
{%
- \subfigure[A Small Circle][c]{\label{fig:circle2}%
- \includegraphics[width=0.1\linewidth]{images/circle}}%
+ \subfigure[Image A][c]{\label{fig:image-a2}%
+ \includegraphics[width=0.1\linewidth]{example-image-a}}%
\qquad
- \subfigure[A Square][c]{\label{fig:square2}%
- \includegraphics[width=0.2\linewidth]{images/square}}
- }
+ \subfigure[Image B][c]{\label{fig:image-b2}%
+ \includegraphics[width=0.3\linewidth]{example-image-b}}
+ }%
+\end{figure}
+
+Note that a very narrow sub-float will leave little space for the
+sub-caption, which will likely cause Underfull/Overfull hbox warnings.
+
+You can set the length \verb|\jmlrminsubcaptionwidth| to indicate
+the minimum width to be made available for the sub-captions, as in
+\figureref{fig:subfigex3}.
+
+\begin{figure}[htbp]
+\floatconts
+ {fig:subfigex3}
+ {\caption{Another Example With Sub-Figures (with a Less Cramped
+ Sub-Caption).}}
+ {\setlength{\jmlrminsubcaptionwidth}{0.2\linewidth}%
+ \subfigure[Image A][c]{\label{fig:image-a3}%
+ \includegraphics[width=0.1\linewidth]{example-image-a}}%
+ \qquad
+ \subfigure[Image B][c]{\label{fig:image-b3}%
+ \includegraphics[width=0.2\linewidth]{example-image-b}}
+ }%
\end{figure}
\subsection{Sub-Tables}
@@ -577,9 +604,6 @@ float like figures and tables.
}
\end{algorithm}
-You can use \verb|\caption| and \verb|\label| without using
-\verb|\floatconts| (as in \algorithmref{alg:moore}).
-
If you'd rather have the same numbering throughout the algorithm
but still want the convenient indentation of nested
\texttt{enumerate} environments, you can use the
@@ -587,7 +611,10 @@ but still want the convenient indentation of nested
class. For example, see \algorithmref{alg:moore}.
\begin{algorithm}
-\caption{Moore's Shortest Path}\label{alg:moore}
+\floatconts
+{alg:moore}% label
+{\caption{Moore's Shortest Path}}%caption
+{% main float content
Given a connected graph $G$, where the length of each edge is 1:
\begin{enumerate*}
\item Set the label of vertex $s$ to 0
@@ -606,6 +633,7 @@ Given a connected graph $G$, where the length of each edge is 1:
\end{enumerate*}
\end{enumerate*}
\end{enumerate*}
+}
\end{algorithm}
Pseudo code can be displayed using the \texttt{algorithm2e}
@@ -716,49 +744,12 @@ This is an axiom.
This is an example.
\end{example}
-\section{Color vs Grayscale}
-\label{sec:color}
-
-It's helpful if authors supply grayscale versions of their
-images in the event that the article is to be incorporated into
-a black and white printed book. With external PDF, PNG or JPG
-graphic files, you just need to supply a grayscale version of the
-file. For example, if the file is called \texttt{myimage.png},
-then the gray version should be \texttt{myimage-gray.png} or
-\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
-need to modify your code. The \textsf{jmlr} class checks for
-the existence of the grayscale version if it is print mode
-(provided you have used \verb|\includegraphics| and haven't
-specified the file extension).
-
-You can use \verb|\ifprint| to determine which mode you are in.
-For example, in \figureref{fig:nodes}, the
-\ifprint{dark gray}{purple} ellipse represents an input and the
-\ifprint{light gray}{yellow} ellipse represents an output.
-Another example: {\ifprint{\bfseries}{\color{red}}important text!}
-
-You can use the class option \texttt{gray} to see how the
-document will appear in gray scale mode. \textcolor{blue}{Colored
-text} will automatically be converted to gray scale.
-
-The \textsf{jmlr} class loads the \textsf{xcolor}
-package, so you can also define your own colors. For example:
-\ifprint
- {\definecolor{myred}{gray}{0.5}}%
- {\definecolor{myred}{rgb}{0.5,0,0}}%
-\textcolor{myred}{XYZ}.
-
-The \textsf{xcolor} class is loaded with the \texttt{x11names}
-option, so you can use any of the x11 predefined colors (listed
-in the \textsf{xcolor} documentation\footnote{either
-\texttt{texdoc xcolor} or \url{http://www.ctan.org/pkg/xcolor}}).
-
\section{Citations and Bibliography}
\label{sec:cite}
The \textsf{jmlr} class automatically loads \textsf{natbib}.
This sample file has the citations defined in the accompanying
-BibTeX file \texttt{jmlr-sample.bib}. For a parenthetical
+BibTeX file \texttt{pmlr-sample.bib}. For a parenthetical
citation use \verb|\citep|. For example
\citep{guyon-elisseeff-03}. For a textual citation use
\verb|\citet|. For example \citet{guyon2007causalreport}.
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.png b/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.png
deleted file mode 100644
index 3baf8157e9c..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.png b/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.png
deleted file mode 100644
index e9ae63dacf4..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
deleted file mode 100644
index 6bfdf86a8f2..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
deleted file mode 100644
index 465bca51f73..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
+++ /dev/null
@@ -1,247 +0,0 @@
- % Define \jmlrprehyperref to load packages before hyperref is
- % loaded
-\def\jmlrprehyperref{%
- % Packages used by imported articles:
- \usepackage{lipsum}
- \usepackage{booktabs}
- \usepackage{siunitx}
-}
-\documentclass[wcp,7x10]{jmlrbook}% on-line color version, 7inx10in
- %\documentclass[wcp,gray,7x10]{jmlrbook}% print version, 7inx10in
-
- % Load last
- \ifprint{}{\usepackage{bookmark}}
-
- % Title is added to the PDF properties. Optional argument
- % is used instead, if present.
- %\title[Short Title]{Big Long Title}
-\title{A Sample Book}
-
-\author[Anne Editor et al.]{Anne Editor, Anne Other Editor and Nicola Talbot}
-
- % change the arguments, as appropriate, in the following:
-\volume{1}
-\subtitle{Making a Book from JMLR Articles}
-\logo{\includegraphics{bookLogo}}
-\team{The Sample Book Team}
-
-\productioneditor{Nicola Talbot}
-
-\begin{document}
-\maketitle
-
-\frontmatter
-
-\chapter{Foreword}
-
-This is an example book that combines multiple articles. Each
-article uses the \textsf{jmlr} class file. \emph{The articles
-should not need to be edited in order to combine them using this
-class file.}\footnote{Unless the authors have done something
-weird or have used problematic packages.} In particular, you
-don't need to delete \verb|\documentclass|,
-\verb|\begin{document}| and \verb|\end{document}|. The articles
-should be able to compile on their own or as part of this book.
-
-In the preamble of the book, you need to include the packages
-that the articles include, but you don't need to include
-any packages that are automatically loaded by the \textsf{jmlr}
-class (\textsf{amsmath}, \textsf{amssymb}, \textsf{natbib},
-\textsf{graphicx}, \textsf{url}, \textsf{xcolor} and
-\textsf{algorithm2e}). You also don't need to include the
-\textsf{hyperref} and \textsf{combnat} packages as they are
-automatically loaded by \textsf{jmlrbook}. For example, some of the
-articles imported in this book use the \textsf{lipsum} package,
-so that package needs to be included in the preamble of the
-book.
-
-Commands defined in the imported articles will be local to that
-article unless \verb|\gdef| or \verb|\global| has been used. This
-means that if more than one article has defined the same command,
-there shouldn't be a conflict unless the command has been defined
-globally. For example, \texttt{paper1/paper1.tex} and
-\texttt{paper2/paper2.tex} both define \verb|\samplecommand|, but
-since \verb|\newcommand| has been used, rather than \verb|\gdef|,
-there's no conflict. However, a problem will occur if the same
-command is also defined in this document before either of those
-files are imported.
-
-Many packages must be loaded before \textsf{hyperref}. If these
-packages haven't been loaded by \textsf{jmlr}, you will need
-to specify them using \textsf{jmlrbook}'s \verb|\jmlrprehyperref|
-hook. For example, to load the packages ``foo'' and ``bar'':
-\begin{verbatim}
-\def\jmlrprehyperref{\usepackage{foo}\usepackage{bar}}
-\documentclass{jmlrbook}
-\end{verbatim}
-or:
-\begin{verbatim}
-\def\jmlrprehyperref{\usepackage{foo,bar}}
-\documentclass{jmlrbook}
-\end{verbatim}
-
-
-The imported papers need to be placed inside the
-\texttt{jmlrpapers} environment. Papers that have already
-been published should be included using \verb|\importpubpaper|
-and papers that haven't been published elsewhere should be
-imported using \verb|\importarticle|. Both commands have an
-optional argument that specifies the prefix to use in the labels
-within the imported article. If omitted, the article's file
-name is used.
-
-Both articles and the book may have appendices and parts created.
-Parts are created using \verb|\part|\{\emph{title}\}. Switch
-to appendices using \verb|\appendix| and then use \verb|\chapter|
-(for the book) or \verb|\section| (in imported articles).
-
-Cross-referencing other parts of the book is done using the
-usual \verb|\label| and \verb|\ref| mechanism. The \textsf{jmlr}
-class additional provides convenience commands such as
-\verb|\sectionref| and \verb|\figureref|. Unlike \verb|\ref|,
-these commands may take a comma-separated list of labels as the
-argument.
-
-The \textsf{jmlrbook} additionally provides \verb|\chapterref|
-(which can take a comma-separated list of labels) and commands
-to reference imported articles (which take a single label
-as the argument): \verb|\articlepageref| (the starting page of
-the article), \verb|\articlepagesref| (the page range for the
-article), \verb|\articletitleref| (the short title for the
-article) and \verb|\articleauthorref| (the article's author).
-
-You may also cross-reference parts of the imported articles,
-but you need to prefix the label with the label supplied
-in the optional argument of \verb|\importpubpaper| or
-\verb|\importarticle|. (If omitted, this is given by
-directory/file name.)
-
-For example, the first appendix in this book is
-\appendixref{apd:first}, but the first appendix in
-``\articletitleref{paper1/paper1}'' by
-\articleauthorref{paper1/paper1}
-(pp.~\articlepagesref{paper1/paper1}) is
-\appendixref{paper1/paper1apd:first}.
-Here's a reference to a couple of tables in
-\articletitleref{paper1/paper1}:
-\tableref{paper1/paper1tab:sample,paper1/paper1tab:sample2}.
-
-The author of a foreword (or other chapter) can sign off using
-the \texttt{authorsignoff} environment. Each author should be
-specified using \verb|\Author|.
-
-\begin{authorsignoff}
-\Author{Nicola Talbot\\
-University of East Anglia}
-\end{authorsignoff}
-
-\begin{preface}
-The preface environment should be used for the preface if you want
-makejmlrbook to extract the preface and turn it into a standalone
-document.
-
-The editorial team can sign off at the end of the preface using
-the \texttt{signoff} environment. This has two arguments: the
-optional argument is a name for the editorial team (defaults to
-``The Editorial Team'') and the mandatory argument is the date.
-Within the environment, use \verb|\Editor| for each editor.
-
-\begin{signoff}{March 2010}
-% First editor:
-\Editor{Nicola Talbot\\
-University of East Anglia\\
-\mailto{N.Talbot@uea.ac.uk}}
-% Second editor:
-\Editor{Anne Editor\\
-University of Nowhere\\
-\mailto{ae@sample.com}}
-\end{signoff}
-
-\end{preface}
-
-\tableofcontents
-
-\mainmatter
-
-\part{First Part of the Book}
-
-\chapter{Introduction}
-
-This is an introduction to the book.
-
-\section{Sample Section}
-
-This is a section in the introduction.
-
-\subsection{Sample Sub-Section}
-
-This is a sub-section.
-
-\subsubsection{Sample Sub-Sub-Section}
-
-This is a sub-sub-section.
-
-\paragraph{Sample Sub-Sub-Sub-Section}
-
-This is a sub-sub-sub-section.
-
-\subparagraph{Sample Sub-Sub-Sub-Sub-Section}
-
-This is a sub-sub-sub-sub-section.
-
-% Add a part to the TOC but don't print anything
-\addtocpart{Papers Published in JMLR W\&CP}
-
-\begin{jmlrpapers}
- % Prepublished papers are imported using:
- % \importpubpaper[label]{dir}{file}{pages}
- % pages refers to the page range in the original publication
- % which doesn't necessarily correspond to the page numbers in
- % this book.
- \importpubpaper{paper1}{paper1}{23--45}
-
- \importpubpaper{paper2}{paper2}{63--70}
-
-\end{jmlrpapers}
-
-% Add a part to the TOC but don't print anything
-\addtocpart{Unpublished Papers}
-
-\begin{jmlrpapers}
- % Unpublished papers are imported using:
- % \importarticle[label]{dir}{file}
- \importarticle{paper3}{paper3}
-
- \importarticle{paper4}{paper4}
-\end{jmlrpapers}
-
-\appendix
-
-\part{First Part of Appendices}\label{pt:apd1}
-
-\chapter*{Introduction}
-
-This is an introduction to \partref{pt:apd1}.
-
-\chapter{First Appendix}
-\label{apd:first}
-
-This is an appendix.
-
-\chapter{Second Appendix}
-\label{apd:second}
-
-This is another appendix.
-
-\lipsum
-
-\part{Second Part of Appendices}
-
-\chapter{An Appendix}
-\label{apd:third}
-
-This is an appendix in another part.
-
-\lipsum
-
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
deleted file mode 100644
index bab62425278..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
+++ /dev/null
@@ -1,98 +0,0 @@
-% This file is public domain
-
-\documentclass[wcp]{jmlr}
-
-\usepackage{lipsum}% Provides dummy text for this example
-
-\newcommand{\samplecommand}{\emph{A sample command}}
-
-\jmlrvolume{42}
-\jmlryear{2010}
-\jmlrworkshop{Workshop on Causality}
-
-\title[Article 1]{First Sample Article}
-
-\author{\Name{Jane Doe}\Email{jd@sample.com}\and
-\Name{John {Smith Jones}}\Email{jsj@sample.com}\\
-\addr{University of No Where}}
-
-\editor{Anne Editor}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-This abstract has a citation \citep{guyon-elisseeff-03}.
-\lipsum[1]
-\end{abstract}
-\begin{keywords}
-Sample
-\end{keywords}
-
-\section{Introduction}
-
-This is a sample article. \sectionref{sec:method} discusses
-the method used. \equationref{eq:emc2} is an interesting
-equation. The results are discussed in \sectionref{sec:results}
-and some other stuff is in \appendixref{apd:first}.\footnote{Here's
-a footnote.}
-\samplecommand.
-
-\lipsum
-
-\section{Method}\label{sec:method}
-
-\lipsum
-
-\begin{equation}\label{eq:emc2}
-E = mc^2
-\end{equation}
-
-A network is shown in Figure~\ref{fig:network}.
-
-\begin{figure}[htbp]
- \floatconts
- {fig:network}%
- {\caption{A Network}}%
- {\includegraphics{images/network}}%
-\end{figure}
-
-\section{Results}\label{sec:results}
-
-\begin{table}[htbp]
-\floatconts
- {tab:sample}
- {\caption{A Sample Table}}
- {%
- \begin{tabular}{cc}
- A & B\\
- 1 & 2
- \end{tabular}
- }%
-\end{table}
-
-\begin{table}[htbp]
-\floatconts
- {tab:sample2}
- {\caption{Another Sample Table}}
- {%
- \begin{tabular}{cc}
- A & B\\
- 1 & 2
- \end{tabular}
- }%
-\end{table}
-
-\lipsum
-
-Here are some citations:
-\citet{guyon-elisseeff-03,guyon2007causalreport}.\footnote{And
-here's another footnote.}
-
-\bibliography{paper1}
-
-\appendix
-\section{First Appendix}\label{apd:first}
-
-\lipsum
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.bib b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.bib
deleted file mode 100644
index ddc24c66628..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.bib
+++ /dev/null
@@ -1,19 +0,0 @@
-@article{guyon-elisseeff-03,
- title = "An Introduction to Variable and Feature Selection",
- author = "I. Guyon and A. Elisseeff",
- journal = "JMLR",
- volume = "3",
- month = MAR,
- pages = "1157-1182",
- year = 2003
-}
-
-@techreport{guyon2007causalreport,
- author = {I. Guyon and C. Aliferis and A. Elisseeff},
- title = {Causal Feature Selection},
- institution = {Clopinet},
- year = 2007,
- type = {Technical Report },
- source = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
-}
-
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.tex
deleted file mode 100644
index 9a03081eb30..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/paper2.tex
+++ /dev/null
@@ -1,65 +0,0 @@
-% This file is public domain
-
-\documentclass[wcp]{jmlr}
-
-\usepackage{lipsum}% Provides dummy text for this example
-
-\newcommand{\samplecommand}{\textbf{A sample command}}
-
-\jmlrvolume{42}
-\jmlryear{2010}
-\jmlrworkshop{Workshop on Causality}
-
-\title[Article 2]{Second Sample Article}
-
-\author{\Name{Bob {de Winter}}\Email{bdw@sample.com}\\
-\Name{{\'E}louise Mary Finchley}\Email{emf@sample.com}\\
-\Name{Jack Mark Jones}\Email{jmj@sample.com}\\
-\addr{University of No Where}}
-
-\editor{Anne Other Editor}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-\lipsum[1]
-\end{abstract}
-\begin{keywords}
-Sample
-\end{keywords}
-
-\section{Introduction}
-
-This is a sample article. \sectionref{sec:method} discusses
-the method used. \equationref{eq:emc2} is an interesting
-equation. The results are discussed in \sectionref{sec:results}
-and some other stuff is in \appendixref{apd:first}.\footnote{Here's
-a footnote.}
-\samplecommand.
-
-\lipsum
-
-\section{Method}\label{sec:method}
-
-\lipsum
-
-\begin{equation}\label{eq:emc2}
-E = mc^2
-\end{equation}
-
-\section{Results}\label{sec:results}
-
-\lipsum
-
-Here are some citations:
-\citet{guyon-elisseeff-03,guyon2007causalreport}.\footnote{Here's
-another footnote.}
-
-\bibliography{paper2}
-
-\appendix
-\section{First Appendix}\label{apd:first}
-
-\lipsum
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.bib b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.bib
deleted file mode 100644
index ddc24c66628..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.bib
+++ /dev/null
@@ -1,19 +0,0 @@
-@article{guyon-elisseeff-03,
- title = "An Introduction to Variable and Feature Selection",
- author = "I. Guyon and A. Elisseeff",
- journal = "JMLR",
- volume = "3",
- month = MAR,
- pages = "1157-1182",
- year = 2003
-}
-
-@techreport{guyon2007causalreport,
- author = {I. Guyon and C. Aliferis and A. Elisseeff},
- title = {Causal Feature Selection},
- institution = {Clopinet},
- year = 2007,
- type = {Technical Report },
- source = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
-}
-
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.tex
deleted file mode 100644
index 7b4680ef2df..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/paper3.tex
+++ /dev/null
@@ -1,56 +0,0 @@
-% This file is public domain
-
-\documentclass[wcp]{jmlr}
-
-\usepackage{lipsum}% Provides dummy text for this example
-
-\title[Article 3]{Third Sample Article}
-
-\author{\Name{John Smith}\Email{js@sample.com}\\
-\addr{University of No Where}}
-
-\editor{Anne Editor}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-\lipsum[1]
-\end{abstract}
-\begin{keywords}
-Sample
-\end{keywords}
-
-\section{Introduction}
-
-This is a sample article. \sectionref{sec:method} discusses
-the method used. \equationref{eq:emc2} is an interesting
-equation. The results are discussed in \sectionref{sec:results}
-and some other stuff is in \appendixref{apd:first}.\footnote{Here's
-a footnote.}
-
-\lipsum
-
-\section{Method}\label{sec:method}
-
-\lipsum
-
-\begin{equation}\label{eq:emc2}
-E = mc^2
-\end{equation}
-
-\section{Results}\label{sec:results}
-
-\lipsum
-
-Here are some citations:
-\citet{guyon-elisseeff-03,guyon2007causalreport}.\footnote{Here's
-another footnote.}
-
-\bibliography{paper3}
-
-\appendix
-\section{First Appendix}\label{apd:first}
-
-\lipsum
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.bib b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.bib
deleted file mode 100644
index ddc24c66628..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.bib
+++ /dev/null
@@ -1,19 +0,0 @@
-@article{guyon-elisseeff-03,
- title = "An Introduction to Variable and Feature Selection",
- author = "I. Guyon and A. Elisseeff",
- journal = "JMLR",
- volume = "3",
- month = MAR,
- pages = "1157-1182",
- year = 2003
-}
-
-@techreport{guyon2007causalreport,
- author = {I. Guyon and C. Aliferis and A. Elisseeff},
- title = {Causal Feature Selection},
- institution = {Clopinet},
- year = 2007,
- type = {Technical Report },
- source = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
-}
-
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.tex
deleted file mode 100644
index f37498c6c54..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/paper4.tex
+++ /dev/null
@@ -1,53 +0,0 @@
-% This file is public domain
-
-\documentclass[wcp]{jmlr}
-
-\usepackage{lipsum}% Provides dummy text for this example
-
-\title[Article 4]{Fourth Sample Article}
-
-\author{\Name{Mary-Jane {de Beer}}\Email{mjdb@sample.com}\\
-\addr{University of No Where}}
-
-\editor{Anne Editor}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-\lipsum[1]
-\end{abstract}
-\begin{keywords}
-Sample
-\end{keywords}
-
-\section{Introduction}
-
-This is a sample article. \sectionref{sec:method} discusses
-the method used. \equationref{eq:emc2} is an interesting
-equation. The results are discussed in \sectionref{sec:results}
-and some other stuff is in \appendixref{apd:first}.
-
-\lipsum
-
-\section{Method}\label{sec:method}
-
-\lipsum
-
-\begin{equation}\label{eq:emc2}
-E = mc^2
-\end{equation}
-
-\section{Results}\label{sec:results}
-
-\lipsum
-
-Here are some citations: \citet{guyon-elisseeff-03,guyon2007causalreport}.
-
-\bibliography{paper4}
-
-\appendix
-\section{First Appendix}\label{apd:first}
-
-\lipsum
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
deleted file mode 100644
index b9a74dc749f..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
deleted file mode 100644
index 86655f09e85..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
+++ /dev/null
@@ -1,79 +0,0 @@
- % Most packages need to be loaded before hyperref
- % so put them in the definition of \jmlrprehyperref
-
-\def\jmlrprehyperref{%
- % Packages used by imported articles:
- \usepackage{lipsum}
-}
-
-%\documentclass[wcp,gray]{jmlrbook}
-\documentclass[wcp]{jmlrbook}
-
-\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
-
-\ifprint{}{\usepackage{bookmark}}% load last
-
- % Title is added to the PDF properties. Optional argument
- % is used instead, if present.
- %\title[Short Title]{Big Long Title}
-\title{Sample Proceedings}
-
-\author[Anne Editor et al.]{Anne Editor, Anne Other Editor and Nicola Talbot}
-
-\subtitle{\thejmlrworkshop}
-
-\jmlrvolume{42}
-\jmlryear{2010}
-\jmlrworkshop{Workshop on Causality}
-\jmlrlocation{Somewhere}
-
-\logo{\includegraphics{bookLogo}}
-
-\begin{document}
-\maketitle
-
-\frontmatter
-
-\chapter{Foreword}
-
-This is the foreword.
-
-\begin{authorsignoff}
-\Author{Nicola Talbot\\
-University of East Anglia}
-\end{authorsignoff}
-
-\begin{preface}
-
-This is the preface.
-
-\begin{signoff}{March 2010}
- % First editor:
-\Editor{Anne Editor\\
-University of Nowhere\\
-\mailto{ae@sample.com}}
- % Second editor:
-\Editor{Anne Other Editor\\
-University of Nowhere\\
-\mailto{aoe@sample.com}}
-\end{signoff}
-
-\end{preface}
-
-\tableofcontents
-
-\mainmatter
-
-\begin{jmlrpapers}
- \addtocpart{Introduction}
- % syntax: \importpaper[label]{directory}{filename}
- \importpaper{paper1}{paper1}
- \addtocpart{First Topic}
- \importpaper{paper2}{paper2}
- \importpaper{paper3}{paper3}
- \addtocpart{Second Topic}
- \importpaper{paper4}{paper4}
-\end{jmlrpapers}
-
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle-gray.png b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle-gray.png
deleted file mode 100644
index e6366465387..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle-gray.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle.jpg b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle.jpg
deleted file mode 100644
index 365deb2e1f3..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/circle.jpg
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes-gray.png b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes-gray.png
deleted file mode 100644
index e4af05acda2..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes-gray.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes.png b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes.png
deleted file mode 100644
index a4e79c25064..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/nodes.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square-gray.png b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square-gray.png
deleted file mode 100644
index b150e663542..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square-gray.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square.png b/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square.png
deleted file mode 100644
index 8844e858166..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/square.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib
deleted file mode 100644
index ddc24c66628..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib
+++ /dev/null
@@ -1,19 +0,0 @@
-@article{guyon-elisseeff-03,
- title = "An Introduction to Variable and Feature Selection",
- author = "I. Guyon and A. Elisseeff",
- journal = "JMLR",
- volume = "3",
- month = MAR,
- pages = "1157-1182",
- year = 2003
-}
-
-@techreport{guyon2007causalreport,
- author = {I. Guyon and C. Aliferis and A. Elisseeff},
- title = {Causal Feature Selection},
- institution = {Clopinet},
- year = 2007,
- type = {Technical Report },
- source = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
-}
-
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
deleted file mode 100644
index 31d153a4b61..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
deleted file mode 100644
index 4dda4f434ee..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
+++ /dev/null
@@ -1,837 +0,0 @@
- % 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
-
- % The following packages will be automatically loaded:
- % amsmath, amssymb, natbib, graphicx, url, algorithm2e
-
- %\usepackage{rotating}% for sideways figures and tables
- %\usepackage{longtable}% for long tables
-
- % The booktabs package is used by this sample document
- % (it provides \toprule, \midrule and \bottomrule).
- % Remove the next line if you don't require it.
-\usepackage{booktabs}
- % The siunitx package is used by this sample document
- % to align numbers in a column by their decimal point.
- % Remove the next line if you don't require it.
-\usepackage[load-configurations=version-1]{siunitx} % newer version
- %\usepackage{siunitx}
-
- % The following command is just for this sample document:
-\newcommand{\cs}[1]{\texttt{\char`\\#1}}% remove this in your real article
-
- % Define an unnumbered theorem just for this sample document for
- % illustrative purposes:
-\theorembodyfont{\upshape}
-\theoremheaderfont{\scshape}
-\theorempostheader{:}
-\theoremsep{\newline}
-\newtheorem*{note}{Note}
-
- % change the arguments, as appropriate, in the following:
-\jmlrvolume{1}
-\jmlryear{2010}
-\jmlrsubmitted{submission date}
-\jmlrpublished{publication date}
-\jmlrworkshop{workshop title} % W&CP title
-
- % The optional argument of \title is used in the header
-\title[Short Title]{Full Title of Article\titlebreak This Title Has
-A Line Break}
-
- % Anything in the title that should appear in the main title but
- % not in the article's header or the volume's table of
- % contents should be placed inside \titletag{}
-
- %\title{Title of the Article\titletag{\thanks{Some footnote}}}
-
-
- % Use \Name{Author Name} to specify the name.
- % If the surname contains spaces, enclose the surname
- % in braces, e.g. \Name{John {Smith Jones}} similarly
- % if the name has a "von" part, e.g \Name{Jane {de Winter}}.
- % If the first letter in the forenames is a diacritic
- % enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
-
- % \thanks must come after \Name{...} not inside the argument for
- % example \Name{John Smith}\nametag{\thanks{A note}} NOT \Name{John
- % Smith\thanks{A note}}
-
- % Anything in the name that should appear in the title but not in the
- % article's header or footer or in the volume's
- % table of contents should be placed inside \nametag{}
-
- % Two authors with the same address
- \author{\Name{Author Name1\nametag{\thanks{A note}}} \Email{abc@sample.com}\and
- \Name{Author Name2} \Email{xyz@sample.com}\\
- \addr Address}
-
- % Three or more authors with the same address:
- % \author{\Name{Author Name1} \Email{an1@sample.com}\\
- % \Name{Author Name2} \Email{an2@sample.com}\\
- % \Name{Author Name3} \Email{an3@sample.com}\\
- % \Name{Author Name4} \Email{an4@sample.com}\\
- % \Name{Author Name5} \Email{an5@sample.com}\\
- % \Name{Author Name6} \Email{an6@sample.com}\\
- % \Name{Author Name7} \Email{an7@sample.com}\\
- % \Name{Author Name8} \Email{an8@sample.com}\\
- % \Name{Author Name9} \Email{an9@sample.com}\\
- % \Name{Author Name10} \Email{an10@sample.com}\\
- % \Name{Author Name11} \Email{an11@sample.com}\\
- % \Name{Author Name12} \Email{an12@sample.com}\\
- % \Name{Author Name13} \Email{an13@sample.com}\\
- % \Name{Author Name14} \Email{an14@sample.com}\\
- % \addr Address}
-
-
- % Authors with different addresses:
- % \author{\Name{Author Name1} \Email{abc@sample.com}\\
- % \addr Address 1
- % \AND
- % \Name{Author Name2} \Email{xyz@sample.com}\\
- % \addr Address 2
- %}
-
-\editor{Editor's name}
- %\editors{Editor One and Editor Two}% for multiple editors
-
-\begin{document}
-
-\maketitle
-
-\begin{abstract}
-This is the abstract for this article.
-\end{abstract}
-\begin{keywords}
-List of keywords
-\end{keywords}
-
-\section{Introduction}
-\label{sec:intro}
-
-This is a sample article that uses the \textsf{jmlr} class with
-the \texttt{wcp} class option. Please follow the guidelines in
-this sample document as it can help to reduce complications when
-combining the articles into a book. Please avoid using obsolete
-commands, such as \verb|\rm|, and obsolete packages, such as
-\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.
-
-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
-at the UK TUG FAQ
-\url{https://texfaq.org/FAQ-man-latex}. If
-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{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
-this document's preamble.
-\end{note}
-
-\subsection{Sub-sections}
-
-Sub-sections are produced using \verb|\subsection|.
-
-\subsubsection{Sub-sub-sections}
-
-Sub-sub-sections are produced using \verb|\subsubsection|.
-
-\paragraph{Sub-sub-sub-sections}
-
-Sub-sub-sub-sections are produced using \verb|\paragraph|.
-These are unnumbered with a running head.
-
-\subparagraph{Sub-sub-sub-sub-sections}
-
-Sub-sub-sub-sub-sections are produced using \verb|\subparagraph|.
-These are unnumbered with a running head.
-
-\section{Cross-Referencing}
-
-Always use \verb|\label| and \verb|\ref| (or one of the commands
-described below) when cross-referencing. For example, the next
-section is Section~\ref{sec:math} but you can also refer to it using
-\sectionref{sec:math}. The \textsf{jmlr} class
-provides some convenient cross-referencing commands:
-\verb|\sectionref|, \verb|\equationref|, \verb|\tableref|,
-\verb|\figureref|, \verb|\algorithmref|, \verb|\theoremref|,
-\verb|\lemmaref|, \verb|\remarkref|, \verb|\corollaryref|,
-\verb|\definitionref|, \verb|\conjectureref|, \verb|\axiomref|,
-\verb|\exampleref| and \verb|\appendixref|. The argument of these
-commands may either be a single label or a comma-separated list
-of labels. Examples:
-
-Referencing sections: \sectionref{sec:math} or
-\sectionref{sec:intro,sec:math} or
-\sectionref{sec:intro,sec:math,sec:tables,sec:figures}.
-
-Referencing equations: \equationref{eq:trigrule} or
-\equationref{eq:trigrule,eq:df} or
-\equationref{eq:trigrule,eq:f,eq:df,eq:y}.
-
-Referencing tables: \tableref{tab:operatornames} or
-\tableref{tab:operatornames,tab:example} or
-\tableref{tab:operatornames,tab:example,tab:example-booktabs}.
-
-Referencing figures: \figureref{fig:nodes} or
-\figureref{fig:nodes,fig:teximage} or
-\figureref{fig:nodes,fig:teximage,fig:subfigex} or
-\figureref{fig:circle,fig:square}.
-
-Referencing algorithms: \algorithmref{alg:gauss} or
-\algorithmref{alg:gauss,alg:moore} or
-\algorithmref{alg:gauss,alg:moore,alg:net}.
-
-Referencing theorem-like environments: \theoremref{thm:eigenpow},
-\lemmaref{lem:sample}, \remarkref{rem:sample},
-\corollaryref{cor:sample}, \definitionref{def:sample},
-\conjectureref{con:sample}, \axiomref{ax:sample} and
-\exampleref{ex:sample}.
-
-Referencing appendices: \appendixref{apd:first} or
-\appendixref{apd:first,apd:second}.
-
-\section{Equations}
-\label{sec:math}
-
-The \textsf{jmlr} class loads the \textsf{amsmath} package, so
-you can use any of the commands and environments defined there.
-(See the \textsf{amsmath} documentation for further
-details.\footnote{Either \texttt{texdoc amsmath} or
-\url{http://www.ctan.org/pkg/amsmath}})
-
-Unnumbered single-lined equations should be displayed using
-\verb|\[| and \verb|\]|. For example:
-\[E = m c^2\]
-or you can use the \texttt{displaymath} environment:
-\begin{displaymath}
-E = m c^2
-\end{displaymath}
-Numbered single-line equations should be displayed using the
-\texttt{equation} environment. For example:
-\begin{equation}\label{eq:trigrule}
-\cos^2\theta + \sin^2\theta \equiv 1
-\end{equation}
-This can be referenced using \verb|\label| and \verb|\equationref|.
-For example, \equationref{eq:trigrule}.
-
-Multi-lined numbered equations should be displayed using the
-\texttt{align} environment.\footnote{For reasons why you
-shouldn't use the obsolete \texttt{eqnarray} environment, see
-Lars Madsen, \emph{Avoid eqnarray!} TUGboat 33(1):21--25, 2012.} For example:
-\begin{align}
-f(x) &= x^2 + x\label{eq:f}\\
-f'(x) &= 2x + 1\label{eq:df}
-\end{align}
-Unnumbered multi-lined equations can be displayed using the
-\texttt{align*} environment. For example:
-\begin{align*}
-f(x) &= (x+1)(x-1)\\
-&= x^2 - 1
-\end{align*}
-If you want to mix numbered with unnumbered lines use the
-\texttt{align} environment and suppress unwanted line numbers with
-\verb|\nonumber|. For example:
-\begin{align}
-y &= x^2 + 3x - 2x + 1\nonumber\\
-&= x^2 + x + 1\label{eq:y}
-\end{align}
-An equation that is too long to fit on a single line can be
-displayed using the \texttt{split} environment.
-Text can be embedded in an equation using \verb|\text| or
-\verb|\intertext| (as used in \theoremref{thm:eigenpow}).
-See the \textsf{amsmath} documentation for further details.
-
-\subsection{Operator Names}
-\label{sec:op}
-
-Predefined operator names are listed in \tableref{tab:operatornames}.
-For additional operators, either use \verb|\operatorname|,
-for example $\operatorname{var}(X)$ or declare it with
-\verb|\DeclareMathOperator|, for example
-\begin{verbatim}
-\DeclareMathOperator{\var}{var}
-\end{verbatim}
-and then use this new command. If you want limits that go above and
-below the operator (like \verb|\sum|) use the starred versions
-(\verb|\operatorname*| or \verb|\DeclareMathOperator*|).
-
-\begin{table*}[htbp]
-\floatconts
- {tab:operatornames}%
- {\caption{Predefined Operator Names (taken from
- \textsf{amsmath} documentation)}}%
- {%
-\begin{tabular}{rlrlrlrl}
-\cs{arccos} & $\arccos$ & \cs{deg} & $\deg$ & \cs{lg} & $\lg$ & \cs{projlim} & $\projlim$ \\
-\cs{arcsin} & $\arcsin$ & \cs{det} & $\det$ & \cs{lim} & $\lim$ & \cs{sec} & $\sec$ \\
-\cs{arctan} & $\arctan$ & \cs{dim} & $\dim$ & \cs{liminf} & $\liminf$ & \cs{sin} & $\sin$ \\
-\cs{arg} & $\arg$ & \cs{exp} & $\exp$ & \cs{limsup} & $\limsup$ & \cs{sinh} & $\sinh$ \\
-\cs{cos} & $\cos$ & \cs{gcd} & $\gcd$ & \cs{ln} & $\ln$ & \cs{sup} & $\sup$ \\
-\cs{cosh} & $\cosh$ & \cs{hom} & $\hom$ & \cs{log} & $\log$ & \cs{tan} & $\tan$ \\
-\cs{cot} & $\cot$ & \cs{inf} & $\inf$ & \cs{max} & $\max$ & \cs{tanh} & $\tanh$ \\
-\cs{coth} & $\coth$ & \cs{injlim} & $\injlim$ & \cs{min} & $\min$ \\
-\cs{csc} & $\csc$ & \cs{ker} & $\ker$ & \cs{Pr} & $\Pr$
-\end{tabular}\par
-\begin{tabular}{rlrl}
-\cs{varlimsup} & $\varlimsup$
-& \cs{varinjlim} & $\varinjlim$\\
-\cs{varliminf} & $\varliminf$
-& \cs{varprojlim} & $\varprojlim$
-\end{tabular}
-}
-\end{table*}
-
-\section{Vectors and Sets}
-\label{sec:vec}
-
-Vectors should be typeset using \cs{vec}. For example $\vec{x}$.
-(The original version of \cs{vec} can also be accessed using
-\cs{orgvec}, for example $\orgvec{x}$.)
-The \textsf{jmlr} class also provides \cs{set} to typeset a
-set. For example $\set{S}$.
-
-\section{Floats}
-\label{sec:floats}
-
-Floats, such as figures, tables and algorithms, are moving
-objects and are supposed to float to the nearest convenient
-location. Please don't force them to go in a particular place. In
-general it's best to use the \texttt{htbp} specifier and don't
-put the figure or table in the middle of a paragraph (that is
-make sure there's a paragraph break above and below the float).
-Floats are supposed to have a little extra space above and below
-them to make them stand out from the rest of the text. This extra
-spacing is put in automatically and shouldn't need modifying.
-
-If your article will later be reprinted in the Challenges for
-Machine Learning, please be aware that the CiML books use a
-different paper size, so if you want to resize any images use a
-scale relative to the line width (\verb|\linewidth|), text width
-(\verb|\textwidth|) or text height (\verb|\textheight|).
-
-To ensure consistency, please \emph{don't} try changing the format of the caption by doing
-something like:
-\begin{verbatim}
-\caption{\textit{A Sample Caption.}}
-\end{verbatim}
-or
-\begin{verbatim}
-\caption{\em A Sample Caption.}
-\end{verbatim}
-You can, of course, change the font for individual words or
-phrases, for example:
-\begin{verbatim}
-\caption{A Sample Caption With Some \emph{Emphasized Words}.}
-\end{verbatim}
-
-\subsection{Tables}
-\label{sec:tables}
-
-Tables should go in the \texttt{table} environment. Within this
-environment use \verb|\floatconts| (defined by \textsf{jmlr})
-to set the caption correctly and center the table contents.
-The location of the caption depends on the \verb|tablecaption|
-setting in the document class options.
-
-\begin{table}[htbp]
- % The first argument is the label.
- % The caption goes in the second argument, and the table contents
- % go in the third argument.
-\floatconts
- {tab:example}%
- {\caption{An Example Table}}%
- {\begin{tabular}{ll}
- \bfseries Dataset & \bfseries Result\\
- Data1 & 0.12345\\
- Data2 & 0.67890\\
- Data3 & 0.54321\\
- Data4 & 0.09876
- \end{tabular}}
-\end{table}
-
-If you want horizontal rules you can use the \textsf{booktabs}
-package which provides the commands \verb|\toprule|,
-\verb|\midrule| and \verb|\bottomrule|. For example, see
-\tableref{tab:example-booktabs}.
-
-\begin{table}[hbtp]
-\floatconts
- {tab:example-booktabs}
- {\caption{A Table With Horizontal Lines}}
- {\begin{tabular}{ll}
- \toprule
- \bfseries Dataset & \bfseries Result\\
- \midrule
- Data1 & 0.12345\\
- Data2 & 0.67890\\
- Data3 & 0.54321\\
- Data4 & 0.09876\\
- \bottomrule
- \end{tabular}}
-\end{table}
-
-If you really want vertical lines as well, you can't use the
-\textsf{booktabs} commands as there'll be some unwanted gaps.
-Instead you can use \LaTeX's \verb|\hline|, but the rows may
-appear a bit cramped. You can add extra space above or below a
-row using \verb|\abovestrut| and \verb|\belowstrut|. For example,
-see \tableref{tab:example-hline}. However, you might want to read
-the \textsf{booktabs} documentation regarding the use of vertical
-lines.
-
-\begin{table}[htbp]
-\floatconts
- {tab:example-hline}
- {\caption{A Table With Horizontal and Vertical Lines}}%
- {%
- \begin{tabular}{|l|l|}
- \hline
- \abovestrut{2.2ex}\bfseries Dataset & \bfseries Result\\\hline
- \abovestrut{2.2ex}Data1 & 0.12345\\
- Data2 & 0.67890\\
- Data3 & 0.54321\\
- \belowstrut{0.2ex}Data4 & 0.09876\\\hline
- \end{tabular}
- }
-\end{table}
-
-If you want to align numbers on their decimal point, you can
-use the \textsf{siunitx} package. For example, see
-\tableref{tab:example-siunitx}. For further details see the
-\textsf{siunitx} documentation\footnote{Either \texttt{texdoc
-siunitx} or \url{http://www.ctan.org/pkg/siunitx}}.
-
-\begin{table}[htbp]
-\floatconts
- {tab:example-siunitx}
- {\caption{A Table With Numbers Aligned on the Decimal Point}}
- {\begin{tabular}{lS[tabformat=3.5]}
- \bfseries Dataset & {\bfseries Result}\\
- Data1 & 0.12345\\
- Data2 & 10.6789\\
- Data3 & 50.543\\
- Data4 & 200.09876
- \end{tabular}}
-\end{table}
-
-If the table is too wide, you can adjust the inter-column
-spacing by changing the value of \verb|\tabcolsep|. For
-example:
-\begin{verbatim}
-\setlength{\tabcolsep}{3pt}
-\end{verbatim}
-If the table is very wide but not very long, you can use the
-\texttt{sidewaystable} environment defined in the
-\textsf{rotating} package (so use \verb|\usepackage{rotating}|).
-If the table is too long to fit on a page, you can use the
-\texttt{longtable} environment defined in the \textsf{longtable}
-package (so use \verb|\usepackage{longtable}|).
-
-\subsection{Figures}
-\label{sec:figures}
-
-Figures should go in the \texttt{figure} environment. Within this
-environment, use \verb|\floatconts| to correctly position the
-caption and center the image. Use \verb|\includegraphics|
-for external graphics files but omit the file extension. Do not
-use \verb|\epsfig| or \verb|\psfig|. If you want to scale the
-image, it's better to use a fraction of the line width rather
-than an explicit length. For example, see \figureref{fig:nodes}.
-
-\begin{figure}[htbp]
- % Caption and label go in the first argument and the figure contents
- % go in the second argument
-\floatconts
- {fig:nodes}
- {\caption{Example Image}}
- {\includegraphics[width=0.5\linewidth]{images/nodes}}
-\end{figure}
-
-If your image is made up of \LaTeX\ code (for example, commands
-provided by the \textsf{pgf} package) you can include it using
-\cs{includeteximage} (defined by the \textsf{jmlr} class). This
-can be scaled and rotated in the same way as \cs{includegraphics}.
-For example, see \figureref{fig:teximage}.
-
-\begin{figure}[htbp]
-\floatconts
- {fig:teximage}
- {\caption{Image Created Using \LaTeX\ Code}}
- {\includeteximage[angle=45]{images/teximage}}
-\end{figure}
-
-If the figure is too wide to fit on the page, you can use the
-\texttt{sidewaysfigure} environment defined in the
-\textsf{rotating} package.
-
-Don't use \verb|\graphicspath|.\footnote{This is specific to the
-\textsf{jmlr} class, not a general recommendation. The main file
-that generates the proceedings or the CiML book is typically in a
-different directory to the imported articles, so it modifies the
-graphics path when it imports an article.} If the images
-are contained in a subdirectory, specify this when you include the image, for
-example \verb|\includegraphics{figures/mypic}|.
-
-\subsubsection{Sub-Figures}
-\label{sec:subfigures}
-
-Sub-figures can be created using \verb|\subfigure|, which is
-defined by the \textsf{jmlr} class. The optional argument allows
-you to provide a subcaption. The label should be placed in the
-mandatory argument of \verb|\subfigure|. You can reference the
-entire figure, for example \figureref{fig:subfigex}, or you can
-reference part of the figure using \verb|\figureref|, for example
-\figureref{fig:circle}. Alternatively you can reference the
-subfigure using \verb|\subfigref|, for example
-\subfigref{fig:circle,fig:square} in \figureref{fig:subfigex}.
-
-\begin{figure}[htbp]
-\floatconts
- {fig:subfigex}
- {\caption{An Example With Sub-Figures.}}
- {%
- \subfigure[A Circle]{\label{fig:circle}%
- \includegraphics[width=0.2\linewidth]{images/circle}}%
- \qquad
- \subfigure[A Square]{\label{fig:square}%
- \includegraphics[width=0.2\linewidth]{images/square}}
- }
-\end{figure}
-
-By default, the sub-figures are aligned on the baseline.
-This can be changed using the second optional argument
-of \verb|\subfigure|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the subfigures
-\subfigref{fig:circle2,fig:square2} in \figureref{fig:subfigex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{figure}[htbp]
-\floatconts
- {fig:subfigex2}
- {\caption{Another Example With Sub-Figures.}}
- {%
- \subfigure[A Small Circle][c]{\label{fig:circle2}%
- \includegraphics[width=0.1\linewidth]{images/circle}}%
- \qquad
- \subfigure[A Square][c]{\label{fig:square2}%
- \includegraphics[width=0.2\linewidth]{images/square}}
- }
-\end{figure}
-
-\subsection{Sub-Tables}
-\label{sec:subtables}
-There is an analogous command \verb|\subtable| for sub-tables.
-It has the same syntax as \verb|\subfigure| described above.
-You can reference the table using \verb|\tableref|, for example
-\tableref{tab:subtabex} or you can reference part of the table,
-for example \tableref{tab:ab}. Alternatively you can reference the
-subtable using \verb|\subtabref|, for example
-\subtabref{tab:ab,tab:cd} in \tableref{tab:subtabex}.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex}
- {\caption{An Example With Sub-Tables}}
- {%
- \subtable{%
- \label{tab:ab}%
- \begin{tabular}{cc}
- \bfseries A & \bfseries B\\
- 1 & 2
- \end{tabular}
- }\qquad
- \subtable{%
- \label{tab:cd}%
- \begin{tabular}{cc}
- \bfseries C & \bfseries D\\
- 3 & 4\\
- 5 & 6
- \end{tabular}
- }
- }
-\end{table}
-
-By default, the sub-tables are aligned on the top.
-This can be changed using the second optional argument
-of \verb|\subtable|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the sub-tables
-\subtabref{tab:ab2,tab:cd2} in \tableref{tab:subtabex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex2}
- {\caption{Another Example With Sub-Tables}}
- {%
- \subtable[][c]{%
- \label{tab:ab2}%
- \begin{tabular}{cc}
- \bfseries A & \bfseries B\\
- 1 & 2
- \end{tabular}
- }\qquad
- \subtable[][c]{%
- \label{tab:cd2}%
- \begin{tabular}{cc}
- \bfseries C & \bfseries D\\
- 3 & 4\\
- 5 & 6
- \end{tabular}
- }
- }
-\end{table}
-
-\subsection{Algorithms}
-\label{sec:algorithms}
-
-Enumerated textual algorithms can be displayed using the
-\texttt{algorithm} environment. Within this environment, use
-\verb|\caption| to set the caption and you can use an
-\texttt{enumerate} or nested \texttt{enumerate} environments.
-For example, see \algorithmref{alg:gauss}. Note that algorithms
-float like figures and tables.
-
-\begin{algorithm}[htbp]
-\floatconts
- {alg:gauss}%
- {\caption{The Gauss-Seidel Algorithm}}%
-{%
-\begin{enumerate}
- \item For $k=1$ to maximum number of iterations
- \begin{enumerate}
- \item For $i=1$ to $n$
- \begin{enumerate}
- \item $x_i^{(k)} =
- \frac{b_i - \sum_{j=1}^{i-1}a_{ij}x_j^{(k)}
- - \sum_{j=i+1}^{n}a_{ij}x_j^{(k-1)}}{a_{ii}}$
- \item If $\|\vec{x}^{(k)}-\vec{x}^{(k-1)} < \epsilon\|$,
- where $\epsilon$ is a specified stopping criteria, stop.
- \end{enumerate}
- \end{enumerate}
-\end{enumerate}
-}%
-\end{algorithm}
-
-If you'd rather have the same numbering throughout the algorithm
-but still want the convenient indentation of nested
-\texttt{enumerate} environments, you can use the
-\texttt{enumerate*} environment provided by the \textsf{jmlr}
-class. For example, see \algorithmref{alg:moore}.
-
-\begin{algorithm}
-\floatconts
- {alg:moore}%
- {\caption{Moore's Shortest Path}}%
-{%
-Given a connected graph $G$, where the length of each edge is 1:
-\begin{enumerate*}
- \item Set the label of vertex $s$ to 0
- \item Set $i=0$
- \begin{enumerate*}
- \item \label{step:locate}Locate all unlabelled vertices
- adjacent to a vertex labelled $i$ and label them $i+1$
- \item If vertex $t$ has been labelled,
- \begin{enumerate*}
- \item[] the shortest path can be found by backtracking, and
- the length is given by the label of $t$.
- \end{enumerate*}
- otherwise
- \begin{enumerate*}
- \item[] increment $i$ and return to step~\ref{step:locate}
- \end{enumerate*}
- \end{enumerate*}
-\end{enumerate*}
-}%
-\end{algorithm}
-
-Pseudo code can be displayed using the \texttt{algorithm2e}
-environment. This is defined by the \textsf{algorithm2e} package
-(which is automatically loaded) so check the \textsf{algorithm2e}
-documentation for further details.\footnote{Either \texttt{texdoc
-algorithm2e} or \url{http://www.ctan.org/pkg/algorithm2e}}
-For an example, see \algorithmref{alg:net}.
-
-\begin{algorithm2e}
-\caption{Computing Net Activation}
-\label{alg:net}
- % older versions of algorithm2e have \dontprintsemicolon instead
- % of the following:
- %\DontPrintSemicolon
- % older versions of algorithm2e have \linesnumbered instead of the
- % following:
- %\LinesNumbered
-\KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
-\KwOut{$y$, the net activation}
-$y\leftarrow 0$\;
-\For{$i\leftarrow 1$ \KwTo $n$}{
- $y \leftarrow y + w_i*x_i$\;
-}
-\end{algorithm2e}
-
-\section{Description Lists}
-
-The \textsf{jmlr} class also provides a description-like
-environment called \texttt{altdescription}. This has an
-argument that should be the widest label in the list. Compare:
-\begin{description}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{description}
-with
-\begin{altdescription}{differentiate}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{altdescription}
-
-\section{Theorems, Lemmas etc}
-\label{sec:theorems}
-
-The following theorem-like environments are predefined by
-the \textsf{jmlr} class: \texttt{theorem}, \texttt{example},
-\texttt{lemma}, \texttt{proposition}, \texttt{remark},
-\texttt{corollary}, \texttt{definition}, \texttt{conjecture}
-and \texttt{axiom}. You can use the \texttt{proof} environment
-to display the proof if need be, as in \theoremref{thm:eigenpow}.
-
-\begin{theorem}[Eigenvalue Powers]\label{thm:eigenpow}
-If $\lambda$ is an eigenvalue of $\vec{B}$ with eigenvector
-$\vec{\xi}$, then $\lambda^n$ is an eigenvalue of $\vec{B}^n$
-with eigenvector $\vec{\xi}$.
-\begin{proof}
-Let $\lambda$ be an eigenvalue of $\vec{B}$ with eigenvector
-$\xi$, then
-\begin{align*}
-\vec{B}\vec{\xi} &= \lambda\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}\vec{\xi} &= \vec{B}\lambda\vec{\xi}\\
-\Rightarrow \vec{B}^2\vec{\xi} &= \lambda\vec{B}\vec{\xi}\\
-&= \lambda\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^2\vec{\xi}
-\end{align*}
-Therefore true for $n=2$. Now assume true for $n=k$:
-\begin{align*}
-\vec{B}^k\vec{\xi} &= \lambda^k\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}^k\vec{\xi} &= \vec{B}\lambda^k\vec{\xi}\\
-\Rightarrow \vec{B}^{k+1}\vec{\xi} &= \lambda^k\vec{B}\vec{\xi}\\
-&= \lambda^k\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^{k+1}\vec{\xi}
-\end{align*}
-Therefore true for $n=k+1$. Therefore, by induction, true for all
-$n$.
-\end{proof}
-\end{theorem}
-
-\begin{lemma}[A Sample Lemma]\label{lem:sample}
-This is a lemma.
-\end{lemma}
-
-\begin{remark}[A Sample Remark]\label{rem:sample}
-This is a remark.
-\end{remark}
-
-\begin{corollary}[A Sample Corollary]\label{cor:sample}
-This is a corollary.
-\end{corollary}
-
-\begin{definition}[A Sample Definition]\label{def:sample}
-This is a definition.
-\end{definition}
-
-\begin{conjecture}[A Sample Conjecture]\label{con:sample}
-This is a conjecture.
-\end{conjecture}
-
-\begin{axiom}[A Sample Axiom]\label{ax:sample}
-This is an axiom.
-\end{axiom}
-
-\begin{example}[An Example]\label{ex:sample}
-This is an example.
-\end{example}
-
-\section{Color vs Grayscale}
-\label{sec:color}
-
-It's helpful if authors supply grayscale versions of their
-images in the event that the article is to be incorporated into
-a black and white printed book. With external PDF, PNG or JPG
-graphic files, you just need to supply a grayscale version of the
-file. For example, if the file is called \texttt{myimage.png},
-then the gray version should be \texttt{myimage-gray.png} or
-\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
-need to modify your code. The \textsf{jmlr} class checks for
-the existence of the grayscale version if it is print mode
-(provided you have used \verb|\includegraphics| and haven't
-specified the file extension).
-
-You can use \verb|\ifprint| to determine which mode you are in.
-For example, in \figureref{fig:nodes}, the
-\ifprint{dark gray}{purple} ellipse represents an input and the
-\ifprint{light gray}{yellow} ellipse represents an output.
-Another example: {\ifprint{\bfseries}{\color{red}}important text!}
-
-You can use the class option \texttt{gray} to see how the
-document will appear in gray scale mode. \textcolor{blue}{Colored
-text} will automatically be converted to gray scale in print mode.
-
-The \textsf{jmlr} class loads the \textsf{xcolor}
-package, so you can also define your own colors. For example:
-\ifprint
- {\definecolor{myred}{gray}{0.5}}%
- {\definecolor{myred}{rgb}{0.5,0,0}}%
-\textcolor{myred}{XYZ}.
-
-The \textsf{xcolor} class is loaded with the \texttt{x11names}
-option, so you can use any of the x11 predefined colors (listed
-in the \textsf{xcolor} documentation\footnote{either
-\texttt{texdoc xcolor} or \url{http://www.ctan.org/pkg/xcolor}}).
-
-\section{Citations and Bibliography}
-\label{sec:cite}
-
-The \textsf{jmlr} class automatically loads \textsf{natbib}
-and automatically sets the bibliography style, so you don't need to
-use \verb|\bibliographystyle|.
-This sample file has the citations defined in the accompanying
-BibTeX file \texttt{jmlr-sample.bib}. For a parenthetical
-citation use \verb|\citep|. For example
-\citep{guyon-elisseeff-03}. For a textual citation use
-\verb|\citet|. For example \citet{guyon2007causalreport}.
-Both commands may take a comma-separated list, for example
-\citet{guyon-elisseeff-03,guyon2007causalreport}.
-
-These commands have optional arguments and have a starred
-version. See the \textsf{natbib} documentation for further
-details.\footnote{Either \texttt{texdoc natbib} or
-\url{http://www.ctan.org/pkg/natbib}}
-
-The bibliography is displayed using \verb|\bibliography|.
-
-\acks{Acknowledgements go here.}
-
-\bibliography{jmlr-sample}
-
-\appendix
-
-\section{First Appendix}\label{apd:first}
-
-This is the first appendix.
-
-\section{Second Appendix}\label{apd:second}
-
-This is the second appendix.
-
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
deleted file mode 100644
index 8600d8176e1..00000000000
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/scripts/jmlr/makejmlrbook b/Master/texmf-dist/scripts/jmlr/makejmlrbook
deleted file mode 100755
index 544943fc754..00000000000
--- a/Master/texmf-dist/scripts/jmlr/makejmlrbook
+++ /dev/null
@@ -1,1321 +0,0 @@
-#!/usr/bin/env perl
-# File : makejmlrbook
-# Author : Nicola L C Talbot
-# Date : 22nd March 2010
-# 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://www.dickimaw-books.com/
-#
-# This file is distributed as part of the jmlr LaTeX bundle.
-#
-# *****
-# 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.
-# The latest version of this license is in
-# http://www.latex-project.org/lppl.txt
-# and version 1.3 or later is part of all distributions of LaTeX
-# version 2005/12/01 or later.
-#
-# This work has the LPPL maintenance status `maintained'.
-#
-# The Current Maintainer of this work is Nicola Talbot.
-
-use Getopt::Long;
-use File::Basename;
-use File::Copy;
-use Cwd;
-use strict;
-
-my $version = "0.33 (2020-09-21)";
-
-my $eol = "\n";
-my $dd = '/';
-
-if ($^O eq 'MSWin32')
-{
- $eol = "\r\n";
- $dd = "\\";
-}
-
-my $showversion = 0;
-my $showhelp = 0;
-my $quiet = 0;
-my $batchtex = 0;
-my $online = 1;
-my $print = 1;
-my $html = 1;
-my $latexapp = 'pdflatex';
-my $bibtexapp = 'bibtex';
-my $latexopts = '';
-my $bibtexopts = '';
-my $format = 'pdf';
-my $logourl = '';
-my $extractpreface = 0; # v0.3 added
-# execute system calls (--noexecute will just list the system calls
-# 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,
- "html!" => \$html,
- "extractpreface!" => \$extractpreface,
- "logourl=s" => \$logourl,
- "format=s" => \$format,
- "latexapp=s" => \$latexapp,
- "bibtexapp=s" => \$bibtexapp,
- "latexopts=s" => \$latexopts,
- "bibtexopts=s" => \$bibtexopts,
- "quieter!" => \$quiet,
- "batchtex!" => \$batchtex,
- "execute!" => \$execute,
- "version" => \$showversion,
- "help" => \$showhelp))
-{
- die "Use --help for help\n";
-}
-
-if ($showhelp)
-{
- die "$appname version $version Copyright (c) 2010 Nicola L C Talbot\n",
- "Distributed under the LaTeX Project Public License.\n\n",
- "Syntax: $appname [options] <filename>\n\n",
- "<filename> should be the name of the master document for a LaTeX \n",
- "file that uses the jmlrbook class. The .tex extension may be\n",
- "omitted.\n\n",
- "Basic options:\n",
- "--online\t\tGenerate the color on-line version (default)\n",
- "--noonline\t\tDon't generate the color on-line version\n",
- "--print\t\t\tGenerate the grayscale print version (default)\n",
- "--noprint\t\tDon't generate the grayscale print version\n",
- "--html\t\t\tGenerate the HTML version (default)\n",
- "--nohtml\t\tDon't generate the HTML version\n",
- "--extractpreface\tParse document for preface environment\n",
- "--noextractpreface\tDon't parse document for preface environment\n",
- "--logourl <url>\tMake the logo on the HTML index page link to <url>\n",
- "--batchtex\t\tRun TeX in batch mode\n",
- "--nobatchtex\t\tDon't run TeX in batch mode\n",
- "--quieter\t\tReduce messages to stdout and run TeX in batch mode\n",
- "--noquieter\t\tDon't reduce messages to stdout\n",
- "--execute\t\tExecute system calls (default)\n",
- "--noexecute\t\tDon't execute system calls, just list the\n",
- "\t\t\tcommands.\n",
- "--version\t\tDisplay version number and exit\n",
- "--help\t\t\tDisplay help message and exit\n",
- "\nAdvanced options:\n",
- "--latexapp <name>\tApplication used to call LaTeX\n",
- "\t\t\t(Defaults to 'pdflatex')\n",
- "--format <string>\tOutput format (default: 'pdf')\n",
- "--bibtexapp <name>\tApplication used to call BibTeX\n",
- "\t\t\t(Defaults to 'bibtex')\n",
- "--latexopt <string>\tOptions to pass to LaTeX\n",
- "--bibtexopt <string>\tOptions to pass to BibTeX\n";
-}
-
-if ($showversion)
-{
- die "$appname version $version copyright (c) 2010 Nicola L C Talbot\n",
- "Distributed under the LaTeX Project Public License.\n";
-}
-
-unless ($#ARGV == 0)
-{
- die "$appname: missing filename\n",
- "use --help for help\n";
-}
-
-if ($quiet or $batchtex)
-{
- $latexopts = '-interaction=batchmode '.$latexopts;
-}
-
-if ($quiet)
-{
- $bibtexopts = '-terse '.$bibtexopts;
-}
-
-my ($main_name, $main_path, $main_suffix)
- = fileparse($ARGV[0], '\.(tex|ltx)');
-
-$main_suffix = '.tex' unless $main_suffix;
-
-my $org_dir = cwd();
-
-&chdirordie($main_path);
-
-my $mainaux = "$main_name.aux";
-
-# If the aux file doesn't exist or the aux file is older than
-# the main file, run latex
-
-if (not -e $mainaux or (-M $mainaux > -M "$main_name$main_suffix"))
-{
- &latex($main_name);
-}
-
-my $main_bibdata = 0;
-my @imports = ();
-my %pagerefs = ();
-my $preface_data; # v0.3 new
-my @preface_editors = ();
-
-# Parse aux file
-
-&parsemainaux($mainaux);
-
-# Replace any instances of \articlepagesref
-
-foreach my $import (@imports)
-{
- my $label = $import->{'label'};
-
- my $pages = $pagerefs{$label}->{'start'}.'--'
- . $pagerefs{$label}->{'end'};
-
- $import->{'author'}=~s/\\articlepagesref\s*\{$label\}/$pages/;
-}
-
-if ($html)
-{
- # If the html files need to be created, make the directory
- # html-src, if it doesn't already exist
-
- unless (-d 'html-src')
- {
- &mkdirordie('html-src');
- }
-
- unless (-d 'html')
- {
- &mkdirordie('html');
- }
-
- if ($extractpreface) # v0.3 new
- {
- # If the preface needs to be extract, make a directory for it if
- # it doesn't already exist
-
- my $prefdir = &fname("html-src", $preface_data->{'OutFile'});
-
- unless (-d $prefdir)
- {
- &mkdirordie($prefdir);
- }
-
- my $prefbase = &fname($prefdir, $preface_data->{'OutFile'});
-
- &createprefacefile($prefdir, $prefbase);
-
- # Create the cfg file
-
- &createjmlrcfg("html-src", $preface_data->{'OutFile'});
-
- &chdirordie($prefdir);
-
- &latex($preface_data->{'OutFile'});
- &htlatex($preface_data->{'OutFile'}, 'jmlr');
-
- &chdirordie($org_dir, $main_path);
-
- # Check the appropriate subdirectory is in html directory
-
- my $outname = &fname('html', $preface_data->{'OutFile'});
-
- unless (-d $outname)
- {
- &mkdirordie($outname);
- }
-
- # Copy pdf file
-
- &copyordie("$prefbase.$format",
- &fname($outname, "$preface_data->{OutFile}.$format"));
-
- # Copy html file
-
- &copyhtml($preface_data->{'OutFile'}, $preface_data->{'OutFile'});
- }
-}
-
-# Iterate through each imported article
-
-foreach my $import (@imports)
-{
- my $label = $import->{'label'};
- my $importbase = &fname($import->{'path'}, $import->{'name'});
-
- # Check the aux file of this article
-
- my $aux = "$importbase.aux";
-
- # The aux file should exist because running LaTeX on the
- # main file will create the aux file.
-
- my $bibdata = 0;
-
- if (open AUX, $aux)
- {
- &message("Reading '$aux'...\n");
-
- while (<AUX>)
- {
- if (/\\bibdata\b/)
- {
- $bibdata = 1;
- }
- }
-
- close AUX;
- }
- elsif (not $execute)
- {
- warn "Can't open '$aux' - skipping\n";
- }
- else
- {
- die "$appname: Can't open '$aux' $!\n";
- }
-
- # Do we need a bibtex run?
-
- if ($bibdata)
- {
- my $log = "$importbase.log";
-
- # If the log file doesn't exist, run LaTeX
-
- unless (-e $log)
- {
- &chdirordie($import->{'path'});
-
- &latex($import->{'name'});
-
- &chdirordie($org_dir, $main_path);
- }
-
- open LOGFD, $log or die "$appname: Can't open '$log' $!\n";
-
- &message("Reading '$log'...\n");
-
- my $runbibtex = 0;
-
- while (<LOGFD>)
- {
- if (/There were undefined citations\./)
- {
- # Run bibtex and latex
- $runbibtex = 1;
-
- last;
- }
- }
-
- close LOGFD;
-
- if ($runbibtex)
- {
- &chdirordie($import->{'path'});
-
- &bibtex($import->{'name'});
- &latex($import->{'name'});
-
- &chdirordie($org_dir, $main_path);
- }
- }
-
- if ($html)
- {
- # If html is required, we also need pdf versions of the
- # individual articles.
-
- # v0.2 run latex even if pdf file exists to ensure start page
- # number is correct.
-
- &chdirordie($import->{'path'});
-
- &latexstartpage($import->{'name'}, $pagerefs{$label}->{'start'});
-
- &chdirordie($org_dir, $main_path);
-
- # Do we need a rerun?
-
- if (&needs_rerun($importbase))
- {
- &chdirordie($import->{'path'});
-
- &latexstartpage($import->{'name'}, $pagerefs{$label}->{'start'});
-
- &chdirordie($org_dir,$main_path);
- }
-
- my $importdir = $import->{'path'};
-
- if ($importdir = '.')
- {
- $importdir = $import->{'name'};
- }
-
- # Check the appropriate subdirectory is in html-src
-
- my $name = &fname('html-src', $importdir);
-
- unless (-d $name)
- {
- &mkdirordie($name);
- }
-
- my $text = '';
-
- # Read the LaTeX file and store everything up to
- # the end of the abstract
-
- my $tex = "$importbase.tex";
-
- my $absfile = &fname("html-src", $importdir,
- $import->{'name'}.'.tex');
-
- if ($execute)
- {
- open TEX, $tex or die "$appname: Can't open '$tex': $!\n";
-
- while (<TEX>)
- {
- # This doesn't handle complicated cases, such as
- # the author using \abstract ... \endabstract
- # or commenting out the abstract with conditionals
- if (/^([^%]*)\\end\{abstract\}/)
- {
- $text .= $&;
- last;
- }
-
- $text .= $_;
- }
-
- close TEX;
-
- # Add the 'html' class option:
- unless ($text=~
- s/^([^%]*)\\documentclass\s*\[(.*)\]/$1\\documentclass[$2,html]/m)
- {
- $text=~s/^([^%]*)\\documentclass\s*/$1\\documentclass[html]/m;
- }
-
- my $aux = "$importbase.aux";
-
- $aux=~s/\\/\//g if ($dd eq '\\');
-
- my $prebegindoc = '\\hypersetup{draft}' . $eol
- . '\\makeatletter' . $eol
- . "\\input{../../$aux}" . $eol
- . '\\makeatother'
- . $eol;
-
- my $begindoc = '';
-
- # Set the authors
- if (defined($import->{'author'}))
- {
- my $author = $import->{'author'};
-
- $author=~s/^([^;]*);/\\textbf{\\emph{$1};}/;
-
- $begindoc .= "\\jmlrauthors{$author}";
- }
-
- # Add content div
-
- # v0.31 modified \footnote to set the footnote text as in-line
- # parenthesis.
-
- $text=~s/^([^%\n\r\f]*)\\begin\{document\}/
- $prebegindoc$&$begindoc
- \\HCode{<div id="content">}
- \\renewcommand{\\footnote}[2][]{ (\#2)}%$eol
- /mx;
-
- # Create file containing the abstract
-
- open ABSFD,">$absfile"
- or die "$appname: Can't create '$absfile': $!\n";
-
- print ABSFD "\\batchmode", $eol if ($batchtex or $quiet);
-
- my $texpath = $import->{path};
-
- $texpath=~s/\\/\//g if ($dd eq '\\');
-
- print ABSFD
- "\\makeatletter",$eol,
- "\\def\\input\@path{{../../$texpath/}}$eol",
- "\\makeatother",$eol,
- $text, $eol,
- "\\HCode{", &htmltimestamp, "}", $eol,
- "\\HCode{</div>}", $eol,
- &htmlmenu, # v0.3 added by Olivier Chapelle
- "\\end{document}",$eol;
-
- close ABSFD;
- }
- else
- {
- &messagecall("Skipping creation of '$absfile'\n");
- }
-
- # Create the cfg file
-
- &createjmlrcfg("html-src", $importdir);
-
- # Run htlatex
-
- # Change directory
- &chdirordie("html-src", $importdir);
-
- &htlatex($import->{'name'}, 'jmlr');
-
- # Go back to main directory
-
- &chdirordie($org_dir, $main_path);
-
- # Copy the html file to the html directory, but rename
- # the css file to jmlr.css
-
- &copyhtml($importdir, $import->{'name'});
-
- # Check the appropriate subdirectory is in html directory
-
- my $outname = &fname('html', $importdir);
-
- unless (-d $outname)
- {
- &mkdirordie($outname);
- }
-
- # Copy pdf file
-
- &copyordie("$importbase.$format",
- &fname($outname, "$import->{name}.$format"));
- }
-}
-
-# do we need to run bibtex on the main document?
-
-if ($main_bibdata)
-{
- &bibtex($main_name);
-}
-
-if ($online)
-{
- &latexonline($main_name);
-
- # do we need a rerun?
-
- if (&needs_rerun($main_name))
- {
- &message("Rerun required\n");
- &latexonline($main_name);
-
- # check again
-
- if (&needs_rerun($main_name))
- {
- &message("Rerun required\n");
- &latexonline($main_name);
- }
- }
-}
-
-if ($print)
-{
- &latexprint($main_name);
-
- # do we need a rerun?
-
- if (&needs_rerun($main_name))
- {
- &message("Rerun required\n");
- &latexprint($main_name);
-
- # check again
-
- if (&needs_rerun($main_name))
- {
- &message("Rerun required\n");
- &latexprint($main_name);
- }
- }
-}
-
-if ($html and $execute)
-{
- # Make the index file
-
- my $indexfile = &fname('html-src', "index");
-
- my $preamble = '';
-
- open OUTFD, ">$indexfile.tex"
- or die "Can't open '$indexfile.tex': $!\n";
-
- open INFD, "$main_name.tex"
- or die "Can't open '$main_name.tex': $!\n";
-
- print OUTFD "\\batchmode", $eol if ($batchtex or $quiet);
-
- print OUTFD
- "\\makeatletter",$eol,
- "\\def\\input\@path{{../}}$eol",
- "\\makeatother",$eol,
- "\\def\\jmlrgrayscale{0}",$eol;
-
- while (<INFD>)
- {
- unless
- (s/^([^%]*)\\documentclass\s*\[([^\]]*)\]/
- $1\\documentclass[$2,html]/x)
- {
- s/^([^%]*)\\documentclass\s*/$&\[html\]/;
- }
-
- s/^([^%]*)\\begin\{document\}/
- \\hypersetup{draft}$eol$&\\HCode{<div id="content">}/x;
-
- if (/^([^%]*)\\maketitle/)
- {
- $preamble .= join('', $1, "\\maketitle", $eol);
- last;
- }
-
- $preamble .= $_;
- }
-
- close INFD;
-
- # Find the book logo
- if ($preamble
- =~/\\logo\s*(?:\[[^\]]*\])?\s*\{(%\s*\n)?\\includegraphics\s*(\[[^\]]*\])?\{([^}]*)\}\}/m)
- {
- my $texpath = $3;
- my $orgtexpath = $texpath;
- $texpath=~s/\//\\/g if ($dd eq "\\");
-
- my $ext = '';
-
- if (-e $texpath)
- {
- &copyordie($texpath, 'html');
-
- &copyordie($texpath, 'html-src');
- }
- elsif (-e "$texpath.png")
- {
- &copyordie("$texpath.png", 'html');
-
- &copyordie("$texpath.png", 'html-src');
-
- $ext = '.png';
- }
- elsif (-e "$texpath.jpg")
- {
- &copyordie("$texpath.jpg", 'html');
- &copyordie("$texpath.jpg", 'html-src');
-
- $ext = '.jpg';
- }
- elsif (-e "$texpath.gif")
- {
- &copyordie("$texpath.gif", 'html');
-
- &copyordie("$texpath.gif", 'html-src');
-
- $ext = '.gif';
- }
-
- my $img = basename($texpath);
-
- if ($logourl)
- {
- $preamble=~s/
- \\includegraphics(\[[^\]]*\])?\{$orgtexpath\}/
- \\href{$logourl}{\\includegraphics${1}{$img$ext}}/mgx;
- }
- else
- {
- $preamble=~s/
- \\includegraphics(\[[^\]]*\])?\{$orgtexpath\}/
- \\includegraphics${1}{$img$ext}/mgx;
- }
- }
-
- print OUTFD $preamble, $eol;
-
- # Parse TOC
-
- my $toc = "$main_name.toc";
-
- # Add link to preface if required
-
- if ($extractpreface)
- {
- print OUTFD
- "\\begin{description}\\item[\\normalfont \\prefacename]", $eol;
-
- print OUTFD "\\textbf{\\emph{\\jmlrabbrnamelist{{",
- join('},{', @preface_editors),
- "}}};} ",
- '\\csname @jmlrabbrvproceedings\\endcsname\\space',
- '\\csname @jmlrvolume\\endcsname:',
- $preface_data->{'Start'};
-
- unless ($preface_data->{'Start'} eq $preface_data->{'End'})
- {
- print OUTFD '--', $preface_data->{'End'};
- }
-
- print OUTFD ', \\csname @jmlryear\\endcsname\\newline', $eol;
-
- my $name = $preface_data->{'OutFile'};
-
- print OUTFD "[\\HCode{<a href=\"$name.html\">html</a>}] ",
- "[\\HCode{<a href=\"$name/$name.pdf\">pdf</a>}]",
- $eol;
-
- print OUTFD "\\end{description}$eol";
- }
-
- open TOC, $toc or die "Can't open '$toc': $!\n";
-
- my $idx = 0;
-
- while (<TOC>)
- {
- if (/^\\tocpart\s*\{(.*)\}\s*$/)
- {
- print OUTFD "\\begin{center}\\bfseries $1\\end{center}$eol";
- }
- 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*$/)
- {
- my $details = $1;
- $details=~s/([^;]*);/\\textbf{\\emph{$1};}/;
-
- my $label = $imports[$idx]->{'label'};
- my $pages = $pagerefs{$label}->{'start'}.'--'
- . $pagerefs{$label}->{'end'};
-
- $details=~s/\\articlepagesref\s*\{$label\}/$pages/;
-
- # v0.3 Changed by Olivier Chapelle to use newline instead of par
- print OUTFD "$details\\newline$eol";
-
- my $name = $imports[$idx]->{'name'};
-
- print OUTFD "[\\HCode{<a href=\"$name.html\">abs</a>}] ",
- "[\\HCode{<a href=\"$name/$name.pdf\">pdf</a>}]",
- $eol;
-
- # v0.3 Changed by Olivier Chapelle to end description
- print OUTFD "\\end{description}$eol";
-
- $idx++;
- }
- }
-
- close TOC;
-
- # version 0.2 added time stamp
-
- print OUTFD "\\HCode{", &htmltimestamp, "}$eol";
-
- print OUTFD &htmlmenu; # v0.3 Added by Olivier Chapelle
-
- print OUTFD "\\HCode{</div>}\\end{document}$eol";
-
- close OUTFD;
-
- # Go into html-src directory and run htlatex
-
- &chdirordie('html-src');
-
- &htlatex("index", 'xhtml');
-
- &chdirordie('..');
-
- # Copy to html directory
-
- my $inname = &fname('html-src', 'index.html');
- my $outname = &fname('html', 'index.html');
-
- open INFD, $inname or die "Can't open '$inname': $!\n";
-
- open OUTFD, ">$outname" or die "Can't open '$outname': $!\n";
-
- while (<INFD>)
- {
- s/href="index.css"/href="jmlr.css"/;
-
- print OUTFD;
- }
-
- close OUTFD;
-
- close INFD;
-
- # v0.2 new:
- # Copy any images generated by htlatex to html/
-
- my @imagefiles = glob(&fname('html-src', "index*.png"));
-
- foreach my $imagefile (@imagefiles)
- {
- copy($imagefile, 'html');
- }
-}
-elsif ($html)
-{
- &messagecall("chdir 'html-src'\n");
- &htlatex("index", 'xhtml');
-}
-
-# Return to original directory
-chdir $org_dir;
-
-# Subroutines
-
-sub message{ print @_ unless ($quiet) }
-
-sub messagecall{ print @_ if (not $quiet or not $execute) }
-
-sub systemcall{
- my $cmd = shift;
-
- &messagecall($cmd, "\n");
-
- my $code = 0;
-
- $code = system($cmd) if ($execute);
-
- $code;
-}
-
-sub latex{
- my $file = shift;
-
- my $code = &systemcall(join(' ', $latexapp, $latexopts, "\"$file\""));
-
- if ($code)
- {
- die "**LaTeX run failed with exit code $code.**\n",
- "Check '$file.log' for details\n";
- }
-}
-
-# v0.2 new
-sub latexstartpage{
- my $file = shift;
- my $page = shift;
-
- my $code = &systemcall(join(' ', $latexapp, $latexopts,
- "\"\\def\\startpage{$page}\\input{$file}\""));
-
- if ($code)
- {
- die "**LaTeX run failed with exit code $code.**\n",
- "Check '$file.log' for details\n";
- }
-}
-
-sub copyordie{
- my ($org, $dest) = @_;
-
- &messagecall("copy '$org' to '$dest'\n");
-
- if ($execute)
- {
- copy($org, $dest) or die "Can't copy '$org' to '$dest': $!\n";
- }
-}
-
-sub latexonline{
- my $file = shift;
-
- my $code = &systemcall(join(' ', $latexapp, $latexopts,
- "\"\\def\\jmlrgrayscale{0}\\input{$file}\""));
-
- if ($code)
- {
- die "**LaTeX run failed with exit code $code.**\n",
- "Check '$file.log' for details\n";
- }
-
- &copyordie("$file.$format", "$file-online.$format");
-}
-
-sub latexprint{
- my $file = shift;
-
- my $code = &systemcall(join(' ', $latexapp, $latexopts,
- "\"\\def\\jmlrgrayscale{1}\\input{$file}\""));
-
- if ($code)
- {
- die "**LaTeX run failed with exit code $code.**\n",
- "Check '$file.log' for details\n";
- }
-
- &copyordie("$file.$format", "$file-print.$format");
-}
-
-sub bibtex{
- my $file = shift;
-
- my $code = &systemcall(
- join(' ', $bibtexapp, $bibtexopts, "\"$file\""));
-
- if ($code)
- {
- die "**BibTeX run failed with exit code $code.**\n",
- "Check '$file.blg' for details\n";
- }
-}
-
-sub needs_rerun{
- my $file = shift;
- my $rerun = 0;
-
- unless ($execute)
- {
- &messagecall("Skipping rerun check for '$file'\n");
- return 0;
- }
-
- # Scan log file for rerun message
-
- my $log = "$file.log";
-
- # If there's no log file a run is needed
- open LOGFD, $log or return 1;
-
- while (<LOGFD>)
- {
- if (/Rerun to get cross-references right\./)
- {
- $rerun = 1;
- last;
- }
- }
-
- close LOGFD;
-
- return $rerun;
-}
-
-sub fname{ join($dd, @_) }
-
-# v0.3 new
-sub chdirordie{
- my $dirname = &fname(@_);
-
- &messagecall("chdir '$dirname'\n");
-
- unless (chdir $dirname)
- {
- if ($execute)
- {
- die "$appname: Can't change directory to $dirname: $!\n";
- }
- else
- {
- warn "(Can't change directory to '$dirname')\n";
- }
- }
-}
-
-# v0.31 new
-sub mkdirordie{
- my $dirname = &fname(@_);
-
- &messagecall("mkdir '$dirname'\n");
-
- unless (mkdir $dirname)
- {
- if ($execute)
- {
- die "$appname: Can't create directory '$dirname': $!\n";
- }
- else
- {
- warn "(Can't create directory '$dirname')\n";
- }
- }
-}
-
-# v0.2 new
-sub htmltimestamp{
- my $timestamp = localtime;
-
- return "<hr><center>Page last modified on $timestamp.</center>";
-}
-
-# v0.3 Added by Olivier Chapelle
-sub htmlmenu{
- return '
-\\HCode{<div id="fixed"><br>}
-\\HCode{<a align="right" href="http://www.jmlr.org" target=_top><img align="right" class="jmlr" src="http://jmlr.csail.mit.edu/jmlr.jpg" border="0"></a>}
-\\HCode{<p><br><br>}
-\\HCode{<p align="right"> <A href="http://www.jmlr.org/"> Home Page </A>}
-\\HCode{<p align="right"> <A href="/papers"> Papers </A>}
-\\HCode{<p align="right"> <A href="/author-info.html"> Submissions </A>}
-\\HCode{<p align="right"> <A href="/news.html"> News </A>}
-\\HCode{<p align="right"> <A href="/scope.html"> Scope </A>}
-\\HCode{<p align="right"> <A href="/editorial-board.html"> Editorial Board </A>}
-\\HCode{<p align="right"> <A href="/announcements.html"> Announcements </A>}
-\\HCode{<p align="right"> <A href="/proceedings"> Proceedings </A>}
-\\HCode{<p align="right"> <A href="/mloss">Open Source Software</A>}
-\\HCode{<p align="right"> <A href="/search-jmlr.html"> Search </A>}
-\\HCode{<p align="right"> <A href="/manudb"> Login </A></p>}
-\\HCode{<br><br>}
-\\HCode{<p align="right"> <A href="http://jmlr.csail.mit.edu/jmlr.xml">}
-\\HCode{<img src="http://jmlr.csail.mit.edu/RSS.gif" class="rss" alt="RSS Feed">}
-\\HCode{</A>}
-\\HCode{</div>}
-'
-}
-
-# v0.3 new
-sub htlatex{
- my ($filename, $cfg) = @_;
-
- # unicode-related options suggested by Olivier Chapelle
-
- # v0.31 added latex options in 5th parameter
-
- my $code = &systemcall(join(' ', 'htlatex',
- "\"$filename\"",
- "\"$cfg,uni-html4\"",
- "\" -cunihtf -utf8\"",
- '""',
- "\" $latexopts\""
- ));
-
- if ($code)
- {
- die "$appname: htlatex failed with exit code $code.\n";
- }
-}
-
-#v0.3 new
-sub createjmlrcfg{
- my $cfg = &fname(@_, "jmlr.cfg");
-
- unless ($execute)
- {
- &messagecall("Skipping creation of '$cfg'\n");
- return;
- }
-
- open CFG, ">$cfg" or die "$appname: Can't create '$cfg': $!\n";
-
-print CFG <<END_CFG;
-\\Preamble{html}
-\\begin{document}
-\\Css{div.maketitle {text-align:left;}}
-\\Css{h2.titleHead {text-align:left;}}
-\\Css{. {font-family:verdana,helvetica,sans-serif}}
-\\Css{a {text-decoration:none;color:\\#3030a0}}
-\\Css{.cmbx-10x-x-109{ font-weight: bold;}}
-\\Css{.cmbxti-10x-x-109{ font-weight: bold; font-style: italic;}}
-\\Css{\\#fixed {position:absolute; top:0; left:0; width:8em;
-height:100\\%;}}
-\\Css{\\#content {margin-top:1em; margin-left:10em;
-margin-right:0.5em;}}
-\\Css{img.jmlr {width: 7em;}}
-\\Css{img.rss {width: 2em;}}
-\\EndPreamble
-END_CFG
-
-# v0.3 Last four \Css lines above added by Olivier Chapelle
- close CFG;
-}
-
-#v0.3 new
-# copy html from html-src/$dir/ to html/ and rename css file
-sub copyhtml{
- my ($dir, $name) = @_;
-
- my $infile = &fname("html-src", $dir, "$name.html");
-
- my $outfile = &fname("html", "$name.html");
-
- unless ($execute)
- {
- &messagecall("Copy '$infile' to '$outfile'\n");
- return;
- }
-
- open INFD, $infile or die "Can't open '$infile': $!\n";
-
- open OUTFD, ">$outfile" or die "Can't open '$outfile': $!\n";
-
- while (<INFD>)
- {
- s/href="$name\.css"/href="jmlr.css"/;
-
- print OUTFD;
- }
-
- close OUTFD;
-
- close INFD;
-
- # Copy css file
-
- &copyordie("html-src/$dir/$name.css", "html/jmlr.css");
-}
-
-sub parsemainaux{
- my $mainaux = shift;
-
- &message("Reading '$mainaux'...\n");
-
- unless (open AUX, "$mainaux")
- {
- if ($execute)
- {
- die "$appname: Can't open '$mainaux' $!\n";
- }
- else
- {
- warn "(Can't open '$mainaux' - skipping)\n";
- return;
- }
- }
-
- while (<AUX>)
- {
- if (/\\bibdata\b/)
- {
- $main_bibdata = 1;
- }
- elsif (/\\\@jmlr\@import\{(.*)\}\{(.*)\}\{(.*)\}/)
- {
- my $import =
- {
- label => $1,
- path => $2,
- name => $3
- };
-
- $import->{'name'} =~s/\.(tex|ltx)\Z//;
-
- push @imports, $import;
- }
- elsif (/\\contentsline\s*\{chapterauthor\}\{(.*)\}\{\}\{\}}\s*$/
- and $#imports > -1)
- {
- $imports[$#imports]->{'author'} = $1;
- }
- elsif (/^\\newlabel\s*\{([^\}]*)jmlrstart\}\{\{([^\}]*)\}\{([^\}]*)\}/)
- {
- my $label = $1;
-
- $pagerefs{$label}->{'start'} = $3;
- }
- elsif (/^\\newlabel\s*\{([^\}]*)jmlrend\}\{\{([^\}]*)\}\{([^\}]*)\}/)
- {
- my $label = $1;
-
- $pagerefs{$label}->{'end'} = $3;
- }
- elsif ($extractpreface) # v0.3 new
- {
- if (/^\\\@prefacestart\{([^\}]*)\}\{(\d*)\}/)
- {
- $preface_data->{'Start'} = $1;
- $preface_data->{'StartArabic'} = $2;
- }
- elsif (/^\\\@prefaceend\{([^\}]*)\}/)
- {
- $preface_data->{'End'} = $1;
- }
- elsif (/^\\\@prefacefile\{([^\}]*)\}\{([^\}]*)\}/)
- {
- $preface_data->{'File'} = $1;
- $preface_data->{'OutFile'} = $2;
- }
- elsif (/^\\\@prefaceeditor\{(.*)\}/)
- {
- my $name = $1;
- $name=~s/\\\\.*//;
- push @preface_editors, $name;
- }
- }
- }
-
- # if preface is to be extracted, has the require data been found?
-
- if ($extractpreface)
- {
- unless ($preface_data->{'File'})
- {
- warn "$appname: Can't find preface information in aux file.\n",
- "Have you used the preface environment?\n";
-
- $extractpreface = 0;
- }
- }
-
- close AUX;
-}
-
-sub createprefacefile{
- my ($prefdir, $prefbase) = @_;
-
- my $prefout = "$prefbase.tex";
-
- &messagecall("Create preface file '$prefout'\n");
-
- return unless ($execute);
-
- # Open preface output file
-
- open PREFOUT, ">$prefout"
- or die "$appname: Can't open '$prefout': $!\n";
-
- print PREFOUT "\\batchmode", $eol if ($batchtex or $quiet);
- print PREFOUT "\\makeatletter", $eol;
- print PREFOUT "\\def\\input\@path{{../../}}", $eol;
- print PREFOUT "\\makeatother", $eol;
-
- # Get the book's preamble
-
- my $filename = "$main_name$main_suffix";
-
- open BOOK, $filename
- or die "$appname: Can't open '$filename': $!\n";
-
- while (<BOOK>)
- {
- if (/\\documentclass/)
- {
- unless (s/^([^%]*)\\documentclass\s*\[(.*)\]/$1\\documentclass[$2,html]/m)
- {
- s/^([^%]*)\\documentclass\s*/$1\\documentclass[html]/m;
- }
-
- print PREFOUT;
- }
- elsif (/^\\begin{document}/)
- {
- if ($preface_data->{'Start'}=~/^[clxvi]+$/)
- {
- print PREFOUT "\\pagenumbering{roman}%", $eol;
- }
- elsif ($preface_data->{'Start'}=~/^[CLXVI]+$/)
- {
- print PREFOUT "\\pagenumbering{Roman}%", $eol;
- }
-
- print PREFOUT
- "\\setcounter{page}{",
- $preface_data->{'StartArabic'},
- "}%", $eol;
-
- # \hypersetup{draft} is used to suppress links.
- # (Only a partial document so internal links may be
- # dead. Also prevents unwanted tag before the DOCTYPE
- # line in the HTML file.)
-
- print PREFOUT
- "\\hypersetup{draft}", $eol,
- '\\makeatletter',
- "\\\@openrightfalse\\input{../../$main_name.aux}",
- '\\makeatother', $eol;
-
- print PREFOUT
- "\\providecommand{\\HCode}[1]{}", $eol,
- "\\title{\\prefacename}", $eol,
- "\\begin{document}", $eol,
- "\\HCode{<div id=\"content\">}", $eol;
-
- last;
- }
- else
- {
- print PREFOUT;
- }
- }
-
- close BOOK;
-
- # Preface file name will have '/' as directory divider
-
- my $preffile = $preface_data->{'File'};
-
- if ($dd eq "\\")
- {
- $preffile=~s/\//\\/g;
- }
-
- open PREFIN, $preffile
- or die "$appname: Can't open '$preffile': $!\n";
-
- my $scanning = 0;
-
- while (<PREFIN>)
- {
- # This is fairly primitive and works best when the begin
- # and end of the environment are on their own line.
-
- if (/\\begin\{preface\}/)
- {
- print PREFOUT;
- $scanning = 1;
- }
- elsif ($scanning)
- {
- print PREFOUT;
-
- last if /\\end\{preface\}/;
- }
- }
-
- close PREFIN;
-
- print PREFOUT
- "\\HCode{", &htmltimestamp, "}", $eol,
- "\\HCode{</div>}", $eol,
- &htmlmenu,
- "\\end{document}", $eol;
-
- close PREFOUT;
-
-}
-
-1;
diff --git a/Master/texmf-dist/source/latex/jmlr/jmlr.dtx b/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
index 14215e52a9f..3471406f92a 100644
--- a/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
+++ b/Master/texmf-dist/source/latex/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"
+% -doc "jmlr-manual.tex"
+% -section "chapter"
% -src "jmlrutils.sty\Z=>jmlrutils.sty"
% -src "jmlr.cls\Z=>jmlr.cls"
-% -src "jmlrbook.cls\Z=>jmlrbook.cls"
+% -src "(jmlrbook.*\.cls)\Z=>\1"
% jmlr
-% Created on 2020/9/21 16:27
+% Created on 2022/1/29 14:54
%\fi
%\iffalse
%<*package>
@@ -31,11 +31,11 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2020 Nicola Talbot, all rights reserved.
+% Copyright (C) 2022 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
-\documentclass[report]{nlctdoc}
+\documentclass[report,widecs]{nlctdoc}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
@@ -45,14 +45,13 @@
bookmarks,
hyperindex=false,
pdfauthor={Nicola L.C. Talbot},
- pdftitle={jmlr: Classes for the Journal of Machine
-Learning Research (JMLR) and Proceedings of Machine Learning
+ pdftitle={Articles for Proceedings of Machine Learning
Research (PMLR)},
- pdfkeywords={LaTeX,jmlr}]{hyperref}
+ pdfkeywords={pmlr,jmlr wcp,jmlr}]{hyperref}
\doxitem{Option}{option}{package options}
-\CheckSum{5265}
+\CheckSum{5415}
\newcommand*{\appopt}[1]{\texttt{-{}-#1}}
@@ -64,47 +63,39 @@ Research (PMLR)},
%\MakeShortVerb{"}
%\DeleteShortVerb{\|}
%
-% \title{\LaTeXe\ Classes for the Journal of Machine
-%Learning Research (JMLR) and
-%Proceedings of Machine Learning Research (PMLR)}
+% \title{Articles for Proceedings of Machine Learning Research (PMLR)
+%formerly Journal of Machine Learning Research Workshop and
+%Conference Proceedings (JMLR W\&CP)}
% \author{Nicola L. C. Talbot\\[10pt]
%\url{http://www.dickimaw-books.com/}}
%
-% \date{2020-09-21 (version 1.28)}
+% \date{2022-01-29 (version 1.29)}
% \maketitle
%\tableofcontents
%
%\chapter{Introduction}
%
-%The \clsfmt{jmlr} class is for articles that need to be formatted
-%according to the Journal of Machine Learning Research style. This
-%class is based on the \sty{jmlr2e} and \sty{jmlrwcp2e} packages
-%but has been adapted to enable it to work better with the
-%\cls{combine} class to collate the articles into a book.
-%\sectionref{sec:jmlr} describes how to use the \clsfmt{jmlr} class.
-%Note that JMLR W\&CP (JMLR: Workshop and Conference Proceedings)
-%has been renamed PMLR (Proceedings of Machine Learning
-%Research). Articles for new proceedings should use the \clsopt{pmlr}
-%class option.
-%
-%The \clsfmt{jmlrbook} class is for combining articles that use the
-%\clsfmt{jmlr} class into a
-%book. The \clsfmt{jmlrbook} class uses \cls{combine} and \sty{hyperref}, which are
-%troublesome enough on their own but together are quite fragile. The
-%\clsfmt{jmlrbook} class redefines some internals to get
-%\clsfmt{combine} and \clsfmt{hyperref} to work together but some
-%packages (e.g.\ \sty{subfig} and \sty{pdfpages}) are likely to mess
-%everything up and cause errors. This is why the guidelines to
-%authors are fairly stringent and why the \clsfmt{jmlr} class will give an
-%error message if certain packages are loaded.\footnote{Currently
-%\clsfmt{jmlr} will check if \sty{subfig}, \sty{pdfpages},
-%\sty{geometry}, \sty{psfig}, \sty{epsfig}, \sty{theorem},
-%\sty{tabularx}, \sty{amsthm} and \sty{ntheorem} are loaded and will throw an error.
-%If other packages are found to be a problem, they will be added to
-%the list.} The \clsfmt{jmlrbook} class works best with PDF\LaTeX\ so
-%authors should ensure that their articles can compile with
-%PDF\LaTeX. \sectionref{sec:jmlrbook} describes how to use the
-%\clsfmt{jmlrbook} class.
+%The \clsfmt{jmlr} class was designed primarily for the Journal of
+%Machine Learning Research Workshop and Conference Proceedings (JMLR
+%W\&CP) based on the \sty{jmlrwcp2e} package to make it easier for
+%production editors to combine articles into a single book.
+%
+%The \clsopt{nowcp} option implements the \sty{jmlr2e} style to make it
+%easier to include reprints from JMLR articles. If you are an author
+%wanting to submit an article to the JMLR, please see their
+%guidelines and use their official package.
+%
+%Since the creation of this class, the JMLR W\&CP has changed its name to
+%the Proceedings of Machine Learning Research (PMLR). Articles
+%submitted to the PMLR should use the \clsopt{pmlr} option. Reprints of
+%old JMLR W\&CP articles should use the \clsopt{wcp} option.
+%
+%The \clsfmt{jmlrbook} class was provided to combine articles that
+%use the \clsfmt{jmlr} class into a book. The \cls{combine} class
+%internally used by \clsfmt{jmlrbook} has stopped work following
+%changes to the \LaTeX\ kernel in 2020. This means that the
+%\clsfmt{jmlrbook} class is now deprecated. This only affects
+%production editors not article authors.
%
%As from v1.24, some non-class dependent commands and environments
%have been moved to a new package \sty{jmlrutils} (see
@@ -132,26 +123,6 @@ Research (PMLR)},
%\documentclass{jmlr}
%\end{verbatim}
%
-%There is a Java application called \app{makejmlrbookgui} that can
-%compile all the individual papers from the book and generate the
-%bib file for the proceedings (according to the PMLR specifications). It can also
-%create a grey nonhyperlinked PDF/X compliant print version of the
-%book. The application can be downloaded from
-%\url{http://www.dickimaw-books.com/software/makejmlrbookgui/} where
-%there is also a
-%\href{http://www.dickimaw-books.com/software/makejmlrbookgui/manual/troubleshooting.html}{troubleshooting
-%section}.
-%
-%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.
-%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}
%
%The \clsfmt{jmlr} class is based on the \cls{article} class and loads
@@ -162,28 +133,22 @@ Research (PMLR)},
%Note that unlike the \sty{jmlr2e} and \sty{jmlrwcp2e} packages,
%this class file does not load the obsolete \sty{epsfig} package.
%
-%The \clsfmt{jmlrbook} class additionally loads the \cls{combine} class
-%and the following packages: \sty{combnat}, \sty{setspace} and \sty{fink}.
-%
-%The \app{makejmlrbookgui} application requires Java and \TeX.
-%(GhostScript is also required for the print-ready version of the
-%book.)
-%
%\chapter{Guidelines for Article Authors}
%\label{sec:jmlr}
%
-%Article authors should use the \clsfmt{jmlr} class. This class
-%comes with example files \texttt{jmlr-sample.tex} and
-%\texttt{jmlrwcp-sample.tex}, which can be used as templates.
+%Article authors should use the \clsfmt{jmlr} class with the
+%\clsopt{pmlr} option. This class
+%comes with the example file \texttt{pmlr-sample.tex}, which can be used as
+%a template.
%
%The following class options are available:
%\begin{description}
-%\item[\clsopt{nowcp}]The article is for the Journal of Machine
-%Learning Research (default).
%\item[\clsopt{pmlr}] The article is for the Proceedings of Machine
-%Learning Research (PMLR).
+%Learning Research (PMLR).
%\item[\clsopt{wcp}] The article is for JMLR Workshop and Conference
%Proceedings (JMLR W\&CP).
+%\item[\clsopt{nowcp}] The article is for the Journal of Machine
+%Learning Research (default).
%
%\item[\clsopt{twocolumn}] Use two-column style. The title and author
%information will span both columns through the use of the optional
@@ -202,6 +167,12 @@ Research (PMLR)},
%\item[{\clsopt[bottom]{tablecaption}}] in a \env{table} environment,
%\ics{floatconts} puts the caption at the bottom.
%
+%\item[\clsopt{cleveref}] This option is passed to \sty{jmlrutils}
+%(see \sectionref{sec:jmlrutils}).
+%
+%\item[\clsopt{nocleveref}] This option is passed to \sty{jmlrutils}
+%(see \sectionref{sec:jmlrutils}).
+%
%\end{description}
%
%\section{Title Information}
@@ -317,6 +288,12 @@ Research (PMLR)},
%institute}}}
%\end{verbatim}
%
+%\begin{important}
+%Ensure no space occurs before \cs{nametag} otherwise the surname
+%will be interpreted as an empty string because the space is used to
+%separate the forenames from the surname.
+%\end{important}
+%
%\begin{definition}[\DescribeMacro{\Email}]
%\cs{Email}\marg{author's email}
%\end{definition}
@@ -516,6 +493,18 @@ Research (PMLR)},
%environments listed in \sectionref{sec:theorems}. (Default.)
%\item[\pkgopt{notheorems}] Don't define the theorem commands and
%environments.
+%
+%\item[\pkgopt{cleveref}] Loads \sty{aliascnt} and \sty{cleveref}
+%and defines the theorem environments with aliased counters. Note
+%that this option is largely redundant with \pkgopt{notheorems}. When
+%\sty{jmlrutils} is loaded implicitly by \cls{jmlr}, this option will
+%also ensure that \sty{hyperref} is loaded before \sty{cleveref}. If
+%\sty{jmlrutils} is loaded without \cls{jmlr} then \sty{hyperref}
+%won't be loaded unless \ics{jmlrprehyperref} is defined.
+%
+%\item[\pkgopt{nocleveref}] Don't load \sty{aliascnt} and
+%\sty{cleveref} (default).
+%
%\item[\pkgopt{subfloats}] Define the sub-figure and sub-table
%commands listed in \sectionref{sec:subfloats}. (Default.)
%\item[\pkgopt{nosubfloats}] Don't define the sub-figure and
@@ -639,6 +628,20 @@ Research (PMLR)},
%class, you can prevent \styfmt{jmlrutils} from defining these
%commands with the \pkgopt{nosubfloats} package option.
%
+%Sub-float captions that are wider than the corresponding sub-float content
+%are placed inside a \cs{parbox} set to the width of the sub-float
+%content. This allows long captions to line wrap in a mini-paragraph
+%below the sub-float. However, if the sub-float is very narrow, this
+%can lead to badly-broken sub-captions that generate overfull or
+%underfull hbox warnings. You can specify a minimum width for
+%sub-float captions by setting the following length:
+%\begin{definition}[\DescribeMacro{\jmlrminsubcaptionwidth}]
+%\cs{jmlrminsubcaptionwidth}
+%\end{definition}
+%The default value is 0pt. The value should be set with
+%\cs{setlength}. The assignment can be localised by placing it within
+%a group or environment.
+%
%\begin{definition}[\DescribeMacro{\subfigure}]
%\cs{subfigure}\oarg{title}\oarg{valign}\marg{contents}
%\end{definition}
@@ -1104,11 +1107,16 @@ Research (PMLR)},
%\section{Color vs Grayscale}
%\label{sec:color}
%
-%It's helpful if authors supply grayscale versions of their
-%articles in the event that the article is to be incorporated into
-%a black and white printed book. With external PDF, PNG or JPG
-%graphic files, you just need to supply a grayscale version of the
-%file. For example, if the file is called \texttt{myimage.png},
+%If the proceedings are to be incorporated into a black and white
+%printed book, it can be helpful if authors supply grayscale versions
+%of their image files. This section can be ignored if your article
+%will only be available online.
+%
+%With external PDF, PNG or JPG graphic files, the grayscale version
+%should be named with \texttt{-gray} added to the basename (before
+%the image file extension).
+%
+%For example, if the file is called \texttt{myimage.png},
%then the gray version should be \texttt{myimage-gray.png} or
%\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
%need to modify your code. The \clsfmt{jmlr} class checks for
@@ -1178,25 +1186,19 @@ Research (PMLR)},
%\chapter{Guidelines for Production Editors}
%\label{sec:jmlrbook}
%
-%The \clsfmt{jmlrbook} class can be used to combine articles that use
-%the \clsfmt{jmlr} document class into a book. The following sample
-%files are provided: \texttt{paper1/paper1.tex},
-%\texttt{paper2/paper2.tex}, \texttt{paper3/paper3.tex},
-%\texttt{jmlr-sample.tex}, \texttt{jmlrwcp-sample.tex},
-%\texttt{jmlrbook-sample.tex} and \texttt{proceedings-sample.tex}.
-%All but the last two are articles using the \clsfmt{jmlr} class. The
-%last two (\texttt{jmlrbook-sample.tex} and
-%\texttt{proceedings-sample.tex}) uses the \clsfmt{jmlrbook} class
-%file to combine the articles into a book. Note that no modifications
-%are needed to the files using the \clsfmt{jmlr} class when they are
-%imported into the book. They can either be compiled as stand-alone
-%articles or with the entire book.
-%
-%Before you compile the book, make sure that all the articles
-%compile as stand-alone documents (and run Bib\TeX\ where
-%necessary). You can use the \app{makejmlrbookgui} application to compile
-%the book. See
-%\url{http://www.dickimaw-books.com/software/makejmlrbookgui/} for details.
+%The \clsfmt{jmlrbook} class is now obsolete as it has stopped
+%working following changes to the \LaTeX\ kernel in 2020. The class
+%is described here for archival purposes.
+%
+%To prepare articles for PMLR, you will need to manually set the
+%first page number using:
+%\begin{definition}[\DescribeMacro\firstpageno]
+%\cs{firstpageno}\marg{n}
+%\end{definition}
+%
+%Please follow the
+%\href{https://proceedings.mlr.press/spec.html}{PMLR specifications}.
+%
%
%\section{\clsfmt{jmlrbook} Class Options}
%\begin{description}
@@ -1731,12 +1733,6 @@ Research (PMLR)},
%\clsfmt{jmlrbook} won't find the graphics if the imported articles
%aren't in the same directory as the book.
%
-%The \app{makejmlrbookgui} application provides some diagnostic
-%tools, which can help detect some common problems. It's manual also
-%has a
-%\href{http://www.dickimaw-books.com/software/makejmlrbookgui/manual/troubleshooting.html}{troubleshooting
-%section}.
-%
%\StopEventually{\clearpage\phantomsection
% \PrintChanges
% \PrintIndex
@@ -1754,7 +1750,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/09/21 v1.28 (NLCT)]
+\ProvidesPackage{jmlrutils}[2022/01/29 v1.29 (NLCT)]
% \end{macrocode}
% Package options:
%\begin{macro}{\ifjmlrutilsmaths}
@@ -1768,6 +1764,11 @@ Research (PMLR)},
\DeclareOption{maths}{\jmlrutilsmathstrue}
\DeclareOption{nomaths}{\jmlrutilsmathsfalse}
% \end{macrocode}
+% Provide US synonyms
+% \begin{macrocode}
+\DeclareOption{math}{\jmlrutilsmathstrue}
+\DeclareOption{nomath}{\jmlrutilsmathsfalse}
+% \end{macrocode}
%
%\begin{macro}{\ifjmlrutilstheorems}
%Determine if the theorem environments should be provided.
@@ -1781,6 +1782,19 @@ Research (PMLR)},
\DeclareOption{notheorems}{\jmlrutilstheoremsfalse}
% \end{macrocode}
%
+%\begin{macro}{\ifjmlrcleveref}
+%\changes{1.29}{2022-01-29}{new}
+%Determine whether or not to load \sty{cleveref}.
+% \begin{macrocode}
+\newif\ifjmlrcleveref
+\jmlrclevereffalse
+% \end{macrocode}
+%\end{macro}
+% \begin{macrocode}
+\DeclareOption{cleveref}{\jmlrclevereftrue}
+\DeclareOption{nocleveref}{\jmlrclevereffalse}
+% \end{macrocode}
+%
%\begin{macro}{\ifjmlrutilssubfloats}
%Determine if the sub-floats should be provided.
% \begin{macrocode}
@@ -1806,6 +1820,26 @@ Research (PMLR)},
\RequirePackage{amsmath}
\fi
% \end{macrocode}
+%Check if \sty{cleveref} is required. If it is and \sty{hyperref} is
+%also required (which it is if \styfmt{jmlrutils} is being loaded by
+%\cls{jmlr}) then \sty{hyperref} needs to be loaded before
+%\sty{cleveref}.
+% \begin{macrocode}
+\ifjmlrcleveref
+ \ifdef\jmlrprehyperref
+ {
+ \jmlrprehyperref
+ \@ifundefined{@pre@hyperref}{}{\@pre@hyperref\undef\@pre@hyperref}
+ \RequirePackage{hyperref}
+ \let\jmlrprehyperref\relax
+ \@ifundefined{@post@hyperref}{}{\@post@hyperref\undef\@post@hyperref}
+ }
+ {}
+ \RequirePackage{aliascnt}
+ \RequirePackage{cleveref}
+\fi
+% \end{macrocode}
+%
% The conditional \cs{iftablecaptiontop} will already have been
% defined by the \cls{jmlr} class, so only needs to be defined
% if not already done.
@@ -2017,20 +2051,31 @@ Research (PMLR)},
%the \sty{algorithm2e} package will have to be explicitly loaded.
%\begin{macro}{\algocfconts}
%\changes{1.09}{2010/12/01}{new}
+%\changes{1.29}{2022-01-29}{remove use of algorithm2e internal commands}
%Command used by \cs{floatconts} to display the caption contents.
% \begin{macrocode}
\newcommand{\algocfconts}[3]{%
- \@algocf@pre@ruled
- #2\label{#1}\kern2pt\hrule height.8pt depth0pt\kern2pt%
- #3\@algocf@pre@ruled
+ \jmlralgorule\par\smallskip
+ #2\label{#1}% caption and label
+ \jmlralgorule\par\smallskip
+ #3% algorithm content
+ \jmlralgorule
}
% \end{macrocode}
%\end{macro}
%
+%\begin{macro}{\jmlralgorule}
+%\changes{1.29}{2022-01-29}{new}
+% \begin{macrocode}
+\newcommand{\jmlralgorule}{\kern2pt\hrule height.8pt depth0pt\kern2pt}
+% \end{macrocode}
+%\end{macro}
+%
% The \env{algorithm} environment should float like a figure or table.
% It should use the same counter as the \env{algorithm2e} environment.
%\changes{1.09}{2010/12/01}{caption set up so that it doesn't use a
%box}
+%\changes{1.29}{2022-01-29}{replaced \cs{hsize} with \cs{linewidth}}
% \begin{macrocode}
\newenvironment{algorithm}[1][htbp]%
{%
@@ -2041,7 +2086,7 @@ Research (PMLR)},
\begin{algocf}[#1]%
\renewcommand\@makecaption[2]{%
\hskip\AlCapHSkip
- \parbox[t]{\hsize}{\algocf@captiontext{##1}{##2}}%
+ \parbox[t]{\dimexpr\linewidth-\AlCapHSkip}{\algocf@captiontext{##1}{##2}}%
}%
}%
{%
@@ -2211,6 +2256,13 @@ Research (PMLR)},
\newsavebox\@subfloatcontsbox
% \end{macrocode}
%\end{macro}
+%\begin{macro}{\jmlrminsubcaptionwidth}
+%Minimum sub-caption width.
+%\changes{1.29}{2022-01-29}{new}
+% \begin{macrocode}
+ \newlength\jmlrminsubcaptionwidth
+% \end{macrocode}
+%\end{macro}
%\begin{macro}{\subfigure}
% \begin{macrocode}
\newcommand*{\subfigure}[1][]{%
@@ -2221,6 +2273,7 @@ Research (PMLR)},
% \end{macrocode}
%\changes{1.09}{2010/12/01}{Added check to determine whether the
%subfigure caption is wider than the subfigure}
+%\changes{1.29}{2022-01-29}{added \cs{jmlrminsubcaptionwidth} comparison}
% \begin{macrocode}
\newcommand*{\@subfigure}[2][b]{%
\advance\c@figure by 1\relax
@@ -2236,8 +2289,18 @@ Research (PMLR)},
\ifdim\@tempdimb>\@tempdima
\settowidth\@tempdimb{\subfigurelabel{\thesubfigure}\space}%
\addtolength{\@tempdima}{-\@tempdimb}%
- \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
- \parbox[t]{\@tempdima}{\@subfigcap}}%
+ \ifdim\@tempdima>\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\@tempdima}{\@subfigcap}}%
+ \else
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+ \fi
+ \else
+ \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+ \fi
\fi
\begin{tabular}[#1]{@{}c@{}}%
\usebox\@subfloatcontsbox\\\usebox\@subfloatcapbox
@@ -2354,6 +2417,7 @@ Research (PMLR)},
% \end{macrocode}
%\changes{1.09}{2010/12/01}{Added check to determine whether the
%subtable caption is wider than the subtable}
+%\changes{1.29}{2022-01-29}{added \cs{jmlrminsubcaptionwidth} comparison}
% \begin{macrocode}
\newcommand*{\@subtable}[2][t]{%
\refstepcounter{subtable}%
@@ -2368,8 +2432,18 @@ Research (PMLR)},
\ifdim\@tempdimb>\@tempdima
\settowidth\@tempdimb{\subtablelabel{\thesubtable}\space}%
\addtolength{\@tempdima}{-\@tempdimb}%
- \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
- \parbox[t]{\@tempdima}{\@subtabcap}}%
+ \ifdim\@tempdima>\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\@tempdima}{\@subtabcap}}%
+ \else
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+ \fi
+ \else
+ \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+ \fi
\fi
\begin{tabular}[#1]{@{}c@{}}%
\usebox\@subfloatcapbox\\\usebox\@subfloatcontsbox
@@ -2699,37 +2773,86 @@ Research (PMLR)},
%\end{environment}
%\begin{environment}{lemma}
% \begin{macrocode}
- \newtheorem{lemma}[theorem]{Lemma}
+ \ifjmlrcleveref
+ \newaliascnt{lemma}{theorem}
+ \newtheorem{lemma}[theorem]{Lemma}
+ \aliascntresetthe{lemma}
+ \crefname{lemma}{lemma}{lemmas}
+ \else
+ \newtheorem{lemma}[theorem]{Lemma}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{proposition}
% \begin{macrocode}
- \newtheorem{proposition}[theorem]{Proposition}
+ \ifjmlrcleveref
+ \newaliascnt{proposition}{theorem}
+ \newtheorem{proposition}[proposition]{Proposition}
+ \aliascntresetthe{proposition}
+ \crefname{proposition}{proposition}{propositions}
+ \else
+ \newtheorem{proposition}[theorem]{Proposition}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{remark}
% \begin{macrocode}
- \newtheorem{remark}[theorem]{Remark}
+ \ifjmlrcleveref
+ \newaliascnt{remark}{theorem}
+ \newtheorem{remark}[remark]{Remark}
+ \aliascntresetthe{remark}
+ \crefname{remark}{remark}{remarks}
+ \else
+ \newtheorem{remark}[theorem]{Remark}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{corollary}
% \begin{macrocode}
- \newtheorem{corollary}[theorem]{Corollary}
+ \ifjmlrcleveref
+ \newaliascnt{corollary}{theorem}
+ \newtheorem{corollary}[corollary]{Corollary}
+ \aliascntresetthe{corollary}
+ \crefname{corollary}{corollary}{corollaries}
+ \else
+ \newtheorem{corollary}[theorem]{Corollary}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{definition}
% \begin{macrocode}
- \newtheorem{definition}[theorem]{Definition}
+ \ifjmlrcleveref
+ \newaliascnt{definition}{theorem}
+ \newtheorem{definition}[definition]{Definition}
+ \aliascntresetthe{definition}
+ \crefname{definition}{definition}{definitions}
+ \else
+ \newtheorem{definition}[theorem]{Definition}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{conjecture}
% \begin{macrocode}
- \newtheorem{conjecture}[theorem]{Conjecture}
+ \ifjmlrcleveref
+ \newaliascnt{conjecture}{theorem}
+ \newtheorem{conjecture}[conjecture]{Conjecture}
+ \aliascntresetthe{conjecture}
+ \crefname{conjecture}{conjecture}{conjectures}
+ \else
+ \newtheorem{conjecture}[theorem]{Conjecture}
+ \fi
% \end{macrocode}
%\end{environment}
%\begin{environment}{axiom}
% \begin{macrocode}
- \newtheorem{axiom}[theorem]{Axiom}
+ \ifjmlrcleveref
+ \newaliascnt{axiom}{theorem}
+ \newtheorem{axiom}[axiom]{axiom}
+ \aliascntresetthe{axiom}
+ \crefname{axiom}{axiom}{axioms}
+ \else
+ \newtheorem{axiom}[theorem]{Axiom}
+ \fi
% \end{macrocode}
%\end{environment}
% End of theorem definitions.
@@ -2754,7 +2877,7 @@ Research (PMLR)},
% Declare class and required TeX format:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2022/01/29 v1.29 (NLCT) Journal of Machine Learning Research]
% \end{macrocode}
%\changes{1.10}{2011-01-05}{hyperref now loaded by jmlr instead of
%jmlrbook}
@@ -2802,13 +2925,13 @@ Research (PMLR)},
%\begin{option}{draft}
%\changes{1.18}{2013-10-17}{new}
% \begin{macrocode}
-\DeclareOptionX{draft}{\setlength\overfullrule{5pt}}
+\DeclareOptionX{draft}{\PassOptionsToClass{\CurrentOption}{article}}
% \end{macrocode}
%\end{option}
%\begin{option}{final}
%\changes{1.18}{2013-10-17}{new}
% \begin{macrocode}
-\DeclareOptionX{final}{\setlength\overfullrule{0pt}}
+\DeclareOptionX{final}{\PassOptionsToClass{\CurrentOption}{article}}
% \end{macrocode}
%\end{option}
% Can't load \sty{jmlrutils} here but need the \cs{iftablecaptiontop}
@@ -2941,6 +3064,11 @@ Research (PMLR)},
% \begin{macrocode}
\DeclareOptionX{pmlr}{\jmlrpmlr}
% \end{macrocode}
+%Pass cleveref option to jmlrutils
+%\changes{1.29}{2022-01-29}{added cleveref option}
+% \begin{macrocode}
+\DeclareOptionX{cleveref}{\PassOptionsToPackage{cleveref}{jmlrutils}}
+% \end{macrocode}
%\begin{option}{oneside}
%\changes{1.22}{2015/04/11}{new}
% \begin{macrocode}
@@ -3020,6 +3148,12 @@ Research (PMLR)},
% \begin{macrocode}
\AtEndDocument{\@jmlrenddoc}
% \end{macrocode}
+%\changes{1.29}{2022-01-29}{added \sty{placeins}}
+% Need \sty{placeins} to add float barrier at the end of the
+% article.
+% \begin{macrocode}
+\RequirePackage{placeins}
+% \end{macrocode}
% Required packages:
% \begin{macrocode}
\RequirePackage{amsmath}
@@ -3771,8 +3905,10 @@ Keywords:} \ignorespaces}%
% Label end page.
%\begin{macro}{\@jmlrenddoc}
% Label end page
+%\changes{1.29}{2022-01-29}{added float barrier}
% \begin{macrocode}
\newcommand*{\@jmlrenddoc}{%
+ \FloatBarrier
\phantomsection
\protected@edef\@currentlabelname{end of \@shorttitle}%
\label{jmlrend}\null
@@ -4688,6 +4824,14 @@ Keywords:} \ignorespaces}%
%\end{macro}
% Check for packages that are known to cause problems when
% combining articles into a book.
+% Since \cls{jmlrbook} is now deprecated some errors can be
+% converted to warnings, which are suppressed by default.
+%\begin{macro}{\@jmlr@check@warn}
+%\changes{1.29}{2022-01-29}{new}
+% \begin{macrocode}
+\newcommand*{\@jmlr@check@warn}[1]{}
+% \end{macrocode}
+%\end{macro}
%\begin{macro}{\@jmlr@check@packages}
% \begin{macrocode}
\newcommand*{\@jmlr@check@packages}{%
@@ -4702,13 +4846,13 @@ Keywords:} \ignorespaces}%
Please use \string\includegraphics\space to include images
instead}{}}{}%
\@ifpackageloaded{subfig}{%
- \ClassError{jmlr}{Package `subfig' detected.\MessageBreak
+ \@jmlr@check@warn{Package `subfig' detected.\MessageBreak
This will cause a conflict if the article is incorporated
\MessageBreak
into a book using jmlbook.cls.
\MessageBreak
Please use \string\subfigure\space and
- \string\subtable\space instead}{}}{}%
+ \string\subtable\space instead}}{}%
\@ifpackageloaded{theorem}{%
\ClassError{jmlr}{Package `theorem' detected.\MessageBreak
This can cause a conflict with other packages used by jmlr}{}}{}%
@@ -4718,10 +4862,12 @@ Keywords:} \ignorespaces}%
\@ifpackageloaded{amsthm}{%
\ClassError{jmlr}{Package `amsthm' detected.\MessageBreak
This package conflicts with the jmlr class}{}}{}%
- \@ifpackageloaded{pdfpages}{Package `pdfpages' detected.\MessageBreak
- This can cause a problem for jmlrbook}{}%
- \@ifpackageloaded{geometry}{Package `geometry' detected.\MessageBreak
- This can cause a problem for jmlrbook}{}%
+ \@ifpackageloaded{pdfpages}%
+ {\@jmlr@check@warn{Package `pdfpages' detected.\MessageBreak
+ This can cause a problem for jmlrbook}}{}%
+ \@ifpackageloaded{geometry}%
+ {\@jmlr@check@warn{Package `geometry' detected.\MessageBreak
+ This can cause a problem for jmlrbook}}{}%
\@ifpackageloaded{tabularx}{%
\ClassError{jmlr}{Package `tabularx' detected.\MessageBreak
This will break footnote links}{}}{}%
@@ -4740,8 +4886,6 @@ Keywords:} \ignorespaces}%
%\end{macro}
%\begin{macro}{\jmlrSuppressPackageChecks}
% Don't check for potentially problematic packages.
-% (If I find this in any paper sent to me for inclusion in a book,
-% it will annoy me.)
% \begin{macrocode}
\newcommand*{\jmlrSuppressPackageChecks}{%
\let\@jmlr@check@packages\relax
@@ -4889,7 +5033,7 @@ Keywords:} \ignorespaces}%
% \end{macrocode}
% Declare class:
% \begin{macrocode}
-\ProvidesClass{jmlrbook}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2022/01/29 v1.29 (NLCT) JMLR Book Style]
% \end{macrocode}
% Need \sty{xkeyval} package to have key=value class options
% \begin{macrocode}
@@ -4929,8 +5073,7 @@ Keywords:} \ignorespaces}%
% \end{macrocode}
% \sty{fink} version too old.
% \begin{macrocode}
- \ClassWarning{jmlrbook}{Install `currfile' package or update
- `fink' package}
+ \ClassWarning{jmlrbook}{`currfile' package required}
}
}
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/jmlr/jmlr.ins b/Master/texmf-dist/source/latex/jmlr/jmlr.ins
index 108c83e582f..65df06fe534 100644
--- a/Master/texmf-dist/source/latex/jmlr/jmlr.ins
+++ b/Master/texmf-dist/source/latex/jmlr/jmlr.ins
@@ -1,10 +1,10 @@
-% jmlr.ins generated using makedtx version 1.2 2020/9/21 16:27
+% jmlr.ins generated using makedtx version 1.2 2022/1/29 14:54
\input docstrip
\preamble
jmlr.dtx
- Copyright 2020 Nicola Talbot
+ Copyright 2022 Nicola Talbot
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
index dc3f8c7172b..fe190f07484 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 2020 Nicola Talbot
+%% Copyright 2022 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}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2022/01/29 v1.29 (NLCT) Journal of Machine Learning Research]
\RequirePackage{xkeyval}
\RequirePackage{calc}
\RequirePackage{etoolbox}
@@ -56,8 +56,8 @@
\PassOptionsToPackage{color}{xcolor}}
\DeclareOptionX{gray}{\grayscaletrue
\PassOptionsToPackage{gray}{xcolor}}
-\DeclareOptionX{draft}{\setlength\overfullrule{5pt}}
-\DeclareOptionX{final}{\setlength\overfullrule{0pt}}
+\DeclareOptionX{draft}{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOptionX{final}{\PassOptionsToClass{\CurrentOption}{article}}
\newif\iftablecaptiontop
\tablecaptiontoptrue
\newcommand{\tableconts}[3]{%
@@ -107,6 +107,7 @@
\DeclareOptionX{nowcp}{\jmlrnowcp}
\DeclareOptionX{wcp}{\jmlrwcp}
\DeclareOptionX{pmlr}{\jmlrpmlr}
+\DeclareOptionX{cleveref}{\PassOptionsToPackage{cleveref}{jmlrutils}}
\DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse}
\DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue}
\@twosidetrue
@@ -143,6 +144,7 @@
\setlength{\textwidth}{6.0 true in}
\fi
\AtEndDocument{\@jmlrenddoc}
+\RequirePackage{placeins}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{natbib}
@@ -481,6 +483,7 @@ Keywords:} \ignorespaces}%
\def\firstpageno#1{\setcounter{page}{#1}}
\@ifundefined{startpage}{}{\firstpageno{\startpage}}
\newcommand*{\@jmlrenddoc}{%
+ \FloatBarrier
\phantomsection
\protected@edef\@currentlabelname{end of \@shorttitle}%
\label{jmlrend}\null
@@ -958,6 +961,7 @@ Keywords:} \ignorespaces}%
\let\tableofcontents\arttableofcontents
\def\thesection{\arabic{section}}%
}
+\newcommand*{\@jmlr@check@warn}[1]{}
\newcommand*{\@jmlr@check@packages}{%
\@ifpackageloaded{epsfig}{%
\ClassError{jmlr}{Obsolete package `epsfig' detected.
@@ -970,13 +974,13 @@ Keywords:} \ignorespaces}%
Please use \string\includegraphics\space to include images
instead}{}}{}%
\@ifpackageloaded{subfig}{%
- \ClassError{jmlr}{Package `subfig' detected.\MessageBreak
+ \@jmlr@check@warn{Package `subfig' detected.\MessageBreak
This will cause a conflict if the article is incorporated
\MessageBreak
into a book using jmlbook.cls.
\MessageBreak
Please use \string\subfigure\space and
- \string\subtable\space instead}{}}{}%
+ \string\subtable\space instead}}{}%
\@ifpackageloaded{theorem}{%
\ClassError{jmlr}{Package `theorem' detected.\MessageBreak
This can cause a conflict with other packages used by jmlr}{}}{}%
@@ -986,10 +990,12 @@ Keywords:} \ignorespaces}%
\@ifpackageloaded{amsthm}{%
\ClassError{jmlr}{Package `amsthm' detected.\MessageBreak
This package conflicts with the jmlr class}{}}{}%
- \@ifpackageloaded{pdfpages}{Package `pdfpages' detected.\MessageBreak
- This can cause a problem for jmlrbook}{}%
- \@ifpackageloaded{geometry}{Package `geometry' detected.\MessageBreak
- This can cause a problem for jmlrbook}{}%
+ \@ifpackageloaded{pdfpages}%
+ {\@jmlr@check@warn{Package `pdfpages' detected.\MessageBreak
+ This can cause a problem for jmlrbook}}{}%
+ \@ifpackageloaded{geometry}%
+ {\@jmlr@check@warn{Package `geometry' detected.\MessageBreak
+ This can cause a problem for jmlrbook}}{}%
\@ifpackageloaded{tabularx}{%
\ClassError{jmlr}{Package `tabularx' detected.\MessageBreak
This will break footnote links}{}}{}%
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
index 123762e8b02..725cc1ba22d 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 2020 Nicola Talbot
+%% Copyright 2022 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}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2022/01/29 v1.29 (NLCT) JMLR Book Style]
\RequirePackage{xkeyval}
\RequirePackage{setspace}
\newcommand*\jmlrprefacepath{}
@@ -57,8 +57,7 @@
\renewcommand*\jmlrprefacepath{\finkpath}%
}
{%
- \ClassWarning{jmlrbook}{Install `currfile' package or update
- `fink' package}
+ \ClassWarning{jmlrbook}{`currfile' package required}
}
}
\providecommand*{\jmlrprehyperref}{}
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty b/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
index ef52cc96427..11b7f5f7204 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 2020 Nicola Talbot
+%% Copyright 2022 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -40,15 +40,21 @@
%% Right brace \} Tilde \~}
%% First editor:
%% Second editor:
-\ProvidesPackage{jmlrutils}[2020/09/21 v1.28 (NLCT)]
+\ProvidesPackage{jmlrutils}[2022/01/29 v1.29 (NLCT)]
\newif\ifjmlrutilsmaths
\jmlrutilsmathstrue
\DeclareOption{maths}{\jmlrutilsmathstrue}
\DeclareOption{nomaths}{\jmlrutilsmathsfalse}
+\DeclareOption{math}{\jmlrutilsmathstrue}
+\DeclareOption{nomath}{\jmlrutilsmathsfalse}
\newif\ifjmlrutilstheorems
\jmlrutilstheoremstrue
\DeclareOption{theorems}{\jmlrutilstheoremstrue}
\DeclareOption{notheorems}{\jmlrutilstheoremsfalse}
+\newif\ifjmlrcleveref
+\jmlrclevereffalse
+\DeclareOption{cleveref}{\jmlrclevereftrue}
+\DeclareOption{nocleveref}{\jmlrclevereffalse}
\newif\ifjmlrutilssubfloats
\jmlrutilssubfloatstrue
\DeclareOption{subfloats}{\jmlrutilssubfloatstrue}
@@ -58,6 +64,19 @@
\ifjmlrutilsmaths
\RequirePackage{amsmath}
\fi
+\ifjmlrcleveref
+ \ifdef\jmlrprehyperref
+ {
+ \jmlrprehyperref
+ \@ifundefined{@pre@hyperref}{}{\@pre@hyperref\undef\@pre@hyperref}
+ \RequirePackage{hyperref}
+ \let\jmlrprehyperref\relax
+ \@ifundefined{@post@hyperref}{}{\@post@hyperref\undef\@post@hyperref}
+ }
+ {}
+ \RequirePackage{aliascnt}
+ \RequirePackage{cleveref}
+\fi
\@ifundefined{iftablecaptiontop}
{\newif\iftablecaptiontop
\tablecaptiontoptrue}
@@ -158,10 +177,13 @@
#2\label{#1}%
}
\newcommand{\algocfconts}[3]{%
- \@algocf@pre@ruled
- #2\label{#1}\kern2pt\hrule height.8pt depth0pt\kern2pt%
- #3\@algocf@pre@ruled
+ \jmlralgorule\par\smallskip
+ #2\label{#1}% caption and label
+ \jmlralgorule\par\smallskip
+ #3% algorithm content
+ \jmlralgorule
}
+\newcommand{\jmlralgorule}{\kern2pt\hrule height.8pt depth0pt\kern2pt}
\newenvironment{algorithm}[1][htbp]%
{%
\ifundef{\algocf}%
@@ -171,7 +193,7 @@
\begin{algocf}[#1]%
\renewcommand\@makecaption[2]{%
\hskip\AlCapHSkip
- \parbox[t]{\hsize}{\algocf@captiontext{##1}{##2}}%
+ \parbox[t]{\dimexpr\linewidth-\AlCapHSkip}{\algocf@captiontext{##1}{##2}}%
}%
}%
{%
@@ -258,6 +280,7 @@
\newcommand*{\subfigurelabel}[1]{(\emph{#1})}
\newsavebox\@subfloatcapbox
\newsavebox\@subfloatcontsbox
+ \newlength\jmlrminsubcaptionwidth
\newcommand*{\subfigure}[1][]{%
\bgroup
\def\@subfigcap{#1}%
@@ -277,8 +300,18 @@
\ifdim\@tempdimb>\@tempdima
\settowidth\@tempdimb{\subfigurelabel{\thesubfigure}\space}%
\addtolength{\@tempdima}{-\@tempdimb}%
- \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
- \parbox[t]{\@tempdima}{\@subfigcap}}%
+ \ifdim\@tempdima>\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\@tempdima}{\@subfigcap}}%
+ \else
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+ \fi
+ \else
+ \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+ \fi
\fi
\begin{tabular}[#1]{@{}c@{}}%
\usebox\@subfloatcontsbox\\\usebox\@subfloatcapbox
@@ -349,8 +382,18 @@
\ifdim\@tempdimb>\@tempdima
\settowidth\@tempdimb{\subtablelabel{\thesubtable}\space}%
\addtolength{\@tempdima}{-\@tempdimb}%
- \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
- \parbox[t]{\@tempdima}{\@subtabcap}}%
+ \ifdim\@tempdima>\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\@tempdima}{\@subtabcap}}%
+ \else
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+ \fi
+ \else
+ \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+ \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+ \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+ \fi
\fi
\begin{tabular}[#1]{@{}c@{}}%
\usebox\@subfloatcapbox\\\usebox\@subfloatcontsbox
@@ -507,13 +550,62 @@
}
\newtheorem{example}{Example}
\newtheorem{theorem}{Theorem}
- \newtheorem{lemma}[theorem]{Lemma}
- \newtheorem{proposition}[theorem]{Proposition}
- \newtheorem{remark}[theorem]{Remark}
- \newtheorem{corollary}[theorem]{Corollary}
- \newtheorem{definition}[theorem]{Definition}
- \newtheorem{conjecture}[theorem]{Conjecture}
- \newtheorem{axiom}[theorem]{Axiom}
+ \ifjmlrcleveref
+ \newaliascnt{lemma}{theorem}
+ \newtheorem{lemma}[theorem]{Lemma}
+ \aliascntresetthe{lemma}
+ \crefname{lemma}{lemma}{lemmas}
+ \else
+ \newtheorem{lemma}[theorem]{Lemma}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{proposition}{theorem}
+ \newtheorem{proposition}[proposition]{Proposition}
+ \aliascntresetthe{proposition}
+ \crefname{proposition}{proposition}{propositions}
+ \else
+ \newtheorem{proposition}[theorem]{Proposition}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{remark}{theorem}
+ \newtheorem{remark}[remark]{Remark}
+ \aliascntresetthe{remark}
+ \crefname{remark}{remark}{remarks}
+ \else
+ \newtheorem{remark}[theorem]{Remark}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{corollary}{theorem}
+ \newtheorem{corollary}[corollary]{Corollary}
+ \aliascntresetthe{corollary}
+ \crefname{corollary}{corollary}{corollaries}
+ \else
+ \newtheorem{corollary}[theorem]{Corollary}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{definition}{theorem}
+ \newtheorem{definition}[definition]{Definition}
+ \aliascntresetthe{definition}
+ \crefname{definition}{definition}{definitions}
+ \else
+ \newtheorem{definition}[theorem]{Definition}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{conjecture}{theorem}
+ \newtheorem{conjecture}[conjecture]{Conjecture}
+ \aliascntresetthe{conjecture}
+ \crefname{conjecture}{conjecture}{conjectures}
+ \else
+ \newtheorem{conjecture}[theorem]{Conjecture}
+ \fi
+ \ifjmlrcleveref
+ \newaliascnt{axiom}{theorem}
+ \newtheorem{axiom}[axiom]{axiom}
+ \aliascntresetthe{axiom}
+ \crefname{axiom}{axiom}{axioms}
+ \else
+ \newtheorem{axiom}[theorem]{Axiom}
+ \fi
\fi
\endinput
%%