summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls')
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls46
1 files changed, 40 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
index 9ac00e3bd4f..3b0f9441aae 100644
--- a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
@@ -41,7 +41,7 @@
%% First editor:
%% Second editor:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlrbook}[2012/05/16 v1.16 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2012/05/30 v1.17 (NLCT) JMLR Book Style]
\RequirePackage{xkeyval}
\RequirePackage{setspace}
\RequirePackage{fink}
@@ -358,7 +358,18 @@
\renewcommand*{\@productioneditorname}{Production Editors}%
}
\newcommand*{\@logo}{}
-\newcommand*{\logo}[1]{\renewcommand*{\@logo}{#1}}
+\newcommand*{\logo}[2][]{%
+\ifjmlrhtml
+ \def\@logo@tmp{#1}%
+ \ifx\@logo@tmp\@empty
+ \renewcommand*{\@logo}{#2}%
+ \else
+ \renewcommand*{\@logo}{\HCode{<a href="#1">}#2\HCode{</a>}}%
+ \fi
+\else
+ \renewcommand*{\@logo}{#2}%
+\fi
+}
\def\c@lbmaketitle{\jmlrmaketitle}
\newcommand*{\maintitle}{}
\newcommand*{\SetTitleElement}[3]{%
@@ -392,10 +403,15 @@
\HCode{<tbody><tr><td valign="top">}%
\HCode{<h1>}%
\@title\newline
- \ifx\@volume\@empty
+ \ifx\@jmlrvolume\@empty
+ \ifx\@volume\@empty
+ \else
+ Volume \@volume
+ \ifx\@subtitle\@empty\else: \fi
+ \fi
\else
- Volume \@volume
- \ifx\@subtitle\@empty\else: \fi
+ Volume \@jmlrvolume
+ \ifx\@subtitle\@empty\else: \fi
\fi
\@subtitle
\HCode{</h1>}%
@@ -657,10 +673,15 @@
\expandafter\gdef\csname @jmlr@author@#1\endcsname{%
\hyperref[#1jmlrstart]{#2}}%
}
-\newcommand*{\@write@jmlr@import}[3]{%
+\newcommand*{\@@write@jmlr@import}[3]{%
\protected@write\@mainauxout{}{\string\@jmlr@import{#1}{#2}{#3}}%
}
\newcommand*{\@jmlr@import}[3]{}
+\newcommand*{\@@write@jmlr@apdimport}[3]{%
+ \protected@write\@mainauxout{}{\string\@jmlr@apdimport{#1}{#2}{#3}}%
+}
+\newcommand*{\@jmlr@apdimport}[3]{}
+\def\@write@jmlr@import{\@@write@jmlr@import}
\def\jmlrpremaketitlehook{%
\cleardoublepage
\phantomsection
@@ -778,6 +799,11 @@ not permitted outside `jmlrpapers' environment}{}%
}%
}%
\def\Xprefix{#1}%
+ \let\jmlrvolume\@gobble
+ \let\jmlryear\@gobble
+ \let\jmlrworkshop\@gobble
+ \let\jmlrissue\@gobble
+ \let\jmlrpages\@gobble
\jmlrimporthook
\import{\@importdir\@importfile}%
\def\Xprefix{}%
@@ -830,6 +856,7 @@ not permitted outside `jmlrpapers' environment}{}%
}%
\def\Xprefix{#1}%
\jmlrimporthook
+ \let\ps@jmlrtps\ps@articlet
\import{\@importdir\@importfile}%
\def\Xprefix{}%
\egroup
@@ -1024,6 +1051,13 @@ not permitted outside `jmlrpapers' environment}{}%
\renewcommand*{\@oddfoot}{\footfont\hfill\thepage}
\renewcommand*{\@evenfoot}{\footfont\thepage\hfill}
}
+\newcommand*{\ps@articlet}{%
+ \let\@mkboth\@gobbletwo
+ \renewcommand*{\@oddhead}{}%
+ \renewcommand*{\@evenhead}{}%
+ \renewcommand*{\@oddfoot}{\footfont\hfill\thepage}
+ \renewcommand*{\@evenfoot}{\footfont\thepage\hfill}
+}
\newcommand*{\ps@jmlrbook}{%
\renewcommand*{\@oddfoot}{\footfont\hfill\thepage}
\renewcommand*{\@evenfoot}{\footfont\thepage\hfill}