ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alain Auger <aauger@diffusionvie.com>
To: ntg-context@ntg.nl
Subject: Re: appendices disregards page method
Date: Fri, 30 Sep 2016 16:13:34 -0400	[thread overview]
Message-ID: <05fdc046-c0dc-1ada-b22d-af3162fe583b@diffusionvie.com> (raw)
In-Reply-To: <f56c5203-03c8-e7df-7258-0a8cd36a41a5@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2775 bytes --]

Hi Henri,
try this :

---
\setuppagenumbering[alternative=doublesided]

\setupsectionblock[bodypart] [page=]
\setupsectionblock[appendix] [page=]
\definepagebreak[chapterpagebreak][yes,header,footer,right]
\setuphead[chapter][page=chapterpagebreak]

\starttext
     \startbodymatter
         \startchapter[title={One}]
           \dorecurse{10}{\input knuth}
         \stopchapter

         \startchapter[title={Two}]
           \dorecurse{10}{\input knuth}
         \stopchapter

         \startchapter[title={Three}]
           \dorecurse{10}{\input knuth}
         \stopchapter
     \stopbodymatter
     \startappendices
       \startchapter[title={Four}]
         \dorecurse{10}{\input knuth}
       \stopchapter

       \startchapter[title={Five}]
         \dorecurse{10}{\input knuth}
       \stopchapter
     \stopappendices
\stoptext

---

An adaptation from wiki : http://wiki.contextgarden.net/Titles

Alain Auger

Le 16-09-30 à 15:38, Henri Menke a écrit :
> Dear list,
>
> when I'm starting a new chapter I want it to start on a recto page and if a page without text has to be inserted to fulfil this requirement it should be completely blank (no headers of footers).  It was easy to achieve using \definepagebreak and setting the page method of the chapter (see MWE).  However, when I switch to the appendix, this page method is disregarded and the preceding page is _not_ blank.  In my MWE below, page 12 should actually be completely blank, i.e. no page number.
>
> How can this be achieved?
>
> Cheers, Henri
>
> ---
>
> \setuppagenumbering[alternative=doublesided]
>
> \definepagebreak
>    [chapterpagebreak]
>    [yes,header,footer,right]
>
> \setuphead
>    [chapter]
>    [page=chapterpagebreak]
>
> \starttext
>
> \startchapter[title={One}]
>    \dorecurse{10}{\input knuth}
> \stopchapter
>
> \startchapter[title={Two}]
>    \dorecurse{10}{\input knuth}
> \stopchapter
>
> \startchapter[title={Three}]
>    \dorecurse{10}{\input knuth}
> \stopchapter
>
> \startappendices
>    \startchapter[title={Four}]
>      \dorecurse{10}{\input knuth}
>    \stopchapter
>
>    \startchapter[title={Five}]
>      \dorecurse{10}{\input knuth}
>    \stopchapter
> \stopappendices
>
> \stoptext
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 

	Alain Auger
Infographiste

<http://www.diffusionvie.com/fr/>

[-- Attachment #1.2.1: Type: text/html, Size: 4998 bytes --]

[-- Attachment #1.2.2: pajkjgjbiomphpaa.jpg --]
[-- Type: image/jpeg, Size: 14829 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2016-09-30 20:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 19:38 Henri Menke
2016-09-30 20:13 ` Alain Auger [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=05fdc046-c0dc-1ada-b22d-af3162fe583b@diffusionvie.com \
    --to=aauger@diffusionvie.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).