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

2006-02-17 Thread Hans Hagen
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]
  \setupheader[state=empty]
  \startnarrower[3*left,4*right]
  \getbuffer[#1]%
  \stopnarrower
  \page}
   \chapter}

\setuphead[section][page=right]

\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


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2006-02-16 Thread David Wooten
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.GMany thanks!David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context