summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-24 21:19:03 +0000
committerKarl Berry <karl@freefriends.org>2015-03-24 21:19:03 +0000
commita30088e70b36c2fbbf05aa28e50d89ae3fdad0cd (patch)
tree9ba75ef5784858492236e717306695ef80cb1552 /Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
parent3f125a2afd1f1fb7488f207b8a52fc4170e790a8 (diff)
tugboat (24mar15)
git-svn-id: svn://tug.org/texlive/trunk@36614 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugboat.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tugboat/ltugboat.cls16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
index d2d0895cf9b..de6419d4782 100644
--- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
+++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
@@ -8,7 +8,8 @@
%%
%% This is a generated file.
%%
-%% Copyright 1994,1995,1996,2001,2005,2006,2009,2011,2013 TeX Users Group.
+%% Copyright 1994,1995,1996,2001,2005,2006,2009,2011,2013,2014,2015
+%% TeX Users Group.
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +33,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass {ltugboat}
- [2014/11/12 v2.16
+ [2015/03/24 v2.17
TUGboat journal class%
]
\csname tugstyloaded@\endcsname
@@ -47,6 +48,16 @@
\DeclareOption{draft}{%
\AtEndOfClass{%
\setcounter{page}{901}%
+ %
+ % Put a question mark into the page number in draft mode.
+ \let\tuborigthepage = \thepage
+ \def\thepage{%
+ \ifnum\value{page}>900
+ \textsl{?\,\@arabic{\numexpr\the\c@page-900\relax}}%
+ \else
+ \arabic{page}%
+ \fi}%
+ %
\BlackBoxes
\def\MakeRegistrationMarks{}%
\PrelimDrafttrue
@@ -57,6 +68,7 @@
}
\DeclareOption{final}{%
\AtEndOfClass{%
+ \let\thepage=\tuborigthepage
\NoBlackBoxes
\PrelimDraftfalse
\@tubrunningfull