# [NTG-context] Follow up: "Quote before chapter?"

Hans Hagen pragma at wxs.nl
Fri Feb 17 09:38:19 CET 2006

David Wooten wrote:
> Greetings,
>
> Having come to the same problem, I am curious whether a solution
> presented itself to Gerben's inquiry.
>
> /Fri Mar 11 10:30:45 CET 2005/:
>
>> I can make it more difficult even. I would like a chapter to start on�
>> an odd (right side) page but when there is a quote that comes with the�
>> chapter I want to have that appear on the opposing side.
>>
>> G
\def\MyChapter[#1]%
{\doifsomething{#1}
{\page[left]
\startnarrower[3*left,4*right]
\getbuffer[#1]%
\stopnarrower
\page}
\chapter}

\setuppagenumbering[alternative=doublesided]

\starttext

\startbuffer[a]
\input ward
\stopbuffer
\startbuffer[b]
\input zapf
\stopbuffer

\MyChapter[a]{Test A} \input tufte
\MyChapter[] {Test X} \input bryson
\MyChapter[b]{Test B} \input knuth

\stoptext

-----------------------------------------------------------------