ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: No header and no page-number on empty pages
Date: Fri, 30 Nov 2012 09:44:49 +0100	[thread overview]
Message-ID: <CAG5iGsAbSDwUx=H37HBy9oJm3RAg1te_HMnT+hi95Os8jEFZgg@mail.gmail.com> (raw)
In-Reply-To: <50B868BE.10906@mmnetz.de>

On Fri, Nov 30, 2012 at 9:05 AM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
> Am 29.11.2012 19:09, schrieb ntg-context-request@ntg.nl:
>>
>> \definepagebreak
>>    [mychapterpagebreak]
>>   % [yes,header,right]
>>   %[yes,header,left]
>>   [yes,header,footer,right]
>>
>> \setuphead
>>    [chapter]
>>    [page=mychapterpagebreak]
>>   %[page=Mychapterpagebreak,header=empty,footer=empty]
>>
>> %\setupsectionblock[frontpart][page=chapter]
>> %\setupsectionblock[bodypart][page=chapter]
>> %\setupsectionblock[backpart][page=chapter]
>> %\setupsectionblock[appendix][page=chapter]
>>
>> \setuppagenumbering[alternative=doublesided,location={header,margin}]
>> \setupheadertexts[{My special headertext}]
>> \setupfootertexts[This is a text in the footer]
>> %\setupbackgrounds[header][text][bottomframe=on]
>>
>> \starttext
>>    \chapter{testA} \dorecurse{10}{\input tufte }
>>    \chapter{testB} \dorecurse{10}{\input tufte }
>>    \chapter{testC} \dorecurse{10}{\input tufte }
>> \stoptext
>> test-
>
> Thanks Luigi, Wolfgang. But this does not work if I use
> "\page~\page"
> (I need that in some cases for manually inserting a empty page). So the
> question is how to insert empty pages – but of course respect them in page
> numbering, I mean that the number is not shown on the page, but the page is
> counted, s.t. the next pages have the correct numbers).
>
> Huseyin
something like this ?
(I'm sure that there are other solutions)

\starttext
\input tufte\page %% force a pagebreak
\vbox to\textheight{}\page[blank,yes] % empty page
\vbox to\textheight{}\page[blank]
\vbox to\textheight{}\page
\input tufte\page
\input tufte
\stoptext


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

  reply	other threads:[~2012-11-30  8:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1354212569.2096.ntg-context@ntg.nl>
2012-11-30  8:05 ` "H. Özoguz"
2012-11-30  8:44   ` luigi scarso [this message]
2012-11-30 13:48   ` Wolfgang Schuster
2012-11-29 14:32 "H. Özoguz"
2012-11-29 14:48 ` luigi scarso
2012-11-29 14:51 ` Wolfgang Schuster

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='CAG5iGsAbSDwUx=H37HBy9oJm3RAg1te_HMnT+hi95Os8jEFZgg@mail.gmail.com' \
    --to=luigi.scarso@gmail.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).