ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Remove header after ToC
@ 2017-10-16  3:03 N. Raghavendra
  2017-10-17 10:07 ` N. Raghavendra
  0 siblings, 1 reply; 7+ messages in thread
From: N. Raghavendra @ 2017-10-16  3:03 UTC (permalink / raw)
  To: ntg-context

I am a ConTeXt beginner.  I am having trouble getting rid of the header
after the ToC in a document that I am preparing.  The following is a
simplified version of the document.  I get a header with "2" on the left
edge, and "Chapter ."  on the right edge, on page 2, which is an empty
page after the ToC.  How do I remove the header on this page?

Thanks,
Raghu.

----------------------------------------------------------------------
\starttext

\setuppagenumbering
  [alternative=doublesided]

\setupheadertexts
  []

\setupfootertexts
  []

\setupheadertexts
  [{\getmarking[section]}]
  [\pagenumber]
  [\pagenumber]
  [{Chapter \getmarking[chapternumber].\ \getmarking[chapter]}]

\setuphead
  [chapter]
  [page={yes,header,footer,right},
   header=empty]

\startfrontmatter
  \completecontent
\stopfrontmatter

\startbodymatter
  \startchapter
    [title=A chapter]

    \startsection
      [title=A section]
      Some text
    \stopsection

    \page

    \startsection
      [title=Another section]
      Some text
    \stopsection

  \stopchapter
\stopbodymatter

\stoptext
----------------------------------------------------------------------

--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-17 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16  3:03 Remove header after ToC N. Raghavendra
2017-10-17 10:07 ` N. Raghavendra
2017-10-17 10:34   ` Tomas Hala
2017-10-17 13:47     ` N. Raghavendra
2017-10-17 13:59       ` N. Raghavendra
2017-10-17 14:58       ` Tomas Hala
2017-10-17 16:24         ` N. Raghavendra

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).