[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

726.0. "Double running footer help request" by FNYFS::WYNFORD (The Rented Loony) Wed Jul 29 1987 07:28

I am trying to get two centred lines as a single running footer. I redefined
the existing internal macro as shown below but this gives half the message
on alternating pages: even pages get the Digital message and odd pages get
the IS message!

Can anyone please give me a pointer or two as I am beginning to go bald!

Thanks for any help,
                   
Gavin
--------------------------------------------------------------------------

\def\internaluse{
                 \line{\hss Digital Internal Use Only \hss}
                {\line{\hss information services europe \hss}}
                 }%
%

T.RTitleUserPersonal
Name
DateLines
726.1What doctype and version of DOCUMENT?BUNSUP::LITTLETodd Little, NYA SWS, 323-4475Wed Jul 29 1987 16:375
    What doctype are you using?  I can't say I've ever seen the
    \internaluse macro.  Also, where is the \internaluse macro used
    in your doctype?
    
    -tl
726.2We use local A4 doctypeFNYFS::WYNFORDThe Rented LoonyThu Jul 30 1987 05:4813
    It's an internal doctype based on LAYERED. The \internaluse macro
    was defined at the top of the file to provide us with a centred
    internal use message at the bottom of the page in the running footer.
    This is a mandatory requirement for IS Europe, so we had to move
    page numbering around along with \sdmlfolios. I should have mentioned
    this, sorry!
    
    \internaluse is used as the argument to both left and right running
    footer definitions.
    
    As a single line it works perfectly. As two lines it falls apart.
    
    Gavin
726.3Some thoughtsBUNSUP::LITTLETodd Little, NYA SWS, 323-4475Thu Jul 30 1987 13:505
    Can you post how you're using \internaluse and the footer macros?
    You may need to make \internaluse a token instead of a macro, but
    thats just a guess, or \xdef it instead of \def'ing it.
    
    -tl
726.4Here it is...FNYFS::WYNFORDThe Rented LoonyMon Aug 03 1987 11:5326
This is an extract of the doctype we use here to show how we are
currently using the \internaluse macro. Hopes this helps...

Gavin
------------------------------------------------------------------------

\global\def\SDMLdoctype{FERNEY2}
\def\internaluse{\line{\hss{Digital Internal Use Only}\hss}}%
.
.
.
%
% Previous version commented out...
%
%\def\setdefaultfooters{%
%\setrightfooter{\sdmlfolios}    
%\setleftfooter{\sdmlfolios}
%}
\def\setdefaultfooters{%
\setrightfooter{\internaluse}    
\setleftfooter{\internaluse}
}

% invoke default footers
%
\setdefaultfooters