ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Follow up: "Quote before chapter?"
Date: Fri, 17 Feb 2006 09:38:19 +0100	[thread overview]
Message-ID: <43F58B7B.6030406@wxs.nl> (raw)
In-Reply-To: <9EAE4830-464F-4B6D-B9FD-422BA900AF4A@trichotomic.net>

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

      reply	other threads:[~2006-02-17  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 23:59 David Wooten
2006-02-17  8:38 ` Hans Hagen [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=43F58B7B.6030406@wxs.nl \
    --to=pragma@wxs.nl \
    --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).