diff options
author | Karl Berry <karl@freefriends.org> | 2012-06-01 00:23:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-06-01 00:23:04 +0000 |
commit | c4817efca9e197163ea521e2d114433812a9dcc8 (patch) | |
tree | 7fc08f5b7c6b325f61d4a00add0eb81e60d5baa4 /Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls | |
parent | 2ac35adc5ecd45f8855d340dd51c54b54c8baffc (diff) |
jmlr 1.17 (30may12)
git-svn-id: svn://tug.org/texlive/trunk@26759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls | 46 |
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} |