ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Ciro Soto <ciro@kavyata.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: empty page - how?
Date: Sat, 18 Jul 2009 12:57:04 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0907181255001.4956@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <297ee2eb0907172143y559b926ct6733270b8f82056c@mail.gmail.com>

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

On Sat, 18 Jul 2009, Ciro Soto wrote:

> On Fri, Jul 17, 2009 at 10:37 AM, Aditya Mahajan<adityam@umich.edu> wrote:
>> On Fri, 17 Jul 2009, Ciro Soto wrote:
>>
>>> Hi All,
>>>
>>> I want each chapter to start on an odd number page, and  the preceding
>>> page to be totally empty (no header,
>>> no footer).
>>>
>>> Before the \chapter command, I tried:
>>>
>>> \page[odd,blank] ... didn't work. I get the header and footer
>>> \page[odd,empty] ... didn't work. I get an extra page (empty)
>>> \page[odd,makeup] ... didn't work. I get the same as in the first case
>>>
>>> what is the combination I need to use?
>>
>> See
>> http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters
>
> it didn't work. I get the same "blank" page with header and footer.

Please reply to the list so that others might also help...

The following example works for me:

\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


> I'll insert a blank page with pdftk.

You should never have to resort to that.

Aditya

[-- 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
___________________________________________________________________________________

      parent reply	other threads:[~2009-07-18 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17 13:03 Ciro Soto
2009-07-17 14:37 ` Aditya Mahajan
     [not found]   ` <297ee2eb0907172143y559b926ct6733270b8f82056c@mail.gmail.com>
2009-07-18 16:57     ` Aditya Mahajan [this message]

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.LNX.2.00.0907181255001.4956@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ciro@kavyata.com \
    --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).