ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: page numbering question
Date: Wed, 9 Apr 2008 12:20:19 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.00.0804091218290.20958@nqv-yncgbc> (raw)
In-Reply-To: <5.1.0.14.2.20080409111552.02079688@pop.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1758 bytes --]

On Wed, 9 Apr 2008, David C. Walden wrote:

>
>> I am not sure what you want. Do you want the last page of chapters to be
>> numbered or do you want them to be completely empty?
>
> I want even numbered last pages of chapters which have no text
> or images on them to be completely empty.
>
> I tried various versions of the code for "Truly empty page
> breaks" at http://wiki.contextgarden.net/Titles that
> Jörg's message about \definepagebreak led me to, and I
> tried various versions of the additional discussion

Does this do what you want (at least in this test case)

  \definepagebreak
     [mychapterpagebreak]
      [yes,header,footer,right]

  \setuphead
    [chapter]
    [page=mychapterpagebreak]


  \setuppagenumbering[alternative=doublesided,location={header,margin}]
  \setupheadertexts[{My special headertext}]
  \setupfootertexts[This is a text in the footer]

  \starttext
      \chapter {testA} \dorecurse{10}{\input tufte }
      \chapter {testB} \dorecurse{10}{\input tufte }
      \chapter {testC} \dorecurse{10}{\input tufte }
  \stoptext

Notice that the pages at the end of the chapters are empty.


> about "Again: How to make empty pages by default empty?"
> from November 2003 in the NTG-context archives.  I couldn't
> make any of that work within the last half hour or so.
> Thus, I have now changed my macro which begins chapters
> so it turns off page numbering before the \chapter call
> and turns page numbering back on after some text has
> been place on the first page of the chapter and that
> now does what I want.  So, that's kind of a brute
> force approach to getting these completely blank
> pages "automatically."  Thanks everyone for your
> suggestions.   -Dave

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-04-09 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 14:29 David C. Walden
2008-04-09 14:04 ` Jörg Hagmann
2008-04-09 14:14 ` Wolfgang Schuster
2008-04-09 14:39 ` Aditya Mahajan
2008-04-09 15:24   ` David C. Walden
2008-04-09 16:20     ` Aditya Mahajan [this message]
2008-04-09 17:16       ` David C. Walden

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=alpine.DEB.1.00.0804091218290.20958@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).