From: <barr@triples.Math.McGill.CA>
Newsgroups: comp.text.tex
Subject: Problem with \firstmark on p. 1
Date: Sat, 11 Apr 92 21:57:50 EDT
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List

I don't know if this is a problem with LaTeX or TeX because I don't know
enough about output routines to test this using plain TeX.  In LaTeX at
least, \firstmark does not seem to be set properly on page 1 only.  Here
is a test file that elicits the problem.  I am sorry it is so long, but
it is useful to see at least two pages of output.  The problem goes away
if you if you put back the two commented lines 11 and 12 of the file
because then a blank page 1 is output and after that everything works as
expected.

\documentstyle[12pt,twoside,fancyhed]{article}

\headheight 15pt \headsep 20pt

\begin{document}
\pagestyle{fancy}
\lhead[{\sl \firstmark}]{\sl \firstmark}
\rhead[{\sl \botmark}]{\sl \botmark}
\chead{\rm\thepage}
\lfoot{}\cfoot{}\rfoot{}
%\null\newpage
%\setcounter{page}1

\mark{alpha}
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
\mark{beta}

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
\mark{gamma}

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
\mark{delta}

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
\mark{epsilon}

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.
This is the time for all good men to come to the aid of the party.

\end{document}


Michael Barr
Newsgroups: comp.text.tex