[NTG-context] appendices disregards page method

Alain Auger aauger at diffusionvie.com
Fri Sep 30 22:13:34 CEST 2016


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 at 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160930/366d46c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pajkjgjbiomphpaa.jpg
Type: image/jpeg
Size: 14829 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160930/366d46c9/attachment-0001.jpg>


More information about the ntg-context mailing list