summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-30 00:02:48 +0000
committerKarl Berry <karl@freefriends.org>2014-09-30 00:02:48 +0000
commitbfcb5e953985804589a2a55b1f1f80bd00c34763 (patch)
tree13a7e63778bc4b87a224e56fe3d25bc41ba98854 /Master/texmf-dist/source/latex/jmlr/jmlr.dtx
parentb8866d008edc38236ea4a29cbcaab1696e4f36a1 (diff)
jmlr (29sep14)
git-svn-id: svn://tug.org/texlive/trunk@35282 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/jmlr/jmlr.dtx')
-rw-r--r--Master/texmf-dist/source/latex/jmlr/jmlr.dtx33
1 files changed, 20 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/jmlr/jmlr.dtx b/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
index eb7336d4c16..77bd3952119 100644
--- a/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
+++ b/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
@@ -7,7 +7,7 @@
% -section "chapter"
% -author "Nicola Talbot"
% jmlr
-% Created on 2013/10/17 14:36
+% Created on 2014/9/29 12:01
%\fi
%\iffalse
%<*package>
@@ -30,7 +30,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2013 Nicola Talbot, all rights reserved.
+% Copyright (C) 2014 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
@@ -49,7 +49,7 @@
\doxitem{Option}{option}{package options}
-\CheckSum{4698}
+\CheckSum{4703}
\newcommand*{\appopt}[1]{\texttt{-{}-#1}}
@@ -67,7 +67,7 @@
% \author{Nicola L. C. Talbot\\[10pt]
%\url{http://www.dickimaw-books.com/}}
%
-% \date{2013-10-17 (version 1.18)}
+% \date{2014-09-29 (version 1.19)}
% \maketitle
%\tableofcontents
%
@@ -1711,7 +1711,7 @@
% Declare class and required TeX format:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2013/10/17 v1.18 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2014/09/29 v1.19 (NLCT) Journal of Machine Learning Research]
% \end{macrocode}
%\changes{1.10}{2011-01-05}{hyperref now loaded by jmlr instead of
%jmlrbook}
@@ -1931,9 +1931,10 @@
\@ifundefined{@pre@hyperref}{}{\@pre@hyperref}
% \end{macrocode}
% Load \sty{hyperref}:
+%\changes{1.19}{??}{replaced \cs{usepackage} with \cs{RequirePackage}}
% \begin{macrocode}
-\usepackage{hyperref}
-\usepackage{nameref}
+\RequirePackage{hyperref}
+\RequirePackage{nameref}
% \end{macrocode}
% \begin{macrocode}
% Do stuff that has to come immediately after \sty{hyperref} and
@@ -4270,7 +4271,7 @@ Keywords:} \ignorespaces}%
% \end{macrocode}
% Declare class:
% \begin{macrocode}
-\ProvidesClass{jmlrbook}[2013/10/17 v1.18 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2014/09/29 v1.19 (NLCT) JMLR Book Style]
% \end{macrocode}
% Need \sty{xkeyval} package to have key=value class options
% \begin{macrocode}
@@ -4693,7 +4694,12 @@ Keywords:} \ignorespaces}%
\else
\newenvironment{preface}[1][preface]%
{%
- \chapter*{\prefacename}
+% \end{macrocode}
+% The preface should be in the front matter, so the chapter
+% numbering should automatically be suppressed.
+%\changes{1.19}{2014/09/29}{changed to unstarred chapter}
+% \begin{macrocode}
+ \chapter{\prefacename}
\protected@write\@mainauxout
{}{\string\@prefacestart{\thepage}{\arabic{page}}}%
\protected@write\@mainauxout{}{\string\@prefacefile{\finkpath}{#1}}%
@@ -5115,6 +5121,7 @@ Keywords:} \ignorespaces}%
% Editorial team listed at the end of a preface etc. The mandatory
% argument is the date, the optional argument is the team title.
% Each editor should be separated with \ics{Editor}.
+%\changes{1.19}{2014/09/29}{added \cs{nopagebreak}}
% \begin{macrocode}
\ifjmlrhtml
\newenvironment{signoff}[2][The Editorial Team]{%
@@ -5124,14 +5131,14 @@ Keywords:} \ignorespaces}%
\par\vskip\baselineskip\noindent
\ifx\@signoffdate\@empty
\else
- \emph{\@signoffdate}\par
- \vskip\baselineskip\noindent
+ \emph{\@signoffdate}\nopagebreak\par
+ \nopagebreak\vskip\baselineskip\noindent
\fi
\ifx\@editorialteam\@empty
\else
- \@editorialteam:\par\vskip\baselineskip
+ \@editorialteam:\nopagebreak\par\nopagebreak\vskip\baselineskip
\fi
- \noindent\ignorespaces
+ \nopagebreak\noindent\ignorespaces
}%
{%
}%