ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: How to get rid of header
Date: Sat, 5 Aug 2006 19:48:04 -0700	[thread overview]
Message-ID: <44826EE1-4705-4332-A389-D836DAA35E48@cox.net> (raw)

All, how do I get rid of the header on the second page of output?

\setupwhitespace[medium]
\setupindenting[medium,yes]

\setupcolors[state=start]

\setuppagenumbering
[state=start,
   alternative=doublesided,
   location=,
   way=bytext]

\definetext[chapter][footer][pagenumber]

\setuphead
[chapter]
[alternative=inmargin,
   header=high,
   footer=chapter,
   page=right]

\setuphead
[section]
[style=\tfc,
   page=right,
   continue=no,
   alternative=inmargin]

\setuphead
[subsection]
[style=\tfb\sl,
   number=no]

\definehead
[toc]
[section]
\setuphead
[toc]
[number=no,
   incrementnumber=no,
   page=no]
\def\OddPageHeader{\bold{\pagenumber}\hskip 1em Chapter \headnumber 
[chapter] \getmarking[chapter][current]}

\def\headermarkleft{\bold{\pagenumber}\headerskip{\sc\headerskip  
Chapter \headnumber[chapter]\headerskip\getmarking[chapter][current]}}
\def\headermarkright{{\sc{}Section \headnumber[section]\headerskip 
\getmarking[section][current]}\headerskip\bold{\pagenumber}}
\def\headerskip{\hskip 1em}

\setupheadertexts
[][\headermarkright]    %odd page on right
[\headermarkleft][]    %even page on left
\setuplist
[section]
[style=bold,
   color=red,
   alternative=c]
\setuplist
[subsection]
[alternative=b]
\starttext

\chapter{A Practice Chapter}

\input knuth

\toc{Table of Contents}

\placecontent

\section{First Section}

\dorecurse{3}{\input knuth \par}

\subsection{First Subsection}

\dorecurse{3}{\input knuth \par}



\section{Second Section}

\dorecurse{3}{\input knuth \par}

\subsection{Second Subection}

\dorecurse{3}{\input knuth \par}


\section{Third Section}

\dorecurse{3}{\input knuth \par}

\subsection{Third Subection}

\dorecurse{3}{\input knuth \par}


\stoptext

             reply	other threads:[~2006-08-06  2:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-06  2:48 David Arnold [this message]
2006-08-06  9:29 ` Taco Hoekwater
2006-08-08 11:54   ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44826EE1-4705-4332-A389-D836DAA35E48@cox.net \
    --to=dwarnold45@cox.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).