summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tugboat
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/source/latex/tugboat
parent3f125a2afd1f1fb7488f207b8a52fc4170e790a8 (diff)
tugboat (24mar15)
git-svn-id: svn://tug.org/texlive/trunk@36614 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tugboat')
-rw-r--r--Master/texmf-dist/source/latex/tugboat/tugboat.dtx22
-rw-r--r--Master/texmf-dist/source/latex/tugboat/tugboat.ins8
2 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx
index 019a552c217..43469c42945 100644
--- a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx
+++ b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx
@@ -1,8 +1,8 @@
% \iffalse (this is a meta-comment (so they say))
-% $Id: tugboat.dtx 136 2014-11-13 18:23:44Z karl $
+% $Id: tugboat.dtx 138 2015-03-18 23:23:36Z karl $
% tugboat.dtx - main source for LaTeX TUGboat classes.
%
-% Copyright 1994-2014 TeX Users Group.
+% Copyright 1994-2015 TeX Users Group.
%
% This file is part of the tugboat package.
%
@@ -28,7 +28,7 @@
%<ltugboatsty>\ProvidesPackage{ltugboat}
%<ltugprocsty>\ProvidesPackage{ltugproc}
%<ltugcomn> \ProvidesPackage{ltugcomn}
- [2014/11/12 v2.16
+ [2015/03/24 v2.17
%<ltugboatcls> TUGboat journal class%
%<ltugproccls> TUG conference proceedings class%
%<ltugboatsty|ltugprocsty> TUG compatibility package%
@@ -160,8 +160,7 @@
% |\mf|& \textsc{Metafont}\\
% |\MFB|& The Metafont book\\
% |\MP|& \MP\\
-% |\mp|& MetaPost (in text only: remains `\ensuremath{\mp}'
-% in maths)\\
+% |\mp|& MetaPost (in text only: still `\ensuremath{\mp}' in math)\\
% |\OMEGA|& Omega `logo' (\ensuremath{\Omega})\\
% |\OCP|& Omega compiled process\\
% |\OOXML|&\\
@@ -337,7 +336,7 @@
\def\TBWarningNL{\ClassWarningNoLine{\@tugclass}}
% \end{macrocode}
%
-% Some trivial options, just flicking switches, etc.
+% |draft| vs.\ |preprint| vs.\ |final|.
%
% \begin{macrocode}
\newif\ifpreprint
@@ -345,6 +344,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
@@ -355,6 +364,7 @@
}
\DeclareOption{final}{%
\AtEndOfClass{%
+ \let\thepage=\tuborigthepage
\NoBlackBoxes
\PrelimDraftfalse
\@tubrunningfull
diff --git a/Master/texmf-dist/source/latex/tugboat/tugboat.ins b/Master/texmf-dist/source/latex/tugboat/tugboat.ins
index 8e5bbc7800c..10af0ed5daf 100644
--- a/Master/texmf-dist/source/latex/tugboat/tugboat.ins
+++ b/Master/texmf-dist/source/latex/tugboat/tugboat.ins
@@ -1,10 +1,11 @@
-% $Id: tugboat.ins 108 2013-01-31 23:45:00Z bnb $
+% $Id: tugboat.ins 139 2015-03-24 17:40:58Z karl $
% tugboat.ins
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% 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.
%%
%% This file is part of the tugboat package.
%%
@@ -38,7 +39,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